/*** @license Angular v9.1.0-next.4+61.sha-e552591.with-local-changes* (c) 2010-2020 Google LLC. https://angular.io/* License: MIT*/!function(n){"function"==typeofdefine&&define.amd?define(n):n()}((function(){"use strict";/** * @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 */Zone.__load_patch("mocha",(function(n,t){vare=n.Mocha;if(void0!==e){if(void0===t)thrownewError("Missing Zone.js");varr=t.ProxyZoneSpec,i=t.SyncTestZoneSpec;if(!r)thrownewError("Missing ProxyZoneSpec");if(e.__zone_patch__)thrownewError('"Mocha" has already been patched with "Zone".');e.__zone_patch__=!0;varo,u,c=t.current,f=c.fork(newi("Mocha.describe")),s=null,a=c.fork(newr),h={after:e.after,afterEach:e.afterEach,before:e.before,beforeEach:e.beforeEach,describe:e.describe,it:e.it};n.describe=n.suite=e.describe=function(){returnh.describe.apply(this,y(arguments))},n.xdescribe=n.suite.skip=e.describe.skip=function(){returnh.describe.skip.apply(this,y(arguments))},n.describe.only=n.suite.only=e.describe.only=function(){returnh.describe.only.apply(this,y(arguments))},n.it=n.specify=n.test=e.it=function(){returnh.it.apply(this,l(arguments))},n.xit=n.xspecify=e.it.skip=function(){returnh.it.skip.apply(this,l(arguments))},n.it.only=n.test.only=e.it.only=function(){returnh.it.only.apply(this,l(arguments))},n.after=n.suiteTeardown=e.after=function(){returnh.after.apply(this,d(arguments))},n.afterEach=n.teardown=e.afterEach=function(){returnh.afterEach.apply(this,l(arguments))},n.before=n.suiteSetup=e.before=function(){returnh.before.apply(this,d(arguments))},n.beforeEach=n.setup=e.beforeEach=function(){returnh.beforeEach.apply(this,l(arguments))},o=e.Runner.prototype.runTest,u=e.Runner.prototype.run,e.Runner.prototype.runTest=function(n){vare=this;t.current.scheduleMicroTask("mocha.forceTask",(function(){o.call(e,n)}))},e.Runner.prototype.run=function(n){returnthis.on("test",(function(n){s=c.fork(newr)})),this.on("fail",(function(n,t){vare=s&&s.get("ProxyZoneSpec");if(e&&t)try{t.message+=e.getAndClearPendingTasksInfo()}catch(n){}})),u.call(this,n)}}functionp(n,t,e){for(varr=function(r){vari=n[r];"function"==typeofi&&(n[r]=0===i.length?t(i):e(i),n[r].toString=function(){returni.toString()})},i=0;i<n.length;i++)r(i);returnn}functiony(n){returnp(n,(function(n){returnfunction(){returnf.run(n,this,arguments)}}))}functionl(n){returnp(n,(function(n){returnfunction(){returns.run(n,this)}}),(function(n){returnfunction(t){returns.run(n,this,[t])}}))}functiond(n){returnp(n,(function(n){returnfunction(){returna.run(n,this)}}),(function(n){returnfunction(t){returna.run(n,this,[t])}}))}}))}));