formbuilder-lhcforms 10.3.9 → 10.3.11

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