var vt=Object.create;var tt=Object.defineProperty;var bt=Object.getOwnPropertyDescriptor;var wt=Object.getOwnPropertyNames;var Pt=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Ct=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var St=(e,n,o,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let c of wt(n))!Rt.call(e,c)&&c!==o&&tt(e,c,{get:()=>n[c],enumerable:!(s=bt(n,c))||s.enumerable});return e};var Zt=(e,n,o)=>(o=e!=null?vt(Pt(e)):{},St(n||!e||!e.__esModule?tt(o,"default",{value:e,enumerable:!0}):o,e));var gt=Ct(($t,pt)=>{var X=pt.exports={},ce,ae;function ze(){throw new Error("setTimeout has not been defined")}function Ye(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ce=setTimeout:ce=ze}catch{ce=ze}try{typeof clearTimeout=="function"?ae=clearTimeout:ae=Ye}catch{ae=Ye}})();function Et(e){if(ce===setTimeout)return setTimeout(e,0);if((ce===ze||!ce)&&setTimeout)return ce=setTimeout,setTimeout(e,0);try{return ce(e,0)}catch{try{return ce.call(null,e,0)}catch{return ce.call(this,e,0)}}}function qt(e){if(ae===clearTimeout)return clearTimeout(e);if((ae===Ye||!ae)&&clearTimeout)return ae=clearTimeout,clearTimeout(e);try{return ae(e)}catch{try{return ae.call(null,e)}catch{return ae.call(this,e)}}}var de=[],be=!1,ye,Ie=-1;function Xt(){!be||!ye||(be=!1,ye.length?de=ye.concat(de):Ie=-1,de.length&&mt())}function mt(){if(!be){var e=Et(Xt);be=!0;for(var n=de.length;n;){for(ye=de,de=[];++Ie1)for(var o=1;o{class M{static{this.__symbol__=a}static assertZonePatched(){if(e.Promise!==se.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 t=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(se.hasOwnProperty(t)){if(!k&&m)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){let C="Zone:"+t;o(C),se[t]=r(e,M,Y),s(C,C)}}get parent(){return this._parent}get name(){return this._name}constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}get(t){let r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if(typeof t!="function")throw new Error("Expecting function got: "+t);let k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===ee||t.type===w))return;let C=t.state!=T;C&&t._transitionTo(T,A),t.runCount++;let $=re;re=t,U={parent:U,zone:this};try{t.type==w&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==ee||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,T):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,T,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(z,x);let r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,z,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==z&&t._transitionTo(A,z),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new y(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new y(w,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new y(ee,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||Q).name+"; Execution: "+this.name+")");if(!(t.state!==A&&t.state!==T)){t._transitionTo(G,A,T);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}}_updateTaskCount(t,r){let k=t._zoneDelegates;r==-1&&(t._zoneDelegates=null);for(let C=0;CM.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let k=r&&r.onHasTask,C=t&&t._hasTaskZS;(k||C)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t):!0}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else if(t.type==I)R(t);else throw new Error("Task is missing scheduleFn.");return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){let r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");if(k==0||C==0){let $={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E};this.hasTask(this.zone,$)}}}class y{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;let l=this;E===ee&&k&&k.useG?this.invoke=y.invokeTask:this.invoke=function(){return y.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),te++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{te==1&&_(),te--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,z)}_transitionTo(E,t,r){if(this._state===t||this._state===r)this._state=E,E==x&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`)}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}}}let L=a("setTimeout"),O=a("Promise"),N=a("then"),B=[],j=!1,K;function q(M){if(K||e[O]&&(K=e[O].resolve(0)),K){let E=K[N];E||(E=K.then),E.call(K,M)}else e[L](M,0)}function R(M){te===0&&B.length===0&&q(_),M&&B.push(M)}function _(){if(!j){for(j=!0;B.length;){let M=B;B=[];for(let E=0;EU,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q},U={parent:null,zone:new d(null,null)},re=null,te=0;function W(){}return s("Zone","Zone"),e.Zone=d})(globalThis);var Pe=Object.getOwnPropertyDescriptor,Ge=Object.defineProperty,Ve=Object.getPrototypeOf,Dt=Object.create,Ot=Array.prototype.slice,Fe="addEventListener",Be="removeEventListener",Ae=Zone.__symbol__(Fe),je=Zone.__symbol__(Be),le="true",ue="false",Re=Zone.__symbol__("");function Ue(e,n){return Zone.current.wrap(e,n)}function We(e,n,o,s,c){return Zone.current.scheduleMacroTask(e,n,o,s,c)}var H=Zone.__symbol__,Oe=typeof window<"u",ve=Oe?window:void 0,J=Oe&&ve||globalThis,Nt="removeAttribute";function qe(e,n){for(let o=e.length-1;o>=0;o--)typeof e[o]=="function"&&(e[o]=Ue(e[o],n+"_"+o));return e}function It(e,n){let o=e.constructor.name;for(let s=0;s{let b=function(){return d.apply(this,qe(arguments,o+"."+c))};return fe(b,d),b})(a)}}}function it(e){return e?e.writable===!1?!1:!(typeof e.get=="function"&&typeof e.set>"u"):!0}var ct=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ne=!("nw"in J)&&typeof J.process<"u"&&{}.toString.call(J.process)==="[object process]",Xe=!Ne&&!ct&&!!(Oe&&ve.HTMLElement),at=typeof J.process<"u"&&{}.toString.call(J.process)==="[object process]"&&!ct&&!!(Oe&&ve.HTMLElement),De={},nt=function(e){if(e=e||J.event,!e)return;let n=De[e.type];n||(n=De[e.type]=H("ON_PROPERTY"+e.type));let o=this||e.target||J,s=o[n],c;if(Xe&&o===ve&&e.type==="error"){let a=e;c=s&&s.call(this,a.message,a.filename,a.lineno,a.colno,a.error),c===!0&&e.preventDefault()}else c=s&&s.apply(this,arguments),c!=null&&!c&&e.preventDefault();return c};function rt(e,n,o){let s=Pe(e,n);if(!s&&o&&Pe(o,n)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;let c=H("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete s.writable,delete s.value;let a=s.get,m=s.set,d=n.slice(2),b=De[d];b||(b=De[d]=H("ON_PROPERTY"+d)),s.set=function(v){let y=this;if(!y&&e===J&&(y=J),!y)return;typeof y[b]=="function"&&y.removeEventListener(d,nt),m&&m.call(y,null),y[b]=v,typeof v=="function"&&y.addEventListener(d,nt,!1)},s.get=function(){let v=this;if(!v&&e===J&&(v=J),!v)return null;let y=v[b];if(y)return y;if(a){let L=a.call(this);if(L)return s.set.call(this,L),typeof v[Nt]=="function"&&v.removeAttribute(n),L}return null},Ge(e,n,s),e[c]=!0}function lt(e,n,o){if(n)for(let s=0;sfunction(m,d){let b=o(m,d);return b.cbIdx>=0&&typeof d[b.cbIdx]=="function"?We(b.name,d[b.cbIdx],b,c):a.apply(m,d)})}function fe(e,n){e[H("OriginalDelegate")]=n}var ot=!1,He=!1;function Mt(){try{let e=ve.navigator.userAgent;if(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1)return!0}catch{}return!1}function At(){if(ot)return He;ot=!0;try{let e=ve.navigator.userAgent;(e.indexOf("MSIE ")!==-1||e.indexOf("Trident/")!==-1||e.indexOf("Edge/")!==-1)&&(He=!0)}catch{}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,o)=>{let s=Object.getOwnPropertyDescriptor,c=Object.defineProperty;function a(l){if(l&&l.toString===Object.prototype.toString){let u=l.constructor&&l.constructor.name;return(u||"")+": "+JSON.stringify(l)}return l?l.toString():Object.prototype.toString.call(l)}let m=o.symbol,d=[],b=e[m("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,v=m("Promise"),y=m("then"),L="__creationTrace__";o.onUnhandledError=l=>{if(o.showUncaughtError()){let u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},o.microtaskDrainDone=()=>{for(;d.length;){let l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};let O=m("unhandledPromiseRejectionHandler");function N(l){o.onUnhandledError(l);try{let u=n[O];typeof u=="function"&&u.call(this,l)}catch{}}function B(l){return l&&l.then}function j(l){return l}function K(l){return t.reject(l)}let q=m("state"),R=m("value"),_=m("finally"),Q=m("parentPromiseValue"),x=m("parentPromiseState"),z="Promise.then",A=null,T=!0,G=!1,h=0;function I(l,u){return i=>{try{Y(l,u,i)}catch(f){Y(l,!1,f)}}}let w=function(){let l=!1;return function(i){return function(){l||(l=!0,i.apply(null,arguments))}}},ee="Promise resolved with itself",se=m("currentTaskTrace");function Y(l,u,i){let f=w();if(l===i)throw new TypeError(ee);if(l[q]===A){let g=null;try{(typeof i=="object"||typeof i=="function")&&(g=i&&i.then)}catch(P){return f(()=>{Y(l,!1,P)})(),l}if(u!==G&&i instanceof t&&i.hasOwnProperty(q)&&i.hasOwnProperty(R)&&i[q]!==A)re(i),Y(l,i[q],i[R]);else if(u!==G&&typeof g=="function")try{g.call(i,f(I(l,u)),f(I(l,!1)))}catch(P){f(()=>{Y(l,!1,P)})()}else{l[q]=u;let P=l[R];if(l[R]=i,l[_]===_&&u===T&&(l[q]=l[x],l[R]=l[Q]),u===G&&i instanceof Error){let p=n.currentTask&&n.currentTask.data&&n.currentTask.data[L];p&&c(i,se,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(let p=0;p{try{let S=l[R],Z=!!i&&_===i[_];Z&&(i[Q]=S,i[x]=P);let D=u.run(p,void 0,Z&&p!==K&&p!==j?[]:[S]);Y(i,!0,D)}catch(S){Y(i,!1,S)}},i)}let W="function ZoneAwarePromise() { [native code] }",M=function(){},E=e.AggregateError;class t{static toString(){return W}static resolve(u){return Y(new this(null),T,u)}static reject(u){return Y(new this(null),G,u)}static any(u){if(!u||typeof u[Symbol.iterator]!="function")return Promise.reject(new E([],"All promises were rejected"));let i=[],f=0;try{for(let p of u)f++,i.push(t.resolve(p))}catch{return Promise.reject(new E([],"All promises were rejected"))}if(f===0)return Promise.reject(new E([],"All promises were rejected"));let g=!1,P=[];return new t((p,S)=>{for(let Z=0;Z{g||(g=!0,p(D))},D=>{P.push(D),f--,f===0&&(g=!0,S(new E(P,"All promises were rejected")))})})}static race(u){let i,f,g=new this((S,Z)=>{i=S,f=Z});function P(S){i(S)}function p(S){f(S)}for(let S of u)B(S)||(S=this.resolve(S)),S.then(P,p);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,i){let f,g,P=new this((D,V)=>{f=D,g=V}),p=2,S=0,Z=[];for(let D of u){B(D)||(D=this.resolve(D));let V=S;try{D.then(F=>{Z[V]=i?i.thenCallback(F):F,p--,p===0&&f(Z)},F=>{i?(Z[V]=i.errorCallback(F),p--,p===0&&f(Z)):g(F)})}catch(F){g(F)}p++,S++}return p-=2,p===0&&f(Z),P}constructor(u){let i=this;if(!(i instanceof t))throw new Error("Must be an instanceof Promise.");i[q]=A,i[R]=[];try{let f=w();u&&u(f(I(i,T)),f(I(i,G)))}catch(f){Y(i,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,i){let f=this.constructor?.[Symbol.species];(!f||typeof f!="function")&&(f=this.constructor||t);let g=new f(M),P=n.current;return this[q]==A?this[R].push(P,g,u,i):te(this,P,g,u,i),g}catch(u){return this.then(null,u)}finally(u){let i=this.constructor?.[Symbol.species];(!i||typeof i!="function")&&(i=t);let f=new i(M);f[_]=_;let g=n.current;return this[q]==A?this[R].push(g,f,u,u):te(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;let r=e[v]=e.Promise;e.Promise=t;let k=m("thenPatched");function C(l){let u=l.prototype,i=s(u,"then");if(i&&(i.writable===!1||!i.configurable))return;let f=u.then;u[y]=f,l.prototype.then=function(g,P){return new t((S,Z)=>{f.call(this,S,Z)}).then(g,P)},l[k]=!0}o.patchThen=C;function $(l){return function(u,i){let f=l.apply(u,i);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}return r&&(C(r),he(e,"fetch",l=>$(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t});Zone.__load_patch("toString",e=>{let n=Function.prototype.toString,o=H("OriginalDelegate"),s=H("Promise"),c=H("Error"),a=function(){if(typeof this=="function"){let v=this[o];if(v)return typeof v=="function"?n.call(v):Object.prototype.toString.call(v);if(this===Promise){let y=e[s];if(y)return n.call(y)}if(this===Error){let y=e[c];if(y)return n.call(y)}}return n.call(this)};a[o]=n,Function.prototype.toString=a;let m=Object.prototype.toString,d="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?d:m.call(this)}});var ge=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){ge=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{ge=!1}var jt={useG:!0},ne={},ut={},ft=new RegExp("^"+Re+"(\\w+)(true|false)$"),ht=H("propagationStopped");function dt(e,n){let o=(n?n(e):e)+ue,s=(n?n(e):e)+le,c=Re+o,a=Re+s;ne[e]={},ne[e][ue]=c,ne[e][le]=a}function Ht(e,n,o,s){let c=s&&s.add||Fe,a=s&&s.rm||Be,m=s&&s.listeners||"eventListeners",d=s&&s.rmAll||"removeAllListeners",b=H(c),v="."+c+":",y="prependListener",L="."+y+":",O=function(R,_,Q){if(R.isRemoved)return;let x=R.callback;typeof x=="object"&&x.handleEvent&&(R.callback=T=>x.handleEvent(T),R.originalDelegate=x);let z;try{R.invoke(R,_,[Q])}catch(T){z=T}let A=R.options;if(A&&typeof A=="object"&&A.once){let T=R.originalDelegate?R.originalDelegate:R.callback;_[a].call(_,Q.type,T,A)}return z};function N(R,_,Q){if(_=_||e.event,!_)return;let x=R||_.target||e,z=x[ne[_.type][Q?le:ue]];if(z){let A=[];if(z.length===1){let T=O(z[0],x,_);T&&A.push(T)}else{let T=z.slice();for(let G=0;G{throw G})}}}let B=function(R){return N(this,R,!1)},j=function(R){return N(this,R,!0)};function K(R,_){if(!R)return!1;let Q=!0;_&&_.useG!==void 0&&(Q=_.useG);let x=_&&_.vh,z=!0;_&&_.chkDup!==void 0&&(z=_.chkDup);let A=!1;_&&_.rt!==void 0&&(A=_.rt);let T=R;for(;T&&!T.hasOwnProperty(c);)T=Ve(T);if(!T&&R[c]&&(T=R),!T||T[b])return!1;let G=_&&_.eventNameToString,h={},I=T[b]=T[c],w=T[H(a)]=T[a],ee=T[H(m)]=T[m],se=T[H(d)]=T[d],Y;_&&_.prepend&&(Y=T[H(_.prepend)]=T[_.prepend]);function U(i,f){return!ge&&typeof i=="object"&&i?!!i.capture:!ge||!f?i:typeof i=="boolean"?{capture:i,passive:!0}:i?typeof i=="object"&&i.passive!==!1?{...i,passive:!0}:i:{passive:!0}}let re=function(i){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?j:B,h.options)},te=function(i){if(!i.isRemoved){let f=ne[i.eventName],g;f&&(g=f[i.capture?le:ue]);let P=g&&i.target[g];if(P){for(let p=0;pfunction(c,a){c[ht]=!0,s&&s.apply(c,a)})}function Gt(e,n,o,s,c){let a=Zone.__symbol__(s);if(n[a])return;let m=n[a]=n[s];n[s]=function(d,b,v){return b&&b.prototype&&c.forEach(function(y){let L=`${o}.${s}::`+y,O=b.prototype;try{if(O.hasOwnProperty(y)){let N=e.ObjectGetOwnPropertyDescriptor(O,y);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(b.prototype,y,N)):O[y]&&(O[y]=e.wrapWithCurrentZone(O[y],L))}else O[y]&&(O[y]=e.wrapWithCurrentZone(O[y],L))}catch{}}),m.call(n,d,b,v)},e.attachOriginToPatched(n[s],m)}function Tt(e,n,o){if(!o||o.length===0)return n;let s=o.filter(a=>a.target===e);if(!s||s.length===0)return n;let c=s[0].ignoreProperties;return n.filter(a=>c.indexOf(a)===-1)}function st(e,n,o,s){if(!e)return;let c=Tt(e,n,o);lt(e,c,s)}function xe(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}function Vt(e,n){if(Ne&&!at||Zone[e.symbol("patchEvents")])return;let o=n.__Zone_ignore_on_properties,s=[];if(Xe){let c=window;s=s.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let a=Mt()?[{target:c,ignoreProperties:["error"]}]:[];st(c,xe(c),o&&o.concat(a),Ve(c))}s=s.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c{let s=xe(e);o.patchOnProperties=lt,o.patchMethod=he,o.bindArguments=qe,o.patchMacroTask=Lt;let c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),o.patchEventPrototype=xt,o.patchEventTarget=Ht,o.isIEOrEdge=At,o.ObjectDefineProperty=Ge,o.ObjectGetOwnPropertyDescriptor=Pe,o.ObjectCreate=Dt,o.ArraySlice=Ot,o.patchClass=Ce,o.wrapWithCurrentZone=Ue,o.filterProperties=Tt,o.attachOriginToPatched=fe,o._redefineProperty=Object.defineProperty,o.patchCallbacks=Gt,o.getGlobalObjects=()=>({globalSources:ut,zoneSymbolEventNames:ne,eventNames:s,isBrowser:Xe,isMix:at,isNode:Ne,TRUE_STR:le,FALSE_STR:ue,ZONE_SYMBOL_PREFIX:Re,ADD_EVENT_LISTENER_STR:Fe,REMOVE_EVENT_LISTENER_STR:Be})});function Ft(e,n){n.patchMethod(e,"queueMicrotask",o=>function(s,c){Zone.current.scheduleMicroTask("queueMicrotask",c[0])})}var Ze=H("zoneTask");function ke(e,n,o,s){let c=null,a=null;n+=s,o+=s;let m={};function d(v){let y=v.data;return y.args[0]=function(){return v.invoke.apply(this,arguments)},y.handleId=c.apply(e,y.args),v}function b(v){return a.call(e,v.data.handleId)}c=he(e,n,v=>function(y,L){if(typeof L[0]=="function"){let O={isPeriodic:s==="Interval",delay:s==="Timeout"||s==="Interval"?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{O.isPeriodic||(typeof O.handleId=="number"?delete m[O.handleId]:O.handleId&&(O.handleId[Ze]=null))}};let B=We(n,L[0],O,d,b);if(!B)return B;let j=B.data.handleId;return typeof j=="number"?m[j]=B:j&&(j[Ze]=B),j&&j.ref&&j.unref&&typeof j.ref=="function"&&typeof j.unref=="function"&&(B.ref=j.ref.bind(j),B.unref=j.unref.bind(j)),typeof j=="number"||j?j:B}else return v.apply(e,L)}),a=he(e,o,v=>function(y,L){let O=L[0],N;typeof O=="number"?N=m[O]:(N=O&&O[Ze],N||(N=O)),N&&typeof N.type=="string"?N.state!=="notScheduled"&&(N.cancelFn&&N.data.isPeriodic||N.runCount===0)&&(typeof O=="number"?delete m[O]:O&&(O[Ze]=null),N.zone.cancelTask(N)):v.apply(e,L)})}function Bt(e,n){let{isBrowser:o,isMix:s}=n.getGlobalObjects();if(!o&&!s||!e.customElements||!("customElements"in e))return;let c=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];n.patchCallbacks(n,e.customElements,"customElements","define",c)}function Ut(e,n){if(Zone[n.symbol("patchEventTarget")])return;let{eventNames:o,zoneSymbolEventNames:s,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:m}=n.getGlobalObjects();for(let b=0;b{let n=e[Zone.__symbol__("legacyPatch")];n&&n()});Zone.__load_patch("timers",e=>{let n="set",o="clear";ke(e,n,o,"Timeout"),ke(e,n,o,"Interval"),ke(e,n,o,"Immediate")});Zone.__load_patch("requestAnimationFrame",e=>{ke(e,"request","cancel","AnimationFrame"),ke(e,"mozRequest","mozCancel","AnimationFrame"),ke(e,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",(e,n)=>{let o=["alert","prompt","confirm"];for(let s=0;sfunction(b,v){return n.current.run(a,e,v,d)})}});Zone.__load_patch("EventTarget",(e,n,o)=>{Wt(e,o),Ut(e,o);let s=e.XMLHttpRequestEventTarget;s&&s.prototype&&o.patchEventTarget(e,o,[s.prototype])});Zone.__load_patch("MutationObserver",(e,n,o)=>{Ce("MutationObserver"),Ce("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",(e,n,o)=>{Ce("IntersectionObserver")});Zone.__load_patch("FileReader",(e,n,o)=>{Ce("FileReader")});Zone.__load_patch("on_property",(e,n,o)=>{Vt(o,e)});Zone.__load_patch("customElements",(e,n,o)=>{Bt(e,o)});Zone.__load_patch("XHR",(e,n)=>{b(e);let o=H("xhrTask"),s=H("xhrSync"),c=H("xhrListener"),a=H("xhrScheduled"),m=H("xhrURL"),d=H("xhrErrorBeforeScheduled");function b(v){let y=v.XMLHttpRequest;if(!y)return;let L=y.prototype;function O(h){return h[o]}let N=L[Ae],B=L[je];if(!N){let h=v.XMLHttpRequestEventTarget;if(h){let I=h.prototype;N=I[Ae],B=I[je]}}let j="readystatechange",K="scheduled";function q(h){let I=h.data,w=I.target;w[a]=!1,w[d]=!1;let ee=w[c];N||(N=w[Ae],B=w[je]),ee&&B.call(w,j,ee);let se=w[c]=()=>{if(w.readyState===w.DONE)if(!I.aborted&&w[a]&&h.state===K){let U=w[n.__symbol__("loadfalse")];if(w.status!==0&&U&&U.length>0){let re=h.invoke;h.invoke=function(){let te=w[n.__symbol__("loadfalse")];for(let W=0;Wfunction(h,I){return h[s]=I[2]==!1,h[m]=I[1],Q.apply(h,I)}),x="XMLHttpRequest.send",z=H("fetchTaskAborting"),A=H("fetchTaskScheduling"),T=he(L,"send",()=>function(h,I){if(n.current[A]===!0||h[s])return T.apply(h,I);{let w={target:h,url:h[m],isPeriodic:!1,args:I,aborted:!1},ee=We(x,R,w,q,_);h&&h[d]===!0&&!w.aborted&&ee.state===K&&ee.invoke()}}),G=he(L,"abort",()=>function(h,I){let w=O(h);if(w&&typeof w.type=="string"){if(w.cancelFn==null||w.data&&w.data.aborted)return;w.zone.cancelTask(w)}else if(n.current[z]===!0)return G.apply(h,I)})}});Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&It(e.navigator.geolocation,["getCurrentPosition","watchPosition"])});Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function o(s){return function(c){_t(e,s).forEach(m=>{let d=e.PromiseRejectionEvent;if(d){let b=new d(s,{promise:c.promise,reason:c.rejection});m.invoke(b)}})}}e.PromiseRejectionEvent&&(n[H("unhandledPromiseRejectionHandler")]=o("unhandledrejection"),n[H("rejectionHandledHandler")]=o("rejectionhandled"))});Zone.__load_patch("queueMicrotask",(e,n,o)=>{Ft(e,o)});var zt=Zt(gt());window.global=window;window.process=zt;