1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-30 18:50:58 +00:00
gns3-server/gns3server/static/web-ui/polyfills.2f91a039d848e57ff02e.js

1 line
40 KiB
JavaScript

(self.webpackChunkgns3_web_ui=self.webpackChunkgns3_web_ui||[]).push([[429],{82908:function(H){H.exports=function(re,X){(null==X||X>re.length)&&(X=re.length);for(var ee=0,M=new Array(X);ee<X;ee++)M[ee]=re[ee];return M},H.exports.default=H.exports,H.exports.__esModule=!0},45478:function(H){H.exports=function(re,X){if(!(re instanceof X))throw new TypeError("Cannot call a class as a function")},H.exports.default=H.exports,H.exports.__esModule=!0},29545:function(H){function de(X,ee){for(var M=0;M<ee.length;M++){var fe=ee[M];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(X,fe.key,fe)}}H.exports=function(X,ee,M){return ee&&de(X.prototype,ee),M&&de(X,M),X},H.exports.default=H.exports,H.exports.__esModule=!0},76567:function(H,de,re){var X=re(54850);H.exports=function(M,fe){var K="undefined"!=typeof Symbol&&M[Symbol.iterator]||M["@@iterator"];if(!K){if(Array.isArray(M)||(K=X(M))||fe&&M&&"number"==typeof M.length){K&&(M=K);var Ze=0,De=function(){};return{s:De,n:function(){return Ze>=M.length?{done:!0}:{done:!1,value:M[Ze++]}},e:function(me){throw me},f:De}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Ne,Fe=!0,Ve=!1;return{s:function(){K=K.call(M)},n:function(){var me=K.next();return Fe=me.done,me},e:function(me){Ve=!0,Ne=me},f:function(){try{!Fe&&null!=K.return&&K.return()}finally{if(Ve)throw Ne}}}},H.exports.default=H.exports,H.exports.__esModule=!0},54850:function(H,de,re){var X=re(82908);H.exports=function(M,fe){if(M){if("string"==typeof M)return X(M,fe);var K=Object.prototype.toString.call(M).slice(8,-1);if("Object"===K&&M.constructor&&(K=M.constructor.name),"Map"===K||"Set"===K)return Array.from(M);if("Arguments"===K||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K))return X(M,fe)}},H.exports.default=H.exports,H.exports.__esModule=!0},18787:function(H,de,re){"use strict";var X=re(76567).default,ee=re(45478).default,M=re(29545).default,K=(function(r){var t=r.performance;function o(p){t&&t.mark&&t.mark(p)}function a(p,d){t&&t.measure&&t.measure(p,d)}o("Zone");var i=r.__Zone_symbol_prefix||"__zone_symbol__";function l(p){return i+p}var v=!0===r[l("forceDuplicateZoneCheck")];if(r.Zone){if(v||"function"!=typeof r.Zone.__symbol__)throw new Error("Zone already loaded.");return r.Zone}var y=function(){function p(d,e){ee(this,p),this._parent=d,this._name=e?e.name||"unnamed":"<root>",this._properties=e&&e.properties||{},this._zoneDelegate=new E(this,this._parent&&this._parent._zoneDelegate,e)}return M(p,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(e){var n=this.getZoneWith(e);if(n)return n._properties[e]}},{key:"getZoneWith",value:function(e){for(var n=this;n;){if(n._properties.hasOwnProperty(e))return n;n=n._parent}return null}},{key:"fork",value:function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}},{key:"wrap",value:function(e,n){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var h=this._zoneDelegate.intercept(this,e,n),b=this;return function(){return b.runGuarded(h,this,arguments,n)}}},{key:"run",value:function(e,n,h,b){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,e,n,h,b)}finally{A=A.parent}}},{key:"runGuarded",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,h=arguments.length>2?arguments[2]:void 0,b=arguments.length>3?arguments[3]:void 0;A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,e,n,h,b)}catch(J){if(this._zoneDelegate.handleError(this,J))throw J}}finally{A=A.parent}}},{key:"runTask",value:function(e,n,h){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||B).name+"; Execution: "+this.name+")");if(e.state!==j||e.type!==Z&&e.type!==ae){var b=e.state!=P;b&&e._transitionTo(P,W),e.runCount++;var J=ge;ge=e,A={parent:A,zone:this};try{e.type==ae&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,n,h)}catch(c){if(this._zoneDelegate.handleError(this,c))throw c}}finally{e.state!==j&&e.state!==L&&(e.type==Z||e.data&&e.data.isPeriodic?b&&e._transitionTo(W,P):(e.runCount=0,this._updateTaskCount(e,-1),b&&e._transitionTo(j,P,j))),A=A.parent,ge=J}}}},{key:"scheduleTask",value:function(e){if(e.zone&&e.zone!==this)for(var n=this;n;){if(n===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));n=n.parent}e._transitionTo(Y,j);var h=[];e._zoneDelegates=h,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(b){throw e._transitionTo(L,Y,j),this._zoneDelegate.handleError(this,b),b}return e._zoneDelegates===h&&this._updateTaskCount(e,1),e.state==Y&&e._transitionTo(W,Y),e}},{key:"scheduleMicroTask",value:function(e,n,h,b){return this.scheduleTask(new k(le,e,n,h,b,void 0))}},{key:"scheduleMacroTask",value:function(e,n,h,b,J){return this.scheduleTask(new k(ae,e,n,h,b,J))}},{key:"scheduleEventTask",value:function(e,n,h,b,J){return this.scheduleTask(new k(Z,e,n,h,b,J))}},{key:"cancelTask",value:function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||B).name+"; Execution: "+this.name+")");e._transitionTo(ue,W,P);try{this._zoneDelegate.cancelTask(this,e)}catch(n){throw e._transitionTo(L,ue),this._zoneDelegate.handleError(this,n),n}return this._updateTaskCount(e,-1),e._transitionTo(j,ue),e.runCount=0,e}},{key:"_updateTaskCount",value:function(e,n){var h=e._zoneDelegates;-1==n&&(e._zoneDelegates=null);for(var b=0;b<h.length;b++)h[b]._updateTaskCount(e.type,n)}}],[{key:"assertZonePatched",value:function(){if(r.Promise!==U.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.)")}},{key:"root",get:function(){for(var e=p.current;e.parent;)e=e.parent;return e}},{key:"current",get:function(){return A.zone}},{key:"currentTask",get:function(){return ge}},{key:"__load_patch",value:function(e,n){var h=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(U.hasOwnProperty(e)){if(!h&&v)throw Error("Already loaded patch: "+e)}else if(!r["__Zone_disable_"+e]){var b="Zone:"+e;o(b),U[e]=n(r,p,O),a(b,b)}}}]),p}();y.__symbol__=l;var ne,m={name:"",onHasTask:function(d,e,n,h){return d.hasTask(n,h)},onScheduleTask:function(d,e,n,h){return d.scheduleTask(n,h)},onInvokeTask:function(d,e,n,h,b,J){return d.invokeTask(n,h,b,J)},onCancelTask:function(d,e,n,h){return d.cancelTask(n,h)}},E=function(){function p(d,e,n){ee(this,p),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=d,this._parentDelegate=e,this._forkZS=n&&(n&&n.onFork?n:e._forkZS),this._forkDlgt=n&&(n.onFork?e:e._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:e._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:e._interceptZS),this._interceptDlgt=n&&(n.onIntercept?e:e._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:e._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:e._invokeZS),this._invokeDlgt=n&&(n.onInvoke?e:e._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:e._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:e._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?e:e._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:e._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:e._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?e:e._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:e._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:e._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?e:e._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:e._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:e._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?e:e._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:e._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var h=n&&n.onHasTask;(h||e&&e._hasTaskZS)&&(this._hasTaskZS=h?n:m,this._hasTaskDlgt=e,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=d,n.onScheduleTask||(this._scheduleTaskZS=m,this._scheduleTaskDlgt=e,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=m,this._invokeTaskDlgt=e,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=m,this._cancelTaskDlgt=e,this._cancelTaskCurrZone=this.zone))}return M(p,[{key:"fork",value:function(e,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,n):new y(e,n)}},{key:"intercept",value:function(e,n,h){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,n,h):n}},{key:"invoke",value:function(e,n,h,b,J){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,n,h,b,J):n.apply(h,b)}},{key:"handleError",value:function(e,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,n)}},{key:"scheduleTask",value:function(e,n){var h=n;if(this._scheduleTaskZS)this._hasTaskZS&&h._zoneDelegates.push(this._hasTaskDlgtOwner),(h=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,n))||(h=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=le)throw new Error("Task is missing scheduleFn.");z(n)}return h}},{key:"invokeTask",value:function(e,n,h,b){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,n,h,b):n.callback.apply(h,b)}},{key:"cancelTask",value:function(e,n){var h;if(this._cancelTaskZS)h=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");h=n.cancelFn(n)}return h}},{key:"hasTask",value:function(e,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,n)}catch(h){this.handleError(e,h)}}},{key:"_updateTaskCount",value:function(e,n){var h=this._taskCounts,b=h[e],J=h[e]=b+n;if(J<0)throw new Error("More tasks executed then were scheduled.");0!=b&&0!=J||this.hasTask(this.zone,{microTask:h.microTask>0,macroTask:h.macroTask>0,eventTask:h.eventTask>0,change:e})}}]),p}(),k=function(){function p(d,e,n,h,b,J){if(ee(this,p),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=d,this.source=e,this.data=h,this.scheduleFn=b,this.cancelFn=J,!n)throw new Error("callback is not defined");this.callback=n;var c=this;this.invoke=d===Z&&h&&h.useG?p.invokeTask:function(){return p.invokeTask.call(r,c,this,arguments)}}return M(p,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(j,Y)}},{key:"_transitionTo",value:function(e,n,h){if(this._state!==n&&this._state!==h)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(e,"', expecting state '").concat(n,"'").concat(h?" or '"+h+"'":"",", was '").concat(this._state,"'."));this._state=e,e==j&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(e,n,h){e||(e=this),pe++;try{return e.runCount++,e.zone.runTask(e,n,h)}finally{1==pe&&f(),pe--}}}]),p}(),g=l("setTimeout"),w=l("Promise"),D=l("then"),V=[],F=!1;function z(p){if(0===pe&&0===V.length)if(ne||r[w]&&(ne=r[w].resolve(0)),ne){var d=ne[D];d||(d=ne.then),d.call(ne,f)}else r[g](f,0);p&&V.push(p)}function f(){if(!F){for(F=!0;V.length;){var p=V;V=[];for(var d=0;d<p.length;d++){var e=p[d];try{e.zone.runTask(e,null,null)}catch(n){O.onUnhandledError(n)}}}O.microtaskDrainDone(),F=!1}}var B={name:"NO ZONE"},j="notScheduled",Y="scheduling",W="scheduled",P="running",ue="canceling",L="unknown",le="microTask",ae="macroTask",Z="eventTask",U={},O={symbol:l,currentZoneFrame:function(){return A},onUnhandledError:q,microtaskDrainDone:q,scheduleMicroTask:z,showUncaughtError:function(){return!y[l("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:q,patchMethod:function(){return q},bindArguments:function(){return[]},patchThen:function(){return q},patchMacroTask:function(){return q},patchEventPrototype:function(){return q},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return q},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return q},wrapWithCurrentZone:function(){return q},filterProperties:function(){return[]},attachOriginToPatched:function(){return q},_redefineProperty:function(){return q},patchCallbacks:function(){return q}},A={parent:null,zone:new y(null,null)},ge=null,pe=0;function q(){}a("Zone","Zone"),r.Zone=y}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Object.getOwnPropertyDescriptor),Ze=Object.defineProperty,De=Object.getPrototypeOf,Fe=Object.create,Ve=Array.prototype.slice,Ne="addEventListener",Ee="removeEventListener",me=Zone.__symbol__(Ne),qe=Zone.__symbol__(Ee),Te="true",ke="false",xe=Zone.__symbol__("");function Je(r,t){return Zone.current.wrap(r,t)}function Ke(r,t,o,a,i){return Zone.current.scheduleMacroTask(r,t,o,a,i)}var G=Zone.__symbol__,Be="undefined"!=typeof window,Ie=Be?window:void 0,te=Be&&Ie||"object"==typeof self&&self||global,br=[null];function $e(r,t){for(var o=r.length-1;o>=0;o--)"function"==typeof r[o]&&(r[o]=Je(r[o],t+"_"+o));return r}function ar(r){return!r||!1!==r.writable&&!("function"==typeof r.get&&void 0===r.set)}var or="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ue=!("nw"in te)&&void 0!==te.process&&"[object process]"==={}.toString.call(te.process),Qe=!Ue&&!or&&!(!Be||!Ie.HTMLElement),ir=void 0!==te.process&&"[object process]"==={}.toString.call(te.process)&&!or&&!(!Be||!Ie.HTMLElement),ze={},sr=function(t){if(t=t||te.event){var o=ze[t.type];o||(o=ze[t.type]=G("ON_PROPERTY"+t.type));var l,a=this||t.target||te,i=a[o];if(Qe&&a===Ie&&"error"===t.type){var v=t;!0===(l=i&&i.call(this,v.message,v.filename,v.lineno,v.colno,v.error))&&t.preventDefault()}else null!=(l=i&&i.apply(this,arguments))&&!l&&t.preventDefault();return l}};function ur(r,t,o){var a=K(r,t);if(!a&&o&&K(o,t)&&(a={enumerable:!0,configurable:!0}),a&&a.configurable){var l=G("on"+t+"patched");if(!r.hasOwnProperty(l)||!r[l]){delete a.writable,delete a.value;var v=a.get,y=a.set,m=t.substr(2),E=ze[m];E||(E=ze[m]=G("ON_PROPERTY"+m)),a.set=function(k){var g=this;!g&&r===te&&(g=te),g&&(g[E]&&g.removeEventListener(m,sr),y&&y.apply(g,br),"function"==typeof k?(g[E]=k,g.addEventListener(m,sr,!1)):g[E]=null)},a.get=function(){var k=this;if(!k&&r===te&&(k=te),!k)return null;var g=k[E];if(g)return g;if(v){var w=v&&v.call(this);if(w)return a.set.call(this,w),"function"==typeof k.removeAttribute&&k.removeAttribute(t),w}return null},Ze(r,t,a),r[l]=!0}}}function cr(r,t,o){if(t)for(var a=0;a<t.length;a++)ur(r,"on"+t[a],o);else{var i=[];for(var l in r)"on"==l.substr(0,2)&&i.push(l);for(var v=0;v<i.length;v++)ur(r,i[v],o)}}var _e=G("originalInstance");function He(r){var t=te[r];if(t){te[G(r)]=t,te[r]=function(){var i=$e(arguments,r);switch(i.length){case 0:this[_e]=new t;break;case 1:this[_e]=new t(i[0]);break;case 2:this[_e]=new t(i[0],i[1]);break;case 3:this[_e]=new t(i[0],i[1],i[2]);break;case 4:this[_e]=new t(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},we(te[r],t);var a,o=new t(function(){});for(a in o)"XMLHttpRequest"===r&&"responseBlob"===a||function(i){"function"==typeof o[i]?te[r].prototype[i]=function(){return this[_e][i].apply(this[_e],arguments)}:Ze(te[r].prototype,i,{set:function(v){"function"==typeof v?(this[_e][i]=Je(v,r+"."+i),we(this[_e][i],v)):this[_e][i]=v},get:function(){return this[_e][i]}})}(a);for(a in t)"prototype"!==a&&t.hasOwnProperty(a)&&(te[r][a]=t[a])}}function be(r,t,o){for(var a=r;a&&!a.hasOwnProperty(t);)a=De(a);!a&&r[t]&&(a=r);var i=G(t),l=null;if(a&&(!(l=a[i])||!a.hasOwnProperty(i))&&(l=a[i]=a[t],ar(a&&K(a,t)))){var y=o(l,i,t);a[t]=function(){return y(this,arguments)},we(a[t],l)}return l}function Cr(r,t,o){var a=null;function i(l){var v=l.data;return v.args[v.cbIdx]=function(){l.invoke.apply(this,arguments)},a.apply(v.target,v.args),l}a=be(r,t,function(l){return function(v,y){var m=o(v,y);return m.cbIdx>=0&&"function"==typeof y[m.cbIdx]?Ke(m.name,y[m.cbIdx],m,i):l.apply(v,y)}})}function we(r,t){r[G("OriginalDelegate")]=t}var lr=!1,er=!1;function Pr(){if(lr)return er;lr=!0;try{var r=Ie.navigator.userAgent;(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/")||-1!==r.indexOf("Edge/"))&&(er=!0)}catch(t){}return er}Zone.__load_patch("ZoneAwarePromise",function(r,t,o){var a=Object.getOwnPropertyDescriptor,i=Object.defineProperty,v=o.symbol,y=[],m=!0===r[v("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],E=v("Promise"),k=v("then");o.onUnhandledError=function(c){if(o.showUncaughtError()){var C=c&&c.rejection;C?console.error("Unhandled Promise rejection:",C instanceof Error?C.message:C,"; Zone:",c.zone.name,"; Task:",c.task&&c.task.source,"; Value:",C,C instanceof Error?C.stack:void 0):console.error(c)}},o.microtaskDrainDone=function(){for(var c=function(){var s=y.shift();try{s.zone.runGuarded(function(){throw s.throwOriginal?s.rejection:s})}catch(u){!function(c){o.onUnhandledError(c);try{var C=t[w];"function"==typeof C&&C.call(this,c)}catch(s){}}(u)}};y.length;)c()};var w=v("unhandledPromiseRejectionHandler");function V(c){return c&&c.then}function F(c){return c}function ne(c){return e.reject(c)}var z=v("state"),f=v("value"),B=v("finally"),j=v("parentPromiseValue"),Y=v("parentPromiseState"),P=null,L=!1;function ae(c,C){return function(s){try{A(c,C,s)}catch(u){A(c,!1,u)}}}var O=v("currentTaskTrace");function A(c,C,s){var u=function(){var C=!1;return function(u){return function(){C||(C=!0,u.apply(null,arguments))}}}();if(c===s)throw new TypeError("Promise resolved with itself");if(c[z]===P){var _=null;try{("object"==typeof s||"function"==typeof s)&&(_=s&&s.then)}catch(x){return u(function(){A(c,!1,x)})(),c}if(C!==L&&s instanceof e&&s.hasOwnProperty(z)&&s.hasOwnProperty(f)&&s[z]!==P)pe(s),A(c,s[z],s[f]);else if(C!==L&&"function"==typeof _)try{_.call(s,u(ae(c,C)),u(ae(c,!1)))}catch(x){u(function(){A(c,!1,x)})()}else{c[z]=C;var T=c[f];if(c[f]=s,c[B]===B&&!0===C&&(c[z]=c[Y],c[f]=c[j]),C===L&&s instanceof Error){var R=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;R&&i(s,O,{configurable:!0,enumerable:!1,writable:!0,value:R})}for(var S=0;S<T.length;)q(c,T[S++],T[S++],T[S++],T[S++]);if(0==T.length&&C==L){c[z]=0;var N=s;try{throw new Error("Uncaught (in promise): "+function(c){return c&&c.toString===Object.prototype.toString?(c.constructor&&c.constructor.name||"")+": "+JSON.stringify(c):c?c.toString():Object.prototype.toString.call(c)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(x){N=x}m&&(N.throwOriginal=!0),N.rejection=s,N.promise=c,N.zone=t.current,N.task=t.currentTask,y.push(N),o.scheduleMicroTask()}}}return c}var ge=v("rejectionHandledHandler");function pe(c){if(0===c[z]){try{var C=t[ge];C&&"function"==typeof C&&C.call(this,{rejection:c[f],promise:c})}catch(u){}c[z]=L;for(var s=0;s<y.length;s++)c===y[s].promise&&y.splice(s,1)}}function q(c,C,s,u,_){pe(c);var T=c[z],R=T?"function"==typeof u?u:F:"function"==typeof _?_:ne;C.scheduleMicroTask("Promise.then",function(){try{var S=c[f],N=!!s&&B===s[B];N&&(s[j]=S,s[Y]=T);var x=C.run(R,void 0,N&&R!==ne&&R!==F?[]:[S]);A(s,!0,x)}catch(I){A(s,!1,I)}},s)}var d=function(){},e=function(c,C){function s(u){ee(this,s);var _=this;if(!(_ instanceof s))throw new Error("Must be an instanceof Promise.");_[z]=P,_[f]=[];try{u&&u(ae(_,!0),ae(_,L))}catch(T){A(_,!1,T)}}return M(s,[{key:c,get:function(){return"Promise"}},{key:C,get:function(){return s}},{key:"then",value:function(_,T){var R=this.constructor[Symbol.species];(!R||"function"!=typeof R)&&(R=this.constructor||s);var S=new R(d),N=t.current;return this[z]==P?this[f].push(N,S,_,T):q(this,N,S,_,T),S}},{key:"catch",value:function(_){return this.then(null,_)}},{key:"finally",value:function(_){var T=this.constructor[Symbol.species];(!T||"function"!=typeof T)&&(T=s);var R=new T(d);R[B]=B;var S=t.current;return this[z]==P?this[f].push(S,R,_,_):q(this,S,R,_,_),R}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(_){return A(new this(null),!0,_)}},{key:"reject",value:function(_){return A(new this(null),L,_)}},{key:"race",value:function(_){var T,R,S=new this(function(ie,se){T=ie,R=se});function N(ie){T(ie)}function x(ie){R(ie)}var $,I=X(_);try{for(I.s();!($=I.n()).done;){var oe=$.value;V(oe)||(oe=this.resolve(oe)),oe.then(N,x)}}catch(ie){I.e(ie)}finally{I.f()}return S}},{key:"all",value:function(_){return s.allWithCallback(_)}},{key:"allSettled",value:function(_){return(this&&this.prototype instanceof s?this:s).allWithCallback(_,{thenCallback:function(S){return{status:"fulfilled",value:S}},errorCallback:function(S){return{status:"rejected",reason:S}}})}},{key:"allWithCallback",value:function(_,T){var S,N,se,R=this,x=new this(function(he,ye){S=he,N=ye}),I=2,$=0,oe=[],ie=X(_);try{var Ce=function(){var ye=se.value;V(ye)||(ye=R.resolve(ye));var Re=$;try{ye.then(function(ce){oe[Re]=T?T.thenCallback(ce):ce,0==--I&&S(oe)},function(ce){T?(oe[Re]=T.errorCallback(ce),0==--I&&S(oe)):N(ce)})}catch(ce){N(ce)}I++,$++};for(ie.s();!(se=ie.n()).done;)Ce()}catch(he){ie.e(he)}finally{ie.f()}return 0==(I-=2)&&S(oe),x}}]),s}(Symbol.toStringTag,Symbol.species);e.resolve=e.resolve,e.reject=e.reject,e.race=e.race,e.all=e.all;var n=r[E]=r.Promise;r.Promise=e;var h=v("thenPatched");function b(c){var C=c.prototype,s=a(C,"then");if(!s||!1!==s.writable&&s.configurable){var u=C.then;C[k]=u,c.prototype.then=function(_,T){var R=this;return new e(function(N,x){u.call(R,N,x)}).then(_,T)},c[h]=!0}}return o.patchThen=b,n&&(b(n),be(r,"fetch",function(c){return function(c){return function(C,s){var u=c.apply(C,s);if(u instanceof e)return u;var _=u.constructor;return _[h]||b(_),u}}(c)})),Promise[t.__symbol__("uncaughtPromiseErrors")]=y,e}),Zone.__load_patch("toString",function(r){var t=Function.prototype.toString,o=G("OriginalDelegate"),a=G("Promise"),i=G("Error"),l=function(){if("function"==typeof this){var E=this[o];if(E)return"function"==typeof E?t.call(E):Object.prototype.toString.call(E);if(this===Promise){var k=r[a];if(k)return t.call(k)}if(this===Error){var g=r[i];if(g)return t.call(g)}}return t.call(this)};l[o]=t,Function.prototype.toString=l;var v=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":v.call(this)}});var Me=!1;if("undefined"!=typeof window)try{var We=Object.defineProperty({},"passive",{get:function(){Me=!0}});window.addEventListener("test",We,We),window.removeEventListener("test",We,We)}catch(r){Me=!1}var Rr={useG:!0},ve={},fr={},vr=new RegExp("^"+xe+"(\\w+)(true|false)$"),rr=G("propagationStopped");function hr(r,t){var o=(t?t(r):r)+ke,a=(t?t(r):r)+Te,i=xe+o,l=xe+a;ve[r]={},ve[r][ke]=i,ve[r][Te]=l}function Or(r,t,o){var a=o&&o.add||Ne,i=o&&o.rm||Ee,l=o&&o.listeners||"eventListeners",v=o&&o.rmAll||"removeAllListeners",y=G(a),m="."+a+":",g=function(f,B,j){if(!f.isRemoved){var Y=f.callback;"object"==typeof Y&&Y.handleEvent&&(f.callback=function(ue){return Y.handleEvent(ue)},f.originalDelegate=Y),f.invoke(f,B,[j]);var W=f.options;W&&"object"==typeof W&&W.once&&B[i].call(B,j.type,f.originalDelegate?f.originalDelegate:f.callback,W)}},w=function(f){if(f=f||r.event){var B=this||f.target||r,j=B[ve[f.type][ke]];if(j)if(1===j.length)g(j[0],B,f);else for(var Y=j.slice(),W=0;W<Y.length&&(!f||!0!==f[rr]);W++)g(Y[W],B,f)}},D=function(f){if(f=f||r.event){var B=this||f.target||r,j=B[ve[f.type][Te]];if(j)if(1===j.length)g(j[0],B,f);else for(var Y=j.slice(),W=0;W<Y.length&&(!f||!0!==f[rr]);W++)g(Y[W],B,f)}};function V(z,f){if(!z)return!1;var B=!0;f&&void 0!==f.useG&&(B=f.useG);var j=f&&f.vh,Y=!0;f&&void 0!==f.chkDup&&(Y=f.chkDup);var W=!1;f&&void 0!==f.rt&&(W=f.rt);for(var P=z;P&&!P.hasOwnProperty(a);)P=De(P);if(!P&&z[a]&&(P=z),!P||P[y])return!1;var O,ue=f&&f.eventNameToString,L={},le=P[y]=P[a],ae=P[G(i)]=P[i],Z=P[G(l)]=P[l],U=P[G(v)]=P[v];function A(s,u){return!Me&&"object"==typeof s&&s?!!s.capture:Me&&u?"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}f&&f.prepend&&(O=P[G(f.prepend)]=P[f.prepend]);var e=B?function(u){if(!L.isExisting)return le.call(L.target,L.eventName,L.capture?D:w,L.options)}:function(u){return le.call(L.target,L.eventName,u.invoke,L.options)},n=B?function(u){if(!u.isRemoved){var T,_=ve[u.eventName];_&&(T=_[u.capture?Te:ke]);var R=T&&u.target[T];if(R)for(var S=0;S<R.length;S++)if(R[S]===u){R.splice(S,1),u.isRemoved=!0,0===R.length&&(u.allRemoved=!0,u.target[T]=null);break}}if(u.allRemoved)return ae.call(u.target,u.eventName,u.capture?D:w,u.options)}:function(u){return ae.call(u.target,u.eventName,u.invoke,u.options)},b=f&&f.diff?f.diff:function(u,_){var T=typeof _;return"function"===T&&u.callback===_||"object"===T&&u.originalDelegate===_},J=Zone[G("UNPATCHED_EVENTS")],c=r[G("PASSIVE_EVENTS")],C=function(u,_,T,R){var S=arguments.length>4&&void 0!==arguments[4]&&arguments[4],N=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var x=this||r,I=arguments[0];f&&f.transferEventName&&(I=f.transferEventName(I));var $=arguments[1];if(!$)return u.apply(this,arguments);if(Ue&&"uncaughtException"===I)return u.apply(this,arguments);var oe=!1;if("function"!=typeof $){if(!$.handleEvent)return u.apply(this,arguments);oe=!0}if(!j||j(u,$,x,arguments)){var ie=Me&&!!c&&-1!==c.indexOf(I),se=A(arguments[2],ie);if(J)for(var Ce=0;Ce<J.length;Ce++)if(I===J[Ce])return ie?u.call(x,I,$,se):u.apply(this,arguments);var he=!!se&&("boolean"==typeof se||se.capture),ye=!(!se||"object"!=typeof se)&&se.once,Re=Zone.current,ce=ve[I];ce||(hr(I,ue),ce=ve[I]);var Oe=ce[he?Te:ke],Se=x[Oe],mr=!1;if(Se){if(mr=!0,Y)for(var nr=0;nr<Se.length;nr++)if(b(Se[nr],$))return}else Se=x[Oe]=[];var Ye,gr=x.constructor.name,Tr=fr[gr];Tr&&(Ye=Tr[I]),Ye||(Ye=gr+_+(ue?ue(I):I)),L.options=se,ye&&(L.options.once=!1),L.target=x,L.capture=he,L.eventName=I,L.isExisting=mr;var Ge=B?Rr:void 0;Ge&&(Ge.taskData=L);var Pe=Re.scheduleEventTask(Ye,$,Ge,T,R);if(L.target=null,Ge&&(Ge.taskData=null),ye&&(se.once=!0),!Me&&"boolean"==typeof Pe.options||(Pe.options=se),Pe.target=x,Pe.capture=he,Pe.eventName=I,oe&&(Pe.originalDelegate=$),N?Se.unshift(Pe):Se.push(Pe),S)return x}}};return P[a]=C(le,m,e,n,W),O&&(P.prependListener=C(O,".prependListener:",function(u){return O.call(L.target,L.eventName,u.invoke,L.options)},n,W,!0)),P[i]=function(){var s=this||r,u=arguments[0];f&&f.transferEventName&&(u=f.transferEventName(u));var _=arguments[2],T=!!_&&("boolean"==typeof _||_.capture),R=arguments[1];if(!R)return ae.apply(this,arguments);if(!j||j(ae,R,s,arguments)){var N,S=ve[u];S&&(N=S[T?Te:ke]);var x=N&&s[N];if(x)for(var I=0;I<x.length;I++){var $=x[I];if(b($,R)){if(x.splice(I,1),$.isRemoved=!0,0===x.length&&($.allRemoved=!0,s[N]=null,"string"==typeof u)){var oe=xe+"ON_PROPERTY"+u;s[oe]=null}return $.zone.cancelTask($),W?s:void 0}}return ae.apply(this,arguments)}},P[l]=function(){var s=this||r,u=arguments[0];f&&f.transferEventName&&(u=f.transferEventName(u));for(var _=[],T=dr(s,ue?ue(u):u),R=0;R<T.length;R++){var S=T[R],N=S.originalDelegate?S.originalDelegate:S.callback;_.push(N)}return _},P[v]=function(){var s=this||r,u=arguments[0];if(u){f&&f.transferEventName&&(u=f.transferEventName(u));var x=ve[u];if(x){var I=x[ke],$=x[Te],oe=s[I],ie=s[$];if(oe)for(var se=oe.slice(),Ce=0;Ce<se.length;Ce++){var he=se[Ce],ye=he.originalDelegate?he.originalDelegate:he.callback;this[i].call(this,u,ye,he.options)}if(ie)for(var Re=ie.slice(),ce=0;ce<Re.length;ce++){var Oe=Re[ce],Se=Oe.originalDelegate?Oe.originalDelegate:Oe.callback;this[i].call(this,u,Se,Oe.options)}}}else{for(var _=Object.keys(s),T=0;T<_.length;T++){var R=_[T],S=vr.exec(R),N=S&&S[1];N&&"removeListener"!==N&&this[v].call(this,N)}this[v].call(this,"removeListener")}if(W)return this},we(P[a],le),we(P[i],ae),U&&we(P[v],U),Z&&we(P[l],Z),!0}for(var F=[],ne=0;ne<t.length;ne++)F[ne]=V(t[ne],o);return F}function dr(r,t){if(!t){var o=[];for(var a in r){var i=vr.exec(a),l=i&&i[1];if(l&&(!t||l===t)){var v=r[a];if(v)for(var y=0;y<v.length;y++)o.push(v[y])}}return o}var m=ve[t];m||(hr(t),m=ve[t]);var E=r[m[ke]],k=r[m[Te]];return E?k?E.concat(k):E.slice():k?k.slice():[]}function Zr(r,t){var o=r.Event;o&&o.prototype&&t.patchMethod(o.prototype,"stopImmediatePropagation",function(a){return function(i,l){i[rr]=!0,a&&a.apply(i,l)}})}function Dr(r,t,o,a,i){var l=Zone.__symbol__(a);if(!t[l]){var v=t[l]=t[a];t[a]=function(y,m,E){return m&&m.prototype&&i.forEach(function(k){var g="".concat(o,".").concat(a,"::")+k,w=m.prototype;if(w.hasOwnProperty(k)){var D=r.ObjectGetOwnPropertyDescriptor(w,k);D&&D.value?(D.value=r.wrapWithCurrentZone(D.value,g),r._redefineProperty(m.prototype,k,D)):w[k]&&(w[k]=r.wrapWithCurrentZone(w[k],g))}else w[k]&&(w[k]=r.wrapWithCurrentZone(w[k],g))}),v.call(t,y,m,E)},r.attachOriginToPatched(t[a],v)}}var tr=["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"],Lr=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],_r=["load"],pr=["blur","error","focus","load","resize","scroll","messageerror"],Gr=["bounce","finish","start"],yr=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Le=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Fr=["close","error","open","message"],Vr=["error","message"],Ae=["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"],tr,["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 Er(r,t,o){if(!o||0===o.length)return t;var a=o.filter(function(l){return l.target===r});if(!a||0===a.length)return t;var i=a[0].ignoreProperties;return t.filter(function(l){return-1===i.indexOf(l)})}function Q(r,t,o,a){r&&cr(r,Er(r,t,o),a)}Zone.__load_patch("util",function(r,t,o){o.patchOnProperties=cr,o.patchMethod=be,o.bindArguments=$e,o.patchMacroTask=Cr;var a=t.__symbol__("BLACK_LISTED_EVENTS"),i=t.__symbol__("UNPATCHED_EVENTS");r[i]&&(r[a]=r[i]),r[a]&&(t[a]=t[i]=r[a]),o.patchEventPrototype=Zr,o.patchEventTarget=Or,o.isIEOrEdge=Pr,o.ObjectDefineProperty=Ze,o.ObjectGetOwnPropertyDescriptor=K,o.ObjectCreate=Fe,o.ArraySlice=Ve,o.patchClass=He,o.wrapWithCurrentZone=Je,o.filterProperties=Er,o.attachOriginToPatched=we,o._redefineProperty=Object.defineProperty,o.patchCallbacks=Dr,o.getGlobalObjects=function(){return{globalSources:fr,zoneSymbolEventNames:ve,eventNames:Ae,isBrowser:Qe,isMix:ir,isNode:Ue,TRUE_STR:Te,FALSE_STR:ke,ZONE_SYMBOL_PREFIX:xe,ADD_EVENT_LISTENER_STR:Ne,REMOVE_EVENT_LISTENER_STR:Ee}}});var Xe=G("zoneTask");function je(r,t,o,a){var i=null,l=null;o+=a;var v={};function y(E){var k=E.data;return k.args[0]=function(){return E.invoke.apply(this,arguments)},k.handleId=i.apply(r,k.args),E}function m(E){return l.call(r,E.data.handleId)}i=be(r,t+=a,function(E){return function(k,g){if("function"==typeof g[0]){var w={isPeriodic:"Interval"===a,delay:"Timeout"===a||"Interval"===a?g[1]||0:void 0,args:g},D=g[0];g[0]=function(){try{return D.apply(this,arguments)}finally{w.isPeriodic||("number"==typeof w.handleId?delete v[w.handleId]:w.handleId&&(w.handleId[Xe]=null))}};var V=Ke(t,g[0],w,y,m);if(!V)return V;var F=V.data.handleId;return"number"==typeof F?v[F]=V:F&&(F[Xe]=V),F&&F.ref&&F.unref&&"function"==typeof F.ref&&"function"==typeof F.unref&&(V.ref=F.ref.bind(F),V.unref=F.unref.bind(F)),"number"==typeof F||F?F:V}return E.apply(r,g)}}),l=be(r,o,function(E){return function(k,g){var D,w=g[0];"number"==typeof w?D=v[w]:(D=w&&w[Xe])||(D=w),D&&"string"==typeof D.type?"notScheduled"!==D.state&&(D.cancelFn&&D.data.isPeriodic||0===D.runCount)&&("number"==typeof w?delete v[w]:w&&(w[Xe]=null),D.zone.cancelTask(D)):E.apply(r,g)}})}Zone.__load_patch("legacy",function(r){var t=r[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",function(r,t,o){o.patchMethod(r,"queueMicrotask",function(a){return function(i,l){t.current.scheduleMicroTask("queueMicrotask",l[0])}})}),Zone.__load_patch("timers",function(r){var t="set",o="clear";je(r,t,o,"Timeout"),je(r,t,o,"Interval"),je(r,t,o,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(r){je(r,"request","cancel","AnimationFrame"),je(r,"mozRequest","mozCancel","AnimationFrame"),je(r,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(r,t){for(var o=["alert","prompt","confirm"],a=0;a<o.length;a++)be(r,o[a],function(l,v,y){return function(m,E){return t.current.run(l,r,E,y)}})}),Zone.__load_patch("EventTarget",function(r,t,o){(function(r,t){t.patchEventPrototype(r,t)})(r,o),function(r,t){if(!Zone[t.symbol("patchEventTarget")]){for(var o=t.getGlobalObjects(),a=o.eventNames,i=o.zoneSymbolEventNames,l=o.TRUE_STR,v=o.FALSE_STR,y=o.ZONE_SYMBOL_PREFIX,m=0;m<a.length;m++){var E=a[m],w=y+(E+v),D=y+(E+l);i[E]={},i[E][v]=w,i[E][l]=D}var V=r.EventTarget;V&&V.prototype&&t.patchEventTarget(r,[V&&V.prototype])}}(r,o);var a=r.XMLHttpRequestEventTarget;a&&a.prototype&&o.patchEventTarget(r,[a.prototype])}),Zone.__load_patch("MutationObserver",function(r,t,o){He("MutationObserver"),He("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(r,t,o){He("IntersectionObserver")}),Zone.__load_patch("FileReader",function(r,t,o){He("FileReader")}),Zone.__load_patch("on_property",function(r,t,o){!function(r,t){if((!Ue||ir)&&!Zone[r.symbol("patchEvents")]){var o="undefined"!=typeof WebSocket,a=t.__Zone_ignore_on_properties;if(Qe){var i=window,l=function(){try{var r=Ie.navigator.userAgent;if(-1!==r.indexOf("MSIE ")||-1!==r.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];Q(i,Ae.concat(["messageerror"]),a&&a.concat(l),De(i)),Q(Document.prototype,Ae,a),void 0!==i.SVGElement&&Q(i.SVGElement.prototype,Ae,a),Q(Element.prototype,Ae,a),Q(HTMLElement.prototype,Ae,a),Q(HTMLMediaElement.prototype,Lr,a),Q(HTMLFrameSetElement.prototype,tr.concat(pr),a),Q(HTMLBodyElement.prototype,tr.concat(pr),a),Q(HTMLFrameElement.prototype,_r,a),Q(HTMLIFrameElement.prototype,_r,a);var v=i.HTMLMarqueeElement;v&&Q(v.prototype,Gr,a);var y=i.Worker;y&&Q(y.prototype,Vr,a)}var m=t.XMLHttpRequest;m&&Q(m.prototype,yr,a);var E=t.XMLHttpRequestEventTarget;E&&Q(E&&E.prototype,yr,a),"undefined"!=typeof IDBIndex&&(Q(IDBIndex.prototype,Le,a),Q(IDBRequest.prototype,Le,a),Q(IDBOpenDBRequest.prototype,Le,a),Q(IDBDatabase.prototype,Le,a),Q(IDBTransaction.prototype,Le,a),Q(IDBCursor.prototype,Le,a)),o&&Q(WebSocket.prototype,Fr,a)}}(o,r)}),Zone.__load_patch("customElements",function(r,t,o){!function(r,t){var o=t.getGlobalObjects();(o.isBrowser||o.isMix)&&r.customElements&&"customElements"in r&&t.patchCallbacks(t,r.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(r,o)}),Zone.__load_patch("XHR",function(r,t){!function(E){var k=E.XMLHttpRequest;if(k){var g=k.prototype,D=g[me],V=g[qe];if(!D){var F=E.XMLHttpRequestEventTarget;if(F){var ne=F.prototype;D=ne[me],V=ne[qe]}}var z="readystatechange",f="scheduled",W=be(g,"open",function(){return function(Z,U){return Z[a]=0==U[2],Z[v]=U[1],W.apply(Z,U)}}),ue=G("fetchTaskAborting"),L=G("fetchTaskScheduling"),le=be(g,"send",function(){return function(Z,U){if(!0===t.current[L]||Z[a])return le.apply(Z,U);var O={target:Z,url:Z[v],isPeriodic:!1,args:U,aborted:!1},A=Ke("XMLHttpRequest.send",j,O,B,Y);Z&&!0===Z[y]&&!O.aborted&&A.state===f&&A.invoke()}}),ae=be(g,"abort",function(){return function(Z,U){var O=function(Z){return Z[o]}(Z);if(O&&"string"==typeof O.type){if(null==O.cancelFn||O.data&&O.data.aborted)return;O.zone.cancelTask(O)}else if(!0===t.current[ue])return ae.apply(Z,U)}})}function B(Z){var U=Z.data,O=U.target;O[l]=!1,O[y]=!1;var A=O[i];D||(D=O[me],V=O[qe]),A&&V.call(O,z,A);var ge=O[i]=function(){if(O.readyState===O.DONE)if(!U.aborted&&O[l]&&Z.state===f){var q=O[t.__symbol__("loadfalse")];if(0!==O.status&&q&&q.length>0){var p=Z.invoke;Z.invoke=function(){for(var d=O[t.__symbol__("loadfalse")],e=0;e<d.length;e++)d[e]===Z&&d.splice(e,1);!U.aborted&&Z.state===f&&p.call(Z)},q.push(Z)}else Z.invoke()}else!U.aborted&&!1===O[l]&&(O[y]=!0)};return D.call(O,z,ge),O[o]||(O[o]=Z),le.apply(O,U.args),O[l]=!0,Z}function j(){}function Y(Z){var U=Z.data;return U.aborted=!0,ae.apply(U.target,U.args)}}(r);var o=G("xhrTask"),a=G("xhrSync"),i=G("xhrListener"),l=G("xhrScheduled"),v=G("xhrURL"),y=G("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(r){r.navigator&&r.navigator.geolocation&&function(r,t){for(var o=r.constructor.name,a=function(y){var g,w,m=t[y],E=r[m];if(E){if(!ar(K(r,m)))return"continue";r[m]=(we(w=function(){return g.apply(this,$e(arguments,o+"."+m))},g=E),w)}},i=0;i<t.length;i++)a(i)}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(r,t){function o(a){return function(i){dr(r,a).forEach(function(v){var y=r.PromiseRejectionEvent;if(y){var m=new y(a,{promise:i.promise,reason:i.rejection});v.invoke(m)}})}}r.PromiseRejectionEvent&&(t[G("unhandledPromiseRejectionHandler")]=o("unhandledrejection"),t[G("rejectionHandledHandler")]=o("rejectionhandled"))})},60818:function(H,de,re){"use strict";re(18787)}},function(H){H(H.s=60818)}]);