formbuilder-lhcforms 10.2.1 → 10.3.0

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