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