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