homebridge-eufy-security 2.2.2 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/accessories/CameraAccessory.d.ts +16 -39
  2. package/dist/accessories/CameraAccessory.d.ts.map +1 -1
  3. package/dist/accessories/CameraAccessory.js +187 -236
  4. package/dist/accessories/CameraAccessory.js.map +1 -1
  5. package/dist/accessories/Device.d.ts +3 -3
  6. package/dist/accessories/Device.d.ts.map +1 -1
  7. package/dist/accessories/Device.js.map +1 -1
  8. package/dist/accessories/SmartLockAccessory.d.ts +2 -2
  9. package/dist/controller/LocalLivestreamManager.d.ts +3 -1
  10. package/dist/controller/LocalLivestreamManager.d.ts.map +1 -1
  11. package/dist/controller/SnapshotManager.d.ts +1 -0
  12. package/dist/controller/SnapshotManager.d.ts.map +1 -1
  13. package/dist/controller/streamingDelegate.d.ts +4 -2
  14. package/dist/controller/streamingDelegate.d.ts.map +1 -1
  15. package/dist/controller/streamingDelegate.js +13 -13
  16. package/dist/controller/streamingDelegate.js.map +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/platform.d.ts.map +1 -1
  20. package/dist/platform.js +49 -62
  21. package/dist/platform.js.map +1 -1
  22. package/dist/utils/Talkback.d.ts +1 -0
  23. package/dist/utils/Talkback.d.ts.map +1 -1
  24. package/dist/utils/configTypes.d.ts +3 -3
  25. package/dist/utils/configTypes.d.ts.map +1 -1
  26. package/dist/utils/ffmpeg.d.ts +2 -0
  27. package/dist/utils/ffmpeg.d.ts.map +1 -1
  28. package/dist/utils/ffmpeg.js +2 -2
  29. package/dist/utils/ffmpeg.js.map +1 -1
  30. package/homebridge-ui/configui/app/accessory.d.ts +1 -1
  31. package/homebridge-ui/configui/app/accessory.d.ts.map +1 -1
  32. package/homebridge-ui/configui/app/util/types.d.ts +2 -2
  33. package/homebridge-ui/configui/app/util/types.d.ts.map +1 -1
  34. package/homebridge-ui/configui/app/util/types.js +1 -1
  35. package/homebridge-ui/configui/app/util/types.js.map +1 -1
  36. package/homebridge-ui/public/3rdpartylicenses.txt +6 -22
  37. package/homebridge-ui/public/index.html +2 -2
  38. package/homebridge-ui/public/main.0d25748cc9303f6b.js +1 -0
  39. package/homebridge-ui/public/polyfills.cdb21ff95fdea645.js +1 -0
  40. package/homebridge-ui/public/styles.021488511c20c432.css +5 -0
  41. package/package.json +45 -47
  42. package/homebridge-ui/public/main.9ba34b55431f3fae.js +0 -1
  43. package/homebridge-ui/public/polyfills.6050693665c0e882.js +0 -1
  44. package/homebridge-ui/public/styles.e02689e7df4304da.css +0 -6
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkconfig_ui=self.webpackChunkconfig_ui||[]).push([[429],{139:(Te,Re,Ce)=>{const ke=":";const Fe=function(s,...o){if(Fe.translate){const e=Fe.translate(s,o);s=e[0],o=e[1]}let a=Pe(s[0],s.raw[0]);for(let e=1;e<s.length;e++)a+=o[e-1]+Pe(s[e],s.raw[e]);return a},dt=":";function Pe(s,o){return o.charAt(0)===dt?s.substring(function ze(s,o){for(let a=1,e=1;a<s.length;a++,e++)if("\\"===o[e])e++;else if(s[a]===ke)return a;throw new Error(`Unterminated $localize metadata block in "${o}".`)}(s,o)+1):s}globalThis.$localize=Fe,Ce(332)},332:()=>{!function(e){const t=e.performance;function r(U){t&&t.mark&&t.mark(U)}function i(U,E){t&&t.measure&&t.measure(U,E)}r("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(U){return c+U}const T=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(T||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let g=(()=>{class E{static assertZonePatched(){if(e.Promise!==de.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.)")}static get root(){let n=E.current;for(;n.parent;)n=n.parent;return n}static get current(){return X.zone}static get currentTask(){return fe}static __load_patch(n,m,N=!1){if(de.hasOwnProperty(n)){if(!N&&T)throw Error("Already loaded patch: "+n)}else if(!e["__Zone_disable_"+n]){const j="Zone:"+n;r(j),de[n]=m(e,E,Q),i(j,j)}}get parent(){return this._parent}get name(){return this._name}constructor(n,m){this._parent=n,this._name=m?m.name||"unnamed":"<root>",this._properties=m&&m.properties||{},this._zoneDelegate=new P(this,this._parent&&this._parent._zoneDelegate,m)}get(n){const m=this.getZoneWith(n);if(m)return m._properties[n]}getZoneWith(n){let m=this;for(;m;){if(m._properties.hasOwnProperty(n))return m;m=m._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,m){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const N=this._zoneDelegate.intercept(this,n,m),j=this;return function(){return j.runGuarded(N,this,arguments,m)}}run(n,m,N,j){X={parent:X,zone:this};try{return this._zoneDelegate.invoke(this,n,m,N,j)}finally{X=X.parent}}runGuarded(n,m=null,N,j){X={parent:X,zone:this};try{try{return this._zoneDelegate.invoke(this,n,m,N,j)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{X=X.parent}}runTask(n,m,N){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||te).name+"; Execution: "+this.name+")");if(n.state===z&&(n.type===re||n.type===C))return;const j=n.state!=v;j&&n._transitionTo(v,B),n.runCount++;const h=fe;fe=n,X={parent:X,zone:this};try{n.type==C&&n.data&&!n.data.isPeriodic&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,m,N)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{n.state!==z&&n.state!==p&&(n.type==re||n.data&&n.data.isPeriodic?j&&n._transitionTo(B,v):(n.runCount=0,this._updateTaskCount(n,-1),j&&n._transitionTo(z,v,z))),X=X.parent,fe=h}}scheduleTask(n){if(n.zone&&n.zone!==this){let N=this;for(;N;){if(N===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);N=N.parent}}n._transitionTo(J,z);const m=[];n._zoneDelegates=m,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(N){throw n._transitionTo(p,J,z),this._zoneDelegate.handleError(this,N),N}return n._zoneDelegates===m&&this._updateTaskCount(n,1),n.state==J&&n._transitionTo(B,J),n}scheduleMicroTask(n,m,N,j){return this.scheduleTask(new y(x,n,m,N,j,void 0))}scheduleMacroTask(n,m,N,j,h){return this.scheduleTask(new y(C,n,m,N,j,h))}scheduleEventTask(n,m,N,j,h){return this.scheduleTask(new y(re,n,m,N,j,h))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||te).name+"; Execution: "+this.name+")");if(n.state===B||n.state===v){n._transitionTo(G,B,v);try{this._zoneDelegate.cancelTask(this,n)}catch(m){throw n._transitionTo(p,G),this._zoneDelegate.handleError(this,m),m}return this._updateTaskCount(n,-1),n._transitionTo(z,G),n.runCount=0,n}}_updateTaskCount(n,m){const N=n._zoneDelegates;-1==m&&(n._zoneDelegates=null);for(let j=0;j<N.length;j++)N[j]._updateTaskCount(n.type,m)}}return E.__symbol__=u,E})();const O={name:"",onHasTask:(U,E,f,n)=>U.hasTask(f,n),onScheduleTask:(U,E,f,n)=>U.scheduleTask(f,n),onInvokeTask:(U,E,f,n,m,N)=>U.invokeTask(f,n,m,N),onCancelTask:(U,E,f,n)=>U.cancelTask(f,n)};class P{constructor(E,f,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=f,this._forkZS=n&&(n&&n.onFork?n:f._forkZS),this._forkDlgt=n&&(n.onFork?f:f._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:f._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:f._interceptZS),this._interceptDlgt=n&&(n.onIntercept?f:f._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:f._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:f._invokeZS),this._invokeDlgt=n&&(n.onInvoke?f:f._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:f._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:f._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?f:f._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:f._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:f._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?f:f._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:f._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:f._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?f:f._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:f._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:f._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?f:f._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:f._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const m=n&&n.onHasTask;(m||f&&f._hasTaskZS)&&(this._hasTaskZS=m?n:O,this._hasTaskDlgt=f,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,n.onScheduleTask||(this._scheduleTaskZS=O,this._scheduleTaskDlgt=f,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=O,this._invokeTaskDlgt=f,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=O,this._cancelTaskDlgt=f,this._cancelTaskCurrZone=this.zone))}fork(E,f){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,f):new g(E,f)}intercept(E,f,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,f,n):f}invoke(E,f,n,m,N){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,f,n,m,N):f.apply(n,m)}handleError(E,f){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,f)}scheduleTask(E,f){let n=f;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,f),n||(n=f);else if(f.scheduleFn)f.scheduleFn(f);else{if(f.type!=x)throw new Error("Task is missing scheduleFn.");Z(f)}return n}invokeTask(E,f,n,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,f,n,m):f.callback.apply(n,m)}cancelTask(E,f){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,f);else{if(!f.cancelFn)throw Error("Task is not cancelable");n=f.cancelFn(f)}return n}hasTask(E,f){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,f)}catch(n){this.handleError(E,n)}}_updateTaskCount(E,f){const n=this._taskCounts,m=n[E],N=n[E]=m+f;if(N<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=N||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:E})}}class y{constructor(E,f,n,m,N,j){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=f,this.data=m,this.scheduleFn=N,this.cancelFn=j,!n)throw new Error("callback is not defined");this.callback=n;const h=this;this.invoke=E===re&&m&&m.useG?y.invokeTask:function(){return y.invokeTask.call(e,h,this,arguments)}}static invokeTask(E,f,n){E||(E=this),ie++;try{return E.runCount++,E.zone.runTask(E,f,n)}finally{1==ie&&k(),ie--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(z,J)}_transitionTo(E,f,n){if(this._state!==f&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${f}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=E,E==z&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const R=u("setTimeout"),D=u("Promise"),b=u("then");let ee,V=[],H=!1;function q(U){if(ee||e[D]&&(ee=e[D].resolve(0)),ee){let E=ee[b];E||(E=ee.then),E.call(ee,U)}else e[R](U,0)}function Z(U){0===ie&&0===V.length&&q(k),U&&V.push(U)}function k(){if(!H){for(H=!0;V.length;){const U=V;V=[];for(let E=0;E<U.length;E++){const f=U[E];try{f.zone.runTask(f,null,null)}catch(n){Q.onUnhandledError(n)}}}Q.microtaskDrainDone(),H=!1}}const te={name:"NO ZONE"},z="notScheduled",J="scheduling",B="scheduled",v="running",G="canceling",p="unknown",x="microTask",C="macroTask",re="eventTask",de={},Q={symbol:u,currentZoneFrame:()=>X,onUnhandledError:Y,microtaskDrainDone:Y,scheduleMicroTask:Z,showUncaughtError:()=>!g[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:Y,patchMethod:()=>Y,bindArguments:()=>[],patchThen:()=>Y,patchMacroTask:()=>Y,patchEventPrototype:()=>Y,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>Y,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>Y,wrapWithCurrentZone:()=>Y,filterProperties:()=>[],attachOriginToPatched:()=>Y,_redefineProperty:()=>Y,patchCallbacks:()=>Y,nativeScheduleMicroTask:q};let X={parent:null,zone:new g(null,null)},fe=null,ie=0;function Y(){}i("Zone","Zone"),e.Zone=g}(typeof window<"u"&&window||typeof self<"u"&&self||global);const Te=Object.getOwnPropertyDescriptor,Re=Object.defineProperty,Ce=Object.getPrototypeOf,ke=Object.create,ot=Array.prototype.slice,Ne="addEventListener",Le="removeEventListener",he=Zone.__symbol__(Ne),Ie=Zone.__symbol__(Le),ce="true",oe="false",De=Zone.__symbol__("");function xe(e,t){return Zone.current.wrap(e,t)}function qe(e,t,r,i,c){return Zone.current.scheduleMacroTask(e,t,r,i,c)}const $=Zone.__symbol__,Ze=typeof window<"u",ge=Ze?window:void 0,K=Ze&&ge||"object"==typeof self&&self||global,st="removeAttribute";function je(e,t){for(let r=e.length-1;r>=0;r--)"function"==typeof e[r]&&(e[r]=xe(e[r],t+"_"+r));return e}function Xe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const $e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,we=!("nw"in K)&&typeof K.process<"u"&&"[object process]"==={}.toString.call(K.process),Me=!we&&!$e&&!(!Ze||!ge.HTMLElement),He=typeof K.process<"u"&&"[object process]"==={}.toString.call(K.process)&&!$e&&!(!Ze||!ge.HTMLElement),Ee={},ae=function(e){if(!(e=e||K.event))return;let t=Ee[e.type];t||(t=Ee[e.type]=$("ON_PROPERTY"+e.type));const r=this||e.target||K,i=r[t];let c;return Me&&r===ge&&"error"===e.type?(c=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===c&&e.preventDefault()):(c=i&&i.apply(this,arguments),null!=c&&!c&&e.preventDefault()),c};function Be(e,t,r){let i=Te(e,t);if(!i&&r&&Te(r,t)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const c=$("on"+t+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete i.writable,delete i.value;const u=i.get,T=i.set,g=t.slice(2);let O=Ee[g];O||(O=Ee[g]=$("ON_PROPERTY"+g)),i.set=function(P){let y=this;!y&&e===K&&(y=K),y&&("function"==typeof y[O]&&y.removeEventListener(g,ae),T&&T.call(y,null),y[O]=P,"function"==typeof P&&y.addEventListener(g,ae,!1))},i.get=function(){let P=this;if(!P&&e===K&&(P=K),!P)return null;const y=P[O];if(y)return y;if(u){let R=u.call(this);if(R)return i.set.call(this,R),"function"==typeof P[st]&&P.removeAttribute(t),R}return null},Re(e,t,i),e[c]=!0}function Ye(e,t,r){if(t)for(let i=0;i<t.length;i++)Be(e,"on"+t[i],r);else{const i=[];for(const c in e)"on"==c.slice(0,2)&&i.push(c);for(let c=0;c<i.length;c++)Be(e,i[c],r)}}const ne=$("originalInstance");function be(e){const t=K[e];if(!t)return;K[$(e)]=t,K[e]=function(){const c=je(arguments,e);switch(c.length){case 0:this[ne]=new t;break;case 1:this[ne]=new t(c[0]);break;case 2:this[ne]=new t(c[0],c[1]);break;case 3:this[ne]=new t(c[0],c[1],c[2]);break;case 4:this[ne]=new t(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ue(K[e],t);const r=new t(function(){});let i;for(i in r)"XMLHttpRequest"===e&&"responseBlob"===i||function(c){"function"==typeof r[c]?K[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Re(K[e].prototype,c,{set:function(u){"function"==typeof u?(this[ne][c]=xe(u,e+"."+c),ue(this[ne][c],u)):this[ne][c]=u},get:function(){return this[ne][c]}})}(i);for(i in t)"prototype"!==i&&t.hasOwnProperty(i)&&(K[e][i]=t[i])}function le(e,t,r){let i=e;for(;i&&!i.hasOwnProperty(t);)i=Ce(i);!i&&e[t]&&(i=e);const c=$(t);let u=null;if(i&&(!(u=i[c])||!i.hasOwnProperty(c))&&(u=i[c]=i[t],Xe(i&&Te(i,t)))){const g=r(u,c,t);i[t]=function(){return g(this,arguments)},ue(i[t],u)}return u}function Ke(e,t,r){let i=null;function c(u){const T=u.data;return T.args[T.cbIdx]=function(){u.invoke.apply(this,arguments)},i.apply(T.target,T.args),u}i=le(e,t,u=>function(T,g){const O=r(T,g);return O.cbIdx>=0&&"function"==typeof g[O.cbIdx]?qe(O.name,g[O.cbIdx],O,c):u.apply(T,g)})}function ue(e,t){e[$("OriginalDelegate")]=t}let Ue=!1,Ve=!1;function ct(){if(Ue)return Ve;Ue=!0;try{const e=ge.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ve=!0)}catch{}return Ve}Zone.__load_patch("ZoneAwarePromise",(e,t,r)=>{const i=Object.getOwnPropertyDescriptor,c=Object.defineProperty,T=r.symbol,g=[],O=!0===e[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],P=T("Promise"),y=T("then"),R="__creationTrace__";r.onUnhandledError=h=>{if(r.showUncaughtError()){const d=h&&h.rejection;d?console.error("Unhandled Promise rejection:",d instanceof Error?d.message:d,"; Zone:",h.zone.name,"; Task:",h.task&&h.task.source,"; Value:",d,d instanceof Error?d.stack:void 0):console.error(h)}},r.microtaskDrainDone=()=>{for(;g.length;){const h=g.shift();try{h.zone.runGuarded(()=>{throw h.throwOriginal?h.rejection:h})}catch(d){b(d)}}};const D=T("unhandledPromiseRejectionHandler");function b(h){r.onUnhandledError(h);try{const d=t[D];"function"==typeof d&&d.call(this,h)}catch{}}function V(h){return h&&h.then}function H(h){return h}function ee(h){return f.reject(h)}const q=T("state"),Z=T("value"),k=T("finally"),te=T("parentPromiseValue"),z=T("parentPromiseState"),J="Promise.then",B=null,v=!0,G=!1,p=0;function x(h,d){return l=>{try{Q(h,d,l)}catch(_){Q(h,!1,_)}}}const C=function(){let h=!1;return function(l){return function(){h||(h=!0,l.apply(null,arguments))}}},re="Promise resolved with itself",de=T("currentTaskTrace");function Q(h,d,l){const _=C();if(h===l)throw new TypeError(re);if(h[q]===B){let S=null;try{("object"==typeof l||"function"==typeof l)&&(S=l&&l.then)}catch(I){return _(()=>{Q(h,!1,I)})(),h}if(d!==G&&l instanceof f&&l.hasOwnProperty(q)&&l.hasOwnProperty(Z)&&l[q]!==B)fe(l),Q(h,l[q],l[Z]);else if(d!==G&&"function"==typeof S)try{S.call(l,_(x(h,d)),_(x(h,!1)))}catch(I){_(()=>{Q(h,!1,I)})()}else{h[q]=d;const I=h[Z];if(h[Z]=l,h[k]===k&&d===v&&(h[q]=h[z],h[Z]=h[te]),d===G&&l instanceof Error){const w=t.currentTask&&t.currentTask.data&&t.currentTask.data[R];w&&c(l,de,{configurable:!0,enumerable:!1,writable:!0,value:w})}for(let w=0;w<I.length;)ie(h,I[w++],I[w++],I[w++],I[w++]);if(0==I.length&&d==G){h[q]=p;let w=l;try{throw new Error("Uncaught (in promise): "+function u(h){return h&&h.toString===Object.prototype.toString?(h.constructor&&h.constructor.name||"")+": "+JSON.stringify(h):h?h.toString():Object.prototype.toString.call(h)}(l)+(l&&l.stack?"\n"+l.stack:""))}catch(M){w=M}O&&(w.throwOriginal=!0),w.rejection=l,w.promise=h,w.zone=t.current,w.task=t.currentTask,g.push(w),r.scheduleMicroTask()}}}return h}const X=T("rejectionHandledHandler");function fe(h){if(h[q]===p){try{const d=t[X];d&&"function"==typeof d&&d.call(this,{rejection:h[Z],promise:h})}catch{}h[q]=G;for(let d=0;d<g.length;d++)h===g[d].promise&&g.splice(d,1)}}function ie(h,d,l,_,S){fe(h);const I=h[q],w=I?"function"==typeof _?_:H:"function"==typeof S?S:ee;d.scheduleMicroTask(J,()=>{try{const M=h[Z],A=!!l&&k===l[k];A&&(l[te]=M,l[z]=I);const L=d.run(w,void 0,A&&w!==ee&&w!==H?[]:[M]);Q(l,!0,L)}catch(M){Q(l,!1,M)}},l)}const U=function(){},E=e.AggregateError;class f{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(d){return Q(new this(null),v,d)}static reject(d){return Q(new this(null),G,d)}static any(d){if(!d||"function"!=typeof d[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const l=[];let _=0;try{for(let w of d)_++,l.push(f.resolve(w))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(0===_)return Promise.reject(new E([],"All promises were rejected"));let S=!1;const I=[];return new f((w,M)=>{for(let A=0;A<l.length;A++)l[A].then(L=>{S||(S=!0,w(L))},L=>{I.push(L),_--,0===_&&(S=!0,M(new E(I,"All promises were rejected")))})})}static race(d){let l,_,S=new this((M,A)=>{l=M,_=A});function I(M){l(M)}function w(M){_(M)}for(let M of d)V(M)||(M=this.resolve(M)),M.then(I,w);return S}static all(d){return f.allWithCallback(d)}static allSettled(d){return(this&&this.prototype instanceof f?this:f).allWithCallback(d,{thenCallback:_=>({status:"fulfilled",value:_}),errorCallback:_=>({status:"rejected",reason:_})})}static allWithCallback(d,l){let _,S,I=new this((L,F)=>{_=L,S=F}),w=2,M=0;const A=[];for(let L of d){V(L)||(L=this.resolve(L));const F=M;try{L.then(W=>{A[F]=l?l.thenCallback(W):W,w--,0===w&&_(A)},W=>{l?(A[F]=l.errorCallback(W),w--,0===w&&_(A)):S(W)})}catch(W){S(W)}w++,M++}return w-=2,0===w&&_(A),I}constructor(d){const l=this;if(!(l instanceof f))throw new Error("Must be an instanceof Promise.");l[q]=B,l[Z]=[];try{const _=C();d&&d(_(x(l,v)),_(x(l,G)))}catch(_){Q(l,!1,_)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return f}then(d,l){let _=this.constructor?.[Symbol.species];(!_||"function"!=typeof _)&&(_=this.constructor||f);const S=new _(U),I=t.current;return this[q]==B?this[Z].push(I,S,d,l):ie(this,I,S,d,l),S}catch(d){return this.then(null,d)}finally(d){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=f);const _=new l(U);_[k]=k;const S=t.current;return this[q]==B?this[Z].push(S,_,d,d):ie(this,S,_,d,d),_}}f.resolve=f.resolve,f.reject=f.reject,f.race=f.race,f.all=f.all;const n=e[P]=e.Promise;e.Promise=f;const m=T("thenPatched");function N(h){const d=h.prototype,l=i(d,"then");if(l&&(!1===l.writable||!l.configurable))return;const _=d.then;d[y]=_,h.prototype.then=function(S,I){return new f((M,A)=>{_.call(this,M,A)}).then(S,I)},h[m]=!0}return r.patchThen=N,n&&(N(n),le(e,"fetch",h=>function j(h){return function(d,l){let _=h.apply(d,l);if(_ instanceof f)return _;let S=_.constructor;return S[m]||N(S),_}}(h))),Promise[t.__symbol__("uncaughtPromiseErrors")]=g,f}),Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,r=$("OriginalDelegate"),i=$("Promise"),c=$("Error"),u=function(){if("function"==typeof this){const P=this[r];if(P)return"function"==typeof P?t.call(P):Object.prototype.toString.call(P);if(this===Promise){const y=e[i];if(y)return t.call(y)}if(this===Error){const y=e[c];if(y)return t.call(y)}}return t.call(this)};u[r]=t,Function.prototype.toString=u;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}});let pe=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){pe=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{pe=!1}const Je={useG:!0},se={},ze={},Qe=new RegExp("^"+De+"(\\w+)(true|false)$"),at=$("propagationStopped");function et(e,t){const r=(t?t(e):e)+oe,i=(t?t(e):e)+ce,c=De+r,u=De+i;se[e]={},se[e][oe]=c,se[e][ce]=u}function lt(e,t,r,i){const c=i&&i.add||Ne,u=i&&i.rm||Le,T=i&&i.listeners||"eventListeners",g=i&&i.rmAll||"removeAllListeners",O=$(c),P="."+c+":",y="prependListener",R="."+y+":",D=function(Z,k,te){if(Z.isRemoved)return;const z=Z.callback;let J;"object"==typeof z&&z.handleEvent&&(Z.callback=v=>z.handleEvent(v),Z.originalDelegate=z);try{Z.invoke(Z,k,[te])}catch(v){J=v}const B=Z.options;return B&&"object"==typeof B&&B.once&&k[u].call(k,te.type,Z.originalDelegate?Z.originalDelegate:Z.callback,B),J};function b(Z,k,te){if(!(k=k||e.event))return;const z=Z||k.target||e,J=z[se[k.type][te?ce:oe]];if(J){const B=[];if(1===J.length){const v=D(J[0],z,k);v&&B.push(v)}else{const v=J.slice();for(let G=0;G<v.length&&(!k||!0!==k[at]);G++){const p=D(v[G],z,k);p&&B.push(p)}}if(1===B.length)throw B[0];for(let v=0;v<B.length;v++){const G=B[v];t.nativeScheduleMicroTask(()=>{throw G})}}}const V=function(Z){return b(this,Z,!1)},H=function(Z){return b(this,Z,!0)};function ee(Z,k){if(!Z)return!1;let te=!0;k&&void 0!==k.useG&&(te=k.useG);const z=k&&k.vh;let J=!0;k&&void 0!==k.chkDup&&(J=k.chkDup);let B=!1;k&&void 0!==k.rt&&(B=k.rt);let v=Z;for(;v&&!v.hasOwnProperty(c);)v=Ce(v);if(!v&&Z[c]&&(v=Z),!v||v[O])return!1;const G=k&&k.eventNameToString,p={},x=v[O]=v[c],C=v[$(u)]=v[u],re=v[$(T)]=v[T],de=v[$(g)]=v[g];let Q;k&&k.prepend&&(Q=v[$(k.prepend)]=v[k.prepend]);const f=te?function(l){if(!p.isExisting)return x.call(p.target,p.eventName,p.capture?H:V,p.options)}:function(l){return x.call(p.target,p.eventName,l.invoke,p.options)},n=te?function(l){if(!l.isRemoved){const _=se[l.eventName];let S;_&&(S=_[l.capture?ce:oe]);const I=S&&l.target[S];if(I)for(let w=0;w<I.length;w++)if(I[w]===l){I.splice(w,1),l.isRemoved=!0,0===I.length&&(l.allRemoved=!0,l.target[S]=null);break}}if(l.allRemoved)return C.call(l.target,l.eventName,l.capture?H:V,l.options)}:function(l){return C.call(l.target,l.eventName,l.invoke,l.options)},N=k&&k.diff?k.diff:function(l,_){const S=typeof _;return"function"===S&&l.callback===_||"object"===S&&l.originalDelegate===_},j=Zone[$("UNPATCHED_EVENTS")],h=e[$("PASSIVE_EVENTS")],d=function(l,_,S,I,w=!1,M=!1){return function(){const A=this||e;let L=arguments[0];k&&k.transferEventName&&(L=k.transferEventName(L));let F=arguments[1];if(!F)return l.apply(this,arguments);if(we&&"uncaughtException"===L)return l.apply(this,arguments);let W=!1;if("function"!=typeof F){if(!F.handleEvent)return l.apply(this,arguments);W=!0}if(z&&!z(l,F,A,arguments))return;const me=pe&&!!h&&-1!==h.indexOf(L),_e=function X(l,_){return!pe&&"object"==typeof l&&l?!!l.capture:pe&&_?"boolean"==typeof l?{capture:l,passive:!0}:l?"object"==typeof l&&!1!==l.passive?{...l,passive:!0}:l:{passive:!0}:l}(arguments[2],me);if(j)for(let Oe=0;Oe<j.length;Oe++)if(L===j[Oe])return me?l.call(A,L,F,_e):l.apply(this,arguments);const _t=!!_e&&("boolean"==typeof _e||_e.capture),gt=!(!_e||"object"!=typeof _e)&&_e.once,kt=Zone.current;let Tt=se[L];Tt||(et(L,G),Tt=se[L]);const Et=Tt[_t?ce:oe];let rt,Ae=A[Et],pt=!1;if(Ae){if(pt=!0,J)for(let Oe=0;Oe<Ae.length;Oe++)if(N(Ae[Oe],F))return}else Ae=A[Et]=[];const mt=A.constructor.name,yt=ze[mt];yt&&(rt=yt[L]),rt||(rt=mt+_+(G?G(L):L)),p.options=_e,gt&&(p.options.once=!1),p.target=A,p.capture=_t,p.eventName=L,p.isExisting=pt;const We=te?Je:void 0;We&&(We.taskData=p);const ye=kt.scheduleEventTask(rt,F,We,S,I);return p.target=null,We&&(We.taskData=null),gt&&(_e.once=!0),!pe&&"boolean"==typeof ye.options||(ye.options=_e),ye.target=A,ye.capture=_t,ye.eventName=L,W&&(ye.originalDelegate=F),M?Ae.unshift(ye):Ae.push(ye),w?A:void 0}};return v[c]=d(x,P,f,n,B),Q&&(v[y]=d(Q,R,function(l){return Q.call(p.target,p.eventName,l.invoke,p.options)},n,B,!0)),v[u]=function(){const l=this||e;let _=arguments[0];k&&k.transferEventName&&(_=k.transferEventName(_));const S=arguments[2],I=!!S&&("boolean"==typeof S||S.capture),w=arguments[1];if(!w)return C.apply(this,arguments);if(z&&!z(C,w,l,arguments))return;const M=se[_];let A;M&&(A=M[I?ce:oe]);const L=A&&l[A];if(L)for(let F=0;F<L.length;F++){const W=L[F];if(N(W,w))return L.splice(F,1),W.isRemoved=!0,0===L.length&&(W.allRemoved=!0,l[A]=null,"string"==typeof _)&&(l[De+"ON_PROPERTY"+_]=null),W.zone.cancelTask(W),B?l:void 0}return C.apply(this,arguments)},v[T]=function(){const l=this||e;let _=arguments[0];k&&k.transferEventName&&(_=k.transferEventName(_));const S=[],I=ut(l,G?G(_):_);for(let w=0;w<I.length;w++){const M=I[w];S.push(M.originalDelegate?M.originalDelegate:M.callback)}return S},v[g]=function(){const l=this||e;let _=arguments[0];if(_){k&&k.transferEventName&&(_=k.transferEventName(_));const S=se[_];if(S){const M=l[S[oe]],A=l[S[ce]];if(M){const L=M.slice();for(let F=0;F<L.length;F++){const W=L[F];this[u].call(this,_,W.originalDelegate?W.originalDelegate:W.callback,W.options)}}if(A){const L=A.slice();for(let F=0;F<L.length;F++){const W=L[F];this[u].call(this,_,W.originalDelegate?W.originalDelegate:W.callback,W.options)}}}}else{const S=Object.keys(l);for(let I=0;I<S.length;I++){const M=Qe.exec(S[I]);let A=M&&M[1];A&&"removeListener"!==A&&this[g].call(this,A)}this[g].call(this,"removeListener")}if(B)return this},ue(v[c],x),ue(v[u],C),de&&ue(v[g],de),re&&ue(v[T],re),!0}let q=[];for(let Z=0;Z<r.length;Z++)q[Z]=ee(r[Z],i);return q}function ut(e,t){if(!t){const u=[];for(let T in e){const g=Qe.exec(T);let O=g&&g[1];if(O&&(!t||O===t)){const P=e[T];if(P)for(let y=0;y<P.length;y++)u.push(P[y])}}return u}let r=se[t];r||(et(t),r=se[t]);const i=e[r[oe]],c=e[r[ce]];return i?c?i.concat(c):i.slice():c?c.slice():[]}function tt(e,t){const r=e.Event;r&&r.prototype&&t.patchMethod(r.prototype,"stopImmediatePropagation",i=>function(c,u){c[at]=!0,i&&i.apply(c,u)})}function nt(e,t,r,i,c){const u=Zone.__symbol__(i);if(t[u])return;const T=t[u]=t[i];t[i]=function(g,O,P){return O&&O.prototype&&c.forEach(function(y){const R=`${r}.${i}::`+y,D=O.prototype;try{if(D.hasOwnProperty(y)){const b=e.ObjectGetOwnPropertyDescriptor(D,y);b&&b.value?(b.value=e.wrapWithCurrentZone(b.value,R),e._redefineProperty(O.prototype,y,b)):D[y]&&(D[y]=e.wrapWithCurrentZone(D[y],R))}else D[y]&&(D[y]=e.wrapWithCurrentZone(D[y],R))}catch{}}),T.call(t,g,O,P)},e.attachOriginToPatched(t[i],T)}function ft(e,t,r){if(!r||0===r.length)return t;const i=r.filter(u=>u.target===e);if(!i||0===i.length)return t;const c=i[0].ignoreProperties;return t.filter(u=>-1===c.indexOf(u))}function ht(e,t,r,i){e&&Ye(e,ft(e,t,r),i)}function Ge(e){return Object.getOwnPropertyNames(e).filter(t=>t.startsWith("on")&&t.length>2).map(t=>t.substring(2))}Zone.__load_patch("util",(e,t,r)=>{const i=Ge(e);r.patchOnProperties=Ye,r.patchMethod=le,r.bindArguments=je,r.patchMacroTask=Ke;const c=t.__symbol__("BLACK_LISTED_EVENTS"),u=t.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[c]=e[u]),e[c]&&(t[c]=t[u]=e[c]),r.patchEventPrototype=tt,r.patchEventTarget=lt,r.isIEOrEdge=ct,r.ObjectDefineProperty=Re,r.ObjectGetOwnPropertyDescriptor=Te,r.ObjectCreate=ke,r.ArraySlice=ot,r.patchClass=be,r.wrapWithCurrentZone=xe,r.filterProperties=ft,r.attachOriginToPatched=ue,r._redefineProperty=Object.defineProperty,r.patchCallbacks=nt,r.getGlobalObjects=()=>({globalSources:ze,zoneSymbolEventNames:se,eventNames:i,isBrowser:Me,isMix:He,isNode:we,TRUE_STR:ce,FALSE_STR:oe,ZONE_SYMBOL_PREFIX:De,ADD_EVENT_LISTENER_STR:Ne,REMOVE_EVENT_LISTENER_STR:Le})});const Pe=$("zoneTask");function Se(e,t,r,i){let c=null,u=null;r+=i;const T={};function g(P){const y=P.data;return y.args[0]=function(){return P.invoke.apply(this,arguments)},y.handleId=c.apply(e,y.args),P}function O(P){return u.call(e,P.data.handleId)}c=le(e,t+=i,P=>function(y,R){if("function"==typeof R[0]){const D={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?R[1]||0:void 0,args:R},b=R[0];R[0]=function(){try{return b.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete T[D.handleId]:D.handleId&&(D.handleId[Pe]=null))}};const V=qe(t,R[0],D,g,O);if(!V)return V;const H=V.data.handleId;return"number"==typeof H?T[H]=V:H&&(H[Pe]=V),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(V.ref=H.ref.bind(H),V.unref=H.unref.bind(H)),"number"==typeof H||H?H:V}return P.apply(e,R)}),u=le(e,r,P=>function(y,R){const D=R[0];let b;"number"==typeof D?b=T[D]:(b=D&&D[Pe],b||(b=D)),b&&"string"==typeof b.type?"notScheduled"!==b.state&&(b.cancelFn&&b.data.isPeriodic||0===b.runCount)&&("number"==typeof D?delete T[D]:D&&(D[Pe]=null),b.zone.cancelTask(b)):P.apply(e,R)})}Zone.__load_patch("legacy",e=>{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{const t="set",r="clear";Se(e,t,r,"Timeout"),Se(e,t,r,"Interval"),Se(e,t,r,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{Se(e,"request","cancel","AnimationFrame"),Se(e,"mozRequest","mozCancel","AnimationFrame"),Se(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const r=["alert","prompt","confirm"];for(let i=0;i<r.length;i++)le(e,r[i],(u,T,g)=>function(O,P){return t.current.run(u,e,P,g)})}),Zone.__load_patch("EventTarget",(e,t,r)=>{(function a(e,t){t.patchEventPrototype(e,t)})(e,r),function o(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:r,zoneSymbolEventNames:i,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:T}=t.getGlobalObjects();for(let O=0;O<r.length;O++){const P=r[O],D=T+(P+u),b=T+(P+c);i[P]={},i[P][u]=D,i[P][c]=b}const g=e.EventTarget;g&&g.prototype&&t.patchEventTarget(e,t,[g&&g.prototype])}(e,r);const i=e.XMLHttpRequestEventTarget;i&&i.prototype&&r.patchEventTarget(e,r,[i.prototype])}),Zone.__load_patch("MutationObserver",(e,t,r)=>{be("MutationObserver"),be("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,t,r)=>{be("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,t,r)=>{be("FileReader")}),Zone.__load_patch("on_property",(e,t,r)=>{!function Fe(e,t){if(we&&!He||Zone[e.symbol("patchEvents")])return;const r=t.__Zone_ignore_on_properties;let i=[];if(Me){const c=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function it(){try{const e=ge.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];ht(c,Ge(c),r&&r.concat(u),Ce(c))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<i.length;c++){const u=t[i[c]];u&&u.prototype&&ht(u.prototype,Ge(u.prototype),r)}}(r,e)}),Zone.__load_patch("customElements",(e,t,r)=>{!function s(e,t){const{isBrowser:r,isMix:i}=t.getGlobalObjects();(r||i)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,r)}),Zone.__load_patch("XHR",(e,t)=>{!function O(P){const y=P.XMLHttpRequest;if(!y)return;const R=y.prototype;let b=R[he],V=R[Ie];if(!b){const p=P.XMLHttpRequestEventTarget;if(p){const x=p.prototype;b=x[he],V=x[Ie]}}const H="readystatechange",ee="scheduled";function q(p){const x=p.data,C=x.target;C[u]=!1,C[g]=!1;const re=C[c];b||(b=C[he],V=C[Ie]),re&&V.call(C,H,re);const de=C[c]=()=>{if(C.readyState===C.DONE)if(!x.aborted&&C[u]&&p.state===ee){const X=C[t.__symbol__("loadfalse")];if(0!==C.status&&X&&X.length>0){const fe=p.invoke;p.invoke=function(){const ie=C[t.__symbol__("loadfalse")];for(let Y=0;Y<ie.length;Y++)ie[Y]===p&&ie.splice(Y,1);!x.aborted&&p.state===ee&&fe.call(p)},X.push(p)}else p.invoke()}else!x.aborted&&!1===C[u]&&(C[g]=!0)};return b.call(C,H,de),C[r]||(C[r]=p),v.apply(C,x.args),C[u]=!0,p}function Z(){}function k(p){const x=p.data;return x.aborted=!0,G.apply(x.target,x.args)}const te=le(R,"open",()=>function(p,x){return p[i]=0==x[2],p[T]=x[1],te.apply(p,x)}),J=$("fetchTaskAborting"),B=$("fetchTaskScheduling"),v=le(R,"send",()=>function(p,x){if(!0===t.current[B]||p[i])return v.apply(p,x);{const C={target:p,url:p[T],isPeriodic:!1,args:x,aborted:!1},re=qe("XMLHttpRequest.send",Z,C,q,k);p&&!0===p[g]&&!C.aborted&&re.state===ee&&re.invoke()}}),G=le(R,"abort",()=>function(p,x){const C=function D(p){return p[r]}(p);if(C&&"string"==typeof C.type){if(null==C.cancelFn||C.data&&C.data.aborted)return;C.zone.cancelTask(C)}else if(!0===t.current[J])return G.apply(p,x)})}(e);const r=$("xhrTask"),i=$("xhrSync"),c=$("xhrListener"),u=$("xhrScheduled"),T=$("xhrURL"),g=$("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function ve(e,t){const r=e.constructor.name;for(let i=0;i<t.length;i++){const c=t[i],u=e[c];if(u){if(!Xe(Te(e,c)))continue;e[c]=(g=>{const O=function(){return g.apply(this,je(arguments,r+"."+c))};return ue(O,g),O})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function r(i){return function(c){ut(e,i).forEach(T=>{const g=e.PromiseRejectionEvent;if(g){const O=new g(i,{promise:c.promise,reason:c.rejection});T.invoke(O)}})}}e.PromiseRejectionEvent&&(t[$("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),t[$("rejectionHandledHandler")]=r("rejectionhandled"))}),Zone.__load_patch("queueMicrotask",(e,t,r)=>{!function dt(e,t){t.patchMethod(e,"queueMicrotask",r=>function(i,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}(e,r)})}},Te=>{Te(Te.s=139)}]);