blob: 56327a51295c88ced2ad79dc67352e993b7ee4dd [file] [log] [blame]
{"version":3,"sources":["packages/platform-browser-dynamic/platform-browser-dynamic.umd.js"],"names":["global","factory","exports","module","require","define","amd","self","ng","platformBrowserDynamic","compiler","core","common","platformBrowser","this","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__extends","__","constructor","prototype","create","__read","o","n","m","Symbol","iterator","r","e","i","call","ar","next","done","push","value","error","__spread","arguments","length","concat","builtinExternalReferences","createBuiltinExternalReferencesMap","map","Map","set","Identifiers","ANALYZE_FOR_ENTRY_COMPONENTS","ElementRef","NgModuleRef","ViewContainerRef","ChangeDetectorRef","Renderer2","QueryList","TemplateRef","CodegenComponentFactoryResolver","ɵCodegenComponentFactoryResolver","ComponentFactoryResolver","ComponentFactory","ComponentRef","NgModuleFactory","createModuleFactory","ɵcmf","moduleDef","ɵmod","moduleProviderDef","ɵmpd","RegisterModuleFactoryFn","ɵregisterModuleFactory","Injector","ViewEncapsulation","ChangeDetectionStrategy","SecurityContext","LOCALE_ID","TRANSLATIONS_FORMAT","inlineInterpolate","ɵinlineInterpolate","interpolate","ɵinterpolate","EMPTY_ARRAY","ɵEMPTY_ARRAY","EMPTY_MAP","ɵEMPTY_MAP","Renderer","viewDef","ɵvid","elementDef","ɵeld","anchorDef","ɵand","textDef","ɵted","directiveDef","ɵdid","providerDef","ɵprd","queryDef","ɵqud","pureArrayDef","ɵpad","pureObjectDef","ɵpod","purePipeDef","ɵppd","pipeDef","ɵpid","nodeValue","ɵnov","ngContentDef","ɵncd","unwrapValue","ɵunv","createRendererType2","ɵcrt","createComponentFactory","ɵccf","JitReflector","reflectionCapabilities","ɵReflectionCapabilities","componentModuleUrl","type","cmpMetadata","moduleId","getUrlScheme","syntaxError","ɵstringify","parameters","typeOrFunc","tryAnnotations","annotations","shallowAnnotations","Error","propMetadata","hasLifecycleHook","lcProperty","guards","resolveExternalReference","ref","get","runtime","ERROR_COLLECTOR_TOKEN","InjectionToken","DEFAULT_PACKAGE_URL_PROVIDER","provide","PACKAGE_ROOT_URL","useValue","_NO_RESOURCE_LOADER","url","baseHtmlParser","CompilerImpl","injector","_metadataResolver","templateParser","styleCompiler","viewCompiler","ngModuleCompiler","summaryResolver","compileReflector","jitEvaluator","compilerConfig","console","_delegate","JitCompiler","getExtraNgModuleProviders","bind","getProviderMetadata","ProviderMeta","Compiler","compileModuleSync","moduleType","compileModuleAsync","compileModuleAndAllComponentsSync","result","ngModuleFactory","componentFactories","compileModuleAndAllComponentsAsync","then","loadAotSummaries","summaries","hasAotSummary","getComponentFactory","component","clearCache","clearCacheFor","getModuleId","meta","getNgModuleMetadata","id","undefined","COMPILER_PROVIDERS","CompileReflector","ResourceLoader","JitSummaryResolver","deps","SummaryResolver","useExisting","ɵConsole","Lexer","Parser","useClass","HtmlParser","I18NHtmlParser","useFactory","parser","translations","format","config","missingTranslation","MissingTranslationStrategy","Ignore","Optional","Inject","TRANSLATIONS","CompilerConfig","TemplateParser","ElementSchemaRegistry","JitEvaluator","DirectiveNormalizer","UrlResolver","CompileMetadataResolver","NgModuleResolver","DirectiveResolver","PipeResolver","StaticSymbolCache","StyleCompiler","ViewCompiler","NgModuleCompiler","DomElementSchemaRegistry","JitCompilerFactory","defaultOptions","_defaultOptions","useJit","defaultEncapsulation","Emulated","Warning","createCompiler","options","opts","_mergeOptions","optionsArr","_lastDefined","providers","parts","forEach","part","apply","preserveWhitespaces","jitDevMode","isDevMode","args","platformCoreDynamic","createPlatformFactory","platformCore","COMPILER_OPTIONS","multi","CompilerFactory","ResourceLoaderImpl","_super","resolve","reject","promise","Promise","res","rej","xhr","XMLHttpRequest","open","responseType","onload","response","responseText","status","onerror","send","__decorate","decorators","target","key","desc","c","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","Injectable","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS","PLATFORM_ID","ɵPLATFORM_BROWSER_ID","CachedResourceLoader","_this","_cache","ɵglobal","$templateCache","VERSION","Version","RESOURCE_CACHE_PROVIDER","ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a","ɵCompilerImpl","ɵplatformCoreDynamic","ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","ɵResourceLoaderImpl"],"mappings":";;;;;CAMC,SAAUA,EAAQC,GACI,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,qBAAsBA,QAAQ,iBAAkBA,QAAQ,mBAAoBA,QAAQ,8BAC1J,mBAAXC,QAAyBA,OAAOC,IAAMD,OAAO,oCAAqC,CAAC,UAAW,oBAAqB,gBAAiB,kBAAmB,6BAA8BJ,GAClKA,IAAzBD,EAASA,GAAUO,MAAsBC,GAAKR,EAAOQ,IAAM,GAAIR,EAAOQ,GAAGC,uBAAyB,IAAKT,EAAOQ,GAAGE,SAAUV,EAAOQ,GAAGG,KAAMX,EAAOQ,GAAGI,OAAQZ,EAAOQ,GAAGK,iBAH5K,CAIEC,KAAM,SAAUZ,EAASQ,EAAUC,EAAMC,EAAQC,GAAmB,aAkBlE,IAAIE,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAG5B,SAASO,EAAUR,EAAGC,GAElB,SAASQ,IAAOX,KAAKY,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMQ,EAAGE,UAAYV,EAAEU,UAAW,IAAIF,GAUnF,SAASI,EAAOC,EAAGC,GACf,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,UACjD,IAAKF,EAAG,OAAOF,EACf,IAAmB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,eAAgBQ,SAAUyD,EAAoB/D,KAAM,MASzF6D,OAAO,GAEX,CAAE/G,QAAS5I,EAAK4R,YAAa9I,SAX8E7I,EAAO4R,uBA8BlHC,EAAsC,SAAUhC,GAEhD,SAASgC,IACL,IAAIC,EAAQjC,EAAOnO,KAAKxB,OAASA,KAEjC,GADA4R,EAAMC,OAAShS,EAAKiS,QAAQC,eACR,MAAhBH,EAAMC,OACN,MAAM,IAAIhK,MAAM,yEAEpB,OAAO+J,EAUX,OAjBAlR,EAAUiR,EAAsBhC,GAShCgC,EAAqB9Q,UAAUuH,IAAM,SAAUS,GAC3C,OAAI7I,KAAK6R,OAAOpR,eAAeoI,GACpBkH,QAAQH,QAAQ5P,KAAK6R,OAAOhJ,IAG5BkH,QAAQF,OAAO,0DAA4DhH,IAGnF8I,EAlB8B,CAmBvC/R,EAAS6L,gBAoBPuG,EAAU,IAAInS,EAAKoS,QAAQ,qBAY3BC,EAA0B,CAAC,CAAEzJ,QAAS7I,EAAS6L,eAAgBQ,SAAU0F,EAAsBhG,KAAM,KAIrGhM,EAAyBE,EAAKwP,sBAAsBD,EAAqB,iBAAkBmC;;;;;;;;;;;;;;;AAuB/FnS,EAAQ+S,sEAAwER,EAChFvS,EAAQ8S,wBAA0BA,EAClC9S,EAAQO,uBAAyBA,EACjCP,EAAQ4S,QAAUA,EAClB5S,EAAQ0O,mBAAqBA,EAC7B1O,EAAQgT,cAAgBrJ,EACxB3J,EAAQiT,qBAAuBjD,EAC/BhQ,EAAQkT,6CAA+Cf,EACvDnS,EAAQmT,oBAAsB7C,EAE9BtP,OAAOiR,eAAejS,EAAS,aAAc,CAAEyC,OAAO","sourcesContent":["/**\n * @license Angular v8.1.1\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler'), require('@angular/core'), require('@angular/common'), require('@angular/platform-browser')) :\n typeof define === 'function' && define.amd ? define('@angular/platform-browser-dynamic', ['exports', '@angular/compiler', '@angular/core', '@angular/common', '@angular/platform-browser'], factory) :\n (global = global || self, factory((global.ng = global.ng || {}, global.ng.platformBrowserDynamic = {}), global.ng.compiler, global.ng.core, global.ng.common, global.ng.platformBrowser));\n}(this, function (exports, compiler, core, common, platformBrowser) { 'use strict';\n\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation. All rights reserved.\r\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n this file except in compliance with the License. You may obtain a copy of the\r\n License at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n MERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\n See the Apache Version 2.0 License for specific language governing permissions\r\n and limitations under the License.\r\n ***************************************************************************** */\r\n /* global Reflect, Promise */\r\n\r\n var extendStatics = function(d, b) {\r\n 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 return extendStatics(d, b);\r\n };\r\n\r\n 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\n 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\n 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\n 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 }\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 var MODULE_SUFFIX = '';\n var builtinExternalReferences = createBuiltinExternalReferencesMap();\n var JitReflector = /** @class */ (function () {\n function JitReflector() {\n this.reflectionCapabilities = new core.ɵReflectionCapabilities();\n }\n JitReflector.prototype.componentModuleUrl = function (type, cmpMetadata) {\n var moduleId = cmpMetadata.moduleId;\n if (typeof moduleId === 'string') {\n var scheme = compiler.getUrlScheme(moduleId);\n return scheme ? moduleId : \"package:\" + moduleId + MODULE_SUFFIX;\n }\n else if (moduleId !== null && moduleId !== void 0) {\n throw compiler.syntaxError(\"moduleId should be a string in \\\"\" + core.ɵstringify(type) + \"\\\". See https://goo.gl/wIDDiL for more information.\\n\" +\n \"If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.\");\n }\n return \"./\" + core.ɵstringify(type);\n };\n JitReflector.prototype.parameters = function (typeOrFunc) {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n };\n JitReflector.prototype.tryAnnotations = function (typeOrFunc) { return this.annotations(typeOrFunc); };\n JitReflector.prototype.annotations = function (typeOrFunc) {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n };\n JitReflector.prototype.shallowAnnotations = function (typeOrFunc) {\n throw new Error('Not supported in JIT mode');\n };\n JitReflector.prototype.propMetadata = function (typeOrFunc) {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n };\n JitReflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n };\n JitReflector.prototype.guards = function (type) { return this.reflectionCapabilities.guards(type); };\n JitReflector.prototype.resolveExternalReference = function (ref) {\n return builtinExternalReferences.get(ref) || ref.runtime;\n };\n return JitReflector;\n }());\n function createBuiltinExternalReferencesMap() {\n var map = new Map();\n map.set(compiler.Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, core.ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(compiler.Identifiers.ElementRef, core.ElementRef);\n map.set(compiler.Identifiers.NgModuleRef, core.NgModuleRef);\n map.set(compiler.Identifiers.ViewContainerRef, core.ViewContainerRef);\n map.set(compiler.Identifiers.ChangeDetectorRef, core.ChangeDetectorRef);\n map.set(compiler.Identifiers.Renderer2, core.Renderer2);\n map.set(compiler.Identifiers.QueryList, core.QueryList);\n map.set(compiler.Identifiers.TemplateRef, core.TemplateRef);\n map.set(compiler.Identifiers.CodegenComponentFactoryResolver, core.ɵCodegenComponentFactoryResolver);\n map.set(compiler.Identifiers.ComponentFactoryResolver, core.ComponentFactoryResolver);\n map.set(compiler.Identifiers.ComponentFactory, core.ComponentFactory);\n map.set(compiler.Identifiers.ComponentRef, core.ComponentRef);\n map.set(compiler.Identifiers.NgModuleFactory, core.NgModuleFactory);\n map.set(compiler.Identifiers.createModuleFactory, core.ɵcmf);\n map.set(compiler.Identifiers.moduleDef, core.ɵmod);\n map.set(compiler.Identifiers.moduleProviderDef, core.ɵmpd);\n map.set(compiler.Identifiers.RegisterModuleFactoryFn, core.ɵregisterModuleFactory);\n map.set(compiler.Identifiers.Injector, core.Injector);\n map.set(compiler.Identifiers.ViewEncapsulation, core.ViewEncapsulation);\n map.set(compiler.Identifiers.ChangeDetectionStrategy, core.ChangeDetectionStrategy);\n map.set(compiler.Identifiers.SecurityContext, core.SecurityContext);\n map.set(compiler.Identifiers.LOCALE_ID, core.LOCALE_ID);\n map.set(compiler.Identifiers.TRANSLATIONS_FORMAT, core.TRANSLATIONS_FORMAT);\n map.set(compiler.Identifiers.inlineInterpolate, core.ɵinlineInterpolate);\n map.set(compiler.Identifiers.interpolate, core.ɵinterpolate);\n map.set(compiler.Identifiers.EMPTY_ARRAY, core.ɵEMPTY_ARRAY);\n map.set(compiler.Identifiers.EMPTY_MAP, core.ɵEMPTY_MAP);\n map.set(compiler.Identifiers.Renderer, core.Renderer);\n map.set(compiler.Identifiers.viewDef, core.ɵvid);\n map.set(compiler.Identifiers.elementDef, core.ɵeld);\n map.set(compiler.Identifiers.anchorDef, core.ɵand);\n map.set(compiler.Identifiers.textDef, core.ɵted);\n map.set(compiler.Identifiers.directiveDef, core.ɵdid);\n map.set(compiler.Identifiers.providerDef, core.ɵprd);\n map.set(compiler.Identifiers.queryDef, core.ɵqud);\n map.set(compiler.Identifiers.pureArrayDef, core.ɵpad);\n map.set(compiler.Identifiers.pureObjectDef, core.ɵpod);\n map.set(compiler.Identifiers.purePipeDef, core.ɵppd);\n map.set(compiler.Identifiers.pipeDef, core.ɵpid);\n map.set(compiler.Identifiers.nodeValue, core.ɵnov);\n map.set(compiler.Identifiers.ngContentDef, core.ɵncd);\n map.set(compiler.Identifiers.unwrapValue, core.ɵunv);\n map.set(compiler.Identifiers.createRendererType2, core.ɵcrt);\n map.set(compiler.Identifiers.createComponentFactory, core.ɵccf);\n return map;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var ERROR_COLLECTOR_TOKEN = new core.InjectionToken('ErrorCollector');\n /**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\n var DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: core.PACKAGE_ROOT_URL,\n useValue: '/'\n };\n var _NO_RESOURCE_LOADER = {\n get: function (url) {\n throw new Error(\"No ResourceLoader implementation has been provided. Can't read the url \\\"\" + url + \"\\\"\");\n }\n };\n var baseHtmlParser = new core.InjectionToken('HtmlParser');\n var CompilerImpl = /** @class */ (function () {\n function CompilerImpl(injector, _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, jitEvaluator, compilerConfig, console) {\n this._metadataResolver = _metadataResolver;\n this._delegate = new compiler.JitCompiler(_metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, jitEvaluator, compilerConfig, console, this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n CompilerImpl.prototype.getExtraNgModuleProviders = function () {\n return [this._metadataResolver.getProviderMetadata(new compiler.ProviderMeta(core.Compiler, { useValue: this }))];\n };\n CompilerImpl.prototype.compileModuleSync = function (moduleType) {\n return this._delegate.compileModuleSync(moduleType);\n };\n CompilerImpl.prototype.compileModuleAsync = function (moduleType) {\n return this._delegate.compileModuleAsync(moduleType);\n };\n CompilerImpl.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n var result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory,\n componentFactories: result.componentFactories,\n };\n };\n CompilerImpl.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then(function (result) { return ({\n ngModuleFactory: result.ngModuleFactory,\n componentFactories: result.componentFactories,\n }); });\n };\n CompilerImpl.prototype.loadAotSummaries = function (summaries) { this._delegate.loadAotSummaries(summaries); };\n CompilerImpl.prototype.hasAotSummary = function (ref) { return this._delegate.hasAotSummary(ref); };\n CompilerImpl.prototype.getComponentFactory = function (component) {\n return this._delegate.getComponentFactory(component);\n };\n CompilerImpl.prototype.clearCache = function () { this._delegate.clearCache(); };\n CompilerImpl.prototype.clearCacheFor = function (type) { this._delegate.clearCacheFor(type); };\n CompilerImpl.prototype.getModuleId = function (moduleType) {\n var meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n return meta && meta.id || undefined;\n };\n return CompilerImpl;\n }());\n /**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\n var COMPILER_PROVIDERS = [\n { provide: compiler.CompileReflector, useValue: new JitReflector() },\n { provide: compiler.ResourceLoader, useValue: _NO_RESOURCE_LOADER },\n { provide: compiler.JitSummaryResolver, deps: [] },\n { provide: compiler.SummaryResolver, useExisting: compiler.JitSummaryResolver },\n { provide: core.ɵConsole, deps: [] },\n { provide: compiler.Lexer, deps: [] },\n { provide: compiler.Parser, deps: [compiler.Lexer] },\n {\n provide: baseHtmlParser,\n useClass: compiler.HtmlParser,\n deps: [],\n },\n {\n provide: compiler.I18NHtmlParser,\n useFactory: function (parser, translations, format, config, console) {\n translations = translations || '';\n var missingTranslation = translations ? config.missingTranslation : core.MissingTranslationStrategy.Ignore;\n return new compiler.I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new core.Optional(), new core.Inject(core.TRANSLATIONS)],\n [new core.Optional(), new core.Inject(core.TRANSLATIONS_FORMAT)],\n [compiler.CompilerConfig],\n [core.ɵConsole],\n ]\n },\n {\n provide: compiler.HtmlParser,\n useExisting: compiler.I18NHtmlParser,\n },\n {\n provide: compiler.TemplateParser, deps: [compiler.CompilerConfig, compiler.CompileReflector,\n compiler.Parser, compiler.ElementSchemaRegistry,\n compiler.I18NHtmlParser, core.ɵConsole]\n },\n { provide: compiler.JitEvaluator, useClass: compiler.JitEvaluator, deps: [] },\n { provide: compiler.DirectiveNormalizer, deps: [compiler.ResourceLoader, compiler.UrlResolver, compiler.HtmlParser, compiler.CompilerConfig] },\n { provide: compiler.CompileMetadataResolver, deps: [compiler.CompilerConfig, compiler.HtmlParser, compiler.NgModuleResolver,\n compiler.DirectiveResolver, compiler.PipeResolver,\n compiler.SummaryResolver,\n compiler.ElementSchemaRegistry,\n compiler.DirectiveNormalizer, core.ɵConsole,\n [core.Optional, compiler.StaticSymbolCache],\n compiler.CompileReflector,\n [core.Optional, ERROR_COLLECTOR_TOKEN]] },\n DEFAULT_PACKAGE_URL_PROVIDER,\n { provide: compiler.StyleCompiler, deps: [compiler.UrlResolver] },\n { provide: compiler.ViewCompiler, deps: [compiler.CompileReflector] },\n { provide: compiler.NgModuleCompiler, deps: [compiler.CompileReflector] },\n { provide: compiler.CompilerConfig, useValue: new compiler.CompilerConfig() },\n { provide: core.Compiler, useClass: CompilerImpl, deps: [core.Injector, compiler.CompileMetadataResolver,\n compiler.TemplateParser, compiler.StyleCompiler,\n compiler.ViewCompiler, compiler.NgModuleCompiler,\n compiler.SummaryResolver, compiler.CompileReflector, compiler.JitEvaluator, compiler.CompilerConfig,\n core.ɵConsole] },\n { provide: compiler.DomElementSchemaRegistry, deps: [] },\n { provide: compiler.ElementSchemaRegistry, useExisting: compiler.DomElementSchemaRegistry },\n { provide: compiler.UrlResolver, deps: [core.PACKAGE_ROOT_URL] },\n { provide: compiler.DirectiveResolver, deps: [compiler.CompileReflector] },\n { provide: compiler.PipeResolver, deps: [compiler.CompileReflector] },\n { provide: compiler.NgModuleResolver, deps: [compiler.CompileReflector] },\n ];\n /**\n * @publicApi\n */\n var JitCompilerFactory = /** @class */ (function () {\n /* @internal */\n function JitCompilerFactory(defaultOptions) {\n var compilerOptions = {\n useJit: true,\n defaultEncapsulation: core.ViewEncapsulation.Emulated,\n missingTranslation: core.MissingTranslationStrategy.Warning,\n };\n this._defaultOptions = __spread([compilerOptions], defaultOptions);\n }\n JitCompilerFactory.prototype.createCompiler = function (options) {\n if (options === void 0) { options = []; }\n var opts = _mergeOptions(this._defaultOptions.concat(options));\n var injector = core.Injector.create([\n COMPILER_PROVIDERS, {\n provide: compiler.CompilerConfig,\n useFactory: function () {\n return new compiler.CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: core.isDevMode(),\n // let explicit values from the compiler options overwrite options\n // from the app providers\n defaultEncapsulation: opts.defaultEncapsulation,\n missingTranslation: opts.missingTranslation,\n preserveWhitespaces: opts.preserveWhitespaces,\n });\n },\n deps: []\n },\n opts.providers\n ]);\n return injector.get(core.Compiler);\n };\n return JitCompilerFactory;\n }());\n function _mergeOptions(optionsArr) {\n return {\n useJit: _lastDefined(optionsArr.map(function (options) { return options.useJit; })),\n defaultEncapsulation: _lastDefined(optionsArr.map(function (options) { return options.defaultEncapsulation; })),\n providers: _mergeArrays(optionsArr.map(function (options) { return options.providers; })),\n missingTranslation: _lastDefined(optionsArr.map(function (options) { return options.missingTranslation; })),\n preserveWhitespaces: _lastDefined(optionsArr.map(function (options) { return options.preserveWhitespaces; })),\n };\n }\n function _lastDefined(args) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n }\n function _mergeArrays(parts) {\n var result = [];\n parts.forEach(function (part) { return part && result.push.apply(result, __spread(part)); });\n return result;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var ɵ0 = {};\n /**\n * A platform that included corePlatform and the compiler.\n *\n * @publicApi\n */\n var platformCoreDynamic = core.createPlatformFactory(core.platformCore, 'coreDynamic', [\n { provide: core.COMPILER_OPTIONS, useValue: ɵ0, multi: true },\n { provide: core.CompilerFactory, useClass: JitCompilerFactory, deps: [core.COMPILER_OPTIONS] },\n ]);\n\n var ResourceLoaderImpl = /** @class */ (function (_super) {\n __extends(ResourceLoaderImpl, _super);\n function ResourceLoaderImpl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourceLoaderImpl.prototype.get = function (url) {\n var resolve;\n var reject;\n var promise = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n xhr.onload = function () {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n // by IE10)\n var response = xhr.response || xhr.responseText;\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n var status = xhr.status === 1223 ? 204 : xhr.status;\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : 0;\n }\n if (200 <= status && status <= 300) {\n resolve(response);\n }\n else {\n reject(\"Failed to load \" + url);\n }\n };\n xhr.onerror = function () { reject(\"Failed to load \" + url); };\n xhr.send();\n return promise;\n };\n ResourceLoaderImpl = __decorate([\n core.Injectable()\n ], ResourceLoaderImpl);\n return ResourceLoaderImpl;\n }(compiler.ResourceLoader));\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 var ɵ0$1 = { providers: [{ provide: compiler.ResourceLoader, useClass: ResourceLoaderImpl, deps: [] }] }, ɵ1 = common.ɵPLATFORM_BROWSER_ID;\n /**\n * @publicApi\n */\n var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [\n platformBrowser.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: core.COMPILER_OPTIONS,\n useValue: ɵ0$1,\n multi: true\n },\n { provide: core.PLATFORM_ID, useValue: ɵ1 },\n ];\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n *\n * @publicApi\n */\n var CachedResourceLoader = /** @class */ (function (_super) {\n __extends(CachedResourceLoader, _super);\n function CachedResourceLoader() {\n var _this = _super.call(this) || this;\n _this._cache = core.ɵglobal.$templateCache;\n if (_this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n return _this;\n }\n CachedResourceLoader.prototype.get = function (url) {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n }\n else {\n return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);\n }\n };\n return CachedResourceLoader;\n }(compiler.ResourceLoader));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n /**\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 * @publicApi\n */\n var VERSION = new core.Version('8.1.1');\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @publicApi\n */\n var RESOURCE_CACHE_PROVIDER = [{ provide: compiler.ResourceLoader, useClass: CachedResourceLoader, deps: [] }];\n /**\n * @publicApi\n */\n var platformBrowserDynamic = core.createPlatformFactory(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\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 // This file only reexports content of the `src` folder. Keep it that way.\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n /**\n * Generated bundle index. Do not edit.\n */\n\n exports.ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a = CachedResourceLoader;\n exports.RESOURCE_CACHE_PROVIDER = RESOURCE_CACHE_PROVIDER;\n exports.platformBrowserDynamic = platformBrowserDynamic;\n exports.VERSION = VERSION;\n exports.JitCompilerFactory = JitCompilerFactory;\n exports.ɵCompilerImpl = CompilerImpl;\n exports.ɵplatformCoreDynamic = platformCoreDynamic;\n exports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS;\n exports.ɵResourceLoaderImpl = ResourceLoaderImpl;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=platform-browser-dynamic.umd.js.map\n"]}