cdn.wizbii.io Open in urlscan Pro
188.114.96.3  Public Scan

URL: https://cdn.wizbii.io/account-v2/c19c4f0d252d52cb5800b13e5177cc24b4ae6a71/fr/polyfills.cc693a308b4425a7.js
Submission: On November 06 via api from US — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

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