-
Notifications
You must be signed in to change notification settings - Fork 0
/
polyfills.fc3ef21d267caf5a.js
1 lines (1 loc) · 44.4 KB
/
polyfills.fc3ef21d267caf5a.js
1
"use strict";(self.webpackChunkgithub_io=self.webpackChunkgithub_io||[]).push([[429],{435:(Ee,Pe,Oe)=>{Oe(609)},609:(Ee,Pe,Oe)=>{var De;void 0!==(De=function(){!function(e){var r=e.performance;function t(h){r&&r.mark&&r.mark(h)}function n(h,a){r&&r.measure&&r.measure(h,a)}t("Zone");var u=e.__Zone_symbol_prefix||"__zone_symbol__";function c(h){return u+h}var l=!0===e[c("forceDuplicateZoneCheck")];if(e.Zone){if(l||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var v=function(){function h(a,o){this._parent=a,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,o)}return h.assertZonePatched=function(){if(e.Promise!==F.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(h,"root",{get:function(){for(var a=h.current;a.parent;)a=a.parent;return a},enumerable:!1,configurable:!0}),Object.defineProperty(h,"current",{get:function(){return A.zone},enumerable:!1,configurable:!0}),Object.defineProperty(h,"currentTask",{get:function(){return ie},enumerable:!1,configurable:!0}),h.__load_patch=function(a,o,i){if(void 0===i&&(i=!1),F.hasOwnProperty(a)){if(!i&&l)throw Error("Already loaded patch: "+a)}else if(!e["__Zone_disable_"+a]){var P="Zone:"+a;t(P),F[a]=o(e,h,O),n(P,P)}},Object.defineProperty(h.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),h.prototype.get=function(a){var o=this.getZoneWith(a);if(o)return o._properties[a]},h.prototype.getZoneWith=function(a){for(var o=this;o;){if(o._properties.hasOwnProperty(a))return o;o=o._parent}return null},h.prototype.fork=function(a){if(!a)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,a)},h.prototype.wrap=function(a,o){if("function"!=typeof a)throw new Error("Expecting function got: "+a);var i=this._zoneDelegate.intercept(this,a,o),P=this;return function(){return P.runGuarded(i,this,arguments,o)}},h.prototype.run=function(a,o,i,P){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,a,o,i,P)}finally{A=A.parent}},h.prototype.runGuarded=function(a,o,i,P){void 0===o&&(o=null),A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,a,o,i,P)}catch(z){if(this._zoneDelegate.handleError(this,z))throw z}}finally{A=A.parent}},h.prototype.runTask=function(a,o,i){if(a.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(a.zone||B).name+"; Execution: "+this.name+")");if(a.state!==j||a.type!==R&&a.type!==Y){var P=a.state!=k;P&&a._transitionTo(k,U),a.runCount++;var z=ie;ie=a,A={parent:A,zone:this};try{a.type==Y&&a.data&&!a.data.isPeriodic&&(a.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,a,o,i)}catch(se){if(this._zoneDelegate.handleError(this,se))throw se}}finally{a.state!==j&&a.state!==I&&(a.type==R||a.data&&a.data.isPeriodic?P&&a._transitionTo(U,k):(a.runCount=0,this._updateTaskCount(a,-1),P&&a._transitionTo(j,k,j))),A=A.parent,ie=z}}},h.prototype.scheduleTask=function(a){if(a.zone&&a.zone!==this)for(var o=this;o;){if(o===a.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+a.zone.name);o=o.parent}a._transitionTo(V,j);var i=[];a._zoneDelegates=i,a._zone=this;try{a=this._zoneDelegate.scheduleTask(this,a)}catch(P){throw a._transitionTo(I,V,j),this._zoneDelegate.handleError(this,P),P}return a._zoneDelegates===i&&this._updateTaskCount(a,1),a.state==V&&a._transitionTo(U,V),a},h.prototype.scheduleMicroTask=function(a,o,i,P){return this.scheduleTask(new p(ee,a,o,i,P,void 0))},h.prototype.scheduleMacroTask=function(a,o,i,P,z){return this.scheduleTask(new p(Y,a,o,i,P,z))},h.prototype.scheduleEventTask=function(a,o,i,P,z){return this.scheduleTask(new p(R,a,o,i,P,z))},h.prototype.cancelTask=function(a){if(a.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(a.zone||B).name+"; Execution: "+this.name+")");a._transitionTo($,U,k);try{this._zoneDelegate.cancelTask(this,a)}catch(o){throw a._transitionTo(I,$),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(a,-1),a._transitionTo(j,$),a.runCount=0,a},h.prototype._updateTaskCount=function(a,o){var i=a._zoneDelegates;-1==o&&(a._zoneDelegates=null);for(var P=0;P<i.length;P++)i[P]._updateTaskCount(a.type,o)},h}();v.__symbol__=c;var X,T={name:"",onHasTask:function(h,a,o,i){return h.hasTask(o,i)},onScheduleTask:function(h,a,o,i){return h.scheduleTask(o,i)},onInvokeTask:function(h,a,o,i,P,z){return h.invokeTask(o,i,P,z)},onCancelTask:function(h,a,o,i){return h.cancelTask(o,i)}},d=function(){function h(a,o,i){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=a,this._parentDelegate=o,this._forkZS=i&&(i&&i.onFork?i:o._forkZS),this._forkDlgt=i&&(i.onFork?o:o._forkDlgt),this._forkCurrZone=i&&(i.onFork?this.zone:o._forkCurrZone),this._interceptZS=i&&(i.onIntercept?i:o._interceptZS),this._interceptDlgt=i&&(i.onIntercept?o:o._interceptDlgt),this._interceptCurrZone=i&&(i.onIntercept?this.zone:o._interceptCurrZone),this._invokeZS=i&&(i.onInvoke?i:o._invokeZS),this._invokeDlgt=i&&(i.onInvoke?o:o._invokeDlgt),this._invokeCurrZone=i&&(i.onInvoke?this.zone:o._invokeCurrZone),this._handleErrorZS=i&&(i.onHandleError?i:o._handleErrorZS),this._handleErrorDlgt=i&&(i.onHandleError?o:o._handleErrorDlgt),this._handleErrorCurrZone=i&&(i.onHandleError?this.zone:o._handleErrorCurrZone),this._scheduleTaskZS=i&&(i.onScheduleTask?i:o._scheduleTaskZS),this._scheduleTaskDlgt=i&&(i.onScheduleTask?o:o._scheduleTaskDlgt),this._scheduleTaskCurrZone=i&&(i.onScheduleTask?this.zone:o._scheduleTaskCurrZone),this._invokeTaskZS=i&&(i.onInvokeTask?i:o._invokeTaskZS),this._invokeTaskDlgt=i&&(i.onInvokeTask?o:o._invokeTaskDlgt),this._invokeTaskCurrZone=i&&(i.onInvokeTask?this.zone:o._invokeTaskCurrZone),this._cancelTaskZS=i&&(i.onCancelTask?i:o._cancelTaskZS),this._cancelTaskDlgt=i&&(i.onCancelTask?o:o._cancelTaskDlgt),this._cancelTaskCurrZone=i&&(i.onCancelTask?this.zone:o._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var P=i&&i.onHasTask;(P||o&&o._hasTaskZS)&&(this._hasTaskZS=P?i:T,this._hasTaskDlgt=o,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=a,i.onScheduleTask||(this._scheduleTaskZS=T,this._scheduleTaskDlgt=o,this._scheduleTaskCurrZone=this.zone),i.onInvokeTask||(this._invokeTaskZS=T,this._invokeTaskDlgt=o,this._invokeTaskCurrZone=this.zone),i.onCancelTask||(this._cancelTaskZS=T,this._cancelTaskDlgt=o,this._cancelTaskCurrZone=this.zone))}return h.prototype.fork=function(a,o){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,a,o):new v(a,o)},h.prototype.intercept=function(a,o,i){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,a,o,i):o},h.prototype.invoke=function(a,o,i,P,z){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,a,o,i,P,z):o.apply(i,P)},h.prototype.handleError=function(a,o){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,a,o)},h.prototype.scheduleTask=function(a,o){var i=o;if(this._scheduleTaskZS)this._hasTaskZS&&i._zoneDelegates.push(this._hasTaskDlgtOwner),(i=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,a,o))||(i=o);else if(o.scheduleFn)o.scheduleFn(o);else{if(o.type!=ee)throw new Error("Task is missing scheduleFn.");g(o)}return i},h.prototype.invokeTask=function(a,o,i,P){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,a,o,i,P):o.callback.apply(i,P)},h.prototype.cancelTask=function(a,o){var i;if(this._cancelTaskZS)i=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,a,o);else{if(!o.cancelFn)throw Error("Task is not cancelable");i=o.cancelFn(o)}return i},h.prototype.hasTask=function(a,o){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,a,o)}catch(i){this.handleError(a,i)}},h.prototype._updateTaskCount=function(a,o){var i=this._taskCounts,P=i[a],z=i[a]=P+o;if(z<0)throw new Error("More tasks executed then were scheduled.");0!=P&&0!=z||this.hasTask(this.zone,{microTask:i.microTask>0,macroTask:i.macroTask>0,eventTask:i.eventTask>0,change:a})},h}(),p=function(){function h(a,o,i,P,z,se){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=a,this.source=o,this.data=P,this.scheduleFn=z,this.cancelFn=se,!i)throw new Error("callback is not defined");this.callback=i;var f=this;this.invoke=a===R&&P&&P.useG?h.invokeTask:function(){return h.invokeTask.call(e,f,this,arguments)}}return h.invokeTask=function(a,o,i){a||(a=this),ne++;try{return a.runCount++,a.zone.runTask(a,o,i)}finally{1==ne&&m(),ne--}},Object.defineProperty(h.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),h.prototype.cancelScheduleRequest=function(){this._transitionTo(j,V)},h.prototype._transitionTo=function(a,o,i){if(this._state!==o&&this._state!==i)throw new Error(this.type+" '"+this.source+"': can not transition to '"+a+"', expecting state '"+o+"'"+(i?" or '"+i+"'":"")+", was '"+this._state+"'.");this._state=a,a==j&&(this._zoneDelegates=null)},h.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},h.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},h}(),y=c("setTimeout"),b=c("Promise"),w=c("then"),N=[],M=!1;function g(h){if(0===ne&&0===N.length)if(X||e[b]&&(X=e[b].resolve(0)),X){var a=X[w];a||(a=X.then),a.call(X,m)}else e[y](m,0);h&&N.push(h)}function m(){if(!M){for(M=!0;N.length;){var h=N;N=[];for(var a=0;a<h.length;a++){var o=h[a];try{o.zone.runTask(o,null,null)}catch(i){O.onUnhandledError(i)}}}O.microtaskDrainDone(),M=!1}}var B={name:"NO ZONE"},j="notScheduled",V="scheduling",U="scheduled",k="running",$="canceling",I="unknown",ee="microTask",Y="macroTask",R="eventTask",F={},O={symbol:c,currentZoneFrame:function(){return A},onUnhandledError:H,microtaskDrainDone:H,scheduleMicroTask:g,showUncaughtError:function(){return!v[c("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:H,patchMethod:function(){return H},bindArguments:function(){return[]},patchThen:function(){return H},patchMacroTask:function(){return H},patchEventPrototype:function(){return H},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return H},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return H},wrapWithCurrentZone:function(){return H},filterProperties:function(){return[]},attachOriginToPatched:function(){return H},_redefineProperty:function(){return H},patchCallbacks:function(){return H}},A={parent:null,zone:new v(null,null)},ie=null,ne=0;function H(){}n("Zone","Zone"),e.Zone=v}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var we=Object.getOwnPropertyDescriptor,xe=Object.defineProperty,Be=Object.getPrototypeOf,Pr=Object.create,Or=Array.prototype.slice,Fe="addEventListener",Ge="removeEventListener",Ve=Zone.__symbol__(Fe),Ue=Zone.__symbol__(Ge),fe="true",le="false",Se=Zone.__symbol__("");function ze(e,r){return Zone.current.wrap(e,r)}function We(e,r,t,n,u){return Zone.current.scheduleMacroTask(e,r,t,n,u)}var G=Zone.__symbol__,Ze="undefined"!=typeof window,ye=Ze?window:void 0,J=Ze&&ye||"object"==typeof self&&self||global,Sr=[null];function Xe(e,r){for(var t=e.length-1;t>=0;t--)"function"==typeof e[t]&&(e[t]=ze(e[t],r+"_"+t));return e}function rr(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var tr="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ne=!("nw"in J)&&void 0!==J.process&&"[object process]"==={}.toString.call(J.process),qe=!Ne&&!tr&&!(!Ze||!ye.HTMLElement),nr=void 0!==J.process&&"[object process]"==={}.toString.call(J.process)&&!tr&&!(!Ze||!ye.HTMLElement),Le={},or=function(e){if(e=e||J.event){var r=Le[e.type];r||(r=Le[e.type]=G("ON_PROPERTY"+e.type));var u,t=this||e.target||J,n=t[r];return qe&&t===ye&&"error"===e.type?!0===(u=n&&n.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null!=(u=n&&n.apply(this,arguments))&&!u&&e.preventDefault(),u}};function ar(e,r,t){var n=we(e,r);if(!n&&t&&we(t,r)&&(n={enumerable:!0,configurable:!0}),n&&n.configurable){var c=G("on"+r+"patched");if(!e.hasOwnProperty(c)||!e[c]){delete n.writable,delete n.value;var l=n.get,v=n.set,T=r.substr(2),d=Le[T];d||(d=Le[T]=G("ON_PROPERTY"+T)),n.set=function(p){var y=this;!y&&e===J&&(y=J),y&&(y[d]&&y.removeEventListener(T,or),v&&v.apply(y,Sr),"function"==typeof p?(y[d]=p,y.addEventListener(T,or,!1)):y[d]=null)},n.get=function(){var p=this;if(!p&&e===J&&(p=J),!p)return null;var y=p[d];if(y)return y;if(l){var b=l&&l.call(this);if(b)return n.set.call(this,b),"function"==typeof p.removeAttribute&&p.removeAttribute(r),b}return null},xe(e,r,n),e[c]=!0}}}function ir(e,r,t){if(r)for(var n=0;n<r.length;n++)ar(e,"on"+r[n],t);else{var u=[];for(var c in e)"on"==c.substr(0,2)&&u.push(c);for(var l=0;l<u.length;l++)ar(e,u[l],t)}}var ue=G("originalInstance");function Re(e){var r=J[e];if(r){J[G(e)]=r,J[e]=function(){var u=Xe(arguments,e);switch(u.length){case 0:this[ue]=new r;break;case 1:this[ue]=new r(u[0]);break;case 2:this[ue]=new r(u[0],u[1]);break;case 3:this[ue]=new r(u[0],u[1],u[2]);break;case 4:this[ue]=new r(u[0],u[1],u[2],u[3]);break;default:throw new Error("Arg list too long.")}},he(J[e],r);var n,t=new r(function(){});for(n in t)"XMLHttpRequest"===e&&"responseBlob"===n||function(u){"function"==typeof t[u]?J[e].prototype[u]=function(){return this[ue][u].apply(this[ue],arguments)}:xe(J[e].prototype,u,{set:function(c){"function"==typeof c?(this[ue][u]=ze(c,e+"."+u),he(this[ue][u],c)):this[ue][u]=c},get:function(){return this[ue][u]}})}(n);for(n in r)"prototype"!==n&&r.hasOwnProperty(n)&&(J[e][n]=r[n])}}function ve(e,r,t){for(var n=e;n&&!n.hasOwnProperty(r);)n=Be(n);!n&&e[r]&&(n=e);var u=G(r),c=null;if(n&&(!(c=n[u])||!n.hasOwnProperty(u))&&(c=n[u]=n[r],rr(n&&we(n,r)))){var v=t(c,u,r);n[r]=function(){return v(this,arguments)},he(n[r],c)}return c}function Cr(e,r,t){var n=null;function u(c){var l=c.data;return l.args[l.cbIdx]=function(){c.invoke.apply(this,arguments)},n.apply(l.target,l.args),c}n=ve(e,r,function(c){return function(l,v){var T=t(l,v);return T.cbIdx>=0&&"function"==typeof v[T.cbIdx]?We(T.name,v[T.cbIdx],T,u):c.apply(l,v)}})}function he(e,r){e[G("OriginalDelegate")]=r}var sr=!1,Ye=!1;function Zr(){if(sr)return Ye;sr=!0;try{var e=ye.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ye=!0)}catch(r){}return Ye}Zone.__load_patch("ZoneAwarePromise",function(e,r,t){var n=Object.getOwnPropertyDescriptor,u=Object.defineProperty;var l=t.symbol,v=[],T=!0===e[l("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=l("Promise"),p=l("then");t.onUnhandledError=function(f){if(t.showUncaughtError()){var E=f&&f.rejection;E?console.error("Unhandled Promise rejection:",E instanceof Error?E.message:E,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",E,E instanceof Error?E.stack:void 0):console.error(f)}},t.microtaskDrainDone=function(){for(var f=function(){var E=v.shift();try{E.zone.runGuarded(function(){throw E.throwOriginal?E.rejection:E})}catch(s){!function(f){t.onUnhandledError(f);try{var E=r[b];"function"==typeof E&&E.call(this,f)}catch(s){}}(s)}};v.length;)f()};var b=l("unhandledPromiseRejectionHandler");function N(f){return f&&f.then}function M(f){return f}function X(f){return o.reject(f)}var g=l("state"),m=l("value"),B=l("finally"),j=l("parentPromiseValue"),V=l("parentPromiseState"),k=null,$=!0,I=!1;function Y(f,E){return function(s){try{A(f,E,s)}catch(_){A(f,!1,_)}}}var O=l("currentTaskTrace");function A(f,E,s){var _=function(){var f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}}();if(f===s)throw new TypeError("Promise resolved with itself");if(f[g]===k){var S=null;try{("object"==typeof s||"function"==typeof s)&&(S=s&&s.then)}catch(Z){return _(function(){A(f,!1,Z)})(),f}if(E!==I&&s instanceof o&&s.hasOwnProperty(g)&&s.hasOwnProperty(m)&&s[g]!==k)ne(s),A(f,s[g],s[m]);else if(E!==I&&"function"==typeof S)try{S.call(s,_(Y(f,E)),_(Y(f,!1)))}catch(Z){_(function(){A(f,!1,Z)})()}else{f[g]=E;var C=f[m];if(f[m]=s,f[B]===B&&E===$&&(f[g]=f[V],f[m]=f[j]),E===I&&s instanceof Error){var L=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;L&&u(s,O,{configurable:!0,enumerable:!1,writable:!0,value:L})}for(var x=0;x<C.length;)H(f,C[x++],C[x++],C[x++],C[x++]);if(0==C.length&&E==I){f[g]=0;var D=s;try{throw new Error("Uncaught (in promise): "+function(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(Z){D=Z}T&&(D.throwOriginal=!0),D.rejection=s,D.promise=f,D.zone=r.current,D.task=r.currentTask,v.push(D),t.scheduleMicroTask()}}}return f}var ie=l("rejectionHandledHandler");function ne(f){if(0===f[g]){try{var E=r[ie];E&&"function"==typeof E&&E.call(this,{rejection:f[m],promise:f})}catch(_){}f[g]=I;for(var s=0;s<v.length;s++)f===v[s].promise&&v.splice(s,1)}}function H(f,E,s,_,S){ne(f);var C=f[g],L=C?"function"==typeof _?_:M:"function"==typeof S?S:X;E.scheduleMicroTask("Promise.then",function(){try{var x=f[m],D=!!s&&B===s[B];D&&(s[j]=x,s[V]=C);var Z=E.run(L,void 0,D&&L!==X&&L!==M?[]:[x]);A(s,!0,Z)}catch(W){A(s,!1,W)}},s)}var a=function(){},o=function(){function f(E){var s=this;if(!(s instanceof f))throw new Error("Must be an instanceof Promise.");s[g]=k,s[m]=[];try{E&&E(Y(s,$),Y(s,I))}catch(_){A(s,!1,_)}}return f.toString=function(){return"function ZoneAwarePromise() { [native code] }"},f.resolve=function(E){return A(new this(null),$,E)},f.reject=function(E){return A(new this(null),I,E)},f.race=function(E){var s,_,S=new this(function(W,re){s=W,_=re});function C(W){s(W)}function L(W){_(W)}for(var x=0,D=E;x<D.length;x++){var Z=D[x];N(Z)||(Z=this.resolve(Z)),Z.then(C,L)}return S},f.all=function(E){return f.allWithCallback(E)},f.allSettled=function(E){return(this&&this.prototype instanceof f?this:f).allWithCallback(E,{thenCallback:function(_){return{status:"fulfilled",value:_}},errorCallback:function(_){return{status:"rejected",reason:_}}})},f.allWithCallback=function(E,s){for(var _,S,C=new this(function(K,Q){_=K,S=Q}),L=2,x=0,D=[],Z=function(K){N(K)||(K=W.resolve(K));var Q=x;try{K.then(function(oe){D[Q]=s?s.thenCallback(oe):oe,0==--L&&_(D)},function(oe){s?(D[Q]=s.errorCallback(oe),0==--L&&_(D)):S(oe)})}catch(oe){S(oe)}L++,x++},W=this,re=0,ce=E;re<ce.length;re++)Z(ce[re]);return 0==(L-=2)&&_(D),C},Object.defineProperty(f.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,Symbol.species,{get:function(){return f},enumerable:!1,configurable:!0}),f.prototype.then=function(E,s){var _=this.constructor[Symbol.species];(!_||"function"!=typeof _)&&(_=this.constructor||f);var S=new _(a),C=r.current;return this[g]==k?this[m].push(C,S,E,s):H(this,C,S,E,s),S},f.prototype.catch=function(E){return this.then(null,E)},f.prototype.finally=function(E){var s=this.constructor[Symbol.species];(!s||"function"!=typeof s)&&(s=f);var _=new s(a);_[B]=B;var S=r.current;return this[g]==k?this[m].push(S,_,E,E):H(this,S,_,E,E),_},f}();o.resolve=o.resolve,o.reject=o.reject,o.race=o.race,o.all=o.all;var i=e[d]=e.Promise;e.Promise=o;var P=l("thenPatched");function z(f){var E=f.prototype,s=n(E,"then");if(!s||!1!==s.writable&&s.configurable){var _=E.then;E[p]=_,f.prototype.then=function(S,C){var L=this;return new o(function(D,Z){_.call(L,D,Z)}).then(S,C)},f[P]=!0}}return t.patchThen=z,i&&(z(i),ve(e,"fetch",function(f){return function(f){return function(E,s){var _=f.apply(E,s);if(_ instanceof o)return _;var S=_.constructor;return S[P]||z(S),_}}(f)})),Promise[r.__symbol__("uncaughtPromiseErrors")]=v,o}),Zone.__load_patch("toString",function(e){var r=Function.prototype.toString,t=G("OriginalDelegate"),n=G("Promise"),u=G("Error"),c=function(){if("function"==typeof this){var d=this[t];if(d)return"function"==typeof d?r.call(d):Object.prototype.toString.call(d);if(this===Promise){var p=e[n];if(p)return r.call(p)}if(this===Error){var y=e[u];if(y)return r.call(y)}}return r.call(this)};c[t]=r,Function.prototype.toString=c;var l=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":l.call(this)}});var me=!1;if("undefined"!=typeof window)try{var Me=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(e){me=!1}var Nr={useG:!0},ae={},ur={},cr=new RegExp("^"+Se+"(\\w+)(true|false)$"),Ke=G("propagationStopped");function fr(e,r){var t=(r?r(e):e)+le,n=(r?r(e):e)+fe,u=Se+t,c=Se+n;ae[e]={},ae[e][le]=u,ae[e][fe]=c}function Lr(e,r,t){var n=t&&t.add||Fe,u=t&&t.rm||Ge,c=t&&t.listeners||"eventListeners",l=t&&t.rmAll||"removeAllListeners",v=G(n),T="."+n+":",d="prependListener",y=function(g,m,B){if(!g.isRemoved){var j=g.callback;"object"==typeof j&&j.handleEvent&&(g.callback=function(k){return j.handleEvent(k)},g.originalDelegate=j),g.invoke(g,m,[B]);var V=g.options;V&&"object"==typeof V&&V.once&&m[u].call(m,B.type,g.originalDelegate?g.originalDelegate:g.callback,V)}},b=function(g){if(g=g||e.event){var m=this||g.target||e,B=m[ae[g.type][le]];if(B)if(1===B.length)y(B[0],m,g);else for(var j=B.slice(),V=0;V<j.length&&(!g||!0!==g[Ke]);V++)y(j[V],m,g)}},w=function(g){if(g=g||e.event){var m=this||g.target||e,B=m[ae[g.type][fe]];if(B)if(1===B.length)y(B[0],m,g);else for(var j=B.slice(),V=0;V<j.length&&(!g||!0!==g[Ke]);V++)y(j[V],m,g)}};function N(g,m){if(!g)return!1;var B=!0;m&&void 0!==m.useG&&(B=m.useG);var j=m&&m.vh,V=!0;m&&void 0!==m.chkDup&&(V=m.chkDup);var U=!1;m&&void 0!==m.rt&&(U=m.rt);for(var k=g;k&&!k.hasOwnProperty(n);)k=Be(k);if(!k&&g[n]&&(k=g),!k||k[v])return!1;var O,$=m&&m.eventNameToString,I={},ee=k[v]=k[n],Y=k[G(u)]=k[u],R=k[G(c)]=k[c],F=k[G(l)]=k[l];function A(s,_){return!me&&"object"==typeof s&&s?!!s.capture:me&&_?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}m&&m.prepend&&(O=k[G(m.prepend)]=k[m.prepend]);var o=B?function(s){if(!I.isExisting)return ee.call(I.target,I.eventName,I.capture?w:b,I.options)}:function(s){return ee.call(I.target,I.eventName,s.invoke,I.options)},i=B?function(s){if(!s.isRemoved){var _=ae[s.eventName],S=void 0;_&&(S=_[s.capture?fe:le]);var C=S&&s.target[S];if(C)for(var L=0;L<C.length;L++)if(C[L]===s){C.splice(L,1),s.isRemoved=!0,0===C.length&&(s.allRemoved=!0,s.target[S]=null);break}}if(s.allRemoved)return Y.call(s.target,s.eventName,s.capture?w:b,s.options)}:function(s){return Y.call(s.target,s.eventName,s.invoke,s.options)},z=m&&m.diff?m.diff:function(s,_){var S=typeof _;return"function"===S&&s.callback===_||"object"===S&&s.originalDelegate===_},se=Zone[G("UNPATCHED_EVENTS")],f=e[G("PASSIVE_EVENTS")],E=function(s,_,S,C,L,x){return void 0===L&&(L=!1),void 0===x&&(x=!1),function(){var D=this||e,Z=arguments[0];m&&m.transferEventName&&(Z=m.transferEventName(Z));var W=arguments[1];if(!W)return s.apply(this,arguments);if(Ne&&"uncaughtException"===Z)return s.apply(this,arguments);var re=!1;if("function"!=typeof W){if(!W.handleEvent)return s.apply(this,arguments);re=!0}if(!j||j(s,W,D,arguments)){var ce=me&&!!f&&-1!==f.indexOf(Z),te=A(arguments[2],ce);if(se)for(var K=0;K<se.length;K++)if(Z===se[K])return ce?s.call(D,Z,W,te):s.apply(this,arguments);var Q=!!te&&("boolean"==typeof te||te.capture),oe=!(!te||"object"!=typeof te)&&te.once,at=Zone.current,$e=ae[Z];$e||(fr(Z,$),$e=ae[Z]);var Tr=$e[Q?fe:le],ke=D[Tr],gr=!1;if(ke){if(gr=!0,V)for(K=0;K<ke.length;K++)if(z(ke[K],W))return}else ke=D[Tr]=[];var He,br=D.constructor.name,kr=ur[br];kr&&(He=kr[Z]),He||(He=br+_+($?$(Z):Z)),I.options=te,oe&&(I.options.once=!1),I.target=D,I.capture=Q,I.eventName=Z,I.isExisting=gr;var Ce=B?Nr:void 0;Ce&&(Ce.taskData=I);var _e=at.scheduleEventTask(He,W,Ce,S,C);if(I.target=null,Ce&&(Ce.taskData=null),oe&&(te.once=!0),!me&&"boolean"==typeof _e.options||(_e.options=te),_e.target=D,_e.capture=Q,_e.eventName=Z,re&&(_e.originalDelegate=W),x?ke.unshift(_e):ke.push(_e),L)return D}}};return k[n]=E(ee,T,o,i,U),O&&(k[d]=E(O,".prependListener:",function(s){return O.call(I.target,I.eventName,s.invoke,I.options)},i,U,!0)),k[u]=function(){var s=this||e,_=arguments[0];m&&m.transferEventName&&(_=m.transferEventName(_));var S=arguments[2],C=!!S&&("boolean"==typeof S||S.capture),L=arguments[1];if(!L)return Y.apply(this,arguments);if(!j||j(Y,L,s,arguments)){var D,x=ae[_];x&&(D=x[C?fe:le]);var Z=D&&s[D];if(Z)for(var W=0;W<Z.length;W++){var re=Z[W];if(z(re,L))return Z.splice(W,1),re.isRemoved=!0,0===Z.length&&(re.allRemoved=!0,s[D]=null,"string"==typeof _)&&(s[Se+"ON_PROPERTY"+_]=null),re.zone.cancelTask(re),U?s:void 0}return Y.apply(this,arguments)}},k[c]=function(){var s=this||e,_=arguments[0];m&&m.transferEventName&&(_=m.transferEventName(_));for(var S=[],C=lr(s,$?$(_):_),L=0;L<C.length;L++){var x=C[L];S.push(x.originalDelegate?x.originalDelegate:x.callback)}return S},k[l]=function(){var s=this||e,_=arguments[0];if(_){m&&m.transferEventName&&(_=m.transferEventName(_));var Z=ae[_];if(Z){var ce=s[Z[le]],te=s[Z[fe]];if(ce)for(var K=ce.slice(),C=0;C<K.length;C++)this[u].call(this,_,(Q=K[C]).originalDelegate?Q.originalDelegate:Q.callback,Q.options);if(te)for(K=te.slice(),C=0;C<K.length;C++){var Q;this[u].call(this,_,(Q=K[C]).originalDelegate?Q.originalDelegate:Q.callback,Q.options)}}}else{var S=Object.keys(s);for(C=0;C<S.length;C++){var x=cr.exec(S[C]),D=x&&x[1];D&&"removeListener"!==D&&this[l].call(this,D)}this[l].call(this,"removeListener")}if(U)return this},he(k[n],ee),he(k[u],Y),F&&he(k[l],F),R&&he(k[c],R),!0}for(var M=[],X=0;X<r.length;X++)M[X]=N(r[X],t);return M}function lr(e,r){if(!r){var t=[];for(var n in e){var u=cr.exec(n),c=u&&u[1];if(c&&(!r||c===r)){var l=e[n];if(l)for(var v=0;v<l.length;v++)t.push(l[v])}}return t}var T=ae[r];T||(fr(r),T=ae[r]);var d=e[T[le]],p=e[T[fe]];return d?p?d.concat(p):d.slice():p?p.slice():[]}function Mr(e,r){var t=e.Event;t&&t.prototype&&r.patchMethod(t.prototype,"stopImmediatePropagation",function(n){return function(u,c){u[Ke]=!0,n&&n.apply(u,c)}})}function Ir(e,r,t,n,u){var c=Zone.__symbol__(n);if(!r[c]){var l=r[c]=r[n];r[n]=function(v,T,d){return T&&T.prototype&&u.forEach(function(p){var y=t+"."+n+"::"+p,b=T.prototype;if(b.hasOwnProperty(p)){var w=e.ObjectGetOwnPropertyDescriptor(b,p);w&&w.value?(w.value=e.wrapWithCurrentZone(w.value,y),e._redefineProperty(T.prototype,p,w)):b[p]&&(b[p]=e.wrapWithCurrentZone(b[p],y))}else b[p]&&(b[p]=e.wrapWithCurrentZone(b[p],y))}),l.call(r,v,T,d)},e.attachOriginToPatched(r[n],l)}}var Ie,Ae,pr,Er,pe,e,n,Je=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],xr=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],vr=["load"],hr=["blur","error","focus","load","resize","scroll","messageerror"],Ur=["bounce","finish","start"],dr=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Te=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],zr=["close","error","open","message"],Wr=["error","message"],ge=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Je,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function _r(e,r,t){if(!t||0===t.length)return r;var n=t.filter(function(c){return c.target===e});if(!n||0===n.length)return r;var u=n[0].ignoreProperties;return r.filter(function(c){return-1===u.indexOf(c)})}function q(e,r,t,n){e&&ir(e,_r(e,r,t),n)}function Xr(e,r){if((!Ne||nr)&&!Zone[e.symbol("patchEvents")]){var t="undefined"!=typeof WebSocket,n=r.__Zone_ignore_on_properties;if(qe){var u=window,c=function(){try{var e=ye.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(r){}return!1}()?[{target:u,ignoreProperties:["error"]}]:[];q(u,ge.concat(["messageerror"]),n&&n.concat(c),Be(u)),q(Document.prototype,ge,n),void 0!==u.SVGElement&&q(u.SVGElement.prototype,ge,n),q(Element.prototype,ge,n),q(HTMLElement.prototype,ge,n),q(HTMLMediaElement.prototype,xr,n),q(HTMLFrameSetElement.prototype,Je.concat(hr),n),q(HTMLBodyElement.prototype,Je.concat(hr),n),q(HTMLFrameElement.prototype,vr,n),q(HTMLIFrameElement.prototype,vr,n);var l=u.HTMLMarqueeElement;l&&q(l.prototype,Ur,n);var v=u.Worker;v&&q(v.prototype,Wr,n)}var T=r.XMLHttpRequest;T&&q(T.prototype,dr,n);var d=r.XMLHttpRequestEventTarget;d&&q(d&&d.prototype,dr,n),"undefined"!=typeof IDBIndex&&(q(IDBIndex.prototype,Te,n),q(IDBRequest.prototype,Te,n),q(IDBOpenDBRequest.prototype,Te,n),q(IDBDatabase.prototype,Te,n),q(IDBTransaction.prototype,Te,n),q(IDBCursor.prototype,Te,n)),t&&q(WebSocket.prototype,zr,n)}}function Yr(e,r,t){var n=t.configurable;return mr(e,r,t=Qe(e,r,t),n)}function yr(e,r){return e&&e[pe]&&e[pe][r]}function Qe(e,r,t){return Object.isFrozen(t)||(t.configurable=!0),t.configurable||(!e[pe]&&!Object.isFrozen(e)&&Ae(e,pe,{writable:!0,value:{}}),e[pe]&&(e[pe][r]=!0)),t}function mr(e,r,t,n){try{return Ae(e,r,t)}catch(l){if(!t.configurable)throw l;void 0===n?delete t.configurable:t.configurable=n;try{return Ae(e,r,t)}catch(v){var u=!1;if(("createdCallback"===r||"attachedCallback"===r||"detachedCallback"===r||"attributeChangedCallback"===r)&&(u=!0),!u)throw v;var c=null;try{c=JSON.stringify(t)}catch(T){c=t.toString()}console.log("Attempting to configure '"+r+"' with descriptor '"+c+"' on object '"+e+"' and got error, giving up: "+v)}}}function Qr(e,r){var t=e.getGlobalObjects();if((!t.isNode||t.isMix)&&!function(e,r){var t=e.getGlobalObjects();if((t.isBrowser||t.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var c=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(c&&!c.configurable)return!1;if(c){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var v=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",c),v}}var T=r.XMLHttpRequest;if(!T)return!1;var d="onreadystatechange",p=T.prototype,y=e.ObjectGetOwnPropertyDescriptor(p,d);if(y)return e.ObjectDefineProperty(p,d,{enumerable:!0,configurable:!0,get:function(){return!0}}),v=!!(b=new T).onreadystatechange,e.ObjectDefineProperty(p,d,y||{}),v;var w=e.symbol("fake");e.ObjectDefineProperty(p,d,{enumerable:!0,configurable:!0,get:function(){return this[w]},set:function(g){this[w]=g}});var b,N=function(){};return(b=new T).onreadystatechange=N,v=b[w]===N,b.onreadystatechange=null,v}(e,r)){var c="undefined"!=typeof WebSocket;(function(e){for(var r=e.getGlobalObjects().eventNames,t=e.symbol("unbound"),n=function(c){var l=r[c],v="on"+l;self.addEventListener(l,function(T){var p,y,d=T.target;for(y=d?d.constructor.name+"."+v:"unknown."+v;d;)d[v]&&!d[v][t]&&((p=e.wrapWithCurrentZone(d[v],y))[t]=d[v],d[v]=p),d=d.parentElement},!0)},u=0;u<r.length;u++)n(u)})(e),e.patchClass("XMLHttpRequest"),c&&function(e,r){var t=e.getGlobalObjects(),n=t.ADD_EVENT_LISTENER_STR,u=t.REMOVE_EVENT_LISTENER_STR,c=r.WebSocket;r.EventTarget||e.patchEventTarget(r,[c.prototype]),r.WebSocket=function(T,d){var y,b,p=arguments.length>1?new c(T,d):new c(T),w=e.ObjectGetOwnPropertyDescriptor(p,"onmessage");return w&&!1===w.configurable?(y=e.ObjectCreate(p),b=p,[n,u,"send","close"].forEach(function(N){y[N]=function(){var M=e.ArraySlice.call(arguments);if(N===n||N===u){var X=M.length>0?M[0]:void 0;if(X){var g=Zone.__symbol__("ON_PROPERTY"+X);p[g]=y[g]}}return p[N].apply(p,M)}})):y=p,e.patchOnProperties(y,["close","error","message","open"],b),y};var l=r.WebSocket;for(var v in c)l[v]=c[v]}(e,r),Zone[e.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(e,r,t){t.patchOnProperties=ir,t.patchMethod=ve,t.bindArguments=Xe,t.patchMacroTask=Cr;var n=r.__symbol__("BLACK_LISTED_EVENTS"),u=r.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[n]=e[u]),e[n]&&(r[n]=r[u]=e[n]),t.patchEventPrototype=Mr,t.patchEventTarget=Lr,t.isIEOrEdge=Zr,t.ObjectDefineProperty=xe,t.ObjectGetOwnPropertyDescriptor=we,t.ObjectCreate=Pr,t.ArraySlice=Or,t.patchClass=Re,t.wrapWithCurrentZone=ze,t.filterProperties=_r,t.attachOriginToPatched=he,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Ir,t.getGlobalObjects=function(){return{globalSources:ur,zoneSymbolEventNames:ae,eventNames:ge,isBrowser:qe,isMix:nr,isNode:Ne,TRUE_STR:fe,FALSE_STR:le,ZONE_SYMBOL_PREFIX:Se,ADD_EVENT_LISTENER_STR:Fe,REMOVE_EVENT_LISTENER_STR:Ge}}}),(e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(n="legacyPatch",(e.__Zone_symbol_prefix||"__zone_symbol__")+n)]=function(){var n=e.Zone;n.__load_patch("defineProperty",function(u,c,l){l._redefineProperty=Yr,Ie=Zone.__symbol__,Ae=Object[Ie("defineProperty")]=Object.defineProperty,pr=Object[Ie("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,Er=Object.create,pe=Ie("unconfigurables"),Object.defineProperty=function(e,r,t){if(yr(e,r))throw new TypeError("Cannot assign to read only property '"+r+"' of "+e);var n=t.configurable;return"prototype"!==r&&(t=Qe(e,r,t)),mr(e,r,t,n)},Object.defineProperties=function(e,r){return Object.keys(r).forEach(function(t){Object.defineProperty(e,t,r[t])}),e},Object.create=function(e,r){return"object"==typeof r&&!Object.isFrozen(r)&&Object.keys(r).forEach(function(t){r[t]=Qe(e,t,r[t])}),Er(e,r)},Object.getOwnPropertyDescriptor=function(e,r){var t=pr(e,r);return t&&yr(e,r)&&(t.configurable=!1),t}}),n.__load_patch("registerElement",function(u,c,l){!function(e,r){var t=r.getGlobalObjects();(t.isBrowser||t.isMix)&&"registerElement"in e.document&&r.patchCallbacks(r,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(u,l)}),n.__load_patch("EventTargetLegacy",function(u,c,l){(function(e,r){var t=r.getGlobalObjects(),n=t.eventNames,u=t.globalSources,c=t.zoneSymbolEventNames,l=t.TRUE_STR,v=t.FALSE_STR,T=t.ZONE_SYMBOL_PREFIX,p="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),y="EventTarget",b=[],w=e.wtf,N="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");w?b=N.map(function(H){return"HTML"+H+"Element"}).concat(p):e[y]?b.push(y):b=p;for(var M=e.__Zone_disable_IE_check||!1,X=e.__Zone_enable_cross_context_check||!1,g=r.isIEOrEdge(),B="[object FunctionWrapper]",j="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",V={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},U=0;U<n.length;U++){var ee=T+((k=n[U])+v),Y=T+(k+l);c[k]={},c[k][v]=ee,c[k][l]=Y}for(U=0;U<N.length;U++)for(var R=N[U],F=u[R]={},O=0;O<n.length;O++){var k;F[k=n[O]]=R+".addEventListener:"+k}var ie=[];for(U=0;U<b.length;U++){var ne=e[b[U]];ie.push(ne&&ne.prototype)}r.patchEventTarget(e,ie,{vh:function(H,h,a,o){if(!M&&g)if(X)try{if((i=h.toString())===B||i==j)return H.apply(a,o),!1}catch(P){return H.apply(a,o),!1}else{var i;if((i=h.toString())===B||i==j)return H.apply(a,o),!1}else if(X)try{h.toString()}catch(P){return H.apply(a,o),!1}return!0},transferEventName:function(H){return V[H]||H}}),Zone[r.symbol("patchEventTarget")]=!!e[y]})(u,l),Qr(l,u)})};var je=G("zoneTask");function be(e,r,t,n){var u=null,c=null;t+=n;var l={};function v(d){var p=d.data;return p.args[0]=function(){return d.invoke.apply(this,arguments)},p.handleId=u.apply(e,p.args),d}function T(d){return c.call(e,d.data.handleId)}u=ve(e,r+=n,function(d){return function(p,y){if("function"==typeof y[0]){var b={isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?y[1]||0:void 0,args:y},w=y[0];y[0]=function(){try{return w.apply(this,arguments)}finally{b.isPeriodic||("number"==typeof b.handleId?delete l[b.handleId]:b.handleId&&(b.handleId[je]=null))}};var N=We(r,y[0],b,v,T);if(!N)return N;var M=N.data.handleId;return"number"==typeof M?l[M]=N:M&&(M[je]=N),M&&M.ref&&M.unref&&"function"==typeof M.ref&&"function"==typeof M.unref&&(N.ref=M.ref.bind(M),N.unref=M.unref.bind(M)),"number"==typeof M||M?M:N}return d.apply(e,y)}}),c=ve(e,t,function(d){return function(p,y){var w,b=y[0];"number"==typeof b?w=l[b]:(w=b&&b[je])||(w=b),w&&"string"==typeof w.type?"notScheduled"!==w.state&&(w.cancelFn&&w.data.isPeriodic||0===w.runCount)&&("number"==typeof b?delete l[b]:b&&(b[je]=null),w.zone.cancelTask(w)):d.apply(e,y)}})}Zone.__load_patch("legacy",function(e){var r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("queueMicrotask",function(e,r,t){t.patchMethod(e,"queueMicrotask",function(n){return function(u,c){r.current.scheduleMicroTask("queueMicrotask",c[0])}})}),Zone.__load_patch("timers",function(e){var r="set",t="clear";be(e,r,t,"Timeout"),be(e,r,t,"Interval"),be(e,r,t,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){be(e,"request","cancel","AnimationFrame"),be(e,"mozRequest","mozCancel","AnimationFrame"),be(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,r){for(var t=["alert","prompt","confirm"],n=0;n<t.length;n++)ve(e,t[n],function(c,l,v){return function(T,d){return r.current.run(c,e,d,v)}})}),Zone.__load_patch("EventTarget",function(e,r,t){(function(e,r){r.patchEventPrototype(e,r)})(e,t),function(e,r){if(!Zone[r.symbol("patchEventTarget")]){for(var t=r.getGlobalObjects(),n=t.eventNames,u=t.zoneSymbolEventNames,c=t.TRUE_STR,l=t.FALSE_STR,v=t.ZONE_SYMBOL_PREFIX,T=0;T<n.length;T++){var d=n[T],b=v+(d+l),w=v+(d+c);u[d]={},u[d][l]=b,u[d][c]=w}var N=e.EventTarget;if(N&&N.prototype)r.patchEventTarget(e,[N&&N.prototype])}}(e,t);var n=e.XMLHttpRequestEventTarget;n&&n.prototype&&t.patchEventTarget(e,[n.prototype])}),Zone.__load_patch("MutationObserver",function(e,r,t){Re("MutationObserver"),Re("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(e,r,t){Re("IntersectionObserver")}),Zone.__load_patch("FileReader",function(e,r,t){Re("FileReader")}),Zone.__load_patch("on_property",function(e,r,t){Xr(t,e)}),Zone.__load_patch("customElements",function(e,r,t){!function(e,r){var t=r.getGlobalObjects();(t.isBrowser||t.isMix)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,t)}),Zone.__load_patch("XHR",function(e,r){!function(d){var p=d.XMLHttpRequest;if(p){var y=p.prototype,w=y[Ve],N=y[Ue];if(!w){var M=d.XMLHttpRequestEventTarget;if(M){var X=M.prototype;w=X[Ve],N=X[Ue]}}var g="readystatechange",m="scheduled",U=ve(y,"open",function(){return function(R,F){return R[n]=0==F[2],R[l]=F[1],U.apply(R,F)}}),$=G("fetchTaskAborting"),I=G("fetchTaskScheduling"),ee=ve(y,"send",function(){return function(R,F){if(!0===r.current[I]||R[n])return ee.apply(R,F);var O={target:R,url:R[l],isPeriodic:!1,args:F,aborted:!1},A=We("XMLHttpRequest.send",j,O,B,V);R&&!0===R[v]&&!O.aborted&&A.state===m&&A.invoke()}}),Y=ve(y,"abort",function(){return function(R,F){var O=function(R){return R[t]}(R);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===r.current[$])return Y.apply(R,F)}})}function B(R){var F=R.data,O=F.target;O[c]=!1,O[v]=!1;var A=O[u];w||(w=O[Ve],N=O[Ue]),A&&N.call(O,g,A);var ie=O[u]=function(){if(O.readyState===O.DONE)if(!F.aborted&&O[c]&&R.state===m){var H=O[r.__symbol__("loadfalse")];if(0!==O.status&&H&&H.length>0){var h=R.invoke;R.invoke=function(){for(var a=O[r.__symbol__("loadfalse")],o=0;o<a.length;o++)a[o]===R&&a.splice(o,1);!F.aborted&&R.state===m&&h.call(R)},H.push(R)}else R.invoke()}else!F.aborted&&!1===O[c]&&(O[v]=!0)};return w.call(O,g,ie),O[t]||(O[t]=R),ee.apply(O,F.args),O[c]=!0,R}function j(){}function V(R){var F=R.data;return F.aborted=!0,Y.apply(F.target,F.args)}}(e);var t=G("xhrTask"),n=G("xhrSync"),u=G("xhrListener"),c=G("xhrScheduled"),l=G("xhrURL"),v=G("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(e){e.navigator&&e.navigator.geolocation&&function(e,r){for(var t=e.constructor.name,n=function(c){var d,p,l=r[c],v=e[l];if(v){if(!rr(we(e,l)))return"continue";e[l]=(p=function(){return d.apply(this,Xe(arguments,t+"."+l))},he(p,d=v),p)}},u=0;u<r.length;u++)n(u)}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(e,r){function t(n){return function(u){lr(e,n).forEach(function(l){var v=e.PromiseRejectionEvent;if(v){var T=new v(n,{promise:u.promise,reason:u.rejection});l.invoke(T)}})}}e.PromiseRejectionEvent&&(r[G("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),r[G("rejectionHandledHandler")]=t("rejectionhandled"))})}.call(Pe,Oe,Pe,Ee))&&(Ee.exports=De)}},Ee=>{Ee(Ee.s=435)}]);