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