text: /**
   * @license Angular v5.0.0
   * (c) 2010-2017 Google, Inc. https://angular.io/
   * License: MIT
   */
  !function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/compiler"),require("@angular/core"),require("@angular/common"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@angular/platform-browser-dynamic",["exports","@angular/compiler","@angular/core","@angular/common","@angular/platform-browser"],factory):factory((global.ng=global.ng||{},global.ng.platformBrowserDynamic={}),global.ng.compiler,global.ng.core,global.ng.common,global.ng.platformBrowser)}(this,function(exports,_angular_compiler,_angular_core,_angular_common,_angular_platformBrowser){"use strict";function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}function _mergeOptions(optionsArr){return{useJit:_lastDefined(optionsArr.map(function(options){return options.useJit})),defaultEncapsulation:_lastDefined(optionsArr.map(function(options){return options.defaultEncapsulation})),providers:_mergeArrays(optionsArr.map(function(options){return options.providers})),missingTranslation:_lastDefined(optionsArr.map(function(options){return options.missingTranslation})),enableLegacyTemplate:_lastDefined(optionsArr.map(function(options){return options.enableLegacyTemplate})),preserveWhitespaces:_lastDefined(optionsArr.map(function(options){return options.preserveWhitespaces}))}}function _lastDefined(args){for(var i=args.length-1;i>=0;i--)if(void 0!==args[i])return args[i]}function _mergeArrays(parts){var result=[];return parts.forEach(function(part){return part&&result.push.apply(result,part)}),result}var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},builtinExternalReferences=function(){var map=new Map;return map.set(_angular_compiler.Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS,_angular_core.ANALYZE_FOR_ENTRY_COMPONENTS),map.set(_angular_compiler.Identifiers.ElementRef,_angular_core.ElementRef),map.set(_angular_compiler.Identifiers.NgModuleRef,_angular_core.NgModuleRef),map.set(_angular_compiler.Identifiers.ViewContainerRef,_angular_core.ViewContainerRef),map.set(_angular_compiler.Identifiers.ChangeDetectorRef,_angular_core.ChangeDetectorRef),map.set(_angular_compiler.Identifiers.QueryList,_angular_core.QueryList),map.set(_angular_compiler.Identifiers.TemplateRef,_angular_core.TemplateRef),map.set(_angular_compiler.Identifiers.CodegenComponentFactoryResolver,_angular_core.ɵCodegenComponentFactoryResolver),map.set(_angular_compiler.Identifiers.ComponentFactoryResolver,_angular_core.ComponentFactoryResolver),map.set(_angular_compiler.Identifiers.ComponentFactory,_angular_core.ComponentFactory),map.set(_angular_compiler.Identifiers.ComponentRef,_angular_core.ComponentRef),map.set(_angular_compiler.Identifiers.NgModuleFactory,_angular_core.NgModuleFactory),map.set(_angular_compiler.Identifiers.createModuleFactory,_angular_core.ɵcmf),map.set(_angular_compiler.Identifiers.moduleDef,_angular_core.ɵmod),map.set(_angular_compiler.Identifiers.moduleProviderDef,_angular_core.ɵmpd),map.set(_angular_compiler.Identifiers.RegisterModuleFactoryFn,_angular_core.ɵregisterModuleFactory),map.set(_angular_compiler.Identifiers.Injector,_angular_core.Injector),map.set(_angular_compiler.Identifiers.ViewEncapsulation,_angular_core.ViewEncapsulation),map.set(_angular_compiler.Identifiers.ChangeDetectionStrategy,_angular_core.ChangeDetectionStrategy),map.set(_angular_compiler.Identifiers.SecurityContext,_angular_core.SecurityContext),map.set(_angular_compiler.Identifiers.LOCALE_ID,_angular_core.LOCALE_ID),map.set(_angular_compiler.Identifiers.TRANSLATIONS_FORMAT,_angular_core.TRANSLATIONS_FORMAT),map.set(_angular_compiler.Identifiers.inlineInterpolate,_angular_core.ɵinlineInterpolate),map.set(_angular_compiler.Identifiers.interpolate,_angular_core.ɵinterpolate),map.set(_angular_compiler.Identifiers.EMPTY_ARRAY,_angular_core.ɵEMPTY_ARRAY),map.set(_angular_compiler.Identifiers.EMPTY_MAP,_angular_core.ɵEMPTY_MAP),map.set(_angular_compiler.Identifiers.Renderer,_angular_core.Renderer),map.set(_angular_compiler.Identifiers.viewDef,_angular_core.ɵvid),map.set(_angular_compiler.Identifiers.elementDef,_angular_core.ɵeld),map.set(_angular_compiler.Identifiers.anchorDef,_angular_core.ɵand),map.set(_angular_compiler.Identifiers.textDef,_angular_core.ɵted),map.set(_angular_compiler.Identifiers.directiveDef,_angular_core.ɵdid),map.set(_angular_compiler.Identifiers.providerDef,_angular_core.ɵprd),map.set(_angular_compiler.Identifiers.queryDef,_angular_core.ɵqud),map.set(_angular_compiler.Identifiers.pureArrayDef,_angular_core.ɵpad),map.set(_angular_compiler.Identifiers.pureObjectDef,_angular_core.ɵpod),map.set(_angular_compiler.Identifiers.purePipeDef,_angular_core.ɵppd),map.set(_angular_compiler.Identifiers.pipeDef,_angular_core.ɵpid),map.set(_angular_compiler.Identifiers.nodeValue,_angular_core.ɵnov),map.set(_angular_compiler.Identifiers.ngContentDef,_angular_core.ɵncd),map.set(_angular_compiler.Identifiers.unwrapValue,_angular_core.ɵunv),map.set(_angular_compiler.Identifiers.createRendererType2,_angular_core.ɵcrt),map.set(_angular_compiler.Identifiers.createComponentFactory,_angular_core.ɵccf),map}(),JitReflector=function(){function JitReflector(){this.builtinExternalReferences=new Map,this.reflectionCapabilities=new _angular_core.ɵReflectionCapabilities}return JitReflector.prototype.componentModuleUrl=function(type,cmpMetadata){var moduleId=cmpMetadata.moduleId;if("string"==typeof moduleId){return _angular_compiler.getUrlScheme(moduleId)?moduleId:"package:"+moduleId}if(null!==moduleId&&void 0!==moduleId)throw _angular_compiler.syntaxError('moduleId should be a string in "'+_angular_core.ɵstringify(type)+"\". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.");return"./"+_angular_core.ɵstringify(type)},JitReflector.prototype.parameters=function(typeOrFunc){return this.reflectionCapabilities.parameters(typeOrFunc)},JitReflector.prototype.annotations=function(typeOrFunc){return this.reflectionCapabilities.annotations(typeOrFunc)},JitReflector.prototype.propMetadata=function(typeOrFunc){return this.reflectionCapabilities.propMetadata(typeOrFunc)},JitReflector.prototype.hasLifecycleHook=function(type,lcProperty){return this.reflectionCapabilities.hasLifecycleHook(type,lcProperty)},JitReflector.prototype.resolveExternalReference=function(ref){return builtinExternalReferences.get(ref)||ref.runtime},JitReflector}(),ERROR_COLLECTOR_TOKEN=new _angular_core.InjectionToken("ErrorCollector"),DEFAULT_PACKAGE_URL_PROVIDER={provide:_angular_core.PACKAGE_ROOT_URL,useValue:"/"},_NO_RESOURCE_LOADER={get:function(url){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+url+'"')}},baseHtmlParser=new _angular_core.InjectionToken("HtmlParser"),CompilerImpl=function(){function CompilerImpl(injector,_metadataResolver,templateParser,styleCompiler,viewCompiler,ngModuleCompiler,summaryResolver,compileReflector,compilerConfig,console){this._metadataResolver=_metadataResolver,this._delegate=new _angular_compiler.JitCompiler(_metadataResolver,templateParser,styleCompiler,viewCompiler,ngModuleCompiler,summaryResolver,compileReflector,compilerConfig,console,this.getExtraNgModuleProviders.bind(this)),this.injector=injector}return CompilerImpl.prototype.getExtraNgModuleProviders=function(){return[this._metadataResolver.getProviderMetadata(new _angular_compiler.ProviderMeta(_angular_core.Compiler,{useValue:this}))]},CompilerImpl.prototype.compileModuleSync=function(moduleType){return this._delegate.compileModuleSync(moduleType)},CompilerImpl.prototype.compileModuleAsync=function(moduleType){return this._delegate.compileModuleAsync(moduleType)},CompilerImpl.prototype.compileModuleAndAllComponentsSync=function(moduleType){var result=this._delegate.compileModuleAndAllComponentsSync(moduleType);return{ngModuleFactory:result.ngModuleFactory,componentFactories:result.componentFactories}},CompilerImpl.prototype.compileModuleAndAllComponentsAsync=function(moduleType){return this._delegate.compileModuleAndAllComponentsAsync(moduleType).then(function(result){return{ngModuleFactory:result.ngModuleFactory,componentFactories:result.componentFactories}})},CompilerImpl.prototype.loadAotSummaries=function(summaries){this._delegate.loadAotSummaries(summaries)},CompilerImpl.prototype.hasAotSummary=function(ref){return this._delegate.hasAotSummary(ref)},CompilerImpl.prototype.getComponentFactory=function(component){return this._delegate.getComponentFactory(component)},CompilerImpl.prototype.clearCache=function(){this._delegate.clearCache()},CompilerImpl.prototype.clearCacheFor=function(type){this._delegate.clearCacheFor(type)},CompilerImpl}(),COMPILER_PROVIDERS=[{provide:_angular_compiler.CompileReflector,useValue:new JitReflector},{provide:_angular_compiler.ResourceLoader,useValue:_NO_RESOURCE_LOADER},{provide:_angular_compiler.JitSummaryResolver,deps:[]},{provide:_angular_compiler.SummaryResolver,useExisting:_angular_compiler.JitSummaryResolver},{provide:_angular_core.ɵConsole,deps:[]},{provide:_angular_compiler.Lexer,deps:[]},{provide:_angular_compiler.Parser,deps:[_angular_compiler.Lexer]},{provide:baseHtmlParser,useClass:_angular_compiler.HtmlParser,deps:[]},{provide:_angular_compiler.I18NHtmlParser,useFactory:function(parser,translations,format,config,console){translations=translations||"";var missingTranslation=translations?config.missingTranslation:_angular_core.MissingTranslationStrategy.Ignore;return new _angular_compiler.I18NHtmlParser(parser,translations,format,missingTranslation,console)},deps:[baseHtmlParser,[new _angular_core.Optional,new _angular_core.Inject(_angular_core.TRANSLATIONS)],[new _angular_core.Optional,new _angular_core.Inject(_angular_core.TRANSLATIONS_FORMAT)],[_angular_compiler.CompilerConfig],[_angular_core.ɵConsole]]},{provide:_angular_compiler.HtmlParser,useExisting:_angular_compiler.I18NHtmlParser},{provide:_angular_compiler.TemplateParser,deps:[_angular_compiler.CompilerConfig,_angular_compiler.CompileReflector,_angular_compiler.Parser,_angular_compiler.ElementSchemaRegistry,_angular_compiler.I18NHtmlParser,_angular_core.ɵConsole]},{provide:_angular_compiler.DirectiveNormalizer,deps:[_angular_compiler.ResourceLoader,_angular_compiler.UrlResolver,_angular_compiler.HtmlParser,_angular_compiler.CompilerConfig]},{provide:_angular_compiler.CompileMetadataResolver,deps:[_angular_compiler.CompilerConfig,_angular_compiler.HtmlParser,_angular_compiler.NgModuleResolver,_angular_compiler.DirectiveResolver,_angular_compiler.PipeResolver,_angular_compiler.SummaryResolver,_angular_compiler.ElementSchemaRegistry,_angular_compiler.DirectiveNormalizer,_angular_core.ɵConsole,[_angular_core.Optional,_angular_compiler.StaticSymbolCache],_angular_compiler.CompileReflector,[_angular_core.Optional,ERROR_COLLECTOR_TOKEN]]},DEFAULT_PACKAGE_URL_PROVIDER,{provide:_angular_compiler.StyleCompiler,deps:[_angular_compiler.UrlResolver]},{provide:_angular_compiler.ViewCompiler,deps:[_angular_compiler.CompileReflector]},{provide:_angular_compiler.NgModuleCompiler,deps:[_angular_compiler.CompileReflector]},{provide:_angular_compiler.CompilerConfig,useValue:new _angular_compiler.CompilerConfig},{provide:_angular_core.Compiler,useClass:CompilerImpl,deps:[_angular_core.Injector,_angular_compiler.CompileMetadataResolver,_angular_compiler.TemplateParser,_angular_compiler.StyleCompiler,_angular_compiler.ViewCompiler,_angular_compiler.NgModuleCompiler,_angular_compiler.SummaryResolver,_angular_compiler.CompileReflector,_angular_compiler.CompilerConfig,_angular_core.ɵConsole]},{provide:_angular_compiler.DomElementSchemaRegistry,deps:[]},{provide:_angular_compiler.ElementSchemaRegistry,useExisting:_angular_compiler.DomElementSchemaRegistry},{provide:_angular_compiler.UrlResolver,deps:[_angular_core.PACKAGE_ROOT_URL]},{provide:_angular_compiler.DirectiveResolver,deps:[_angular_compiler.CompileReflector]},{provide:_angular_compiler.PipeResolver,deps:[_angular_compiler.CompileReflector]},{provide:_angular_compiler.NgModuleResolver,deps:[_angular_compiler.CompileReflector]}],JitCompilerFactory=function(){function JitCompilerFactory(defaultOptions){var compilerOptions={useJit:!0,defaultEncapsulation:_angular_core.ViewEncapsulation.Emulated,missingTranslation:_angular_core.MissingTranslationStrategy.Warning,enableLegacyTemplate:!1};this._defaultOptions=[compilerOptions].concat(defaultOptions)}return JitCompilerFactory.prototype.createCompiler=function(options){void 0===options&&(options=[]);var opts=_mergeOptions(this._defaultOptions.concat(options));return _angular_core.Injector.create([COMPILER_PROVIDERS,{provide:_angular_compiler.CompilerConfig,useFactory:function(){return new _angular_compiler.CompilerConfig({useJit:opts.useJit,jitDevMode:_angular_core.isDevMode(),defaultEncapsulation:opts.defaultEncapsulation,missingTranslation:opts.missingTranslation,enableLegacyTemplate:opts.enableLegacyTemplate,preserveWhitespaces:opts.preserveWhitespaces})},deps:[]},opts.providers]).get(_angular_core.Compiler)},JitCompilerFactory}(),platformCoreDynamic=_angular_core.createPlatformFactory(_angular_core.platformCore,"coreDynamic",[{provide:_angular_core.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:_angular_core.CompilerFactory,useClass:JitCompilerFactory,deps:[_angular_core.COMPILER_OPTIONS]}]),ResourceLoaderImpl=function(_super){function ResourceLoaderImpl(){return null!==_super&&_super.apply(this,arguments)||this}return __extends(ResourceLoaderImpl,_super),ResourceLoaderImpl.prototype.get=function(url){var resolve,reject,promise=new Promise(function(res,rej){resolve=res,reject=rej}),xhr=new XMLHttpRequest;return xhr.open("GET",url,!0),xhr.responseType="text",xhr.onload=function(){var response=xhr.response||xhr.responseText,status=1223===xhr.status?204:xhr.status;0===status&&(status=response?200:0),200<=status&&status<=300?resolve(response):reject("Failed to load "+url)},xhr.onerror=function(){reject("Failed to load "+url)},xhr.send(),promise},ResourceLoaderImpl.decorators=[{type:_angular_core.Injectable}],ResourceLoaderImpl.ctorParameters=function(){return[]},ResourceLoaderImpl}(_angular_compiler.ResourceLoader),INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=[_angular_platformBrowser.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,{provide:_angular_core.COMPILER_OPTIONS,useValue:{providers:[{provide:_angular_compiler.ResourceLoader,useClass:ResourceLoaderImpl,deps:[]}]},multi:!0},{provide:_angular_core.PLATFORM_ID,useValue:_angular_common.ɵPLATFORM_BROWSER_ID}],CachedResourceLoader=function(_super){function CachedResourceLoader(){var _this=_super.call(this)||this;if(_this._cache=_angular_core.ɵglobal.$templateCache,null==_this._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return _this}return __extends(CachedResourceLoader,_super),CachedResourceLoader.prototype.get=function(url){return this._cache.hasOwnProperty(url)?Promise.resolve(this._cache[url]):Promise.reject("CachedResourceLoader: Did not find cached template for "+url)},CachedResourceLoader}(_angular_compiler.ResourceLoader),VERSION=new _angular_core.Version("5.0.0"),RESOURCE_CACHE_PROVIDER=[{provide:_angular_compiler.ResourceLoader,useClass:CachedResourceLoader,deps:[]}],platformBrowserDynamic=_angular_core.createPlatformFactory(platformCoreDynamic,"browserDynamic",INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);exports.VERSION=VERSION,exports.RESOURCE_CACHE_PROVIDER=RESOURCE_CACHE_PROVIDER,exports.platformBrowserDynamic=platformBrowserDynamic,exports.ɵCompilerImpl=CompilerImpl,exports.ɵplatformCoreDynamic=platformCoreDynamic,exports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,exports.ɵResourceLoaderImpl=ResourceLoaderImpl,exports.ɵa=JitCompilerFactory,exports.ɵb=CachedResourceLoader,Object.defineProperty(exports,"__esModule",{value:!0})});
  //# sourceMappingURL=/Users/matsko/code/angular/dist/packages-dist/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.min.js.map