text: /**
   * @license Angular v6.0.9
   * (c) 2010-2018 Google, Inc. https://angular.io/
   * License: MIT
   */
  !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/core/testing"),require("@angular/platform-browser"),require("@angular/compiler"),require("@angular/compiler/testing"),require("@angular/platform-browser-dynamic"),require("@angular/platform-browser/testing")):"function"==typeof define&&define.amd?define("@angular/platform-browser-dynamic/testing",["exports","@angular/core","@angular/core/testing","@angular/platform-browser","@angular/compiler","@angular/compiler/testing","@angular/platform-browser-dynamic","@angular/platform-browser/testing"],r):r((e.ng=e.ng||{},e.ng.platformBrowserDynamic=e.ng.platformBrowserDynamic||{},e.ng.platformBrowserDynamic.testing={}),e.ng.core,e.ng.core.testing,e.ng.platformBrowser,e.ng.compiler,e.ng.compiler.testing,e.ng.platformBrowserDynamic,e.ng.platformBrowser.testing)}(this,function(e,r,t,o,i,n,c,a){"use strict";var s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])},l=function(e){function t(r){var t=e.call(this)||this;return t._doc=r,t}return function i(e,r){function t(){this.constructor=e}s(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}
  /**
       * @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
       */(t,e),t.prototype.insertRootElement=function(e){for(var r=o.ɵgetDOM().firstChild(o.ɵgetDOM().content(o.ɵgetDOM().createTemplate('<div id="'+e+'"></div>'))),t=o.ɵgetDOM().querySelectorAll(this._doc,"[id^=root]"),i=0;i<t.length;i++)o.ɵgetDOM().remove(t[i]);o.ɵgetDOM().appendChild(this._doc.body,r)},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[o.DOCUMENT]}]}]},t}(t.TestComponentRenderer),p=0,u=function(){function e(){this._references=new Map}return e.prototype.overrideMetadata=function(e,t,o){var i={};if(t&&function n(e){var r=[];Object.keys(e).forEach(function(e){e.startsWith("_")||r.push(e)});for(var t=e;t=Object.getPrototypeOf(t);)Object.keys(t).forEach(function(e){var o=Object.getOwnPropertyDescriptor(t,e);!e.startsWith("_")&&o&&"get"in o&&r.push(e)});return r}
  /**
       * @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
       */(t).forEach(function(e){return i[e]=t[e]}),o.set){if(o.remove||o.add)throw new Error("Cannot set and add/remove "+r.ɵstringify(e)+" at the same time!");!function c(e,r){for(var t in r)e[t]=r[t]}(i,o.set)}return o.remove&&function a(e,r,t){var o=new Set,i=function(e){var i=r[e];i instanceof Array?i.forEach(function(r){o.add(d(e,r,t))}):o.add(d(e,i,t))};for(var n in r)i(n);var c=function(r){var i=e[r];i instanceof Array?e[r]=i.filter(function(e){return!o.has(d(r,e,t))}):o.has(d(r,i,t))&&(e[r]=void 0)};for(var n in e)c(n)}(i,o.remove,this._references),o.add&&function s(e,r){for(var t in r){var o=r[t],i=e[t];e[t]=null!=i&&i instanceof Array?i.concat(o):o}}(i,o.add),new e(i)},e}();function d(e,t,o){return e+":"+JSON.stringify(t,function(e,t){return"function"==typeof t&&(t=function i(e,t){var o=t.get(e);return o||(o=""+r.ɵstringify(e)+p++,t.set(e,o)),o}(t,o)),t})}var f=[{provide:n.MockPipeResolver,deps:[i.CompileReflector]},{provide:i.PipeResolver,useExisting:n.MockPipeResolver},{provide:n.MockDirectiveResolver,deps:[i.CompileReflector]},{provide:i.DirectiveResolver,useExisting:n.MockDirectiveResolver},{provide:n.MockNgModuleResolver,deps:[i.CompileReflector]},{provide:i.NgModuleResolver,useExisting:n.MockNgModuleResolver}],m=function(){function e(e,r){this._injector=e,this._compilerFactory=r}return e.prototype.createTestingCompiler=function(e){var r=this._compilerFactory.createCompiler(e);return new v(r,r.injector.get(n.MockDirectiveResolver),r.injector.get(n.MockPipeResolver),r.injector.get(n.MockNgModuleResolver))},e}(),v=function(){function e(e,r,t,o){this._compiler=e,this._directiveResolver=r,this._pipeResolver=t,this._moduleResolver=o,this._overrider=new u}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._compiler.injector},enumerable:!0,configurable:!0}),e.prototype.compileModuleSync=function(e){return this._compiler.compileModuleSync(e)},e.prototype.compileModuleAsync=function(e){return this._compiler.compileModuleAsync(e)},e.prototype.compileModuleAndAllComponentsSync=function(e){return this._compiler.compileModuleAndAllComponentsSync(e)},e.prototype.compileModuleAndAllComponentsAsync=function(e){return this._compiler.compileModuleAndAllComponentsAsync(e)},e.prototype.getComponentFactory=function(e){return this._compiler.getComponentFactory(e)},e.prototype.checkOverrideAllowed=function(e){if(this._compiler.hasAotSummary(e))throw new Error(r.ɵstringify(e)+" was AOT compiled, so its metadata cannot be changed.")},e.prototype.overrideModule=function(e,t){this.checkOverrideAllowed(e);var o=this._moduleResolver.resolve(e,!1);this._moduleResolver.setNgModule(e,this._overrider.overrideMetadata(r.NgModule,o,t)),this.clearCacheFor(e)},e.prototype.overrideDirective=function(e,t){this.checkOverrideAllowed(e);var o=this._directiveResolver.resolve(e,!1);this._directiveResolver.setDirective(e,this._overrider.overrideMetadata(r.Directive,o,t)),this.clearCacheFor(e)},e.prototype.overrideComponent=function(e,t){this.checkOverrideAllowed(e);var o=this._directiveResolver.resolve(e,!1);this._directiveResolver.setDirective(e,this._overrider.overrideMetadata(r.Component,o,t)),this.clearCacheFor(e)},e.prototype.overridePipe=function(e,t){this.checkOverrideAllowed(e);var o=this._pipeResolver.resolve(e,!1);this._pipeResolver.setPipe(e,this._overrider.overrideMetadata(r.Pipe,o,t)),this.clearCacheFor(e)},e.prototype.loadAotSummaries=function(e){this._compiler.loadAotSummaries(e)},e.prototype.clearCache=function(){this._compiler.clearCache()},e.prototype.clearCacheFor=function(e){this._compiler.clearCacheFor(e)},e.prototype.getComponentFromError=function(e){return e[i.ERROR_COMPONENT_TYPE]||null},e}(),g=r.createPlatformFactory(c.ɵplatformCoreDynamic,"coreDynamicTesting",[{provide:r.COMPILER_OPTIONS,useValue:{providers:f},multi:!0},{provide:t.ɵTestingCompilerFactory,useClass:m,deps:[r.Injector,r.CompilerFactory]}]),y=r.createPlatformFactory(g,"browserDynamicTesting",c.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS),h=function(){function e(){}return e.decorators=[{type:r.NgModule,args:[{exports:[a.BrowserTestingModule],providers:[{provide:t.TestComponentRenderer,useClass:l}]}]}],e}();
  /**
       * @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
       */
  /**
       * @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
       */
  e.ɵangular_packages_platform_browser_dynamic_testing_testing_a=f,e.ɵangular_packages_platform_browser_dynamic_testing_testing_b=m,e.platformBrowserDynamicTesting=y,e.BrowserDynamicTestingModule=h,e.ɵDOMTestComponentRenderer=l,e.ɵplatformCoreDynamicTesting=g,Object.defineProperty(e,"__esModule",{value:!0})});