khiops-visualization 11.6.2 → 11.7.0

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