"use strict"; /** * @license Angular v * (c) 2010-2022 Google LLC. https://angular.io/ * License: MIT */!function(n){"function"==typeof define&&define.amd?define(n):n()}((function(){Zone.__load_patch("fetch",(function(n,t,e){var o=n.fetch;if("function"==typeof o){var c=n[e.symbol("fetch")];c&&(o=c);var i=n.Promise,r=e.symbol("thenPatched"),a=e.symbol("fetchTaskScheduling"),f=function(){};n.fetch=function(){var n=this,c=Array.prototype.slice.call(arguments),l=c.length>1?c[1]:{},s=l&&l.signal,u=new AbortController;return l.signal=u.signal,c[1]=l,s&&(s[t.__symbol__("addEventListener")]||s.addEventListener).call(s,"abort",(function(){u.abort()}),{once:!0}),new Promise((function(l,s){var h=t.current.scheduleMacroTask("fetch",f,{fetchArgs:c},(function(){var f,u=t.current;try{u[a]=!0,f=o.apply(n,c)}catch(n){return void s(n)}finally{u[a]=!1}if(!(f instanceof i)){var d=f.constructor;d[r]||e.patchThen(d)}f.then((function(n){"notScheduled"!==h.state&&h.invoke(),l(n)}),(function(n){"notScheduled"!==h.state&&h.invoke(),s(n)}))}),(function(){u.abort()}))}))}}}))}));