@sourceloop/search-element 9.0.0 → 11.0.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.
package/search-element.js DELETED
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";var e,_={},h={};function n(e){var a=h[e];if(void 0!==a)return a.exports;var r=h[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,v=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var b=o(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunksearch_element=self.webpackChunksearch_element||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
2
- "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[461],{20:(te,Q,me)=>{me(861)},861:()=>{const te=globalThis;function Q(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const Ee=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ze=Object.getPrototypeOf,_t=Object.create,dt=Array.prototype.slice,Le="addEventListener",Ie="removeEventListener",Me=Q(Le),Ae=Q(Ie),ae="true",le="false",ve=Q("");function je(e,r){return Zone.current.wrap(e,r)}function He(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=Q,we=typeof window<"u",be=we?window:void 0,$=we&&be||globalThis;function xe(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=je(e[c],r+"_"+c));return e}function Ue(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const We=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ce=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ve=!Ce&&!We&&!(!we||!be.HTMLElement),qe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!We&&!(!we||!be.HTMLElement),De={},gt=j("enable_beforeunload"),Xe=function(e){if(!(e=e||$.event))return;let r=De[e.type];r||(r=De[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ve&&c===be&&"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&&$[gt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function Ye(e,r,c){let t=Ee(e,r);if(!t&&c&&Ee(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let p=De[T];p||(p=De[T]=j("ON_PROPERTY"+T)),t.set=function(D){let _=this;!_&&e===$&&(_=$),_&&("function"==typeof _[p]&&_.removeEventListener(T,Xe),E?.call(_,null),_[p]=D,"function"==typeof D&&_.addEventListener(T,Xe,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const _=D[p];if(_)return _;if(u){let R=u.call(this);if(R)return t.set.call(this,R),"function"==typeof D.removeAttribute&&D.removeAttribute(r),R}return null},Ne(e,r,t),e[i]=!0}function $e(e,r,c){if(r)for(let t=0;t<r.length;t++)Ye(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++)Ye(e,t[i],c)}}const re=j("originalInstance");function Pe(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=xe(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Ne($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=je(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Ze(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],Ue(t&&Ee(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function kt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const p=c(E,T);return p.cbIdx>=0&&"function"==typeof T[p.cbIdx]?He(p.name,T[p.cbIdx],p,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Ke=!1,Fe=!1;function pt(){if(Ke)return Fe;Ke=!0;try{const e=be.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Fe=!0)}catch{}return Fe}function Je(e){return"function"==typeof e}function Qe(e){return"number"==typeof e}const mt={useG:!0},ne={},et={},tt=new RegExp("^"+ve+"(\\w+)(true|false)$"),nt=j("propagationStopped");function rt(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=ve+c,u=ve+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function yt(e,r,c,t){const i=t&&t.add||Le,u=t&&t.rm||Ie,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",p=j(i),D="."+i+":",_="prependListener",R="."+_+":",M=function(y,h,H){if(y.isRemoved)return;const V=y.callback;let Y;"object"==typeof V&&V.handleEvent&&(y.callback=g=>V.handleEvent(g),y.originalDelegate=V);try{y.invoke(y,h,[H])}catch(g){Y=g}const F=y.options;return F&&"object"==typeof F&&F.once&&h[u].call(h,H.type,y.originalDelegate?y.originalDelegate:y.callback,F),Y};function x(y,h,H){if(!(h=h||e.event))return;const V=y||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const F=[];if(1===Y.length){const g=M(Y[0],V,h);g&&F.push(g)}else{const g=Y.slice();for(let U=0;U<g.length&&(!h||!0!==h[nt]);U++){const O=M(g[U],V,h);O&&F.push(O)}}if(1===F.length)throw F[0];for(let g=0;g<F.length;g++){const U=F[g];r.nativeScheduleMicroTask(()=>{throw U})}}}const z=function(y){return x(this,y,!1)},K=function(y){return x(this,y,!0)};function J(y,h){if(!y)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let F=!1;h&&void 0!==h.rt&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ze(g);if(!g&&y[i]&&(g=y),!g||g[p])return!1;const U=h&&h.eventNameToString,O={},w=g[p]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],ee=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?K:z,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let k=0;k<C.length;k++)if(C[k]===s){C.splice(k,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?K:z,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h?.diff||function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},_e=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,k=!1,Z=!1){return function(){const L=this||e;let I=arguments[0];h&&h.transferEventName&&(I=h.transferEventName(I));let G=arguments[1];if(!G)return s.apply(this,arguments);if(Ce&&"uncaughtException"===I)return s.apply(this,arguments);let B=!1;if("function"!=typeof G){if(!G.handleEvent)return s.apply(this,arguments);B=!0}if(V&&!V(s,G,L,arguments))return;const Te=!!oe&&-1!==oe.indexOf(I),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(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],Te)),ke=ie?.signal;if(ke?.aborted)return;if(_e)for(let ce=0;ce<_e.length;ce++)if(I===_e[ce])return Te?s.call(L,I,G,ie):s.apply(this,arguments);const Be=!!ie&&("boolean"==typeof ie||ie.capture),at=!(!ie||"object"!=typeof ie)&&ie.once,It=Zone.current;let ze=ne[I];ze||(rt(I,U),ze=ne[I]);const lt=ze[Be?ae:le];let Oe,pe=L[lt],ut=!1;if(pe){if(ut=!0,Y)for(let ce=0;ce<pe.length;ce++)if(he(pe[ce],G))return}else pe=L[lt]=[];const ft=L.constructor.name,ht=et[ft];ht&&(Oe=ht[I]),Oe||(Oe=ft+l+(U?U(I):I)),O.options=ie,at&&(O.options.once=!1),O.target=L,O.capture=Be,O.eventName=I,O.isExisting=ut;const Re=H?mt:void 0;Re&&(Re.taskData=O),ke&&(O.options.signal=void 0);const se=It.scheduleEventTask(Oe,G,Re,v,C);if(ke){O.options.signal=ke;const ce=()=>se.zone.cancelTask(se);s.call(ke,"abort",ce,{once:!0}),se.removeAbortListener=()=>ke.removeEventListener("abort",ce)}return O.target=null,Re&&(Re.taskData=null),at&&(O.options.once=!0),"boolean"!=typeof se.options&&(se.options=ie),se.target=L,se.capture=Be,se.eventName=I,B&&(se.originalDelegate=G),Z?pe.unshift(se):pe.push(se),k?L:void 0}};return g[i]=a(w,D,q,A,F),W&&(g[_]=a(W,R,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,F,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),k=arguments[1];if(!k)return b.apply(this,arguments);if(V&&!V(b,k,s,arguments))return;const Z=ne[l];let L;Z&&(L=Z[C?ae:le]);const I=L&&s[L];if(I)for(let G=0;G<I.length;G++){const B=I[G];if(he(B,k))return I.splice(G,1),B.isRemoved=!0,0!==I.length||(B.allRemoved=!0,s[L]=null,C||"string"!=typeof l)||(s[ve+"ON_PROPERTY"+l]=null),B.zone.cancelTask(B),F?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=ot(s,U?U(l):l);for(let k=0;k<C.length;k++){const Z=C[k];v.push(Z.originalDelegate?Z.originalDelegate:Z.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const Z=s[v[le]],L=s[v[ae]];if(Z){const I=Z.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(L){const I=L.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const Z=tt.exec(v[C]);let L=Z&&Z[1];L&&"removeListener"!==L&&this[T].call(this,L)}this[T].call(this,"removeListener")}if(F)return this},fe(g[i],w),fe(g[u],b),ee&&fe(g[T],ee),S&&fe(g[E],S),!0}let X=[];for(let y=0;y<c.length;y++)X[y]=J(c[y],t);return X}function ot(e,r){if(!r){const u=[];for(let E in e){const T=tt.exec(E);let p=T&&T[1];if(p&&(!r||p===r)){const D=e[E];if(D)for(let _=0;_<D.length;_++)u.push(D[_])}}return u}let c=ne[r];c||(rt(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function vt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[nt]=!0,t&&t.apply(i,u)})}const Se=j("zoneTask");function ge(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const _=D.data;_.args[0]=function(){return D.invoke.apply(this,arguments)};const R=i.apply(e,_.args);return Qe(R)?_.handleId=R:(_.handle=R,_.isRefreshable=Je(R.refresh)),D}function p(D){const{handle:_,handleId:R}=D.data;return u.call(e,_??R)}i=ue(e,r+=t,D=>function(_,R){if(Je(R[0])){const M={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?R[1]||0:void 0,args:R},x=R[0];R[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(V?delete E[V]:H&&(H[Se]=null))}};const z=He(r,R[0],M,T,p);if(!z)return z;const{handleId:K,handle:J,isRefreshable:X,isPeriodic:y}=z.data;if(K)E[K]=z;else if(J&&(J[Se]=z,X&&!y)){const h=J.refresh;J.refresh=function(){const{zone:H,state:V}=z;return"notScheduled"===V?(z._state="scheduled",H._updateTaskCount(z,1)):"running"===V&&(z._state="scheduling"),h.call(this)}}return J??K??z}return D.apply(e,R)}),u=ue(e,c,D=>function(_,R){const M=R[0];let x;Qe(M)?(x=E[M],delete E[M]):(x=M?.[Se],x?M[Se]=null:x=M),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,R)})}function st(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function it(e,r,c,t){e&&$e(e,st(e,r,c),t)}function Ge(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 u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,p,D){return p&&p.prototype&&i.forEach(function(_){const R=`${c}.${t}::`+_,M=p.prototype;try{if(M.hasOwnProperty(_)){const x=e.ObjectGetOwnPropertyDescriptor(M,_);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,R),e._redefineProperty(p.prototype,_,x)):M[_]&&(M[_]=e.wrapWithCurrentZone(M[_],R))}else M[_]&&(M[_]=e.wrapWithCurrentZone(M[_],R))}catch{}}),E.call(r,T,p,D)},e.attachOriginToPatched(r[t],E)}const ct=function ye(){const e=globalThis,r=!0===e[Q("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function me(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,d){e&&e.measure&&e.measure(N,d)}r("Zone");let t=(()=>{class N{static __symbol__=Q;static assertZonePatched(){if(te.Promise!==O.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=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,m=!1){if(O.hasOwnProperty(n)){const P=!0===te[Q("forceDuplicateZoneCheck")];if(!m&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,w),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 u(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 m=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(m,this,arguments,o)}}run(n,o,m,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,m,P)}finally{b=b.parent}}runGuarded(n,o=null,m,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,m,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,m){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||J).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:de=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const _e=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!de&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,m)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==U||A||de&&oe===y)he&&P._transitionTo(h,H,y);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),de&&(P._zoneDelegates=f)}b=b.parent,S=_e}}scheduleTask(n){if(n.zone&&n.zone!==this){let m=this;for(;m;){if(m===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);m=m.parent}}n._transitionTo(y,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(m){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,m),m}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,m,P){return this.scheduleTask(new E(F,n,o,m,P,void 0))}scheduleMacroTask(n,o,m,P,q){return this.scheduleTask(new E(g,n,o,m,P,q))}scheduleEventTask(n,o,m,P,q){return this.scheduleTask(new E(U,n,o,m,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||J).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const m=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<m.length;P++)m[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,d,n,o)=>N.hasTask(n,o),onScheduleTask:(N,d,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,d,n,o,m,P)=>N.invokeTask(n,o,m,P),onCancelTask:(N,d,n,o)=>N.cancelTask(n,o)};class u{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(d,n,o){this._zone=d,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 m=o&&o.onHasTask;(m||n&&n._hasTaskZS)&&(this._hasTaskZS=m?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(d,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,d,n):new t(d,n)}intercept(d,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,d,n,o):n}invoke(d,n,o,m,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,d,n,o,m,P):n.apply(o,m)}handleError(d,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,d,n)}scheduleTask(d,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,d,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=F)throw new Error("Task is missing scheduleFn.");z(n)}return o}invokeTask(d,n,o,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,d,n,o,m):n.callback.apply(o,m)}cancelTask(d,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,d,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(d,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,d,n)}catch(o){this.handleError(d,o)}}_updateTaskCount(d,n){const o=this._taskCounts,m=o[d],P=o[d]=m+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:d})}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(d,n,o,m,P,q){if(this.type=d,this.source=n,this.data=m,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=d===U&&m&&m.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(d,n,o){d||(d=this),ee++;try{return d.runCount++,d.zone.runTask(d,n,o)}finally{1==ee&&K(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(d,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${d}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=d,d==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=Q("setTimeout"),p=Q("Promise"),D=Q("then");let M,_=[],R=!1;function x(N){if(M||te[p]&&(M=te[p].resolve(0)),M){let d=M[D];d||(d=M.then),d.call(M,N)}else te[T](N,0)}function z(N){0===ee&&0===_.length&&x(K),N&&_.push(N)}function K(){if(!R){for(R=!0;_.length;){const N=_;_=[];for(let d=0;d<N.length;d++){const n=N[d];try{n.zone.runTask(n,null,null)}catch(o){w.onUnhandledError(o)}}}w.microtaskDrainDone(),R=!1}}const J={name:"NO ZONE"},X="notScheduled",y="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",F="microTask",g="macroTask",U="eventTask",O={},w={symbol:Q,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,ee=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Lt(e){(function St(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,p=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],_=T("Promise"),R=T("then");t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;p.length;){const f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};const x=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function K(f){return f&&"function"==typeof f.then}function J(f){return f}function X(f){return A.reject(f)}const y=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),g=null,U=!0,O=!1;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},ee="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(ee);if(f[y]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[y]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===U&&(f[y]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const k=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)o(f,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&a==O){f[y]=0;let k=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(Z){k=Z}D&&(k.throwOriginal=!0),k.rejection=s,k.promise=f,k.zone=c.current,k.task=c.currentTask,p.push(k),t.scheduleMicroTask()}}}return f}const d=T("rejectionHandledHandler");function n(f){if(0===f[y]){try{const a=c[d];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[y]=O;for(let a=0;a<p.length;a++)f===p[a].promise&&p.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[y],k=C?"function"==typeof l?l:J:"function"==typeof v?v:X;a.scheduleMicroTask("Promise.then",()=>{try{const Z=f[h],L=!!s&&H===s[H];L&&(s[V]=Z,s[Y]=C);const I=a.run(k,void 0,L&&k!==X&&k!==J?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((k,Z)=>{for(let L=0;L<s.length;L++)s[L].then(I=>{v||(v=!0,k(I))},I=>{C.push(I),l--,0===l&&(v=!0,Z(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function C(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)K(Z)||(Z=this.resolve(Z)),Z.then(C,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((I,G)=>{l=I,v=G}),k=2,Z=0;const L=[];for(let I of a){K(I)||(I=this.resolve(I));const G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,0===k&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,0===k&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,0===k&&l(L),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{const l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[y]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const de=r[_]=r.Promise;r.Promise=A;const he=T("thenPatched");function _e(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[R]=l,f.prototype.then=function(v,C){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,C)},f[he]=!0}return t.patchThen=_e,de&&(_e(de),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||_e(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=p,A})})(e),function Ot(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const _=this[t];if(_)return"function"==typeof _?c.call(_):Object.prototype.toString.call(_);if(this===Promise){const R=r[i];if(R)return c.call(R)}if(this===Error){const R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,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)}})}(e),function Zt(e){e.__load_patch("util",(r,c,t)=>{const i=Ge(r);t.patchOnProperties=$e,t.patchMethod=ue,t.bindArguments=xe,t.patchMacroTask=kt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=vt,t.patchEventTarget=yt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Ne,t.ObjectGetOwnPropertyDescriptor=Ee,t.ObjectCreate=_t,t.ArraySlice=dt,t.patchClass=Pe,t.wrapWithCurrentZone=je,t.filterProperties=st,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ve,isMix:qe,isNode:Ce,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:Ie})})}(e)})(ct),function Dt(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const t="clear";ge(r,"set",t,"Timeout"),ge(r,"set",t,"Interval"),ge(r,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ge(r,"request","cancel","AnimationFrame"),ge(r,"mozRequest","mozCancel","AnimationFrame"),ge(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,p)=>function(D,_){return c.current.run(E,r,_,p)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function wt(e,r){r.patchEventPrototype(e,r)})(r,t),function Rt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let p=0;p<c.length;p++){const D=c[p],M=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=M,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{Pe("MutationObserver"),Pe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{Pe("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{Pe("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function Ct(e,r){if(Ce&&!qe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ve){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=[];it(i,Ge(i),c&&c.concat(u),Ze(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u?.prototype&&it(u.prototype,Ge(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Pt(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 D(_){const R=_.XMLHttpRequest;if(!R)return;const M=R.prototype;let z=M[Me],K=M[Ae];if(!z){const w=_.XMLHttpRequestEventTarget;if(w){const b=w.prototype;z=b[Me],K=b[Ae]}}const J="readystatechange",X="scheduled";function y(w){const b=w.data,S=b.target;S[E]=!1,S[p]=!1;const ee=S[u];z||(z=S[Me],K=S[Ae]),ee&&K.call(S,J,ee);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&w.state===X){const d=S[c.__symbol__("loadfalse")];if(0!==S.status&&d&&d.length>0){const n=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let m=0;m<o.length;m++)o[m]===w&&o.splice(m,1);!b.aborted&&w.state===X&&n.call(w)},d.push(w)}else w.invoke()}else!b.aborted&&!1===S[E]&&(S[p]=!0)};return z.call(S,J,W),S[t]||(S[t]=w),U.apply(S,b.args),S[E]=!0,w}function h(){}function H(w){const b=w.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(M,"open",()=>function(w,b){return w[i]=0==b[2],w[T]=b[1],V.apply(w,b)}),F=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),U=ue(M,"send",()=>function(w,b){if(!0===c.current[g]||w[i])return U.apply(w,b);{const S={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},ee=He("XMLHttpRequest.send",h,S,y,H);w&&!0===w[p]&&!S.aborted&&ee.state===X&&ee.invoke()}}),O=ue(M,"abort",()=>function(w,b){const S=function x(w){return w[t]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[F])return O.apply(w,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!Ue(Ee(e,i)))continue;e[i]=(T=>{const p=function(){return T.apply(this,xe(arguments,c+"."+i))};return fe(p,T),p})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){ot(r,i).forEach(T=>{const p=r.PromiseRejectionEvent;if(p){const D=new p(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function bt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(ct)}},te=>{te(te.s=20)}]);
3
- "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[792],{748:()=>{let Zi;function xs(){return Zi}function Yn(e){const n=Zi;return Zi=e,n}const eF=Symbol("NotFound");function ff(e){return e===eF||"\u0275NotFound"===e?.name}Error;let _t=null,Ds=!1,hf=1;const rt=Symbol("SIGNAL");function G(e){const n=_t;return _t=e,n}const Xi={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function El(e){if(Ds)throw new Error("");if(null===_t)return;_t.consumerOnSignalRead(e);const n=_t.producersTail;if(void 0!==n&&n.producer===e)return;let t;const r=_t.recomputing;if(r&&(t=void 0!==n?n.nextProducer:_t.producers,void 0!==t&&t.producer===e))return _t.producersTail=t,void(t.lastReadVersion=e.version);const i=e.consumersTail;if(void 0!==i&&i.consumer===_t&&(!r||function oF(e,n){const t=n.producersTail;if(void 0!==t){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(void 0!==r)}return!1}(i,_t)))return;const o=eo(_t),s={producer:e,consumer:_t,nextProducer:t,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};_t.producersTail=s,void 0!==n?n.nextProducer=s:_t.producers=s,o&&xy(e,s)}function ws(e){if((!eo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==hf)){if(!e.producerMustRecompute(e)&&!Dl(e))return void xl(e);e.producerRecomputeValue(e),xl(e)}}function by(e){if(void 0===e.consumers)return;const n=Ds;Ds=!0;try{for(let t=e.consumers;void 0!==t;t=t.nextConsumer){const r=t.consumer;r.dirty||nF(r)}}finally{Ds=n}}function Ey(){return!1!==_t?.consumerAllowSignalWrites}function nF(e){e.dirty=!0,by(e),e.consumerMarkedDirty?.(e)}function xl(e){e.dirty=!1,e.lastCleanEpoch=hf}function Ji(e){return e&&function rF(e){e.producersTail=void 0,e.recomputing=!0}(e),G(e)}function Cs(e,n){G(n),e&&function iF(e){e.recomputing=!1;const n=e.producersTail;let t=void 0!==n?n.nextProducer:e.producers;if(void 0!==t){if(eo(e))do{t=gf(t)}while(void 0!==t);void 0!==n?n.nextProducer=void 0:e.producers=void 0}}(e)}function Dl(e){for(let n=e.producers;void 0!==n;n=n.nextProducer){const t=n.producer,r=n.lastReadVersion;if(r!==t.version||(ws(t),r!==t.version))return!0}return!1}function Ss(e){if(eo(e)){let n=e.producers;for(;void 0!==n;)n=gf(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function xy(e,n){const t=e.consumersTail,r=eo(e);if(void 0!==t?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let i=e.producers;void 0!==i;i=i.nextProducer)xy(i.producer,i)}function gf(e){const n=e.producer,t=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=i:n.consumersTail=i,void 0!==i)i.nextConsumer=r;else if(n.consumers=r,!eo(n)){let o=n.producers;for(;void 0!==o;)o=gf(o)}return t}function eo(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function yf(e,n){return Object.is(e,n)}function Dy(e,n){const t=Object.create(sF);t.computation=e,void 0!==n&&(t.equal=n);const r=()=>{if(ws(t),El(t),t.value===vr)throw t.error;return t.value};return r[rt]=t,r}const Yr=Symbol("UNSET"),to=Symbol("COMPUTING"),vr=Symbol("ERRORED"),sF={...Xi,value:Yr,dirty:!0,error:null,equal:yf,kind:"computed",producerMustRecompute:e=>e.value===Yr||e.value===to,producerRecomputeValue(e){if(e.value===to)throw new Error("");const n=e.value;e.value=to;const t=Ji(e);let r,i=!1;try{r=e.computation(),G(null),i=n!==Yr&&n!==vr&&r!==vr&&e.equal(n,r)}catch(o){r=vr,e.error=o}finally{Cs(e,t)}i?e.value=n:(e.value=r,e.version++)}};let wy=function aF(){throw new Error};function Cy(e){wy(e)}function cF(e,n){const t=Object.create(Iy);t.value=e,void 0!==n&&(t.equal=n);const r=()=>function dF(e){return El(e),e.value}(t);return r[rt]=t,[r,s=>vf(t,s),s=>function Sy(e,n){Ey()||Cy(e),vf(e,n(e.value))}(t,s)]}function vf(e,n){Ey()||Cy(e),e.equal(e.value,n)||(e.value=n,function uF(e){e.version++,function tF(){hf++}(),by(e)}(e))}const Iy={...Xi,equal:yf,value:void 0,kind:"signal"};function Se(e){return"function"==typeof e}function Ay(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const bf=Ay(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Cl(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Fe{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(Se(r))try{r()}catch(o){n=o instanceof bf?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{Ry(o)}catch(s){n=n??[],s instanceof bf?n=[...n,...s.errors]:n.push(s)}}if(n)throw new bf(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ry(n);else{if(n instanceof Fe){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Cl(t,n)}remove(n){const{_finalizers:t}=this;t&&Cl(t,n),n instanceof Fe&&n._removeParent(this)}}Fe.EMPTY=(()=>{const e=new Fe;return e.closed=!0,e})();const My=Fe.EMPTY;function Ty(e){return e instanceof Fe||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Ry(e){Se(e)?e():e.unsubscribe()}const Kr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sl={setTimeout(e,n,...t){const{delegate:r}=Sl;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Sl;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Fy(e){Sl.setTimeout(()=>{const{onUnhandledError:n}=Kr;if(!n)throw e;n(e)})}function Ef(){}const fF=xf("C",void 0,void 0);function xf(e,n,t){return{kind:e,value:n,error:t}}let Qr=null;function Il(e){if(Kr.useDeprecatedSynchronousErrorHandling){const n=!Qr;if(n&&(Qr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Qr;if(Qr=null,t)throw r}}else e()}class Df extends Fe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ty(n)&&n.add(this)):this.destination=vF}static create(n,t,r){return new Is(n,t,r)}next(n){this.isStopped?Cf(function pF(e){return xf("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Cf(function hF(e){return xf("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Cf(fF,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const gF=Function.prototype.bind;function wf(e,n){return gF.call(e,n)}class _F{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Al(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Al(r)}else Al(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Al(t)}}}class Is extends Df{constructor(n,t,r){let i;if(super(),Se(n)||!n)i={next:n??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Kr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&wf(n.next,o),error:n.error&&wf(n.error,o),complete:n.complete&&wf(n.complete,o)}):i=n}this.destination=new _F(i)}}function Al(e){Kr.useDeprecatedSynchronousErrorHandling?function mF(e){Kr.useDeprecatedSynchronousErrorHandling&&Qr&&(Qr.errorThrown=!0,Qr.error=e)}(e):Fy(e)}function Cf(e,n){const{onStoppedNotification:t}=Kr;t&&Sl.setTimeout(()=>t(e,n))}const vF={closed:!0,next:Ef,error:function yF(e){throw e},complete:Ef},Sf="function"==typeof Symbol&&Symbol.observable||"@@observable";function As(e){return e}let xe=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function EF(e){return e&&e instanceof Df||function bF(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(e)&&Ty(e)}(t)?t:new Is(t,r,i);return Il(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Oy(r))((i,o)=>{const s=new Is({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Sf](){return this}pipe(...t){return function ky(e){return 0===e.length?As:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=Oy(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function Oy(e){var n;return null!==(n=e??Kr.Promise)&&void 0!==n?n:Promise}const xF=Ay(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ee=(()=>{class e extends xe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Ny(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new xF}next(t){Il(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Il(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Il(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:i,observers:o}=this;return r||i?My:(this.currentObservers=null,o.push(t),new Fe(()=>{this.currentObservers=null,Cl(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new xe;return t.source=this,t}}return e.create=(n,t)=>new Ny(n,t),e})();class Ny extends ee{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:My}}class Py extends ee{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}const Vy="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class E extends Error{code;constructor(n,t){super(function ln(e,n){return`${function DF(e){return`NG0${Math.abs(e)}`}(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Be=globalThis;function se(e){for(let n in e)if(e[n]===se)return n;throw Error("")}function wF(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Nt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Nt).join(", ")}]`;if(null==e)return""+e;const n=e.overriddenName||e.name;if(n)return`${n}`;const t=e.toString();if(null==t)return""+t;const r=t.indexOf("\n");return r>=0?t.slice(0,r):t}function If(e,n){return e?n?`${e} ${n}`:e:n||""}const CF=se({__forward_ref__:se});function De(e){return e.__forward_ref__=De,e.toString=function(){return Nt(this())},e}function Q(e){return Ml(e)?e():e}function Ml(e){return"function"==typeof e&&e.hasOwnProperty(CF)&&e.__forward_ref__===De}function C(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ae(e){return{providers:e.providers||[],imports:e.imports||[]}}function Tl(e){return function RF(e,n){return e.hasOwnProperty(n)&&e[n]||null}(e,Fl)}function Rl(e){return e&&e.hasOwnProperty(Af)?e[Af]:null}const Fl=se({\u0275prov:se}),Af=se({\u0275inj:se});class D{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=C({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Tf(e){return e&&!!e.\u0275providers}const Rf=se({\u0275cmp:se}),LF=se({\u0275dir:se}),VF=se({\u0275pipe:se}),By=se({\u0275mod:se}),Xr=se({\u0275fac:se}),Rs=se({__NG_ELEMENT_ID__:se}),jy=se({__NG_ENV_ID__:se});function Y(e){return"string"==typeof e?e:null==e?"":String(e)}const Ff=se({ngErrorCode:se}),Hy=se({ngErrorMessage:se}),Fs=se({ngTokenPath:se});function kf(e,n){return Uy("",-200,n)}function Of(e,n){throw new E(-201,!1)}function Uy(e,n,t){const r=new E(n,e);return r[Ff]=n,r[Hy]=e,t&&(r[Fs]=t),r}let Nf;function $y(){return Nf}function Pt(e){const n=Nf;return Nf=e,n}function zy(e,n,t){const r=Tl(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&t?null:void 0!==n?n:void Of()}const Jr={};class zF{injector;constructor(n){this.injector=n}retrieve(n,t){const r=ks(t)||0;try{return this.injector.get(n,8&r?null:Jr,r)}catch(i){if(ff(i))return i;throw i}}}function GF(e,n=0){const t=xs();if(void 0===t)throw new E(-203,!1);if(null===t)return zy(e,void 0,n);{const r=function WF(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(n),i=t.retrieve(e,r);if(ff(i)){if(r.optional)return null;throw i}return i}}function I(e,n=0){return($y()||GF)(Q(e),n)}function _(e,n){return I(e,ks(n))}function ks(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Lf(e){const n=[];for(let t=0;t<e.length;t++){const r=Q(e[t]);if(Array.isArray(r)){if(0===r.length)throw new E(900,!1);let i,o=0;for(let s=0;s<r.length;s++){const a=r[s],l=qF(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}n.push(I(i,o))}else n.push(I(r))}return n}function qF(e){return e.__NG_DI_FLAG__}function ei(e,n){return e.hasOwnProperty(Xr)?e[Xr]:null}function ro(e,n){e.forEach(t=>Array.isArray(t)?ro(t,n):n(t))}function Wy(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ol(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Pl(e,n,t){let r=Ns(e,n);return r>=0?e[1|r]=t:(r=~r,function Yy(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function Vf(e,n){const t=Ns(e,n);if(t>=0)return e[1|t]}function Ns(e,n){return function KF(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<t];if(n===s)return o<<t;s>n?i=o:r=o+1}return~(i<<t)}(e,n,1)}const On={},ye=[],ti=new D(""),Ky=new D("",-1),Bf=new D("");class Ll{get(n,t=Jr){if(t===Jr){const i=Uy("",-201);throw i.name="\u0275NotFound",i}return t}}function ce(e){return e[Rf]||null}function St(e){return e[LF]||null}function xn(e){return e[VF]||null}function ZF(...e){return{\u0275providers:Uf(0,e),\u0275fromNgModule:!0}}function Uf(e,...n){const t=[],r=new Set;let i;const o=s=>{t.push(s)};return ro(n,s=>{const a=s;Vl(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Qy(i,o),t}function Qy(e,n){for(let t=0;t<e.length;t++){const{ngModule:r,providers:i}=e[t];$f(i,o=>{n(o,r)})}}function Vl(e,n,t,r){if(!(e=Q(e)))return!1;let i=null,o=Rl(e);const s=!o&&ce(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=Rl(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Vl(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{ro(o.imports,d=>{Vl(d,n,t,r)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Qy(c,n)}if(!a){const c=ei(i)||(()=>new i);n({provide:i,useFactory:c,deps:ye},i),n({provide:Bf,useValue:i,multi:!0},i),n({provide:ti,useValue:()=>I(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;$f(l,d=>{n(d,c)})}}}return i!==e&&void 0!==e.providers}function $f(e,n){for(let t of e)Tf(t)&&(t=t.\u0275providers),Array.isArray(t)?$f(t,n):n(t)}const XF=se({provide:String,useValue:se});function zf(e){return null!==e&&"object"==typeof e&&XF in e}function Kn(e){return"function"==typeof e}const Gf=new D(""),Bl={},ev={};let Wf;function jl(){return void 0===Wf&&(Wf=new Ll),Wf}class vt{}class ni extends vt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,Yf(n,s=>this.processProvider(s)),this.records.set(Ky,io(void 0,this)),i.has("environment")&&this.records.set(vt,io(void 0,this));const o=this.records.get(Gf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Bf,ye,{self:!0}))}retrieve(n,t){const r=ks(t)||0;try{return this.get(n,Jr,r)}catch(i){if(ff(i))return i;throw i}}destroy(){Ls(this),this._destroyed=!0;const n=G(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),G(n)}}onDestroy(n){return Ls(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Ls(this);const t=Yn(this),r=Pt(void 0);try{return n()}finally{Yn(t),Pt(r)}}get(n,t=Jr,r){if(Ls(this),n.hasOwnProperty(jy))return n[jy](this);const i=ks(r),s=Yn(this),a=Pt(void 0);try{if(!(4&i)){let c=this.records.get(n);if(void 0===c){const d=function rk(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(n)&&Tl(n);c=d&&this.injectableDefInScope(d)?io(qf(n),Bl):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c,i)}return(2&i?jl():this.parent).get(n,t=8&i&&t===Jr?null:t)}catch(l){const c=function UF(e){return e[Ff]}(l);throw-200===c||-201===c?new E(c,null):l}finally{Pt(a),Yn(s)}}resolveInjectorInitializers(){const n=G(null),t=Yn(this),r=Pt(void 0);try{const o=this.get(ti,ye,{self:!0});for(const s of o)s()}finally{Yn(t),Pt(r),G(n)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Nt(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=Kn(n=Q(n))?n:Q(n&&n.provide);const r=function ek(e){return zf(e)?io(void 0,e.useValue):io(tv(e),Bl)}(n);if(!Kn(n)&&!0===n.multi){let i=this.records.get(t);i||(i=io(void 0,Bl,!0),i.factory=()=>Lf(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){const i=G(null);try{if(t.value===ev)throw kf(Nt(n));return t.value===Bl&&(t.value=ev,t.value=t.factory(void 0,r)),"object"==typeof t.value&&t.value&&function nk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{G(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=Q(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function qf(e){const n=Tl(e),t=null!==n?n.factory:ei(e);if(null!==t)return t;if(e instanceof D)throw new E(204,!1);if(e instanceof Function)return function JF(e){if(e.length>0)throw new E(204,!1);const t=function FF(e){return(e?.[Fl]??null)||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new E(204,!1)}function tv(e,n,t){let r;if(Kn(e)){const i=Q(e);return ei(i)||qf(i)}if(zf(e))r=()=>Q(e.useValue);else if(function Xy(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Lf(e.deps||[]));else if(function Zy(e){return!(!e||!e.useExisting)}(e))r=(i,o)=>I(Q(e.useExisting),void 0!==o&&8&o?8:void 0);else{const i=Q(e&&(e.useClass||e.provide));if(!function tk(e){return!!e.deps}(e))return ei(i)||qf(i);r=()=>new i(...Lf(e.deps))}return r}function Ls(e){if(e.destroyed)throw new E(205,!1)}function io(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Yf(e,n){for(const t of e)Array.isArray(t)?Yf(t,n):t&&Tf(t)?Yf(t.\u0275providers,n):n(t)}function Kf(e,n){let t;e instanceof ni?(Ls(e),t=e):t=new zF(e);const i=Yn(t),o=Pt(void 0);try{return n()}finally{Yn(i),Pt(o)}}function Qf(){return void 0!==$y()||null!=xs()}const K=11,B=27;function Oe(e){return Array.isArray(e)&&"object"==typeof e[1]}function It(e){return Array.isArray(e)&&!0===e[1]}function rv(e){return!!(4&e.flags)}function Xn(e){return e.componentOffset>-1}function co(e){return!(1&~e.flags)}function Jt(e){return!!e.template}function Cr(e){return!!(512&e[2])}function Jn(e){return!(256&~e[2])}function ot(e){for(;Array.isArray(e);)e=e[0];return e}function uo(e,n){return ot(n[e])}function qe(e,n){return ot(n[e.index])}function fo(e,n){return e.data[n]}function At(e,n){const t=n[e];return Oe(t)?t:t[0]}function eh(e){return!(128&~e[2])}function Et(e,n){return null==n?null:e[n]}function cv(e){e[17]=0}function th(e){1024&e[2]||(e[2]|=1024,eh(e)&&ho(e))}function js(e){return!!(9216&e[2]||e[24]?.dirty)}function nh(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),js(e)&&ho(e)}function ho(e){e[10].changeDetectionScheduler?.notify(0);let n=er(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,eh(n));)n=er(n)}function zl(e,n){if(Jn(e))throw new E(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function er(e){const n=e[3];return It(n)?n[3]:n}function uv(e){return e[7]??=[]}function fv(e){return e.cleanup??=[]}const W={lFrame:Iv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let oh=!1;function hv(){W.lFrame.elementDepthCount--}function sh(){return W.bindingsEnabled}function pv(){return null!==W.skipHydrationRootTNode}function mv(e){return W.skipHydrationRootTNode===e}function gv(){W.skipHydrationRootTNode=null}function x(){return W.lFrame.lView}function Z(){return W.lFrame.tView}function ct(e){return W.lFrame.contextLView=e,e[8]}function dt(e){return W.lFrame.contextLView=null,e}function q(){let e=_v();for(;null!==e&&64===e.type;)e=e.parent;return e}function _v(){return W.lFrame.currentTNode}function tr(e,n){const t=W.lFrame;t.currentTNode=e,t.isParent=n}function yv(){return W.lFrame.isParent}function vv(){W.lFrame.isParent=!1}function xv(){return oh}function Gl(e){const n=oh;return oh=e,n}function Lt(){return W.lFrame.bindingIndex++}function rr(e){const n=W.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function gk(e,n){const t=W.lFrame;t.bindingIndex=t.bindingRootIndex=e,ah(n)}function ah(e){W.lFrame.currentDirectiveIndex=e}function ch(){return W.lFrame.currentQueryIndex}function Wl(e){W.lFrame.currentQueryIndex=e}function yk(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function Cv(e,n,t){if(4&t){let i=n,o=e;for(;!(i=i.parent,null!==i||1&t||(i=yk(o),null===i||(o=o[14],10&i.type))););if(null===i)return!1;n=i,e=o}const r=W.lFrame=Sv();return r.currentTNode=n,r.lView=e,!0}function dh(e){const n=Sv(),t=e[1];W.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Sv(){const e=W.lFrame,n=null===e?null:e.child;return null===n?Iv(e):n}function Iv(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Av(){const e=W.lFrame;return W.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mv=Av;function uh(){const e=Av();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ut(){return W.lFrame.selectedIndex}function ai(e){W.lFrame.selectedIndex=e}function Pn(){const e=W.lFrame;return fo(e.tView,e.selectedIndex)}let Rv=!0;function ql(){return Rv}function Us(e){Rv=e}function Fv(e,n=null,t=null,r){const i=kv(e,n,t,r);return i.resolveInjectorInitializers(),i}function kv(e,n=null,t=null,r,i=new Set){const o=[t||ye,ZF(e)];return r=r||("object"==typeof e?void 0:Nt(e)),new ni(o,n||jl(),r||null,i)}class we{static THROW_IF_NOT_FOUND=Jr;static NULL=new Ll;static create(n,t){if(Array.isArray(n))return Fv({name:""},t,n,"");{const r=n.name??"";return Fv({name:r},n.parent,n.providers,r)}}static \u0275prov=C({token:we,providedIn:"any",factory:()=>I(Ky)});static __NG_ELEMENT_ID__=-1}const fe=new D("");let Ln=(()=>class e{static __NG_ELEMENT_ID__=wk;static __NG_ENV_ID__=t=>t})();class Ov extends Ln{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Jn(this._lView)}onDestroy(n){const t=this._lView;return zl(t,n),()=>function rh(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(t,n)}}function wk(){return new Ov(x())}class ir{_console=console;handleError(n){this._console.error("ERROR",n)}}const or=new D("",{providedIn:"root",factory:()=>{const e=_(vt);let n;return t=>{e.destroyed&&!n?setTimeout(()=>{throw t}):(n??=e.get(ir),n.handleError(t))}}}),Ck={provide:ti,useValue:()=>{_(ir)},multi:!0};function mo(e){return"function"==typeof e&&void 0!==e[rt]}function Vt(e,n){const[t,r,i]=cF(e,n?.equal),o=t;return o.set=r,o.update=i,o.asReadonly=fh.bind(o),o}function fh(){const e=this[rt];if(void 0===e.readonlyFn){const n=()=>this();n[rt]=e,e.readonlyFn=n}return e.readonlyFn}function Nv(e){return mo(e)&&"function"==typeof e.set}let Yl=(()=>class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=Ik})();function Ik(){return new Yl(x(),q())}class Sr{}const Pv=new D("",{providedIn:"root",factory:()=>!1}),Lv=new D(""),Vv=new D("");let li=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Py(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new xe(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})(),Kl=(()=>{class e{internalPendingTasks=_(li);scheduler=_(Sr);errorHandler=_(or);add(){const t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){const r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})();function $s(...e){}let Bv=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>new Ak})}return e})();class Ak{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){const r=this.queues.get(n.zone);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){const t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);const r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(const[t,r]of this.queues)n||=null===t?this.flushQueue(r):t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(const r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}}let jv=null;function Ir(){return jv}class Tk{}let Hv=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>_(Rk),providedIn:"platform"})}return e})(),Rk=(()=>{class e extends Hv{_location;_history;_doc=_(fe);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ir().getBaseHref(this._doc)}onPopState(t){const r=Ir().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Ir().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Uv(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function $v(e){const n=e.search(/#|\?|$/);return"/"===e[n-1]?e.slice(0,n-1)+e.slice(n):e}function ci(e){return e&&"?"!==e[0]?`?${e}`:e}let hh=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:()=>_(kk),providedIn:"root"})}return e})();const Fk=new D("");let kk=(()=>{class e extends hh{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??_(fe).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Uv(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+ci(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+ci(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+ci(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(I(Hv),I(Fk,8))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zv=(()=>{class e{_subject=new ee;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function Pk(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}($v(Gv(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+ci(r))}normalize(t){return e.stripTrailingSlash(function Nk(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,Gv(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ci(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+ci(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=ci;static joinWithSlash=Uv;static stripTrailingSlash=$v;static \u0275fac=function(r){return new(r||e)(I(hh))};static \u0275prov=C({token:e,factory:()=>function Ok(){return new zv(I(hh))}(),providedIn:"root"})}return e})();function Gv(e){return e.replace(/\/index.html$/,"")}function Wv(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}class qv{}const Yv="browser";function Ar(e){return e===Yv}function ft(e){return n=>{if(function fO(e){return Se(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function st(e,n,t,r,i){return new hO(e,n,t,r,i)}class hO extends Df{constructor(n,t,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Xe(e,n){return ft((t,r)=>{let i=0;t.subscribe(st(r,o=>{r.next(e.call(n,o,i++))}))})}function sr(e){return{toString:e}.toString()}class wO{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function cb(e,n,t,r){null!==n?n.applyValueToInputSignal(n,r):e[t]=r}const Bt=(()=>{const e=()=>db;return e.ngInherit=!0,e})();function db(e){return e.type.prototype.ngOnChanges&&(e.setInput=SO),CO}function CO(){const e=fb(this),n=e?.current;if(n){const t=e.previous;if(t===On)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function SO(e,n,t,r,i){const o=this.declaredInputs[r],s=fb(e)||function IO(e,n){return e[ub]=n}(e,{previous:On,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new wO(c&&c.currentValue,t,l===On),cb(e,n,i,t)}const ub="__ngSimpleChanges__";function fb(e){return e[ub]||null}const ui=[],me=function(e,n=null,t){for(let r=0;r<ui.length;r++)(0,ui[r])(e,n,t)};function hb(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function tc(e,n,t){pb(e,n,3,t)}function nc(e,n,t,r){(3&e[2])===t&&pb(e,n,t,r)}function vh(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function pb(e,n,t,r){const o=r??-1,s=n.length-1;let a=0;for(let l=void 0!==r?65535&e[17]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=r&&a>=r)break}else n[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(FO(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function mb(e,n){me(4,e,n);const t=G(null);try{n.call(e)}finally{G(t),me(5,e,n)}}function FO(e,n,t,r){const i=t[r]<0,o=t[r+1],a=e[i?-t[r]:t[r]];i?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,mb(a,o)):mb(a,o)}class Ys{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,i){this.factory=n,this.name=i,this.canSeeViewProviders=t,this.injectImpl=r}}function _b(e){return 3===e||4===e||6===e}function yb(e){return 64===e.charCodeAt(0)}function xo(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){const i=n[r];"number"==typeof i?t=i:0===t||vb(e,t,i,0,-1===t||2===t?n[++r]:null)}}return e}function vb(e,n,t,r,i){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t)return void(null!==i&&(e[o+1]=i));o++,null!==i&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==i&&e.splice(o++,0,i)}function Eh(e){return-1!==e}function Ks(e){return 32767&e}function Qs(e,n){let t=function PO(e){return e>>16}(e),r=n;for(;t>0;)r=r[14],t--;return r}let xh=!0;function rc(e){const n=xh;return xh=e,n}let LO=0;const Vn={};function ic(e,n){const t=xb(e,n);if(-1!==t)return t;const r=n[1];r.firstCreatePass&&(e.injectorIndex=n.length,Dh(r.data,e),Dh(n,null),Dh(r.blueprint,null));const i=oc(e,n),o=e.injectorIndex;if(Eh(i)){const s=Ks(i),a=Qs(i,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function Dh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function xb(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function oc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=Mb(i),null===r)return-1;if(t++,i=i[14],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function wh(e,n,t){!function VO(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Rs)&&(r=t[Rs]),null==r&&(r=t[Rs]=LO++);const i=255&r;n.data[e+(i>>5)]|=1<<i}(e,n,t)}function Db(e,n,t){if(8&t||void 0!==e)return e;Of()}function wb(e,n,t,r){if(8&t&&void 0===r&&(r=null),!(3&t)){const i=e[9],o=Pt(void 0);try{return i?i.get(n,r,8&t):zy(n,r,8&t)}finally{Pt(o)}}return Db(r,0,t)}function Cb(e,n,t,r=0,i){if(null!==e){if(2048&n[2]&&!(2&r)){const s=function $O(e,n,t,r,i){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[2]&&!Cr(s);){const a=Sb(o,s,t,2|r,Vn);if(a!==Vn)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(t,Vn,r);if(d!==Vn)return d}l=Mb(s),s=s[14]}o=l}return i}(e,n,t,r,Vn);if(s!==Vn)return s}const o=Sb(e,n,t,r,Vn);if(o!==Vn)return o}return wb(n,t,r,i)}function Sb(e,n,t,r,i){const o=function HO(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Rs)?e[Rs]:void 0;return"number"==typeof n?n>=0?255&n:UO:n}(t);if("function"==typeof o){if(!Cv(n,e,r))return 1&r?Db(i,0,r):wb(n,t,r,i);try{let s;if(s=o(r),null!=s||8&r)return s;Of()}finally{Mv()}}else if("number"==typeof o){let s=null,a=xb(e,n),l=-1,c=1&r?n[15][5]:null;for((-1===a||4&r)&&(l=-1===a?oc(e,n):n[a+8],-1!==l&&Ab(r,!1)?(s=n[1],a=Ks(l),n=Qs(l,n)):a=-1);-1!==a;){const d=n[1];if(Ib(o,a,d.data)){const u=jO(a,n,t,s,r,c);if(u!==Vn)return u}l=n[a+8],-1!==l&&Ab(r,n[1].data[a+8]===c)&&Ib(o,a,n)?(s=d,a=Ks(l),n=Qs(l,n)):a=-1}}return i}function jO(e,n,t,r,i,o){const s=n[1],a=s.data[e+8],d=sc(a,s,t,null==r?Xn(a)&&xh:r!=s&&!!(3&a.type),1&i&&o===a);return null!==d?Zs(n,s,d,a,i):Vn}function sc(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,f=i?a+d:e.directiveEnd;for(let h=r?a:a+d;h<f;h++){const p=s[h];if(h<l&&t===p||h>=l&&p.type===t)return h}if(i){const h=s[l];if(h&&Jt(h)&&h.type===t)return l}return null}function Zs(e,n,t,r,i){let o=e[t];const s=n.data;if(o instanceof Ys){const a=o;if(a.resolving)throw function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}(s[t]),kf();const l=rc(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?Pt(a.injectImpl):null;Cv(e,r,0);try{o=e[t]=a.factory(void 0,i,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&function RO(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=db(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,s[t],n)}finally{null!==u&&Pt(u),rc(l),a.resolving=!1,Mv()}}return o}function Ib(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function Ab(e,n){return!(2&e||1&e&&n)}class He{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Cb(this._tNode,this._lView,n,ks(r),t)}}function UO(){return new He(q(),x())}function k(e){return sr(()=>{const n=e.prototype.constructor,t=n[Xr]||Ch(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[Xr]||Ch(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Ch(e){return Ml(e)?()=>{const n=Ch(Q(e));return n&&n()}:ei(e)}function Mb(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function ZO(){return Do(q(),x())}function Do(e,n){return new U(qe(e,n))}let U=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=ZO})();function Ob(e){return e instanceof U?e.nativeElement:e}function XO(){return this._results[Symbol.iterator]()}class cc{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ee}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const r=function cn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function YF(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=n[r];if(t&&(i=t(i),o=t(o)),o!==i)return!1}return!0}(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=XO}function Xs(e){return!(128&~e.flags)}var dc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(dc||{});const uc=new Map;let tN=0;function Ah(e){uc.delete(e[19])}const Th="__ngContext__";function Ht(e,n){Oe(n)?(e[Th]=n[19],function rN(e){uc.set(e[19],e)}(n)):e[Th]=n}function Gb(e){return qb(e[12])}function Wb(e){return qb(e[4])}function qb(e){for(;null!==e&&!It(e);)e=e[4];return e}let Rh;function Tr(){if(void 0!==Rh)return Rh;if(typeof document<"u")return document;throw new E(210,!1)}const wo=new D("",{providedIn:"root",factory:()=>CN}),CN="ng",eE=new D(""),fn=new D("",{providedIn:"platform",factory:()=>"unknown"}),hc=new D(""),Fh=new D("",{providedIn:"root",factory:()=>Tr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),kN=new D("",{providedIn:"root",factory:()=>!1});function _c(e){return!(32&~e.flags)}function CE(e,n){const t=e.contentQueries;if(null!==t){const r=G(null);try{for(let i=0;i<t.length;i+=2){const s=t[i+1];if(-1!==s){const a=e.data[s];Wl(t[i]),a.contentQueries(2,n[s],s)}}}finally{G(r)}}}function Qh(e,n,t){Wl(0);const r=G(null);try{n(e,t)}finally{G(r)}}function Zh(e,n,t){if(rv(n)){const r=G(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{G(r)}}}var ar=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ar||{});let wc,Cc;function Mo(e){return function ME(){if(void 0===wc&&(wc=null,Be.trustedTypes))try{wc=Be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return wc}()?.createHTML(e)||e}function TE(e){return function ep(){if(void 0===Cc&&(Cc=null,Be.trustedTypes))try{Cc=Be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cc}()?.createHTML(e)||e}class hi{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vy})`}}class uP extends hi{getTypeName(){return"HTML"}}class fP extends hi{getTypeName(){return"Style"}}class hP extends hi{getTypeName(){return"Script"}}class pP extends hi{getTypeName(){return"URL"}}class mP extends hi{getTypeName(){return"ResourceURL"}}function en(e){return e instanceof hi?e.changingThisBreaksApplicationSecurity:e}function Bn(e,n){const t=function gP(e){return e instanceof hi&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Vy})`)}return t===n}class xP{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Mo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class DP{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Mo(n),t}}const CP=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Sc(e){return(e=String(e)).match(CP)?e:"unsafe:"+e}function lr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function na(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const OE=lr("area,br,col,hr,img,wbr"),NE=lr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),PE=lr("rp,rt"),tp=na(OE,na(NE,lr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),na(PE,lr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),na(PE,NE)),np=lr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),LE=na(np,lr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),SP=lr("script,style,template");class IP{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,i=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)i.push(t),t=TP(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=MP(t);if(o){t=o;break}t=i.pop()}return this.buf.join("")}startElement(n){const t=VE(n).toLowerCase();if(!tp.hasOwnProperty(t))return this.sanitizedSomething=!0,!SP.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!LE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;np[a]&&(l=Sc(l)),this.buf.push(" ",s,'="',jE(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=VE(n).toLowerCase();tp.hasOwnProperty(t)&&!OE.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(jE(n))}}function MP(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw BE(n);return n}function TP(e){const n=e.firstChild;if(n&&function AP(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw BE(n);return n}function VE(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function BE(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const RP=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,FP=/([^\#-~ |!])/g;function jE(e){return e.replace(/&/g,"&amp;").replace(RP,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(FP,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ic;function HE(e,n){let t=null;try{Ic=Ic||function kE(e){const n=new DP(e);return function wP(){try{return!!(new window.DOMParser).parseFromString(Mo(""),"text/html")}catch{return!1}}()?new xP(n):n}(e);let r=n?String(n):"";t=Ic.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=Ic.getInertBodyElement(r)}while(r!==o);return Mo((new IP).sanitizeChildren(rp(t)||t))}finally{if(t){const r=rp(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function rp(e){return"content"in e&&function kP(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const OP=/^>|^->|<!--|-->|--!>|<!-$/g,NP=/(<|>)/g;function op(e,n){return e.createComment(function UE(e){return e.replace(OP,n=>n.replace(NP,"\u200b$1\u200b"))}(n))}function Ac(e,n,t){return e.createElement(n,t)}function pi(e,n,t,r,i){e.insertBefore(n,t,r,i)}function zE(e,n,t){e.appendChild(n,t)}function GE(e,n,t,r,i){null!==r?pi(e,n,t,r,i):zE(e,n,t)}function qE(e,n,t){const{mergedAttrs:r,classes:i,styles:o}=t;null!==r&&function NO(e,n,t){let r=0;for(;r<t.length;){const i=t[r];if("number"==typeof i){if(0!==i)break;r++;const o=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,o)}else{const o=i,s=t[++r];yb(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),r++}}}(e,n,r),null!==i&&function VP(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}(e,n,i),null!==o&&function LP(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}var at=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(at||{});function sp(e){const n=ia();return n?TE(n.sanitize(at.HTML,e)||""):Bn(e,"HTML")?TE(en(e)):HE(Tr(),Y(e))}function Mc(e){const n=ia();return n?n.sanitize(at.URL,e)||"":Bn(e,"URL")?en(e):Sc(Y(e))}function ia(){const e=x();return e&&e[10].sanitizer}function n1(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}const JE="ng-template";function r1(e,n,t,r){let i=0;if(r){for(;i<n.length&&"string"==typeof n[i];i+=2)if("class"===n[i]&&-1!==n1(n[i+1].toLowerCase(),t,0))return!0}else if(ap(e))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&"string"==typeof(o=n[i]);)if(o.toLowerCase()===t)return!0}return!1}function ap(e){return 4===e.type&&e.value!==JE}function i1(e,n,t){return n===(4!==e.type||t?e.value:JE)}function o1(e,n,t){let r=4;const i=e.attrs,o=null!==i?function l1(e){for(let n=0;n<e.length;n++)if(_b(e[n]))return n;return e.length}(i):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!i1(e,l,t)||""===l&&1===n.length){if(Dn(r))return!1;s=!0}}else if(8&r){if(null===i||!r1(e,i,l,t)){if(Dn(r))return!1;s=!0}}else{const c=n[++a],d=s1(l,i,ap(e),t);if(-1===d){if(Dn(r))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":i[d+1].toLowerCase(),2&r&&c!==u){if(Dn(r))return!1;s=!0}}}}else{if(!s&&!Dn(r)&&!Dn(l))return!1;if(s&&Dn(l))continue;s=!1,r=l|1&r}}return Dn(r)||s}function Dn(e){return!(1&e)}function s1(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i<n.length;){const s=n[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++i];for(;"string"==typeof a;)a=n[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function c1(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const r=e[t];if("number"==typeof r)return-1;if(r===n)return t;t++}return-1}(n,e)}function ex(e,n,t=!1){for(let r=0;r<n.length;r++)if(o1(e,n[r],t))return!0;return!1}function d1(e,n){e:for(let t=0;t<n.length;t++){const r=n[t];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function tx(e,n){return e?":not("+n.trim()+")":n}function u1(e){let n=e[0],t=1,r=2,i="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&r){const a=e[++t];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!Dn(s)&&(n+=tx(o,i),i=""),r=s,o=o||!Dn(r);t++}return""!==i&&(n+=tx(o,i)),n}const he={};function lp(e,n,t,r,i,o,s,a,l,c,d){const u=B+r,f=u+i,h=function p1(e,n){const t=[];for(let r=0;r<n;r++)t.push(r<e?null:he);return t}(u,f),p="function"==typeof c?c():c;return h[1]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:d}}function Rc(e,n,t,r,i,o,s,a,l,c,d){const u=n.blueprint.slice();return u[0]=i,u[2]=1228|r,(null!==c||e&&2048&e[2])&&(u[2]|=2048),cv(u),u[3]=u[14]=e,u[8]=t,u[10]=s||e&&e[10],u[K]=a||e&&e[K],u[9]=l||e&&e[9]||null,u[5]=o,u[19]=function nN(){return tN++}(),u[6]=d,u[20]=c,u[15]=2==n.type?e[15]:u,u}function cp(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function oa(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o<t;o++)n.push(r),e.blueprint.push(r),e.data.push(null);return i}function dp(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function R(e=1){rx(Z(),x(),ut()+e,!1)}function rx(e,n,t,r){if(!r)if(3&~n[2]){const o=e.preOrderHooks;null!==o&&nc(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&tc(n,o,t)}ai(t)}var Fc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Fc||{});function sa(e,n,t,r){const i=G(null);try{const[o,s,a]=e.inputs[t];let l=null;0!==(s&Fc.SignalBased)&&(l=n[o][rt]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(n,r)),null!==e.setInput?e.setInput(n,l,r,t,o):cb(n,l,o,r)}finally{G(i)}}var Fr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Fr||{});function fp(e,n){return undefined(e,n)}const mi=new Set;var hp=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(hp||{});const Fo=new D(""),ax=new Set;function xt(e){ax.has(e)||(ax.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const lx=!1,ge=class E1 extends ee{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Qf()&&(this.destroyRef=_(Ln,{optional:!0})??void 0,this.pendingTasks=_(li,{optional:!0})??void 0)}emit(n){const t=G(null);try{super.next(n)}finally{G(t)}}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof Fe&&n.add(a),a}wrapInTimeout(n){return t=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function cx(e){let n,t;function r(){e=$s;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function dx(e){return queueMicrotask(()=>e()),()=>{e=$s}}const pp="isAngularZone",Oc=pp+"_ID";let x1=0;class N{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ge(!1);onMicrotaskEmpty=new ge(!1);onStable=new ge(!1);onError=new ge(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=lx}=n;if(typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function C1(e){const n=()=>{!function w1(e){function n(){cx(()=>{e.callbackScheduled=!1,gp(e),e.isCheckStableRunning=!0,mp(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),gp(e))}(e)},t=x1++;e._inner=e._inner.fork({name:"angular",properties:{[pp]:!0,[Oc]:t,[Oc+t]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(function S1(e){return hx(e,"__ignore_ng_zone__")}(l))return r.invokeTask(o,s,a,l);try{return ux(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),fx(e)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return ux(e),r.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function I1(e){return hx(e,"__scheduler_tick__")}(l)&&n(),fx(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,gp(e),mp(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(pp)}static assertInAngularZone(){if(!N.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(N.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,D1,$s,$s);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const D1={};function mp(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function gp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function ux(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fx(e){e._nesting--,mp(e)}class _p{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ge;onMicrotaskEmpty=new ge;onStable=new ge;onError=new ge;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}function hx(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}let yp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})();const px=[0,1,2,3];let mx=(()=>{class e{ngZone=_(N);scheduler=_(Sr);errorHandler=_(ir,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){_(Fo,{optional:!0})}execute(){const t=this.sequences.size>0;t&&me(16),this.executing=!0;for(const r of px)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[r])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,i.hooks[r])(i.pipelinedValue),i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&me(17)}register(t){const{view:r}=t;void 0!==r?((r[25]??=[]).push(t),ho(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(hp.AFTER_NEXT_RENDER,t):t()}static \u0275prov=C({token:e,providedIn:"root",factory:()=>new e})}return e})();class gx{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,i,o,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[25];n&&(this.view[25]=n.filter(t=>t!==this))}}function ko(e,n){const t=n?.injector??_(we);return xt("NgAfterNextRender"),function _x(e,n,t,r){const i=n.get(yp);i.impl??=n.get(mx);const o=n.get(Fo,null,{optional:!0}),s=!0!==t?.manualCleanup?n.get(Ln):null,a=n.get(Yl,null,{optional:!0}),l=new gx(i.impl,function T1(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,r,s,o?.snapshot(null));return i.impl.register(l),l}(e,t,n,!0)}const Nc=new D("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function yx(e,n,t){const r=e.get(Nc);if(Array.isArray(n))for(const i of n)r.queue.add(i),t?.detachedLeaveAnimationFns?.push(i);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function vx(e,n,t,r){const i=e?.[26]?.enter;null!==n&&i&&i.has(t.index)&&function vp(e,n){for(const[t,r]of n)yx(e,r.animateFns)}(r,i)}function Oo(e,n,t,r,i,o,s,a){if(null!=i){let l,c=!1;It(i)?l=i:Oe(i)&&(c=!0,i=i[0]);const d=ot(i);0===e&&null!==r?(vx(a,r,o,t),null==s?zE(n,r,d):pi(n,r,d,s||null,!0)):1===e&&null!==r?(vx(a,r,o,t),pi(n,r,d,s||null,!0)):2===e?xx(a,o,t,u=>{!function ra(e,n,t,r){e.removeChild(null,n,t,r)}(n,d,c,u)}):3===e&&xx(a,o,t,()=>{n.destroyNode(d)}),null!=l&&function B1(e,n,t,r,i,o,s){const a=r[7];a!==ot(r)&&Oo(n,e,t,o,a,i,s);for(let c=10;c<r.length;c++){const d=r[c];Vc(d[1],d,e,n,o,a)}}(n,e,t,l,o,r,s)}}function Ex(e,n){n[10].changeDetectionScheduler?.notify(9),Vc(e,n,n[K],2,null,null)}function bp(e,n){const t=e[9],r=t.indexOf(n);t.splice(r,1)}function aa(e,n){if(Jn(n))return;const t=n[K];t.destroyNode&&Vc(e,n,t,3,null,null),function O1(e){let n=e[12];if(!n)return Ep(e[1],e);for(;n;){let t=null;if(Oe(n))t=n[12];else{const r=n[10];r&&(t=r)}if(!t){for(;n&&!n[4]&&n!==e;)Oe(n)&&Ep(n[1],n),n=n[3];null===n&&(n=e),Oe(n)&&Ep(n[1],n),t=n&&n[4]}n=t}}(n)}function Ep(e,n){if(Jn(n))return;const t=G(null);try{n[2]&=-129,n[2]|=256,n[24]&&Ss(n[24]),function L1(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r<t.length;r+=2){const i=n[t[r]];if(!(i instanceof Ys)){const o=t[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];me(4,a,l);try{l.call(a)}finally{me(5,a,l)}}else{me(4,i,o);try{o.call(i)}finally{me(5,i,o)}}}}}(e,n),function P1(e,n){const t=e.cleanup,r=n[7];if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else t[s].call(r[t[s+1]]);null!==r&&(n[7]=null);const i=n[21];if(null!==i){n[21]=null;for(let s=0;s<i.length;s++)(0,i[s])()}const o=n[23];if(null!==o){n[23]=null;for(const s of o)s.destroy()}}(e,n),1===n[1].type&&n[K].destroy();const r=n[16];if(null!==r&&It(n[3])){r!==n[3]&&bp(r,n);const i=n[18];null!==i&&i.detachView(e)}Ah(n)}finally{G(t)}}function xx(e,n,t,r){const i=e?.[26];if(null==i||null==i.leave||!i.leave.has(n.index))return r(!1);e&&mi.add(e),yx(t,()=>{if(i.leave&&i.leave.has(n.index)){const s=i.leave.get(n.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){const c=s.animateFns[l],{promise:d}=c();a.push(d)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(a),function N1(e,n){const t=e[26]?.running;t?t.then(()=>{e[26].running=void 0,mi.delete(e),n(!0)}):n(!1)}(e,r)}else e&&mi.delete(e),r(!1)},i)}function xp(e,n,t){return function Dx(e,n,t){let r=n;for(;null!==r&&168&r.type;)r=(n=r).parent;if(null===r)return t[0];if(Xn(r)){const{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===ar.None||i===ar.Emulated)return null}return qe(r,t)}(e,n.parent,t)}function wx(e,n,t){return Sx(e,n,t)}let Sx=function Cx(e,n,t){return 40&e.type?qe(e,t):null};function wp(e,n,t,r){const i=xp(e,r,n),o=n[K],a=wx(r.parent||n[5],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;l<t.length;l++)GE(o,i,t[l],a,!1);else GE(o,i,t,a,!1)}function gi(e,n){if(null!==n){const t=n.type;if(3&t)return qe(n,e);if(4&t)return Lc(-1,e[n.index]);if(8&t){const r=n.child;if(null!==r)return gi(e,r);{const i=e[n.index];return It(i)?Lc(-1,i):ot(i)}}if(128&t)return gi(e,n.next);if(32&t)return fp(n,e)()||ot(e[n.index]);{const r=Ax(e,n);return null!==r?Array.isArray(r)?r[0]:gi(er(e[15]),r):gi(e,n.next)}}return null}function Ax(e,n){return null!==n?e[15][5].projection[n.projection]:null}function Lc(e,n){const t=10+e+1;if(t<n.length){const r=n[t],i=r[1].firstChild;if(null!==i)return gi(r,i)}return n[7]}function Cp(e,n,t,r,i,o,s){for(;null!=t;){const a=r[9];if(128===t.type){t=t.next;continue}const l=r[t.index],c=t.type;if(s&&0===n&&(l&&Ht(ot(l),r),t.flags|=2),!_c(t))if(8&c)Cp(e,n,t.child,r,i,o,!1),Oo(n,e,a,i,l,t,o,r);else if(32&c){const d=fp(t,r);let u;for(;u=d();)Oo(n,e,a,i,u,t,o,r);Oo(n,e,a,i,l,t,o,r)}else 16&c?Mx(e,n,r,t,i,o):Oo(n,e,a,i,l,t,o,r);t=s?t.projectionNext:t.next}}function Vc(e,n,t,r,i,o){Cp(t,r,e.firstChild,n,i,o,!1)}function Mx(e,n,t,r,i,o){const s=t[15],l=s[5].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)Oo(n,e,t[9],i,l[c],r,o,t);else{let c=l;const d=s[3];Xs(r)&&(c.flags|=128),Cp(e,n,c,d,i,o,!0)}}function Tx(e,n,t,r,i){const o=ut(),s=2&r;try{ai(-1),s&&n.length>B&&rx(e,n,B,!1),me(s?2:0,i,t),t(r,i)}finally{ai(o),me(s?3:1,i,t)}}function Bc(e,n,t){(function G1(e,n,t){const r=t.directiveStart,i=t.directiveEnd;Xn(t)&&function m1(e,n,t){const r=qe(n,e),i=function nx(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=lp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}(t),o=e[10].rendererFactory,s=dp(e,Rc(e,i,null,cp(t),r,n,null,o.createRenderer(r,t),null,null,null));e[n.index]=s}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||ic(t,n);const o=t.initialInputs;for(let s=r;s<i;s++){const a=e.data[s],l=Zs(n,e,s,t);Ht(l,n),null!==o&&K1(0,s-r,l,a,0,o),Jt(a)&&(At(t.index,n)[8]=Zs(n,e,s,t))}})(e,n,t),!(64&~t.flags)&&function W1(e,n,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,s=function _k(){return W.lFrame.currentDirectiveIndex}();try{ai(o);for(let a=r;a<i;a++){const l=e.data[a],c=n[a];ah(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&q1(l,c)}}finally{ai(-1),ah(s)}}(e,n,t)}function No(e,n,t=qe){const r=n.localNames;if(null!==r){let i=n.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?t(n,e):e[s];e[i++]=a}}}let Rx=()=>null;function Sp(e,n,t,r,i,o){$c(e,n[1],n,t,r)?Xn(e)&&function Fx(e,n){const t=At(n,e);16&t[2]||(t[2]|=64)}(n,e.index):(3&e.type&&(t=function z1(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(t)),Ip(e,n,t,r,i,o))}function Ip(e,n,t,r,i,o){if(3&e.type){const s=qe(e,n);r=null!=o?o(r,e.value||"",t):r,i.setProperty(s,t,r)}}function q1(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Ap(e,n){const t=e.directiveRegistry;let r=null;if(t)for(let i=0;i<t.length;i++){const o=t[i];ex(n,o.selectors,!1)&&(r??=[],Jt(o)?r.unshift(o):r.push(o))}return r}function K1(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;a+=2)sa(r,t,s[a],s[a+1])}function Hc(e,n,t,r,i){const o=B+t,s=n[1],a=i(s,n,e,r,t);n[o]=a,tr(e,!0);const l=2===e.type;return l?(qE(n[K],a,e),(0===function uk(){return W.lFrame.elementDepthCount}()||co(e))&&Ht(a,n),function fk(){W.lFrame.elementDepthCount++}()):Ht(a,n),ql()&&(!l||!_c(e))&&wp(s,n,a,e),e}function Uc(e){let n=e;return yv()?vv():(n=n.parent,tr(n,!1)),n}function $c(e,n,t,r,i){const o=e.inputs?.[r],s=e.hostDirectiveInputs?.[r];let a=!1;if(s)for(let l=0;l<s.length;l+=2){const c=s[l];sa(n.data[c],t[c],s[l+1],i),a=!0}if(o)for(const l of o)sa(n.data[l],t[l],r,i),a=!0;return a}function Z1(e,n){const t=At(n,e),r=t[1];!function X1(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(r,t);const i=t[0];null!==i&&null===t[6]&&(t[6]=null),me(18),zc(r,t,t[8]),me(19,t[8])}function zc(e,n,t){dh(n);try{const r=e.viewQuery;null!==r&&Qh(1,r,t);const i=e.template;null!==i&&Tx(e,n,i,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[18]?.finishViewCreation(e),e.staticContentQueries&&CE(e,n),e.staticViewQueries&&Qh(2,e.viewQuery,t);const o=e.components;null!==o&&function J1(e,n){for(let t=0;t<n.length;t++)Z1(e,n[t])}(n,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[2]&=-5,uh()}}function Po(e,n,t,r){const i=G(null);try{const o=n.tView,l=Rc(e,o,t,4096&e[2]?4096:16,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[16]=e[n.index];const d=e[18];return null!==d&&(l[18]=d.createEmbeddedView(o)),zc(o,l,t),l}finally{G(i)}}function _i(e,n){return!n||null===n.firstChild||Xs(e)}function la(e,n,t,r,i=!1){for(;null!==t;){if(128===t.type){t=i?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&r.push(ot(o)),It(o)&&eL(o,r);const s=t.type;if(8&s)la(e,n,t.child,r);else if(32&s){const a=fp(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Ax(n,t);if(Array.isArray(a))r.push(...a);else{const l=er(n[15]);la(l[1],l,a,r,!0)}}t=i?t.projectionNext:t.next}return r}function eL(e,n){for(let t=10;t<e.length;t++){const r=e[t],i=r[1].firstChild;null!==i&&la(r[1],r,i,n)}e[7]!==e[0]&&n.push(e[7])}function Nx(e){if(null!==e[25]){for(const n of e[25])n.impl.addSequence(n);e[25].length=0}}let Px=[];const iL={...Xi,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ho(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},sL={...Xi,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=er(e.lView);for(;n&&!Lx(n[1]);)n=er(n);n&&th(n)},consumerOnSignalRead(){this.lView[24]=this}};function Lx(e){return 2!==e.type}function Vx(e){if(null===e[23])return;let n=!0;for(;n;){let t=!1;for(const r of e[23])r.dirty&&(t=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(8192&e[2])}}function Gc(e,n=0){const r=e[10].rendererFactory;r.begin?.();try{!function lL(e,n){const t=xv();try{Gl(!0),Tp(e,n);let r=0;for(;js(e);){if(100===r)throw new E(103,!1);r++,Tp(e,1)}}finally{Gl(t)}}(e,n)}finally{r.end?.()}}function Bx(e,n,t,r){if(Jn(n))return;const i=n[2];dh(n);let a=!0,l=null,c=null;Lx(e)?(c=function tL(e){return e[24]??function nL(e){const n=Px.pop()??Object.create(iL);return n.lView=e,n}(e)}(n),l=Ji(c)):null===function mf(){return _t}()?(a=!1,c=function oL(e){const n=e[24]??Object.create(sL);return n.lView=e,n}(n),l=Ji(c)):n[24]&&(Ss(n[24]),n[24]=null);try{cv(n),function Dv(e){return W.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Tx(e,n,t,2,r);const d=!(3&~i);if(d){const h=e.preOrderCheckHooks;null!==h&&tc(n,h,null)}else{const h=e.preOrderHooks;null!==h&&nc(n,h,0,null),vh(n,0)}if(function cL(e){for(let n=Gb(e);null!==n;n=Wb(n)){if(!(2&n[2]))continue;const t=n[9];for(let r=0;r<t.length;r++)th(t[r])}}(n),Vx(n),jx(n,0),null!==e.contentQueries&&CE(e,n),d){const h=e.contentCheckHooks;null!==h&&tc(n,h)}else{const h=e.contentHooks;null!==h&&nc(n,h,1),vh(n,1)}!function uL(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)ai(~i);else{const o=i,s=t[++r],a=t[++r];gk(s,o);const l=n[o];me(24,l),a(2,l),me(25,l)}}}finally{ai(-1)}}(e,n);const u=e.components;null!==u&&Ux(n,u,0);const f=e.viewQuery;if(null!==f&&Qh(2,f,r),d){const h=e.viewCheckHooks;null!==h&&tc(n,h)}else{const h=e.viewHooks;null!==h&&nc(n,h,2),vh(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const h of n[22])h();n[22]=null}Nx(n),n[2]&=-73}catch(d){throw ho(n),d}finally{null!==c&&(Cs(c,l),a&&function rL(e){e.lView[24]!==e&&(e.lView=null,Px.push(e))}(c)),uh()}}function jx(e,n){for(let t=Gb(e);null!==t;t=Wb(t))for(let r=10;r<t.length;r++)Hx(t[r],n)}function dL(e,n,t){me(18);const r=At(n,e);Hx(r,t),me(19,r[8])}function Hx(e,n){eh(e)&&Tp(e,n)}function Tp(e,n){const r=e[1],i=e[2],o=e[24];let s=!!(0===n&&16&i);if(s||=!!(64&i&&0===n),s||=!!(1024&i),s||=!(!o?.dirty||!Dl(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)Bx(r,e,r.template,e[8]);else if(8192&i){const a=G(null);try{Vx(e),jx(e,1);const l=r.components;null!==l&&Ux(e,l,1),Nx(e)}finally{G(a)}}}function Ux(e,n,t){for(let r=0;r<n.length;r++)dL(e,n[r],t)}function Lo(e,n){const t=xv()?64:1088;for(e[10].changeDetectionScheduler?.notify(n);e;){e[2]|=t;const r=er(e);if(Cr(e)&&!r)return e;e=r}return null}function $x(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Vo(e,n,t,r=!0){const i=n[1];if(function fL(e,n,t,r){const i=10+r,o=t.length;r>0&&(t[i-1][4]=n),r<o-10?(n[4]=t[i],Wy(t,10+r,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[16];null!==s&&t!==s&&Gx(s,n);const a=n[18];null!==a&&a.insertView(e),nh(n),n[2]|=128}(i,n,e,t),r){const s=Lc(t,e),a=n[K],l=a.parentNode(e[7]);null!==l&&function k1(e,n,t,r,i,o){r[0]=i,r[5]=n,Vc(e,r,t,1,i,o)}(i,e[5],a,n,l,s)}const o=n[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function ca(e,n){if(e.length<=10)return;const t=10+n,r=e[t];if(r){const i=r[16];null!==i&&i!==e&&bp(i,r),n>0&&(e[t-1][4]=r[4]);const o=Ol(e,10+n);!function bx(e,n){Ex(e,n),n[0]=null,n[5]=null}(r[1],r);const s=o[18];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Gx(e,n){const t=e[9],r=n[3];(Oe(r)||n[15]!==r[3][15])&&(e[2]|=2),null===t?e[9]=[n]:t.push(n)}class da{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const n=this._lView,t=n[1];return la(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return Jn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(It(n)){const t=n[8],r=t?t.indexOf(this):-1;r>-1&&(ca(n,r),Ol(t,r))}this._attachedToViewContainer=!1}aa(this._lView[1],this._lView)}onDestroy(n){zl(this._lView,n)}markForCheck(){Lo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){nh(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Gc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=Cr(this._lView),t=this._lView[16];null!==t&&!n&&bp(t,this._lView),Ex(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;const t=Cr(this._lView),r=this._lView[16];null!==r&&!t&&Gx(r,this._lView),nh(this._lView)}}let Hn=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=mL;constructor(t,r,i){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,i){const o=Po(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:i});return new da(o)}})();function mL(){return Wc(q(),x())}function Wc(e,n){return 4&e.type?new Hn(n,e,Do(e,n)):null}function yi(e,n,t,r,i){let o=e.data[n];if(null===o)o=function Np(e,n,t,r,i){const o=_v(),s=yv(),l=e.data[n]=function wL(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return pv()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return function DL(e,n,t,r){null===e.firstChild&&(e.firstChild=n),null!==t&&(r?null==t.child&&null!==n.parent&&(t.child=n):null===t.next&&(t.next=n,n.prev=t))}(e,l,o,s),l}(e,n,t,r,i),function mk(){return W.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Hs(){const e=W.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return tr(o,!0),o}let sV=class{},gD=class{};class aV{resolveComponentFactory(n){throw new E(917,!1)}}let jo=class{static NULL=new aV};class Un{}let tn=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function lV(){const e=x(),t=At(q().index,e);return(Oe(t)?t:e)[K]}()})(),cV=(()=>{class e{static \u0275prov=C({token:e,providedIn:"root",factory:()=>null})}return e})();const $p={};class Uo{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){const i=this.injector.get(n,$p,r);return i!==$p||t===$p?i:this.parentInjector.get(n,t,r)}}function td(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?i=If(i,a):2==o&&(r=If(r,a+": "+n[++s]+";"))}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=i:e.classesWithoutHost=i}function g(e,n=0){const t=x();return null===t?I(e,n):Cb(q(),t,Q(e),n)}function yD(e,n,t,r,i){const o=null===r?null:{"":-1},s=i(e,t);if(null!==s){let a=s,l=null,c=null;for(const d of s)if(null!==d.resolveHostDirectives){[a,l,c]=d.resolveHostDirectives(s);break}!function gV(e,n,t,r,i,o,s){const a=r.length;let l=!1;for(let f=0;f<a;f++){const h=r[f];!l&&Jt(h)&&(l=!0,mV(e,t,f)),wh(ic(t,n),e,h.type)}!function xV(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,a);for(let f=0;f<a;f++){const h=r[f];h.providersResolver&&h.providersResolver(h)}let c=!1,d=!1,u=oa(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){const h=r[f];if(t.mergedAttrs=xo(t.mergedAttrs,h.hostAttrs),yV(e,t,n,u,h),EV(u,h,i),null!==s&&s.has(h)){const[m,v]=s.get(h);t.directiveToIndex.set(h.type,[u,m+t.directiveStart,v+t.directiveStart])}else(null===o||!o.has(h))&&t.directiveToIndex.set(h.type,u);null!==h.contentQueries&&(t.flags|=4),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(t.flags|=64);const p=h.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),c=!0),!d&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),d=!0),u++}!function _V(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){const i=e.data[r];if(null!==t&&t.has(i)){const o=t.get(i);bD(0,n,o,r),bD(1,n,o,r),xD(n,r,!0)}else vD(0,n,i,r),vD(1,n,i,r),xD(n,r,!1)}}(e,t,o)}(e,n,t,a,o,l,c)}null!==o&&null!==r&&function pV(e,n,t){const r=e.localNames=[];for(let i=0;i<n.length;i+=2){const o=t[n[i+1]];if(null==o)throw new E(-301,!1);r.push(n[i],o)}}(t,r,o)}function mV(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function vD(e,n,t,r){const i=0===e?t.inputs:t.outputs;for(const o in i)if(i.hasOwnProperty(o)){let s;s=0===e?n.inputs??={}:n.outputs??={},s[o]??=[],s[o].push(r),ED(n,o)}}function bD(e,n,t,r){const i=0===e?t.inputs:t.outputs;for(const o in i)if(i.hasOwnProperty(o)){const s=i[o];let a;a=0===e?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),ED(n,s)}}function ED(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function xD(e,n,t){const{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(null===r||!t&&null===i||t&&null===o||ap(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<r.length;){const l=r[a];if(0!==l)if(5!==l){if("number"==typeof l)break;if(!t&&i.hasOwnProperty(l)){const c=i[l];for(const d of c)if(d===n){s??=[],s.push(l,r[a+1]);break}}else if(t&&o.hasOwnProperty(l)){const c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],r[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function yV(e,n,t,r,i){e.data[r]=i;const o=i.factory||(i.factory=ei(i.type)),s=new Ys(o,Jt(i),g,null);e.blueprint[r]=s,t[r]=s,function vV(e,n,t,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function bV(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,oa(e,t,i.hostVars,he),i)}function EV(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Jt(n)&&(t[""]=e)}}function zp(e,n,t,r,i,o,s,a){const l=n[1],c=l.consts,u=yi(l,e,t,r,Et(c,s));return o&&yD(l,n,u,Et(c,a),i),u.mergedAttrs=xo(u.mergedAttrs,u.attrs),null!==u.attrs&&td(u,u.attrs,!1),null!==u.mergedAttrs&&td(u,u.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,u),u}function Gp(e,n){hb(e,n),rv(n)&&e.queries.elementEnd(n)}function nd(e){return!!function Wp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ie(e,n,t){return t!==he&&(!Object.is(e[n],t)&&(e[n]=t,!0))}function Ea(e,n,t){return function r(i){Lo(Xn(e)?At(e.index,n):n,5);const s=n[8];let a=wD(n,s,t,i),l=r.__ngNextListenerFn__;for(;l;)a=wD(n,s,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function wD(e,n,t,r){const i=G(null);try{return me(6,n,t),!1!==t(r)}catch(o){return function Mp(e,n){const t=e[9];if(!t)return;let r;try{r=t.get(or,null)}catch{r=null}r?.(n)}(e,o),!1}finally{me(7,n,t),G(i)}}function SD(e,n,t,r,i,o,s){const a=n.firstCreatePass?fv(n):null,l=uv(t),c=l.length;l.push(i,o),a&&a.push(r,e,c,(c+1)*(s?-1:1))}function id(e,n,t,r,i,o){const a=n[1],u=n[t][a.data[t].outputs[r]].subscribe(o);SD(e.index,a,n,i,o,u,!0)}const Or=Symbol("BINDING");class ID extends jo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=ce(n);return new od(t,this.ngModule)}}class od extends gD{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function NV(e){return Object.keys(e).map(n=>{const[t,r,i]=e[n],o={propName:t,templateName:n,isSignal:0!==(r&Fc.SignalBased)};return i&&(o.transform=i),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function PV(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function f1(e){return e.map(u1).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,i,o,s){me(22);const a=G(null);try{const l=this.componentDef,c=function HV(e,n,t,r){const i=e?["ng-version","20.3.15"]:function h1(e){const n=[],t=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&n.push(o,e[++r]):8===i&&t.push(o);else{if(!Dn(i))break;i=o}r++}return t.length&&n.push(1,...t),n}(n.selectors[0]);let o=null,s=null,a=0;if(t)for(const d of t)a+=d[Or].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(r)for(let d=0;d<r.length;d++){const u=r[d];if("function"!=typeof u)for(const f of u.bindings){a+=f[Or].requiredVars;const h=d+1;f.create&&(f.targetIdx=h,(o??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}const l=[n];if(r)for(const d of r){const f=St("function"==typeof d?d:d.type);l.push(f)}return lp(0,null,function UV(e,n){return e||n?t=>{if(1&t&&e)for(const r of e)r.create();if(2&t&&n)for(const r of n)r.update()}:null}(o,s),1,a,l,null,null,null,[i],null)}(r,l,s,o),d=function LV(e,n,t){let r=n instanceof vt?n:n?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Uo(t,r):t}(l,i||this.ngModule,n),u=function VV(e){const n=e.get(Un,null);if(null===n)throw new E(407,!1);return{rendererFactory:n,sanitizer:e.get(cV,null),changeDetectionScheduler:e.get(Sr,null),ngReflect:!1}}(d),f=u.rendererFactory.createRenderer(null,l),h=r?function H1(e,n,t,r){const o=r.get(kN,!1)||t===ar.ShadowDom,s=e.selectRootElement(n,o);return function U1(e){Rx(e)}(s),s}(f,r,l.encapsulation,d):function BV(e,n){const t=function jV(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return Ac(n,t,"svg"===t?"svg":"math"===t?"math":null)}(l,f),p=s?.some(AD)||o?.some(y=>"function"!=typeof y&&y.bindings.some(AD)),m=Rc(null,c,null,512|cp(l),null,null,u,f,d,null,null);m[B]=h,dh(m);let v=null;try{const y=zp(B,m,2,"#host",()=>c.directiveRegistry,!0,0);qE(f,h,y),Ht(h,m),Bc(c,m,y),Zh(c,y,m),Gp(c,y),void 0!==t&&function zV(e,n,t){const r=e.projection=[];for(let i=0;i<n.length;i++){const o=t[i];r.push(null!=o&&o.length?Array.from(o):null)}}(y,this.ngContentSelectors,t),v=At(y.index,m),m[8]=v[8],zc(c,m,null)}catch(y){throw null!==v&&Ah(v),Ah(m),y}finally{me(23),uh()}return new $V(this.componentType,m,!!p)}finally{G(a)}}}function AD(e){const n=e[Or].kind;return"input"===n||"twoWay"===n}class $V extends sV{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=fo(t[1],B),this.location=Do(this._tNode,t),this.instance=At(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new da(t,void 0),this.componentType=n}setInput(n,t){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const i=this._rootLView;$c(r,i[1],i,n,t),this.previousInputValues.set(n,t),Lo(At(r.index,i),1)}get injector(){return new He(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let wn=(()=>class e{static __NG_ELEMENT_ID__=GV})();function GV(){return RD(q(),x())}const WV=wn,MD=class extends WV{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Do(this._hostTNode,this._hostLView)}get injector(){return new He(this._hostTNode,this._hostLView)}get parentInjector(){const n=oc(this._hostTNode,this._hostLView);if(Eh(n)){const t=Qs(n,this._hostLView),r=Ks(n);return new He(t[1].data[r+8],t)}return new He(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=TD(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,_i(this._hostTNode,null)),a}createComponent(n,t,r,i,o,s,a){const l=n&&!function qs(e){return"function"==typeof e}(n);let c;if(l)c=t;else{const v=t||{};c=v.index,r=v.injector,i=v.projectableNodes,o=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}const d=l?n:new od(ce(n)),u=r||this.parentInjector;if(!o&&null==d.ngModule){const y=(l?u:this.parentInjector).get(vt,null);y&&(o=y)}ce(d.componentType??{});const m=d.create(u,i,null,o,s,a);return this.insertImpl(m.hostView,c,_i(this._hostTNode,null)),m}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const i=n._lView;if(function ck(e){return It(e[3])}(i)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=i[3],c=new MD(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Vo(s,i,o,r),n.attachToViewContainerRef(),Wy(qp(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=TD(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=ca(this._lContainer,t);r&&(Ol(qp(this._lContainer),t),aa(r[1],r))}detach(n){const t=this._adjustIndex(n,-1),r=ca(this._lContainer,t);return r&&null!=Ol(qp(this._lContainer),t)?new da(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function TD(e){return e[8]}function qp(e){return e[8]||(e[8]=[])}function RD(e,n){let t;const r=n[e.index];return It(r)?t=r:(t=$x(r,n,null,e),n[e.index]=t,dp(n,t)),FD(t,n,e,r),new MD(t,e,n)}let FD=function OD(e,n,t,r){if(e[7])return;let i;i=8&t.type?ot(r):function qV(e,n){const t=e[K],r=t.createComment(""),i=qe(n,e),o=t.parentNode(i);return pi(t,o,r,t.nextSibling(i),!1),r}(n,t),e[7]=i};class Kp{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new Kp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qp{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,i=[];for(let o=0;o<r;o++){const s=t.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Qp(i)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==tm(n,t).matches&&this.queries[t].setDirty()}}class ND{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,this.predicate="string"==typeof n?function eB(e){return e.split(",").map(n=>n.trim())}(n):n}}class Zp{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){const i=null!==t?t.length:0,o=this.getByIndex(r).embeddedTView(n,i);o&&(o.indexInDeclarationView=r,null!==t?t.push(o):t=[o])}return null!==t?new Zp(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Xp{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Xp(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let r=n.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(n,t,QV(t,o)),this.matchTNodeWithReadOption(n,t,sc(t,n,o,!1,!1))}else r===Hn?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,sc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===U||i===wn||i===Hn&&4&t.type)this.addMatch(t.index,-2);else{const o=sc(t,n,i,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,r)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function QV(e,n){const t=e.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1];return null}function XV(e,n,t,r){return-1===t?function ZV(e,n){return 11&e.type?Do(e,n):4&e.type?Wc(e,n):null}(n,e):-2===t?function JV(e,n,t){return t===U?Do(n,e):t===Hn?Wc(n,e):t===wn?RD(n,e):void 0}(e,n,r):Zs(e,e[1],t,n)}function PD(e,n,t,r){const i=n[18].queries[r];if(null===i.matches){const o=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:XV(n,o[c],s[l+1],t.metadata.read))}i.matches=a}return i.matches}function Jp(e,n,t,r){const i=e.queries.getByIndex(t),o=i.matches;if(null!==o){const s=PD(e,n,i,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)r.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=10;u<d.length;u++){const f=d[u];f[16]===f[3]&&Jp(f[1],f,c,r)}if(null!==d[9]){const u=d[9];for(let f=0;f<u.length;f++){const h=u[f];Jp(h[1],h,c,r)}}}}}return r}function em(e,n){return e[18].queries[n].queryList}function LD(e,n,t){const r=new cc(!(4&~t));return function dk(e,n,t,r){const i=uv(n);i.push(t),e.firstCreatePass&&fv(e).push(r,i.length-1)}(e,n,r,r.destroy),(n[18]??=new Qp).queries.push(new Kp(r))-1}function VD(e,n,t){const r=Z();return r.firstCreatePass&&(jD(r,new ND(e,n,t),-1),!(2&~n)&&(r.staticViewQueries=!0)),LD(r,x(),n)}function BD(e,n,t,r){const i=Z();if(i.firstCreatePass){const o=q();jD(i,new ND(n,t,r),o.index),function tB(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),!(2&~t)&&(i.staticContentQueries=!0)}return LD(i,x(),t)}function jD(e,n,t){null===e.queries&&(e.queries=new Zp),e.queries.track(new Xp(n,t))}function tm(e,n){return e.queries.getByIndex(n)}function HD(e,n){const t=e[1],r=tm(t,n);return r.crossesNgTemplate?Jp(t,e,n,[]):PD(t,e,r,n)}function nm(e,n,t){let r;const i=Dy(()=>{r._dirtyCounter();const o=function rB(e,n){const t=e._lView,r=e._queryIndex;if(void 0===t||void 0===r||4&t[2])return n?void 0:ye;const i=em(t,r),o=HD(t,r);return i.reset(o,Ob),n?i.first:i._changesDetected||void 0===e._flatValue?e._flatValue=i.toArray():e._flatValue}(r,e);if(n&&void 0===o)throw new E(-951,!1);return o});return r=i[rt],r._dirtyCounter=Vt(0),r._flatValue=void 0,i}function UD(e){return nm(!0,!1)}function $D(e){return nm(!0,!0)}function zD(e,n){const t=e[rt];t._lView=x(),t._queryIndex=n,t._queryList=em(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}let Nr=class{},uB=class{};class im extends Nr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ID(this);constructor(n,t,r,i=!0){super(),this.ngModuleType=n,this._parent=t;const o=function Nn(e){return e[By]||null}(n);this._bootstrapComponents=function jn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=kv(n,t,[{provide:Nr,useValue:this},{provide:jo,useValue:this.componentFactoryResolver},...r],Nt(n),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class YD extends uB{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new im(this.moduleType,n,[])}}class pB extends Nr{injector;componentFactoryResolver=new ID(this);instance=null;constructor(n){super();const t=new ni([...n.providers,{provide:Nr,useValue:this},{provide:jo,useValue:this.componentFactoryResolver}],n.parent||jl(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let mB=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=Uf(0,t.type),i=r.length>0?function KD(e,n,t=null){return new pB({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=C({token:e,providedIn:"environment",factory:()=>new e(I(vt))})}return e})();function nn(e){return sr(()=>{const n=ZD(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===dc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(mB).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ar.Emulated,styles:e.styles||ye,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&xt("NgStandalone"),XD(t);const r=e.dependencies;return t.directiveDefs=sd(r,QD),t.pipeDefs=sd(r,xn),t.id=function vB(e){let n=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const o of r.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function QD(e){return ce(e)||St(e)}function de(e){return sr(()=>({type:e.type,bootstrap:e.bootstrap||ye,declarations:e.declarations||ye,imports:e.imports||ye,exports:e.exports||ye,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function gB(e,n){if(null==e)return On;const t={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=Fc.None,l=null),t[o]=[r,a,l],n[o]=s}return t}function _B(e){if(null==e)return On;const n={};for(const t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function S(e){return sr(()=>{const n=ZD(e);return XD(n),n})}function ZD(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||On,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||ye,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:gB(e.inputs,n),outputs:_B(e.outputs),debugInfo:null}}function XD(e){e.features?.forEach(n=>n(e))}function sd(e,n){return e?()=>{const t="function"==typeof e?e():e,r=[];for(const i of t){const o=n(i);null!==o&&r.push(o)}return r}:null}function A(e){let n=function JD(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const r=[e];for(;n;){let i;if(Jt(e))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new E(903,!1);i=n.\u0275dir}if(i){if(t){r.push(i);const s=e;s.inputs=om(e.inputs),s.declaredInputs=om(e.declaredInputs),s.outputs=om(e.outputs);const a=i.hostBindings;a&&wB(e,a);const l=i.viewQuery,c=i.contentQueries;if(l&&xB(e,l),c&&DB(e,c),bB(e,i),wF(e.outputs,i.outputs),Jt(i)&&i.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===A&&(t=!1)}}n=Object.getPrototypeOf(n)}!function EB(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=xo(i.hostAttrs,t=xo(t,i.hostAttrs))}}(r)}function bB(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const r=n.inputs[t];void 0!==r&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function om(e){return e===On?{}:e===ye?[]:e}function xB(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function DB(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function wB(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function iw(e,n,t,r,i,o,s,a){if(t.firstCreatePass){e.mergedAttrs=xo(e.mergedAttrs,e.attrs);const d=e.tView=lp(2,e,i,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);null!==t.queries&&(t.queries.template(t,e),d.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),tr(e,!1);const l=sw(t,n,e,r);ql()&&wp(t,n,l,e),Ht(l,n);const c=$x(l,n,l,e);n[r+B]=c,dp(n,c)}function Ei(e,n,t,r,i,o,s,a,l,c,d){const u=t+B;let f;if(n.firstCreatePass){if(f=yi(n,u,4,s||null,a||null),null!=c){const h=Et(n.consts,c);f.localNames=[];for(let p=0;p<h.length;p+=2)f.localNames.push(h[p],-1)}}else f=n.data[u];return iw(f,e,n,t,r,i,o,l),null!=c&&No(e,f,d),f}function Ae(e,n,t,r,i,o,s,a){const l=x(),c=Z();return function RB(e,n,t,r,i,o,s,a,l,c,d){const u=t+B;let f;n.firstCreatePass?(f=yi(n,u,4,s||null,a||null),sh()&&yD(n,e,f,Et(n.consts,c),Ap),hb(n,f)):f=n.data[u],iw(f,e,n,t,r,i,o,l),co(f)&&Bc(n,e,f),null!=c&&No(e,f,d)}(l,c,e,n,t,r,i,Et(c.consts,o),void 0,s,a),Ae}let sw=function aw(e,n,t,r){return Us(!0),n[K].createComment("")};const Ow=new D(""),pd=new D("");let mm,hm=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,i){this._ngZone=t,this.registry=r,Qf()&&(this._destroyRef=_(Ln,{optional:!0})??void 0),mm||(function j2(e){mm=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{N.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}static \u0275fac=function(r){return new(r||e)(I(N),I(pm),I(pd))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})(),pm=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return mm?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function md(e){return!!e&&"function"==typeof e.then}function Nw(e){return!!e&&"function"==typeof e.subscribe}const Pw=new D("");let Lw=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=_(Pw,{optional:!0})??[];injector=_(we);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=Kf(this.injector,i);if(md(o))t.push(o);else if(Nw(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Vw=new D("");function Bw(e,n){return Array.isArray(n)?n.reduce(Bw,e):{...e,...n}}let Cn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(or);afterRenderManager=_(yp);zonelessEnabled=_(Pv);rootEffectScheduler=_(Bv);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ee;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=_(li);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Xe(t=>!t))}constructor(){_(Fo,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=_(vt);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,i=we.NULL){return this._injector.get(N).run(()=>{me(10);const s=t instanceof gD;if(!this._injector.get(Lw).done)throw new E(405,"");let l;l=s?t:this._injector.get(jo).resolveComponentFactory(t),this.componentTypes.push(l.componentType);const c=function U2(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Nr),u=l.create(i,[],r||l.selector,c),f=u.location.nativeElement,h=u.injector.get(Ow,null);return h?.registerApplication(f),u.onDestroy(()=>{this.detachView(u.hostView),gd(this.components,u),h?.unregisterApplication(f)}),this._loadComponent(u),me(11,u),u})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){me(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(hp.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new E(101,!1);const t=G(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,G(t),this.afterTick.next(),me(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Un,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;)me(14),this.synchronizeOnce(),me(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews)(r||js(i))&&(Gc(i,r&&!this.zonelessEnabled?0:1),t=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>js(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;gd(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(t),this._injector.get(Vw,[]).forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>gd(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gd(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function pt(e,n,t,r){const i=x();return Ie(i,Lt(),n)&&(Z(),function Y1(e,n,t,r,i,o){const s=qe(e,n);!function jc(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?Y(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[K],s,o,e.value,t,r,i)}(Pn(),i,e,n,t,r)),pt}function Je(e,n,t,r,i,o,s,a){xt("NgControlFlow");const l=x(),c=Z();return Ei(l,c,e,n,t,r,i,Et(c.consts,o),256,s,a),Am}function Am(e,n,t,r,i,o,s,a){xt("NgControlFlow");const l=x(),c=Z();return Ei(l,c,e,n,t,r,i,Et(c.consts,o),512,s,a),Am}function et(e,n){xt("NgControlFlow");const t=x(),r=Lt(),i=t[r]!==he?t[r]:-1,o=-1!==i?Cd(t,B+i):void 0;if(Ie(t,r,e)){const a=G(null);try{if(void 0!==o&&function Rp(e,n){const t=ca(e,n);return void 0!==t&&aa(t[1],t),t}(o,0),-1!==e){const l=B+e,c=Cd(t,l),d=function Mm(e,n){return fo(e,n)}(t[1],l),u=null;Vo(c,Po(t,d,n,{dehydratedView:u}),0,_i(d,u))}}finally{G(a)}}else if(void 0!==o){const a=function zx(e,n){const t=10+n;if(t<e.length)return e[t]}(o,0);void 0!==a&&(a[8]=n)}}function Cd(e,n){return e[n]}function j(e,n,t){const r=x();return Ie(r,Lt(),n)&&(Z(),Sp(Pn(),r,e,n,r[K],t)),j}function Tm(e,n,t,r,i){$c(n,e,t,i?"class":"style",r)}function X(e,n,t,r){const i=x(),o=i[1],s=e+B,a=o.firstCreatePass?zp(s,i,2,n,Ap,sh(),t,r):o.data[s];if(Hc(a,i,e,n,Rm),co(a)){const l=i[1];Bc(l,i,a),Zh(l,a,i)}return null!=r&&No(i,a),X}function J(){const e=Z(),t=Uc(q());return e.firstCreatePass&&Gp(e,t),mv(t)&&gv(),hv(),null!=t.classesWithoutHost&&function kO(e){return!!(8&e.flags)}(t)&&Tm(e,t,x(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function OO(e){return!!(16&e.flags)}(t)&&Tm(e,t,x(),t.stylesWithoutHost,!1),J}function mt(e,n,t,r){return X(e,n,t,r),J(),mt}function Sd(e,n,t,r){const i=x(),o=i[1],s=e+B,a=o.firstCreatePass?function DD(e,n,t,r,i,o){const s=n.consts,l=yi(n,e,t,r,Et(s,i));if(l.mergedAttrs=xo(l.mergedAttrs,l.attrs),null!=o){const c=Et(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return null!==l.attrs&&td(l,l.attrs,!1),null!==l.mergedAttrs&&td(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,2,n,t,r):o.data[s];return Hc(a,i,e,n,Rm),null!=r&&No(i,a),Sd}function Id(){return mv(Uc(q()))&&gv(),hv(),Id}function Ad(e,n,t,r){return Sd(e,n,t,r),Id(),Ad}typeof document<"u"&&document;let Rm=(e,n,t,r,i)=>(Us(!0),Ac(n[K],r,function Dk(){return W.lFrame.currentNamespace}()));function Gt(e,n,t){const r=x(),i=r[1],o=e+B,s=i.firstCreatePass?zp(o,r,8,"ng-container",Ap,sh(),n,t):i.data[o];if(Hc(s,r,e,"ng-container",km),co(s)){const a=r[1];Bc(a,r,s),Zh(a,s,r)}return null!=t&&No(r,s),Gt}function Tt(){const e=Z(),t=Uc(q());return e.firstCreatePass&&Gp(e,t),Tt}function Xo(e,n,t){return Gt(e,n,t),Tt(),Xo}let km=(e,n,t,r,i)=>(Us(!0),op(n[K],""));function cr(){return x()}function Aa(e,n,t){const r=x();return Ie(r,Lt(),n)&&(Z(),Ip(Pn(),r,e,n,r[K],t)),Aa}const Td="en-US";let sC=Td;function Te(e,n,t){const r=x(),i=Z(),o=q();return Pm(i,r,r[K],o,e,n,t),Te}function Pm(e,n,t,r,i,o,s){let a=!0,l=null;if((3&r.type||s)&&(l??=Ea(r,n,o),function CD(e,n,t,r,i,o,s,a){const l=co(e);let c=!1,d=null;if(!r&&l&&(d=function IV(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===t&&i[o+1]===r){const a=n[7],l=i[o+2];return a&&a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,t,o,e.index)),null!==d)(d.__ngLastListenerFn__||d).__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0;else{const u=qe(e,t),f=r?r(u):u,h=i.listen(f,o,a);(function SV(e){return e.startsWith("animation")||e.startsWith("transition")})(o)||SD(r?m=>r(ot(m[e.index])):e.index,n,t,o,a,h,!1)}return c}(r,e,n,s,t,i,o,l)&&(a=!1)),a){const c=r.outputs?.[i],d=r.hostDirectiveOutputs?.[i];if(d&&d.length)for(let u=0;u<d.length;u+=2){const f=d[u],h=d[u+1];l??=Ea(r,n,o),id(r,n,f,h,i,l)}if(c&&c.length)for(const u of c)l??=Ea(r,n,o),id(r,n,u,i,i,l)}}function L(e=1){return function vk(e){return(W.lFrame.contextLView=function dv(e,n){for(;e>0;)n=n[14],e--;return n}(e,W.lFrame.contextLView))[8]}(e)}function $H(e,n){let t=null;const r=function a1(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i<n.length;i++){const o=n[i];if("*"!==o){if(null===r?ex(e,o,!0):d1(r,o))return i}else t=i}return t}function es(e){const n=x()[15][5];if(!n.projection){const r=n.projection=function Nl(e,n){const t=[];for(let r=0;r<e;r++)t.push(n);return t}(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?$H(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function Dt(e,n=0,t,r,i,o){const s=x(),a=Z(),l=r?e+1:null;null!==l&&Ei(s,a,l,r,i,o,null,t);const c=yi(a,B+e,16,null,t||null);null===c.projection&&(c.projection=n),vv();const u=!s[6]||pv();null===s[15][5].projection[c.projection]&&null!==l?function zH(e,n,t){const r=B+t,i=n.data[r],o=e[r];Vo(o,Po(e,i,void 0,{dehydratedView:null}),0,_i(i,null))}(s,a,l):u&&!_c(c)&&function V1(e,n,t){Mx(n[K],0,n,t,xp(e,t,n),wx(t.parent||n[5],t,n))}(a,s,c)}function dr(e,n,t,r){BD(e,n,t,r)}function Ft(e,n,t){VD(e,n,t)}function Ne(e){const n=x(),t=Z(),r=ch();Wl(r+1);const i=tm(t,r);if(e.dirty&&function lk(e){return!(4&~e[2])}(n)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=HD(n,r);e.reset(o,Ob),e.notifyOnChanges()}return!0}return!1}function Pe(){return em(x(),ch())}function Oa(e,n,t,r){zD(e,VD(n,t,r))}function Lm(e=1){Wl(ch()+e)}function Na(e){return function si(e,n){return e[n]}(function bv(){return W.lFrame.contextLView}(),B+e)}function Od(e,n){return e<<17|n<<2}function Mi(e){return e>>17&32767}function Vm(e){return 2|e}function ts(e){return(131068&e)>>2}function Bm(e,n){return-131069&e|n<<2}function jm(e){return 1|e}function IC(e,n,t,r){const i=e[t+1],o=null===n;let s=r?Mi(i):ts(i),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];QH(e[s],n)&&(a=!0,e[s+1]=r?jm(c):Vm(c)),s=r?Mi(c):ts(c)}a&&(e[t+1]=r?Vm(i):jm(i))}function QH(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Ns(e,n)>=0}const tt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function AC(e){return e.substring(tt.key,tt.keyEnd)}function MC(e,n){const t=tt.textEnd;return t===n?-1:(n=tt.keyEnd=function eU(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,tt.key=n,t),ns(e,n,t))}function ns(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function gt(e,n){return function NC(e,n,t,r){const i=x(),o=Z(),s=rr(2);o.firstUpdatePass&&VC(o,e,s,r),n!==he&&Ie(i,s,n)&&jC(o,o.data[ut()],i,i[K],e,i[s+1]=function hU(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Nt(en(e)))),e}(n,t),r,s)}(e,n,null,!0),gt}function Hm(e){!function PC(e,n,t,r){const i=Z(),o=rr(2);i.firstUpdatePass&&VC(i,null,o,r);const s=x();if(t!==he&&Ie(s,o,t)){const a=i.data[ut()];if(UC(a,r)&&!LC(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=If(l,t||"")),Tm(i,a,s,t,r)}else!function fU(e,n,t,r,i,o,s,a){i===he&&(i=ye);let l=0,c=0,d=0<i.length?i[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const f=l<i.length?i[l+1]:void 0,h=c<o.length?o[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,f!==h&&(p=u,m=h)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=h),null!==p&&jC(e,n,t,r,p,m,s,a),d=l<i.length?i[l]:null,u=c<o.length?o[c]:null}}(i,a,s,s[K],s[o+1],s[o+1]=function dU(e,n,t){if(null==t||""===t)return ye;const r=[],i=en(t);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&n(r,i);return r}(e,n,t),r,o)}}(uU,oU,e,!0)}function oU(e,n){for(let t=function XH(e){return function RC(e){tt.key=0,tt.keyEnd=0,tt.value=0,tt.valueEnd=0,tt.textEnd=e.length}(e),MC(e,ns(e,0,tt.textEnd))}(n);t>=0;t=MC(n,t))Pl(e,AC(n),!0)}function LC(e,n){return n>=e.expandoStartIndex}function VC(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[ut()],s=LC(e,t);UC(o,r)&&null===n&&!s&&(n=!1),n=function sU(e,n,t,r){const i=function lh(e){const n=W.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=Pa(t=Um(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Um(i,e,n,t,r),null===o){let l=function aU(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==ts(r))return e[Mi(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Um(null,e,n,l[1],r),l=Pa(l,n.attrs,r),function lU(e,n,t,r){e[Mi(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function cU(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++)r=Pa(r,e[o].hostAttrs,t);return Pa(r,n.attrs,t)}(e,n,r)}return void 0!==o&&(r?n.residualClasses=o:n.residualStyles=o),t}(i,o,n,r),function YH(e,n,t,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Mi(s),l=ts(s);e[r]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||Ns(t,d)>0)&&(c=!0)):d=t,i)if(0!==l){const f=Mi(e[a+1]);e[r+1]=Od(f,a),0!==f&&(e[f+1]=Bm(e[f+1],r)),e[a+1]=function WH(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=Od(a,0),0!==a&&(e[a+1]=Bm(e[a+1],r)),a=r;else e[r+1]=Od(l,0),0===a?a=r:e[l+1]=Bm(e[l+1],r),l=r;c&&(e[r+1]=Vm(e[r+1])),IC(e,d,r,!0),IC(e,d,r,!1),function KH(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&Ns(o,n)>=0&&(t[r+1]=jm(t[r+1]))}(n,d,e,r,o),s=Od(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Um(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],r=Pa(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),r}function Pa(e,n,t){const r=t?1:2;let i=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Pl(e,s,!!t||n[++o]))}return void 0===e?null:e}function uU(e,n,t){const r=String(n);""!==r&&!r.includes(" ")&&Pl(e,r,t)}function jC(e,n,t,r,i,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function qH(e){return!(1&~e)}(c)?HC(l,n,t,i,ts(c),s):void 0;Nd(d)||(Nd(o)||function GH(e){return!(2&~e)}(c)&&(o=HC(l,null,t,i,a,s)),function j1(e,n,t,r,i){if(n)i?e.addClass(t,r):e.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:Fr.DashCase;null==i?e.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Fr.Important),e.setStyle(t,r,i,o))}}(r,s,uo(ut(),t),i,o))}function HC(e,n,t,r,i,o){const s=null===n;let a;for(;i>0;){const l=e[i],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let f=t[i+1];f===he&&(f=u?ye:void 0);let h=u?Vf(f,r):d===r?f:void 0;if(c&&!Nd(h)&&(h=Vf(l,r)),Nd(h)&&(a=h,s))return a;const p=e[i+1];i=s?Mi(p):ts(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Vf(l,r))}return a}function Nd(e){return void 0!==e}function UC(e,n){return!!(e.flags&(n?8:16))}function Sn(e,n=""){const t=x(),r=Z(),i=e+B,o=r.firstCreatePass?yi(r,i,1,n,null):r.data[i],s=$C(r,t,o,n,e);t[i]=s,ql()&&wp(r,t,s,o),tr(o,!1)}let $C=(e,n,t,r,i)=>(Us(!0),function ip(e,n){return e.createText(n)}(n[K],r));function GC(e,n,t,r=""){return Ie(e,Lt(),t)?n+Y(t)+r:he}function WC(e,n,t,r,i,o=""){const a=function bi(e,n,t,r){const i=Ie(e,n,t);return Ie(e,n+1,r)||i}(e,function nr(){return W.lFrame.bindingIndex}(),t,i);return rr(2),a?n+Y(t)+r+Y(i)+o:he}function La(e){return Ti("",e),La}function Ti(e,n,t){const r=x(),i=GC(r,e,n,t);return i!==he&&ur(r,ut(),i),Ti}function $m(e,n,t,r,i){const o=x(),s=WC(o,e,n,t,r,i);return s!==he&&ur(o,ut(),s),$m}function ur(e,n,t){const r=uo(n,e);!function $E(e,n,t){e.setValue(n,t)}(e[K],r,t)}function zm(e,n,t){Nv(n)&&(n=n());const r=x();return Ie(r,Lt(),n)&&(Z(),Sp(Pn(),r,e,n,r[K],t)),zm}function Gm(e,n){const t=x(),r=Z(),i=q();return Pm(r,t,t[K],i,e,n),Gm}function Wm(e,n,t,r,i){if(e=Q(e),Array.isArray(e))for(let o=0;o<e.length;o++)Wm(e[o],n,t,r,i);else{const o=Z(),s=x(),a=q();let l=Kn(e)?e:Q(e.provide);const c=tv(e),d=1048575&a.providerIndexes,u=a.directiveStart,f=a.providerIndexes>>20;if(Kn(e)||!e.multi){const h=new Ys(c,i,g,null),p=Ym(l,n,i?d:d+f,u);-1===p?(wh(ic(a,s),o,l),qm(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=Ym(l,n,d+f,u),p=Ym(l,n,d,d+f),v=p>=0&&t[p];if(i&&!v||!i&&!(h>=0&&t[h])){wh(ic(a,s),o,l);const y=function TU(e,n,t,r,i){const s=new Ys(e,t,g,null);return s.multi=[],s.index=n,s.componentProviders=0,dS(s,i,r&&!t),s}(i?MU:AU,t.length,i,r,c);!i&&v&&(t[p].providerFactory=y),qm(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),t.push(y),s.push(y)}else qm(o,e,h>-1?h:p,dS(t[i?p:h],c,!i&&r));!i&&r&&v&&t[p].componentProviders++}}}function qm(e,n,t,r){const i=Kn(n),o=function Jy(e){return!!e.useClass}(n);if(i||o){const l=(o?Q(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[r,l]):c[d+1].push(r,l)}else c.push(t,l)}}}function dS(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Ym(e,n,t,r){for(let i=t;i<r;i++)if(n[i]===e)return i;return-1}function AU(e,n,t,r,i){return Km(this.multi,[])}function MU(e,n,t,r,i){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=Zs(r,r[1],this.providerFactory.index,i);s=l.slice(0,a),Km(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Km(o,s);return s}function Km(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function ue(e,n=[]){return t=>{t.providersResolver=(r,i)=>function IU(e,n,t){const r=Z();if(r.firstCreatePass){const i=Jt(e);Wm(t,r.data,r.blueprint,i,!0),Wm(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}function Va(e,n,t,r){return function fS(e,n,t,r,i,o){const s=n+t;return Ie(e,s,i)?function $n(e,n,t){return e[n]=t}(e,s+1,o?r.call(o,i):r(i)):function Ba(e,n){const t=e[n];return t===he?void 0:t}(e,s+1)}(x(),function Mt(){const e=W.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),e,n,t,r)}function _S(e,n){return Wc(e,n)}let C$=(()=>{class e{zone=_(N);changeDetectionScheduler=_(Sr);applicationRef=_(Cn);applicationErrorHandler=_(or);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function NS({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new N({...eg(),scheduleInRootZone:t}),[{provide:N,useFactory:e},{provide:ti,multi:!0,useFactory:()=>{const r=_(C$,{optional:!0});return()=>r.initialize()}},{provide:ti,multi:!0,useFactory:()=>{const r=_(I$);return()=>{r.initialize()}}},!0===n?{provide:Lv,useValue:!0}:[],{provide:Vv,useValue:t??lx},{provide:or,useFactory:()=>{const r=_(N),i=_(vt);let o;return s=>{r.runOutsideAngular(()=>{i.destroyed&&!o?setTimeout(()=>{throw s}):(o??=i.get(ir),o.handleError(s))})}}}]}function eg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let I$=(()=>{class e{subscription=new Fe;initialized=!1;zone=_(N);pendingTasks=_(li);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{N.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{N.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VS=(()=>{class e{applicationErrorHandler=_(or);appRef=_(Cn);taskService=_(li);ngZone=_(N);zonelessEnabled=_(Pv);tracing=_(Fo,{optional:!0});disableScheduling=_(Lv,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Fe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Oc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(Vv,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof _p||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let r=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,r=!0;break;case 12:this.appRef.dirtyFlags|=16,r=!0;break;case 11:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;const i=this.useMicrotaskScheduler?dx:cx;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Oc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(t),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,dx(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Br=new D("",{providedIn:"root",factory:()=>_(Br,{optional:!0,skipSelf:!0})||function A$(){return typeof $localize<"u"&&$localize.locale||Td}()});class zS{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>function ac(e){return function BO(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const o=t[i];if(_b(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(o===n)return t[i+1];i+=2}}}return null}(q(),e)}(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function GS(e,n){return UD()}new D("").__NG_ELEMENT_ID__=e=>{const n=q();if(null===n)throw new E(204,!1);if(2&n.type)return n.value;if(8&e)return null;throw new E(204,!1)};const Ud=(GS.required=function L$(e,n){return $D()},GS);function WS(e,n){return UD()}const B$=(WS.required=function V$(e,n){return $D()},WS),$d=new D(""),z$=new D("");function Ua(e){return!e.moduleRef}let XS;function JS(){XS=G$}function G$(e,n){const t=e.injector.get(Cn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>t.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new E(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}let eI=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,a=[NS({ngZoneFactory:()=>function A1(e="zone.js",n){return"noop"===e?new _p:"zone.js"===e?new N(n):e}(r?.ngZone,{...eg({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:Sr,useExisting:VS},Ck],l=function hB(e,n,t){return new im(e,n,t,!1)}(t.moduleType,this.injector,a);return JS(),function ZS(e){const n=Ua(e)?e.r3Injector:e.moduleRef.injector,t=n.get(N);return t.run(()=>{Ua(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=n.get(or);let i;if(t.runOutsideAngular(()=>{i=t.onError.subscribe({next:r})}),Ua(e)){const o=()=>n.destroy(),s=e.platformInjector.get($d);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get($d);s.add(o),e.moduleRef.onDestroy(()=>{gd(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return function W$(e,n,t){try{const r=t();return md(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}(r,t,()=>{const o=n.get(li),s=o.add(),a=n.get(Lw);return a.runInitializers(),a.donePromise.then(()=>{if(function sH(e){"string"==typeof e&&(sC=e.toLowerCase().replace(/_/g,"-"))}(n.get(Br,Td)||Td),!n.get(z$,!0))return Ua(e)?n.get(Cn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ua(e)){const d=n.get(Cn);return void 0!==e.rootComponent&&d.bootstrap(e.rootComponent),d}return XS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{o.remove(s)})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,r=[]){const i=Bw({},r);return JS(),function j$(e,n,t){const r=new YD(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get($d,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(I(we))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),os=null;function tI(e,n,t=[]){const r=`Platform: ${n}`,i=new D(r);return(o=[])=>{let s=zd();if(!s){const a=[...t,...o,{provide:i,useValue:!0}];s=e?.(a)??function q$(e){if(zd())throw new E(400,!1);(function H2(){!function lF(e){wy=e}(()=>{throw new E(600,"")})})(),os=e;const n=e.get(eI);return function rI(e){const n=e.get(eE,null);Kf(e,()=>{n?.forEach(t=>t())})}(e),n}(function nI(e=[],n){return we.create({name:n,providers:[{provide:Gf,useValue:"platform"},{provide:$d,useValue:new Set([()=>os=null])},...e]})}(a,r))}return function Y$(){const n=zd();if(!n)throw new E(-401,!1);return n}()}}function zd(){return os?.get(eI)??null}let Fi=(()=>class e{static __NG_ELEMENT_ID__=Q$})();function Q$(e){return function Z$(e,n,t){if(Xn(e)&&!t){const r=At(e.index,n);return new da(r,r)}return 175&e.type?new da(n[15],n):null}(q(),x(),!(16&~e))}class oI{constructor(){}supports(n){return nd(n)}create(n){return new J$(n)}}const X$=(e,n)=>n;class J${length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||X$}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex<aI(r,i,o)?t:r,a=aI(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{o||(o=[]);const c=a-i,d=l-i;if(c!=d){for(let f=0;f<c;f++){const h=f<o.length?o[f]:o[f]=0,p=h+f;d<=p&&p<c&&(o[f]=h+1)}o[s.previousIndex]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!nd(n))throw new E(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let i,o,s,t=this._itHead,r=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),r=!0),t=t._next}else i=0,function wV(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let r;for(;!(r=t.next()).done;)n(r.value)}}(n,a=>{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new ez(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new sI),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sI),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class ez{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}}class tz{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class sI{map=new Map;put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new tz,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function aI(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+n+i}function cI(){return new Gd([new oI])}let Gd=(()=>{class e{factories;static \u0275prov=C({token:e,providedIn:"root",factory:cI});constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:()=>{const r=_(e,{optional:!0,skipSelf:!0});return e.create(t,r||cI())}}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new E(901,!1)}}return e})();const sz=tI(null,"core",[]);let az=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(I(Cn))};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})();function nt(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function xI(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}const sg=Symbol("NOT_SET"),CI=new Set,Rz={...Iy,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:sg,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==sg&&!Dl(this))return this.signal;try{for(const i of this.cleanup??CI)i()}finally{this.cleanup?.clear()}const n=[];void 0!==e&&n.push(e),n.push(this.registerCleanupFn);const t=Ji(this);let r;try{r=this.userFn.apply(null,n)}finally{Cs(this,t)}return(this.value===sg||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}};class Fz extends gx{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(n,t,r,i,o,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,o.get(Ln),s),this.scheduler=i;for(const a of px){const l=t[a];if(void 0===l)continue;const c=Object.create(Rz);c.sequence=this,c.phase=a,c.userFn=l,c.dirty=!0,c.signal=()=>(El(c),c.value),c.signal[rt]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[a]=c,this.hooks[a]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const n of this.nodes)if(n)try{for(const t of n.cleanup??CI)t()}finally{Ss(n)}}}function SI(e,n){const t=ce(e),r=n.elementInjector||jl();return new od(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}const Bz={...Xi,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function Ye(e){return function Vz(e){const n=G(null);try{return e()}finally{G(n)}}(e)}function qt(e,n){return Dy(e,n?.equal)}class Hz{[rt];constructor(n){this[rt]=n}destroy(){this[rt].destroy()}}function Qd(e,n){const t=n?.injector??_(we);let i,r=!0!==n?.manualCleanup?t.get(Ln):null;const o=t.get(Yl,null,{optional:!0}),s=t.get(Sr);return null!==o?(i=function zz(e,n,t){const r=Object.create($z);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=MI(r,t),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(o.view,s,e),r instanceof Ov&&r._lView===o.view&&(r=null)):i=function Gz(e,n,t){const r=Object.create(Uz);return r.fn=MI(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,t.get(Bv),s),i.injector=t,null!==r&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Hz(i)}const AI={...Bz,cleanupFns:void 0,zone:null,onDestroyFn:$s,run(){const e=Gl(!1);try{!function jz(e){if(e.dirty=!1,e.version>0&&!Dl(e))return;e.version++;const n=Ji(e);try{e.cleanup(),e.fn()}finally{Cs(e,n)}}(this)}finally{Gl(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=G(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],G(e)}}},Uz={...AI,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ss(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},$z={...AI,consumerMarkedDirty(){this.view[2]|=8192,ho(this.view),this.notifier.notify(13)},destroy(){Ss(this),this.onDestroyFn(),this.cleanup(),this.view[23]?.delete(this)}};function MI(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}Error,Error;const _g=/\s+/,UI=[];let lu=(()=>{class e{_ngEl;_renderer;initialClasses=UI;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=null!=t?t.trim().split(_g):UI}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(_g):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const i=this.stateMap.get(t);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],i=t[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(_g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||e)(g(U),g(tn))};static \u0275dir=S({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class VG{$implicit;ngForOf;index;count;constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let zI=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new VG(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),GI(a,i)}});for(let i=0,o=r.length;i<o;i++){const a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(i=>{GI(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(g(wn),g(Hn),g(Gd))};static \u0275dir=S({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function GI(e,n){e.context.$implicit=n.item}let WI=(()=>{class e{_viewContainer;_context=new BG;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){qI(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){qI(t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(g(wn),g(Hn))};static \u0275dir=S({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class BG{$implicit=null;ngIf=null}function qI(e,n){if(e&&!e.createEmbeddedView)throw new E(2020,!1)}let Eg=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(t,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||e)(g(wn))};static \u0275dir=S({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Bt]})}return e})(),wg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})();class QI{_doc;constructor(n){this._doc=n}manager}let Cg=(()=>{class e extends QI{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i,o){return t.addEventListener(r,i,o),()=>this.removeEventListener(t,r,i,o)}removeEventListener(t,r,i,o){return t.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(I(fe))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const Sg=new D("");let ZI=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});const i=t.filter(s=>!(s instanceof Cg));this._plugins=i.slice().reverse();const o=t.find(s=>s instanceof Cg);o&&this._plugins.push(o)}addEventListener(t,r,i,o){return this._findPluginFor(r).addEventListener(t,r,i,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(I(Sg),I(N))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const Ig="ng-app-id";function XI(e){for(const n of e)n.remove()}function JI(e,n){const t=n.createElement("style");return t.textContent=e,t}function Ag(e,n){const t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}let eA=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,function u3(e,n,t,r){const i=e.head?.querySelectorAll(`style[${Ig}="${n}"],link[${Ig}="${n}"]`);if(i)for(const o of i)o.removeAttribute(Ig),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(const i of t)this.addUsage(i,this.inline,JI);r?.forEach(i=>this.addUsage(i,this.external,Ag))}removeStyles(t,r){for(const i of t)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(t,r,i){const o=r.get(t);o?o.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(t,this.doc)))})}removeUsage(t,r){const i=r.get(t);i&&(i.usage--,i.usage<=0&&(XI(i.elements),r.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])XI(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[r,{elements:i}]of this.inline)i.push(this.addElement(t,JI(r,this.doc)));for(const[r,{elements:i}]of this.external)i.push(this.addElement(t,Ag(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(I(fe),I(wo),I(Fh,8),I(fn))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const Mg={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Tg=/%COMP%/g,_3=new D("",{providedIn:"root",factory:()=>!0});function nA(e,n){return n.map(t=>t.replace(Tg,e))}let Rg=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,i,o,s,a,l=null,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new Fg(t,s,a,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;const i=this.getOrCreateRenderer(t,r);return i instanceof iA?i.applyToHost(t):i instanceof kg&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,u=this.platformIsServer,f=this.tracingService;switch(r.encapsulation){case ar.Emulated:o=new iA(l,c,r,this.appId,d,s,a,u,f);break;case ar.ShadowDom:return new E3(l,c,t,r,s,a,this.nonce,u,f);default:o=new kg(l,c,r,d,s,a,u,f)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(I(ZI),I(eA),I(wo),I(_3),I(fe),I(N),I(Fh),I(Fo,8))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();class Fg{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,i,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Mg[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(rA(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(rA(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Mg[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Mg[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Fr.DashCase|Fr.Important)?n.style.setProperty(t,r,i&Fr.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Fr.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){null!=n&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,i){if("string"==typeof n&&!(n=Ir().getGlobalEventTarget(this.doc,n)))throw new E(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,i)}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===n(t)&&t.preventDefault()}}}function rA(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class E3 extends Fg{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,i,o,s,a,l,c){super(n,o,s,l,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=nA(i.id,d);for(const f of d){const h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=f,this.shadowRoot.appendChild(h)}const u=i.getExternalStyles?.();if(u)for(const f of u){const h=Ag(f,o);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class kg extends Fg{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,i,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=c?nA(c,d):d,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===mi.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class iA extends kg{contentAttr;hostAttr;constructor(n,t,r,i,o,s,a,l,c){const d=i+"-"+r.id;super(n,t,r,o,s,a,l,c,d),this.contentAttr=function y3(e){return"_ngcontent-%COMP%".replace(Tg,e)}(d),this.hostAttr=function v3(e){return"_nghost-%COMP%".replace(Tg,e)}(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}class Og extends Tk{supportsDOMEvents=!0;static makeCurrent(){!function Mk(e){jv??=e}(new Og)}onAndCancel(n,t,r,i){return n.addEventListener(t,r,i),()=>{n.removeEventListener(t,r,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function x3(){return Ga=Ga||document.head.querySelector("base"),Ga?Ga.getAttribute("href"):null}();return null==t?null:function D3(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Ga=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Wv(document.cookie,n)}}let Ga=null,C3=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const oA=["alt","control","meta","shift"],S3={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},I3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let A3=(()=>{class e extends QI{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i,o){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ir().onAndCancel(t,s.domEventName,a,o))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),oA.forEach(c=>{const d=r.indexOf(c);d>-1&&(r.splice(d,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=S3[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),oA.forEach(s=>{s!==i&&(0,I3[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static \u0275fac=function(r){return new(r||e)(I(fe))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const F3=tI(sz,"browser",[{provide:fn,useValue:Yv},{provide:eE,useValue:function M3(){Og.makeCurrent()},multi:!0},{provide:fe,useFactory:function R3(){return function wN(e){Rh=e}(document),document}}]),lA=[{provide:pd,useClass:class w3{addToWindow(n){Be.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new E(5103,!1);return o},Be.getAllAngularTestabilities=()=>n.getAllTestabilities(),Be.getAllAngularRootElements=()=>n.getAllRootElements(),Be.frameworkStabilizers||(Be.frameworkStabilizers=[]),Be.frameworkStabilizers.push(r=>{const i=Be.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Ir().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}}},{provide:Ow,useClass:hm,deps:[N,pm,pd]},{provide:hm,useClass:hm,deps:[N,pm,pd]}],cA=[{provide:Gf,useValue:"root"},{provide:ir,useFactory:function T3(){return new ir}},{provide:Sg,useClass:Cg,multi:!0,deps:[fe]},{provide:Sg,useClass:A3,multi:!0,deps:[fe]},Rg,eA,ZI,{provide:Un,useExisting:Rg},{provide:qv,useClass:C3},[]];let dA=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({providers:[...cA,...lA],imports:[wg,az]})}return e})();function ki(e){return this instanceof ki?(this.v=e,this):new ki(e)}function P3(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function hA(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}const pA=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function mA(e){return Se(e?.then)}function gA(e){return Se(e[Sf])}function _A(e){return Symbol.asyncIterator&&Se(e?.[Symbol.asyncIterator])}function yA(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const vA=function V3(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function bA(e){return Se(e?.[vA])}function EA(e){return function N3(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(e,n||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,m){o.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof ki?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}(r[f](h))}catch(p){u(o[0][3],p)}}function c(f){a("next",f)}function d(f){a("throw",f)}function u(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:i}=yield ki(t.read());if(i)return yield ki(void 0);yield yield ki(r)}}finally{t.releaseLock()}})}function xA(e){return Se(e?.getReader)}function Yt(e){if(e instanceof xe)return e;if(null!=e){if(gA(e))return function B3(e){return new xe(n=>{const t=e[Sf]();if(Se(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(pA(e))return function j3(e){return new xe(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(mA(e))return function H3(e){return new xe(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Fy)})}(e);if(_A(e))return DA(e);if(bA(e))return function U3(e){return new xe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(xA(e))return function $3(e){return DA(EA(e))}(e)}throw yA(e)}function DA(e){return new xe(n=>{(function z3(e,n){var t,r,i,o;return function k3(e,n,t,r){return new(t||(t=Promise))(function(o,s){function a(d){try{c(r.next(d))}catch(u){s(u)}}function l(d){try{c(r.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=P3(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function hr(e,n,t,r=0,i=!1){const o=n.schedule(function(){t(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function cu(e,n,t=1/0){return Se(n)?cu((r,i)=>Xe((o,s)=>n(r,o,i,s))(Yt(e(r,i))),t):("number"==typeof n&&(t=n),ft((r,i)=>function G3(e,n,t,r,i,o,s,a){const l=[];let c=0,d=0,u=!1;const f=()=>{u&&!l.length&&!c&&n.complete()},h=m=>c<r?p(m):l.push(m),p=m=>{o&&n.next(m),c++;let v=!1;Yt(t(m,d++)).subscribe(st(n,y=>{i?.(y),o?h(y):n.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;l.length&&c<r;){const y=l.shift();s?hr(n,s,()=>p(y)):p(y)}f()}catch(y){n.error(y)}}))};return e.subscribe(st(n,h,()=>{u=!0,f()})),()=>{a?.()}}(r,i,e,t)))}function gn(e,n){return ft((t,r)=>{let i=0;t.subscribe(st(r,o=>e.call(n,o,i++)&&r.next(o)))})}function Pg(e){return ft((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function du(e,n){return ft((t,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();t.subscribe(st(r,l=>{i?.unsubscribe();let c=0;const d=o++;Yt(e(l,d)).subscribe(i=st(r,u=>r.next(n?n(l,u,d,c++):u),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function wA(e){return e&&Se(e.schedule)}function Lg(e){return e[e.length-1]}function CA(e){return Se(Lg(e))?e.pop():void 0}function Wa(e){return wA(Lg(e))?e.pop():void 0}function SA(e,n=0){return ft((t,r)=>{t.subscribe(st(r,i=>hr(r,e,()=>r.next(i),n),()=>hr(r,e,()=>r.complete(),n),i=>hr(r,e,()=>r.error(i),n)))})}function IA(e,n=0){return ft((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function AA(e,n){if(!e)throw new Error("Iterable cannot be null");return new xe(t=>{hr(t,n,()=>{const r=e[Symbol.asyncIterator]();hr(t,n,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function jr(e,n){return n?function J3(e,n){if(null!=e){if(gA(e))return function Y3(e,n){return Yt(e).pipe(IA(n),SA(n))}(e,n);if(pA(e))return function Q3(e,n){return new xe(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(mA(e))return function K3(e,n){return Yt(e).pipe(IA(n),SA(n))}(e,n);if(_A(e))return AA(e,n);if(bA(e))return function Z3(e,n){return new xe(t=>{let r;return hr(t,n,()=>{r=e[vA](),hr(t,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>Se(r?.return)&&r.return()})}(e,n);if(xA(e))return function X3(e,n){return AA(EA(e),n)}(e,n)}throw yA(e)}(e,n):Yt(e)}function zn(...e){return jr(e,Wa(e))}class uu{}class fu{}class Mn{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=t.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof Mn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new Mn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Mn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const i=("a"===n.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(n,t){const r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class e8{encodeKey(n){return MA(n)}encodeValue(n){return MA(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const n8=/%(\d[a-f0-9])/gi,r8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function MA(e){return encodeURIComponent(e).replace(n8,(n,t)=>r8[t]??n)}function hu(e){return`${e}`}class Hr{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new e8,n.fromString){if(n.fromObject)throw new E(2805,!1);this.map=function t8(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],i=Array.isArray(r)?r.map(hu):[hu(r)];this.map.set(t,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const i=n[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Hr({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(hu(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const i=r.indexOf(hu(n.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class i8{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function TA(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function RA(e){return typeof Blob<"u"&&e instanceof Blob}function FA(e){return typeof FormData<"u"&&e instanceof FormData}const qa="Content-Type",Vg="X-Request-URL",kA="text/plain",OA="application/json",NA=`${OA}, ${kA}, */*`;class Ya{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,i){let o;if(this.url=t,this.method=n.toUpperCase(),function o8(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),"number"==typeof o.timeout){if(o.timeout<1||!Number.isInteger(o.timeout))throw new E(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),this.transferCache=o.transferCache}if(this.headers??=new Mn,this.context??=new i8,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new Hr,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||TA(this.body)||RA(this.body)||FA(this.body)||function s8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Hr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||FA(this.body)?null:RA(this.body)?this.body.type||null:TA(this.body)?null:"string"==typeof this.body?kA:this.body instanceof Hr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?OA:null}clone(n={}){const t=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,u=n.referrer||this.referrer,f=n.integrity||this.integrity,h=n.transferCache??this.transferCache,p=n.timeout??this.timeout,m=void 0!==n.body?n.body:this.body,v=n.withCredentials??this.withCredentials,y=n.reportProgress??this.reportProgress;let b=n.headers||this.headers,M=n.params||this.params;const T=n.context??this.context;return void 0!==n.setHeaders&&(b=Object.keys(n.setHeaders).reduce((P,te)=>P.set(te,n.setHeaders[te]),b)),n.setParams&&(M=Object.keys(n.setParams).reduce((P,te)=>P.set(te,n.setParams[te]),M)),new Ya(t,r,m,{params:M,headers:b,context:T,reportProgress:y,responseType:i,withCredentials:v,transferCache:h,keepalive:o,cache:a,priority:s,timeout:p,mode:l,redirect:c,credentials:d,referrer:u,integrity:f})}}var Ur=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Ur||{});class Bg{headers;status;statusText;url;ok;type;redirected;constructor(n,t=200,r="OK"){this.headers=n.headers||new Mn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.ok=this.status>=200&&this.status<300}}class mu extends Bg{constructor(n={}){super(n)}type=Ur.ResponseHeader;clone(n={}){return new mu({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ka extends Bg{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=Ur.Response;clone(n={}){return new Ka({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected})}}class Oi extends Bg{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function jg(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}let Hg=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof Ya)o=t;else{let l,c;l=i.headers instanceof Mn?i.headers:new Mn(i.headers),i.params&&(c=i.params instanceof Hr?i.params:new Hr({fromObject:i.params})),o=new Ya(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,integrity:i.integrity,timeout:i.timeout})}const s=zn(o).pipe(function W3(e,n){return Se(n)?cu(e,n,1):cu(e,1)}(l=>this.handler.handle(l)));if(t instanceof Ya||"events"===i.observe)return s;const a=s.pipe(gn(l=>l instanceof Ka));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Xe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new E(2806,!1);return l.body}));case"blob":return a.pipe(Xe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new E(2807,!1);return l.body}));case"text":return a.pipe(Xe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new E(2808,!1);return l.body}));default:return a.pipe(Xe(l=>l.body))}case"response":return a;default:throw new E(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Hr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,jg(i,r))}post(t,r,i={}){return this.request("POST",t,jg(i,r))}put(t,r,i={}){return this.request("PUT",t,jg(i,r))}static \u0275fac=function(r){return new(r||e)(I(uu))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const VA=new D("");function BA(e,n){return n(e)}function f8(e,n){return(t,r)=>n.intercept(t,{handle:i=>e(i,r)})}const p8=new D(""),Qa=new D(""),m8=new D(""),jA=new D("",{providedIn:"root",factory:()=>!0});function g8(){let e=null;return(n,t)=>{null===e&&(e=(_(p8,{optional:!0})??[]).reduceRight(f8,BA));const r=_(Kl);if(_(jA)){const o=r.add();return e(n,t).pipe(Pg(o))}return e(n,t)}}let HA=(()=>{class e extends uu{backend;injector;chain=null;pendingTasks=_(Kl);contributeToStability=_(jA);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Qa),...this.injector.get(m8,[])]));this.chain=r.reduceRight((i,o)=>function h8(e,n,t){return(r,i)=>Kf(t,()=>n(r,o=>e(o,i)))}(i,o,this.injector),BA)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(t,i=>this.backend.handle(i)).pipe(Pg(r))}return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(I(fu),I(vt))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const b8=/^\)\]\}',?\n/,E8=RegExp(`^${Vg}:`,"m");let $A=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new E(-2800,!1);const r=this.xhrFactory;return zn(null).pipe(du(()=>new xe(o=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((v,y)=>s.setRequestHeader(v,y.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept",NA),!t.headers.has(qa)){const v=t.detectContentTypeHeader();null!==v&&s.setRequestHeader(qa,v)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){const v=t.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const v=s.statusText||"OK",y=new Mn(s.getAllResponseHeaders()),b=function x8(e){return"responseURL"in e&&e.responseURL?e.responseURL:E8.test(e.getAllResponseHeaders())?e.getResponseHeader(Vg):null}(s)||t.url;return l=new mu({headers:y,status:s.status,statusText:v,url:b}),l},d=()=>{let{headers:v,status:y,statusText:b,url:M}=c(),T=null;204!==y&&(T=typeof s.response>"u"?s.responseText:s.response),0===y&&(y=T?200:0);let P=y>=200&&y<300;if("json"===t.responseType&&"string"==typeof T){const te=T;T=T.replace(b8,"");try{T=""!==T?JSON.parse(T):null}catch(le){T=te,P&&(P=!1,T={error:le,text:T})}}P?(o.next(new Ka({body:T,headers:v,status:y,statusText:b,url:M||void 0})),o.complete()):o.error(new Oi({error:T,headers:v,status:y,statusText:b,url:M||void 0}))},u=v=>{const{url:y}=c(),b=new Oi({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:y||void 0});o.error(b)};let f=u;t.timeout&&(f=v=>{const{url:y}=c(),b=new Oi({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:y||void 0});o.error(b)});let h=!1;const p=v=>{h||(o.next(c()),h=!0);let y={type:Ur.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),"text"===t.responseType&&s.responseText&&(y.partialText=s.responseText),o.next(y)},m=v=>{let y={type:Ur.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),o.next(y)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",f),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:Ur.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",p),null!==a&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(I(qv))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const zg=new D(""),zA=new D("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),GA=new D("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class WA{}let C8=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Wv(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(I(fe),I(zA))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();const S8=/^(?:https?:)?\/\//i;function I8(e,n){if(!_(zg)||"GET"===e.method||"HEAD"===e.method||S8.test(e.url))return n(e);const t=_(WA).getToken(),r=_(GA);return null!=t&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var $r=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}($r||{});function A8(...e){const n=[Hg,$A,HA,{provide:uu,useExisting:HA},{provide:fu,useFactory:()=>_(VA,{optional:!0})??_($A)},{provide:Qa,useValue:I8,multi:!0},{provide:zg,useValue:!0},{provide:WA,useClass:C8}];for(const t of e)n.push(...t.\u0275providers);return function Hf(e){return{\u0275providers:e}}(n)}const qA=new D("");function M8(){return function Ni(e,n){return{\u0275kind:e,\u0275providers:n}}($r.LegacyInterceptors,[{provide:qA,useFactory:g8},{provide:Qa,useExisting:qA,multi:!0}])}let T8=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({providers:[A8(M8())]})}return e})();function YA(e=1/0){return cu(As,e)}const gu=new xe(e=>e.complete());function Pi(...e){const n=Wa(e),t=function q3(e,n){return"number"==typeof Lg(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Yt(r[0]):YA(t)(jr(r,n)):gu}function ls(e,n,t){const r=Se(e)||n||t?{next:e,error:n,complete:t}:e;return r?ft((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(st(o,l=>{var c;null===(c=r.next)||void 0===c||c.call(r,l),o.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),o.complete()},l=>{var c;a=!1,null===(c=r.error)||void 0===c||c.call(r,l),o.error(l)},()=>{var l,c;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(c=r.finalize)||void 0===c||c.call(r)}))}):As}const N8={provide:Vw,useFactory:function O8(e,n){return()=>{if(Ar(n)){const t=Array.from(e.querySelectorAll(`[class*=${XA}]`)),r=/\bflex-layout-.+?\b/g;t.forEach(i=>{i.classList.contains(`${XA}ssr`)&&i.parentNode?i.parentNode.removeChild(i):i.className.replace(r,"")})}}},deps:[fe,fn],multi:!0},XA="flex-layout-";let Wg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=de({type:e}),e.\u0275inj=ae({providers:[N8]}),e})();const qg={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Tn=new D("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>qg}),cs=new D("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Yg=new D("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function _n(e){return null!=e&&"false"!=`${e}`}function Kt(e){return ft((n,t)=>{Yt(e).subscribe(st(t,()=>t.complete(),Ef)),!t.closed&&n.subscribe(t)})}EventTarget;let vu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:function(r){let i=null;return i=r?new(r||e):I(aW),i},providedIn:"root"})}return e})(),aW=(()=>{class e extends vu{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case at.NONE:return r;case at.HTML:return Bn(r,"HTML")?en(r):HE(this._doc,String(r)).toString();case at.STYLE:return Bn(r,"Style")?en(r):r;case at.SCRIPT:if(Bn(r,"Script"))return en(r);throw new E(5200,!1);case at.URL:return Bn(r,"URL")?en(r):Sc(String(r));case at.RESOURCE_URL:if(Bn(r,"ResourceURL"))return en(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return function _P(e){return new uP(e)}(t)}bypassSecurityTrustStyle(t){return function yP(e){return new fP(e)}(t)}bypassSecurityTrustScript(t){return function vP(e){return new hP(e)}(t)}bypassSecurityTrustUrl(t){return function bP(e){return new pP(e)}(t)}bypassSecurityTrustResourceUrl(t){return function EP(e){return new mP(e)}(t)}static \u0275fac=function(r){return new(r||e)(I(fe))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=de({type:e}),e.\u0275inj=ae({imports:[Wg]}),e})();const SW=new D("cdk-dir-doc",{providedIn:"root",factory:function IW(){return _(fe)}}),AW=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let us=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Vt("ltr");change=new ge;constructor(){const t=_(SW,{optional:!0});t&&this.valueSignal.set(function MW(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?AW.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fs=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})(),DM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=de({type:e}),e.\u0275inj=ae({imports:[Wg,fs]}),e})(),RM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=de({type:e}),e.\u0275inj=ae({imports:[Wg]}),e})(),eq=(()=>{class e{constructor(t,r){(function go(e){return"server"===e})(r)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,r=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Tn,useValue:{...qg,...t}},{provide:Yg,useValue:r,multi:!0},{provide:cs,useValue:!0}]:[{provide:Tn,useValue:{...qg,...t}},{provide:Yg,useValue:r,multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(I(cs),I(fn))},e.\u0275mod=de({type:e}),e.\u0275inj=ae({imports:[DM,vM,RM,DM,vM,RM]}),e})();const{isArray:tq}=Array,{getPrototypeOf:nq,prototype:rq,keys:iq}=Object;function FM(e){if(1===e.length){const n=e[0];if(tq(n))return{args:n,keys:null};if(function oq(e){return e&&"object"==typeof e&&nq(e)===rq}(n)){const t=iq(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:sq}=Array;function kM(e){return Xe(n=>function aq(e,n){return sq(n)?e(...n):e(n)}(e,n))}function OM(e,n){return e.reduce((t,r,i)=>(t[r]=n[i],t),{})}function NM(...e){const n=CA(e),{args:t,keys:r}=FM(e),i=new xe(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Yt(t[d]).subscribe(st(o,f=>{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(r?OM(r,a):a),o.complete())}))}});return n?i.pipe(kM(n)):i}let PM=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,r){this._renderer=t,this._elementRef=r}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(r){return new(r||e)(g(tn),g(U))};static \u0275dir=S({type:e})}return e})(),Vi=(()=>{class e extends PM{static \u0275fac=(()=>{let t;return function(i){return(t||(t=k(e)))(i||e)}})();static \u0275dir=S({type:e,features:[A]})}return e})();const Rn=new D(""),cq={provide:Rn,useExisting:De(()=>Eu),multi:!0},uq=new D("");let Eu=(()=>{class e extends PM{_compositionMode;_composing=!1;constructor(t,r,i){super(t,r),this._compositionMode=i,null==this._compositionMode&&(this._compositionMode=!function dq(){const e=Ir()?Ir().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(r){return new(r||e)(g(tn),g(U),g(uq,8))};static \u0275dir=S({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){1&r&&Te("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[ue([cq]),A]})}return e})();function Xg(e){return null==e||0===Jg(e)}function Jg(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}const wt=new D(""),Gr=new D(""),fq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class VM{static min(n){return function BM(e){return n=>{if(null==n.value||null==e)return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function jM(e){return n=>{if(null==n.value||null==e)return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function HM(e){return Xg(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function UM(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function $M(e){return Xg(e.value)||fq.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function zM(e){return n=>{const t=n.value?.length??Jg(n.value);return null===t||0===t?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}(n)}static maxLength(n){return function GM(e){return n=>{const t=n.value?.length??Jg(n.value);return null!==t&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}(n)}static pattern(n){return function WM(e){if(!e)return xu;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Xg(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return XM(n)}static composeAsync(n){return JM(n)}}function xu(e){return null}function qM(e){return null!=e}function YM(e){return md(e)?jr(e):e}function KM(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function QM(e,n){return n.map(t=>t(e))}function ZM(e){return e.map(n=>function hq(e){return!e.validate}(n)?n:t=>n.validate(t))}function XM(e){if(!e)return null;const n=e.filter(qM);return 0==n.length?null:function(t){return KM(QM(t,n))}}function e_(e){return null!=e?XM(ZM(e)):null}function JM(e){if(!e)return null;const n=e.filter(qM);return 0==n.length?null:function(t){return NM(QM(t,n).map(YM)).pipe(Xe(KM))}}function t_(e){return null!=e?JM(ZM(e)):null}function eT(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function tT(e){return e._rawValidators}function nT(e){return e._rawAsyncValidators}function n_(e){return e?Array.isArray(e)?e:[e]:[]}function Du(e,n){return Array.isArray(e)?e.includes(n):e===n}function rT(e,n){const t=n_(n);return n_(e).forEach(i=>{Du(t,i)||t.push(i)}),t}function iT(e,n){return n_(n).filter(t=>!Du(e,t))}class oT{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=e_(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=t_(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ot extends oT{name;get formDirective(){return null}get path(){return null}}class Gn extends oT{_parent=null;name=null;valueAccessor=null}class sT{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let aT=(()=>{class e extends sT{constructor(t){super(t)}static \u0275fac=function(r){return new(r||e)(g(Gn,2))};static \u0275dir=S({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&gt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[A]})}return e})();const el="VALID",Cu="INVALID",hs="PENDING",tl="DISABLED";class ps{}class cT extends ps{value;source;constructor(n,t){super(),this.value=n,this.source=t}}class o_ extends ps{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}}class s_ extends ps{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}}class Su extends ps{status;source;constructor(n,t){super(),this.status=n,this.source=t}}class dT extends ps{source;constructor(n){super(),this.source=n}}class a_ extends ps{source;constructor(n){super(),this.source=n}}function l_(e){return(Iu(e)?e.validators:e)||null}function c_(e,n){return(Iu(n)?n.asyncValidators:e)||null}function Iu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class d_{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Ye(this.statusReactive)}set status(n){Ye(()=>this.statusReactive.set(n))}_status=qt(()=>this.statusReactive());statusReactive=Vt(void 0);get valid(){return this.status===el}get invalid(){return this.status===Cu}get pending(){return this.status==hs}get disabled(){return this.status===tl}get enabled(){return this.status!==tl}errors;get pristine(){return Ye(this.pristineReactive)}set pristine(n){Ye(()=>this.pristineReactive.set(n))}_pristine=qt(()=>this.pristineReactive());pristineReactive=Vt(!0);get dirty(){return!this.pristine}get touched(){return Ye(this.touchedReactive)}set touched(n){Ye(()=>this.touchedReactive.set(n))}_touched=qt(()=>this.touchedReactive());touchedReactive=Vt(!1);get untouched(){return!this.touched}_events=new ee;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(rT(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(rT(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(iT(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(iT(n,this._rawAsyncValidators))}hasValidator(n){return Du(this._rawValidators,n)}hasAsyncValidator(n){return Du(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new s_(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),t&&!1!==n.emitEvent&&this._events.next(new s_(!1,r))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:r}),t&&!1!==n.emitEvent&&this._events.next(new o_(!1,r))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),t&&!1!==n.emitEvent&&this._events.next(new o_(!0,r))}markAsPending(n={}){this.status=hs;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Su(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=tl,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue();const r=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cT(this.value,r)),this._events.next(new Su(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=el,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===el||this.status===hs)&&this._runAsyncValidator(r,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new cT(this.value,t)),this._events.next(new Su(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tl:el}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=hs,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t,shouldHaveEmitted:!1!==n};const r=YM(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new Su(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,r)}_initObservables(){this.valueChanges=new ge,this.statusChanges=new ge}_calculateStatus(){return this._allControlsDisabled()?tl:this.errors?Cu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hs)?hs:this._anyControlsHaveStatus(Cu)?Cu:el}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),i&&this._events.next(new o_(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new s_(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Iu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Eq(e){return Array.isArray(e)?e_(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function xq(e){return Array.isArray(e)?t_(e):e||null}(this._rawAsyncValidators)}}class u_ extends d_{constructor(n,t,r){super(l_(t),c_(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function fT(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new E(1002,"")})})(this,0,n),Object.keys(n).forEach(r=>{(function uT(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new E(1e3,"");if(!r[t])throw new E(1001,"")})(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t),!1!==t?.emitEvent&&this._events.next(new a_(this))}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const ms=new D("",{providedIn:"root",factory:()=>Au}),Au="always";function nl(e,n,t=Au){f_(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function Cq(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&hT(e,n)})}(e,n),function Iq(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function Sq(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&hT(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function wq(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Tu(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),Fu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Ru(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function f_(e,n){const t=tT(e);null!==n.validator?e.setValidators(eT(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=nT(e);null!==n.asyncValidator?e.setAsyncValidators(eT(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();Ru(n._rawValidators,i),Ru(n._rawAsyncValidators,i)}function Fu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=tT(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=nT(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return Ru(n._rawValidators,r),Ru(n._rawAsyncValidators,r),t}function hT(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function pT(e,n){f_(e,n)}function mT(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const Fq={provide:Ot,useExisting:De(()=>gs)},rl=Promise.resolve();let gs=(()=>{class e extends Ot{callSetDisabledState;get submitted(){return Ye(this.submittedReactive)}_submitted=qt(()=>this.submittedReactive());submittedReactive=Vt(!1);_directives=new Set;form;ngSubmit=new ge;options;constructor(t,r,i){super(),this.callSetDisabledState=i,this.form=new u_({},e_(t),t_(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){rl.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),nl(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){rl.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){rl.then(()=>{const r=this._findContainer(t.path),i=new u_({});pT(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){rl.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){rl.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),mT(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new dT(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(r){return new(r||e)(g(wt,10),g(Gr,10),g(ms,8))};static \u0275dir=S({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&Te("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([Fq]),A]})}return e})();function gT(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function _T(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const yT=class extends d_{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,r){super(l_(t),c_(r,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Iu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=_T(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1,!1!==t?.emitEvent&&this._events.next(new a_(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){gT(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){gT(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){_T(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Lq={provide:Gn,useExisting:De(()=>g_)},vT=Promise.resolve();let g_=(()=>{class e extends Gn{_changeDetectorRef;callSetDisabledState;control=new yT;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ge;constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function m_(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Eu?t=o:function Tq(e){return Object.getPrototypeOf(e.constructor)===Vi}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function p_(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){nl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){vT.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&nt(r);vT.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Mu(e,n){return[...n.path,e]}(t,this._parent):[t]}static \u0275fac=function(r){return new(r||e)(g(Ot,9),g(wt,10),g(Gr,10),g(Rn,10),g(Fi,8),g(ms,8))};static \u0275dir=S({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ue([Lq]),A,Bt]})}return e})();const zq={provide:Ot,useExisting:De(()=>_s)};let _s=(()=>{class e extends Ot{callSetDisabledState;get submitted(){return Ye(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=qt(()=>this._submittedReactive());_submittedReactive=Vt(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new ge;constructor(t,r,i){super(),this.callSetDisabledState=i,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Fu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return nl(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Tu(t.control||null,t,!1),function Rq(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this._submittedReactive.set(!0),mT(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new dT(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0,r={}){this.form.reset(t,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Tu(r||null,t),(e=>e instanceof yT)(i)&&(nl(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);pT(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function Aq(e,n){return Fu(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){f_(this.form,this),this._oldForm&&Fu(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(g(wt,10),g(Gr,10),g(ms,8))};static \u0275dir=S({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&Te("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ue([zq]),A,Bt]})}return e})(),l6=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})(),VT=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:ms,useValue:t.callSetDisabledState??Au}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[l6]})}return e})(),d6=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),u6=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({providers:[d6]})}return e})();const b_={};let E_,ys=(()=>{class e{_appId=_(wo);getId(t){return"ng"!==this._appId&&(t+=this._appId),b_.hasOwnProperty(t)||(b_[t]=0),`${t}${b_[t]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();try{E_=typeof Intl<"u"&&Intl.v8BreakIterator}catch{E_=!1}let Fn=(()=>{class e{_platformId=_(fn);isBrowser=this._platformId?Ar(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!E_)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function x_(...e){return function f6(){return YA(1)}()(jr(e,Wa(e)))}function Pu(...e){const n=Wa(e);return ft((t,r)=>{(n?x_(e,t,n):x_(e,t)).subscribe(r)})}const D_={now:()=>(D_.delegate||Date).now(),delegate:void 0};class BT extends ee{constructor(n=1/0,t=1/0,r=D_){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;t||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=t.now();let a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}}function jT(e={}){const{connector:n=()=>new ee,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,d=u=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return ft((m,v)=>{c++,!u&&!d&&f();const y=l=l??n();v.add(()=>{c--,0===c&&!u&&!d&&(a=w_(p,i))}),y.subscribe(v),!s&&c>0&&(s=new Is({next:b=>y.next(b),error:b=>{u=!0,f(),a=w_(h,t,b),y.error(b)},complete:()=>{d=!0,f(),a=w_(h,r),y.complete()}}),Yt(m).subscribe(s))})(o)}}function w_(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new Is({next:()=>{r.unsubscribe(),e()}});return Yt(n(...t)).subscribe(r)}class m6{_box;_destroyed=new ee;_resizeSubject=new ee;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new xe(t=>{const r=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),r.unsubscribe(),this._elementObservables.delete(n)}}).pipe(gn(t=>t.some(r=>r.target===n)),function p6(e,n,t){let r,i=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:t}=e):r=e??1/0,jT({connector:()=>new BT(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}({bufferSize:1,refCount:!0}),Kt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let g6=(()=>{class e{_cleanupErrorListener;_observers=new Map;_ngZone=_(N);constructor(){}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(t,r){const i=r?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new m6(i)),this._observers.get(i).observe(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function HT(e,n,t){e?hr(t,e,n):n()}function ol(e){return e<=0?()=>gu:ft((n,t)=>{let r=0;n.subscribe(st(t,i=>{++r<=e&&(t.next(i),e<=r&&t.complete())}))})}class b6 extends Fe{constructor(n,t){super()}schedule(n,t=0){return this}}const Lu={setInterval(e,n,...t){const{delegate:r}=Lu;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Lu;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class C_ extends b6{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,r=0){return Lu.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&Lu.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Cl(r,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}class sl{constructor(n,t=sl.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}}sl.now=D_.now;class S_ extends sl{constructor(n,t=sl.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let r;this._active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const I_=new S_(C_),E6=I_;function A_(e,n=I_){return ft((t,r)=>{let i=null,o=null,s=null;const a=()=>{if(i){i.unsubscribe(),i=null;const c=o;o=null,r.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return i=this.schedule(void 0,c-d),void r.add(i);a()}t.subscribe(st(r,c=>{o=c,s=n.now(),i||(i=n.schedule(l,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function Vu(e){return Array.isArray(e)?e:[e]}const UT=new Set;let ji,$T=(()=>{class e{_platform=_(Fn);_nonce=_(Fh,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):D6}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function x6(e,n){if(!UT.has(e))try{ji||(ji=document.createElement("style"),n&&ji.setAttribute("nonce",n),ji.setAttribute("type","text/css"),document.head.appendChild(ji)),ji.sheet&&(ji.sheet.insertRule(`@media ${e} {body{ }}`,0),UT.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function D6(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let w6=(()=>{class e{_mediaMatcher=_($T);_zone=_(N);_queries=new Map;_destroySubject=new ee;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return zT(Vu(t)).some(i=>this._registerQuery(i).mql.matches)}observe(t){let o=function _6(...e){const n=Wa(e),t=CA(e),{args:r,keys:i}=FM(e);if(0===r.length)return jr([],n);const o=new xe(function y6(e,n,t=As){return r=>{HT(n,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l<i;l++)HT(n,()=>{const c=jr(e[l],n);let d=!1;c.subscribe(st(r,u=>{o[l]=u,d||(d=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,i?s=>OM(i,s):As));return t?o.pipe(kM(t)):o}(zT(Vu(t)).map(s=>this._registerQuery(s).observable));return o=x_(o.pipe(ol(1)),o.pipe(function v6(e){return gn((n,t)=>e<=t)}(1),A_(0))),o.pipe(Xe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const r=this._mediaMatcher.matchMedia(t),o={observable:new xe(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Pu(r),Xe(({matches:s})=>({query:t,matches:s})),Kt(this._destroySubject)),mql:r};return this._queries.set(t,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zT(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}const C6=new D("MATERIAL_ANIMATIONS");let GT=null;function Bu(){return"enabled"!==function S6(){return _(C6,{optional:!0})?.animationsDisabled||"NoopAnimations"===_(hc,{optional:!0})?"di-disabled":(GT??=_($T).matchMedia("(prefers-reduced-motion)").matches,GT?"reduced-motion":"enabled")}()}const I6=["notch"],A6=["matFormFieldNotchedOutline",""],M6=["*"],WT=["iconPrefixContainer"],qT=["textPrefixContainer"],YT=["iconSuffixContainer"],KT=["textSuffixContainer"],T6=["textField"],R6=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],F6=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function k6(e,n){1&e&&mt(0,"span",21)}function O6(e,n){if(1&e&&(X(0,"label",20),Dt(1,1),Je(2,k6,1,0,"span",21),J()),2&e){const t=L(2);j("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),pt("for",t._control.disableAutomaticLabeling?null:t._control.id),R(2),et(!t.hideRequiredMarker&&t._control.required?2:-1)}}function N6(e,n){1&e&&Je(0,O6,3,5,"label",20),2&e&&et(L()._hasFloatingLabel()?0:-1)}function P6(e,n){1&e&&mt(0,"div",7)}function L6(e,n){}function V6(e,n){1&e&&Ae(0,L6,0,0,"ng-template",13),2&e&&(L(2),j("ngTemplateOutlet",Na(1)))}function B6(e,n){if(1&e&&(X(0,"div",9),Je(1,V6,1,1,null,13),J()),2&e){const t=L();j("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),R(),et(t._forceDisplayInfixLabel()?-1:1)}}function j6(e,n){1&e&&(X(0,"div",10,2),Dt(2,2),J())}function H6(e,n){1&e&&(X(0,"div",11,3),Dt(2,3),J())}function U6(e,n){}function $6(e,n){1&e&&Ae(0,U6,0,0,"ng-template",13),2&e&&(L(),j("ngTemplateOutlet",Na(1)))}function z6(e,n){1&e&&(X(0,"div",14,4),Dt(2,4),J())}function G6(e,n){1&e&&(X(0,"div",15,5),Dt(2,5),J())}function W6(e,n){1&e&&mt(0,"div",16)}function q6(e,n){1&e&&(X(0,"div",18),Dt(1,6),J())}function Y6(e,n){if(1&e&&(X(0,"mat-hint",22),Sn(1),J()),2&e){const t=L(2);j("id",t._hintLabelId),R(),La(t.hintLabel)}}function K6(e,n){if(1&e&&(X(0,"div",19),Je(1,Y6,2,2,"mat-hint",22),Dt(2,7),mt(3,"div",23),Dt(4,8),J()),2&e){const t=L();R(),et(t.hintLabel?1:-1)}}let QT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["mat-label"]]})}return e})();const Q6=new D("MatError");let ZT=(()=>{class e{align="start";id=_(ys).getId("mat-mdc-hint-");static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,i){2&r&&(Aa("id",i.id),pt("align",null),gt("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}})}return e})();const XT=new D("MatPrefix");let Z6=(()=>{class e{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[ue([{provide:XT,useExisting:e}])]})}return e})();const JT=new D("MatSuffix");let X6=(()=>{class e{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ue([{provide:JT,useExisting:e}])]})}return e})();const e0=new D("FloatingLabelParent");let t0=(()=>{class e{_elementRef=_(U);get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=_(g6);_ngZone=_(N);_parent=_(e0);_resizeSubscription=new Fe;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function J6(e){if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const r=t.scrollWidth;return t.remove(),r}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,i){2&r&&gt("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return e})();const n0="mdc-line-ripple--active",ju="mdc-line-ripple--deactivating";let r0=(()=>{class e{_elementRef=_(U);_cleanupTransitionEnd;constructor(){const t=_(N),r=_(tn);t.runOutsideAngular(()=>{this._cleanupTransitionEnd=r.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(ju),t.add(n0)}deactivate(){this._elementRef.nativeElement.classList.add(ju)}_handleTransitionEnd=t=>{const r=this._elementRef.nativeElement.classList,i=r.contains(ju);"opacity"===t.propertyName&&i&&r.remove(n0,ju)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return e})(),o0=(()=>{class e{_elementRef=_(U);_ngZone=_(N);open=!1;_notch;ngAfterViewInit(){const t=this._elementRef.nativeElement,r=t.querySelector(".mdc-floating-label");r?(t.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(r.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>r.style.transitionDuration="")}))):t.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(t){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${t}px)`)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,i){if(1&r&&Ft(I6,5),2&r){let o;Ne(o=Pe())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,i){2&r&&gt("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:A6,ngContentSelectors:M6,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(r,i){1&r&&(es(),Ad(0,"div",1),Sd(1,"div",2,0),Dt(3),Id(),Ad(4,"div",3))},encapsulation:2,changeDetection:0})}return e})(),M_=(()=>{class e{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e})}return e})();const T_=new D("MatFormField"),e9=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS");let l0=(()=>{class e{_elementRef=_(U);_changeDetectorRef=_(Fi);_platform=_(Fn);_idGenerator=_(ys);_ngZone=_(N);_defaults=_(e9,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Ud("iconPrefixContainer");_textPrefixContainerSignal=Ud("textPrefixContainer");_iconSuffixContainerSignal=Ud("iconSuffixContainer");_textSuffixContainerSignal=Ud("textSuffixContainer");_prefixSuffixContainers=qt(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(t=>t?.nativeElement).filter(t=>void 0!==t));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=B$(QT);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=_n(t)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(t){this._appearanceSignal.set(t||this._defaults?.appearance||"fill")}_appearanceSignal=Vt("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}_destroyed=new ee;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Bu();constructor(){const t=this._defaults,r=_(us);t&&(t.appearance&&(this.appearance=t.appearance),this._hideRequiredMarker=!!t?.hideRequiredMarker,t.color&&(this.color=t.color)),Qd(()=>this._currentDirection=r.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=qt(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(t){const r=this._control,i="mat-mdc-form-field-type-";t&&this._elementRef.nativeElement.classList.remove(i+t.controlType),r.controlType&&this._elementRef.nativeElement.classList.add(i+r.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=r.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=r.stateChanges.pipe(Pu([void 0,void 0]),Xe(()=>[r.errorState,r.userAriaDescribedBy]),function h6(){return ft((e,n)=>{let t,r=!1;e.subscribe(st(n,i=>{const o=t;t=i,r&&n.next([o,i]),r=!0}))})}(),gn(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),r.ngControl&&r.ngControl.valueChanges&&(this._valueChanges=r.ngControl.valueChanges.pipe(Kt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Pi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){}_updateFocusState(){const t=this._control.focused;t&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!t&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",t),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",t)}_syncOutlineLabelOffset(){!function kz(e,n){const t=n?.injector??_(we),r=t.get(Sr),i=t.get(yp),o=t.get(Fo,null,{optional:!0});i.impl??=t.get(mx);let s=e;"function"==typeof s&&(s={mixedReadWrite:e});const a=t.get(Yl,null,{optional:!0}),l=new Fz(i.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,o?.snapshot(null));i.impl.register(l)}({earlyRead:()=>{if("outline"!==this._appearanceSignal())return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(const t of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(t,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:t=>this._writeOutlinedLabelStyles(t())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=qt(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(t){const r=this._control?this._control.ngControl:null;return r&&r[t]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const o=this._hintChildren?this._hintChildren.find(a=>"start"===a.align):null,s=this._hintChildren?this._hintChildren.find(a=>"end"===a.align):null;o?t.push(o.id):this._hintLabel&&t.push(this._hintLabelId),s&&t.push(s.id)}else this._errorChildren&&t.push(...this._errorChildren.map(o=>o.id));const r=this._control.describedByIds;let i;if(r){const o=this._describedByIds||t;i=t.concat(r.filter(s=>s&&!o.includes(s)))}else i=t;this._control.setDescribedByIds(i),this._describedByIds=t}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,i=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0,l=i?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0;return[`var(--mat-mdc-form-field-label-transform, translateY(-50%) translateX(calc(${"rtl"===this._currentDirection?"-1":"1"} * (${s+a}px + var(--mat-mdc-form-field-label-offset-x, 0px)))))`,s+a+l+c]}_writeOutlinedLabelStyles(t){if(null!==t){const[r,i]=t;this._floatingLabel&&(this._floatingLabel.element.style.transform=r),null!==i&&this._notchedOutline?._setMaxWidth(i)}}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const r=t.getRootNode();return r&&r!==t}return document.documentElement.contains(t)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,i,o){if(1&r&&(function SC(e,n,t,r,i){zD(n,BD(e,t,r,i))}(o,i._labelChild,QT,5),dr(o,M_,5),dr(o,XT,5),dr(o,JT,5),dr(o,Q6,5),dr(o,ZT,5)),2&r){let s;Lm(),Ne(s=Pe())&&(i._formFieldControl=s.first),Ne(s=Pe())&&(i._prefixChildren=s),Ne(s=Pe())&&(i._suffixChildren=s),Ne(s=Pe())&&(i._errorChildren=s),Ne(s=Pe())&&(i._hintChildren=s)}},viewQuery:function(r,i){if(1&r&&(Oa(i._iconPrefixContainerSignal,WT,5),Oa(i._textPrefixContainerSignal,qT,5),Oa(i._iconSuffixContainerSignal,YT,5),Oa(i._textSuffixContainerSignal,KT,5),Ft(T6,5),Ft(WT,5),Ft(qT,5),Ft(YT,5),Ft(KT,5),Ft(t0,5),Ft(o0,5),Ft(r0,5)),2&r){let o;Lm(4),Ne(o=Pe())&&(i._textField=o.first),Ne(o=Pe())&&(i._iconPrefixContainer=o.first),Ne(o=Pe())&&(i._textPrefixContainer=o.first),Ne(o=Pe())&&(i._iconSuffixContainer=o.first),Ne(o=Pe())&&(i._textSuffixContainer=o.first),Ne(o=Pe())&&(i._floatingLabel=o.first),Ne(o=Pe())&&(i._notchedOutline=o.first),Ne(o=Pe())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(r,i){2&r&&gt("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-appearance-fill","fill"==i.appearance)("mat-form-field-appearance-outline","outline"==i.appearance)("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-primary","accent"!==i.color&&"warn"!==i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color)("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ue([{provide:T_,useExisting:e},{provide:e0,useExisting:e}])],ngContentSelectors:F6,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,i){if(1&r){const o=cr();es(R6),Ae(0,N6,1,1,"ng-template",null,0,_S),X(2,"div",6,1),Te("click",function(a){return ct(o),dt(i._control.onContainerClick(a))}),Je(4,P6,1,0,"div",7),X(5,"div",8),Je(6,B6,2,2,"div",9),Je(7,j6,3,0,"div",10),Je(8,H6,3,0,"div",11),X(9,"div",12),Je(10,$6,1,1,null,13),Dt(11),J(),Je(12,z6,3,0,"div",14),Je(13,G6,3,0,"div",15),J(),Je(14,W6,1,0,"div",16),J(),X(15,"div",17),Je(16,q6,2,0,"div",18)(17,K6,5,1,"div",19),J()}if(2&r){let o;R(2),gt("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),R(2),et(i._hasOutline()||i._control.disabled?-1:4),R(2),et(i._hasOutline()?6:-1),R(),et(i._hasIconPrefix?7:-1),R(),et(i._hasTextPrefix?8:-1),R(2),et(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),R(2),et(i._hasTextSuffix?12:-1),R(),et(i._hasIconSuffix?13:-1),R(),et(i._hasOutline()?-1:14),R(),gt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing);const s=i._getSubscriptMessageType();R(),et("error"===(o=s)?16:"hint"===o?17:-1)}},dependencies:[t0,o0,Eg,r0,ZT],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}\n'],encapsulation:2,changeDetection:0})}return e})();const c9=new D("liveAnnouncerElement",{providedIn:"root",factory:function d9(){return null}}),u9=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let f9=0,h9=(()=>{class e{_ngZone=_(N);_defaultOptions=_(u9,{optional:!0});_liveElement;_document=_(fe);_previousTimeout;_currentPromise;_currentResolve;constructor(){const t=_(c9,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...r){const i=this._defaultOptions;let o,s;return 1===r.length&&"number"==typeof r[0]?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const t="cdk-live-announcer-element",r=this._document.getElementsByClassName(t),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(t),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id="cdk-live-announcer-"+f9++,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(t){const r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){const o=r[i],s=o.getAttribute("aria-owns");s?-1===s.indexOf(t)&&o.setAttribute("aria-owns",s+" "+t):o.setAttribute("aria-owns",t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Hi=function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e}(Hi||{});const d0="cdk-high-contrast-black-on-white",u0="cdk-high-contrast-white-on-black",R_="cdk-high-contrast-active";let Hu,p9=(()=>{class e{_platform=_(Fn);_hasCheckedHighContrastMode;_document=_(fe);_breakpointSubscription;constructor(){this._breakpointSubscription=_(w6).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Hi.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(t):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Hi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Hi.BLACK_ON_WHITE}return Hi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(R_,d0,u0),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();r===Hi.BLACK_ON_WHITE?t.add(R_,d0):r===Hi.WHITE_ON_BLACK&&t.add(R_,u0)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qt=(()=>{class e{constructor(){_(p9)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[fs,fs]})}return e})(),al=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[Qt,u6,l0,Qt]})}return e})();function f0(e){return ft((n,t)=>{let o,r=null,i=!1;r=n.subscribe(st(t,void 0,void 0,s=>{o=Yt(e(s,f0(e)(n))),r?(r.unsubscribe(),r=null,o.subscribe(t)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(t))})}function ll(e){return function g9(){if(void 0===Hu&&(Hu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Hu=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Hu}()?.createHTML(e)||e}function h0(e){return Error(`Unable to find icon with the name "${e}"`)}function p0(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function m0(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Ui{url;svgText;options;svgElement;constructor(n,t,r){this.url=n,this.svgText=t,this.options=r}}let Uu=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,r,i,o){this._httpClient=t,this._sanitizer=r,this._errorHandler=o,this._document=i}addSvgIcon(t,r,i){return this.addSvgIconInNamespace("",t,r,i)}addSvgIconLiteral(t,r,i){return this.addSvgIconLiteralInNamespace("",t,r,i)}addSvgIconInNamespace(t,r,i,o){return this._addSvgIconConfig(t,r,new Ui(i,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,i,o){const s=this._sanitizer.sanitize(at.HTML,i);if(!s)throw m0(i);const a=ll(s);return this._addSvgIconConfig(t,r,new Ui("",a,o))}addSvgIconSet(t,r){return this.addSvgIconSetInNamespace("",t,r)}addSvgIconSetLiteral(t,r){return this.addSvgIconSetLiteralInNamespace("",t,r)}addSvgIconSetInNamespace(t,r,i){return this._addSvgIconSetConfig(t,new Ui(r,null,i))}addSvgIconSetLiteralInNamespace(t,r,i){const o=this._sanitizer.sanitize(at.HTML,r);if(!o)throw m0(r);const s=ll(o);return this._addSvgIconSetConfig(t,new Ui("",s,i))}registerFontClassAlias(t,r=t){return this._fontCssClassesByAlias.set(t,r),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const r=this._sanitizer.sanitize(at.RESOURCE_URL,t);if(!r)throw p0(t);const i=this._cachedIconsByUrl.get(r);return i?zn($u(i)):this._loadSvgIconFromConfig(new Ui(t,null)).pipe(ls(o=>this._cachedIconsByUrl.set(r,o)),Xe(o=>$u(o)))}getNamedSvgIcon(t,r=""){const i=g0(r,t);let o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,t),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(t,s):function m9(e,n){const t=Se(e)?e:()=>e,r=i=>i.error(t());return new xe(n?i=>n.schedule(r,0,i):r)}(h0(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?zn($u(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Xe(r=>$u(r)))}_getSvgFromIconSetConfigs(t,r){const i=this._extractIconWithNameFromAnySet(t,r);return i?zn(i):NM(r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(f0(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(at.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),zn(null)})))).pipe(Xe(()=>{const s=this._extractIconWithNameFromAnySet(t,r);if(!s)throw h0(t);return s}))}_extractIconWithNameFromAnySet(t,r){for(let i=r.length-1;i>=0;i--){const o=r[i];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(ls(r=>t.svgText=r),Xe(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?zn(null):this._fetchIcon(t).pipe(ls(r=>t.svgText=r))}_extractSvgIconFromSet(t,r,i){const o=t.querySelector(`[id="${r}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const a=this._svgElementFromString(ll("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(t){const r=this._document.createElement("DIV");r.innerHTML=t;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(t){const r=this._svgElementFromString(ll("<svg></svg>")),i=t.attributes;for(let o=0;o<i.length;o++){const{name:s,value:a}=i[o];"id"!==s&&r.setAttribute(s,a)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(t.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(t,r){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),r&&r.viewBox&&t.setAttribute("viewBox",r.viewBox),t}_fetchIcon(t){const{url:r,options:i}=t,o=i?.withCredentials??!1;if(!this._httpClient)throw function _9(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==r)throw Error(`Cannot fetch icon from URL "${r}".`);const s=this._sanitizer.sanitize(at.RESOURCE_URL,r);if(!s)throw p0(r);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(Xe(c=>ll(c)),Pg(()=>this._inProgressUrlFetches.delete(s)),jT());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,r,i){return this._svgIconConfigs.set(g0(t,r),i),this}_addSvgIconSetConfig(t,r){const i=this._iconSetConfigs.get(t);return i?i.push(r):this._iconSetConfigs.set(t,[r]),this}_svgElementFromConfig(t){if(!t.svgElement){const r=this._svgElementFromString(t.svgText);this._setSvgAttributes(r,t.options),t.svgElement=r}return t.svgElement}_getIconConfigFromResolvers(t,r){for(let i=0;i<this._resolvers.length;i++){const o=this._resolvers[i](r,t);if(o)return v9(o)?new Ui(o.url,null,o.options):new Ui(o,null)}}static \u0275fac=function(r){return new(r||e)(I(Hg,8),I(vu),I(fe,8),I(ir))};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $u(e){return e.cloneNode(!0)}function g0(e,n){return e+":"+n}function v9(e){return!(!e.url||!e.options)}const b9=["*"],E9=new D("MAT_ICON_DEFAULT_OPTIONS"),x9=new D("mat-icon-location",{providedIn:"root",factory:function D9(){const e=_(fe),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),_0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],w9=_0.map(e=>`[${e}]`).join(", "),C9=/^url\(['"]?#(.*?)['"]?\)$/;let vs,S9=(()=>{class e{_elementRef=_(U);_iconRegistry=_(Uu);_location=_(x9);_errorHandler=_(ir);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){const r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){const r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Fe.EMPTY;constructor(){const t=_(new zS("aria-hidden"),{optional:!0}),r=_(E9,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=t.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>t.classList.remove(i)),r.forEach(i=>t.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const r=t.querySelectorAll(w9),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)_0.forEach(s=>{const a=r[o],l=a.getAttribute(s),c=l?l.match(C9):null;if(c){let d=i.get(a);d||(d=[],i.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[r,i]=this._splitIconName(t);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(ol(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${i}! ${o.message}`))})}}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,i){2&r&&(pt("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),Hm(i.color?"mat-"+i.color:""),gt("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:[2,"inline","inline",nt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:b9,decls:1,vars:0,template:function(r,i){1&r&&(es(),Dt(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return e})(),y0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[Qt,Qt]})}return e})();const v0=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function b0(){if(vs)return vs;if("object"!=typeof document||!document)return vs=new Set(v0),vs;let e=document.createElement("input");return vs=new Set(v0.filter(n=>(e.setAttribute("type",n),e.type===n))),vs}const zu=new WeakMap;let cl=(()=>{class e{_appRef;_injector=_(we);_environmentInjector=_(vt);load(t){const r=this._appRef=this._appRef||this._injector.get(Cn);let i=zu.get(r);i||(i={loaders:new Set,refs:[]},zu.set(r,i),r.onDestroy(()=>{zu.get(r)?.refs.forEach(o=>o.destroy()),zu.delete(r)})),i.loaders.has(t)||(i.loaders.add(t),i.refs.push(SI(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dl(e){return e instanceof U?e.nativeElement:e}let A9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:["textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}\n"],encapsulation:2,changeDetection:0})}return e})();const M9={passive:!0};let T9=(()=>{class e{_platform=_(Fn);_ngZone=_(N);_renderer=_(Un).createRenderer(null,null);_styleLoader=_(cl);_monitoredElements=new Map;constructor(){}monitor(t){if(!this._platform.isBrowser)return gu;this._styleLoader.load(A9);const r=dl(t),i=this._monitoredElements.get(r);if(i)return i.subject;const o=new ee,s="cdk-text-field-autofilled",a=c=>{"cdk-text-field-autofill-start"!==c.animationName||r.classList.contains(s)?"cdk-text-field-autofill-end"===c.animationName&&r.classList.contains(s)&&(r.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1}))):(r.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0})))},l=this._ngZone.runOutsideAngular(()=>(r.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(r,"animationstart",a,M9)));return this._monitoredElements.set(r,{subject:o,unlisten:l}),o}stopMonitoring(t){const r=dl(t),i=this._monitoredElements.get(r);i&&(i.unlisten(),i.subject.complete(),r.classList.remove("cdk-text-field-autofill-monitored"),r.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(r))}ngOnDestroy(){this._monitoredElements.forEach((t,r)=>this.stopMonitoring(r))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),R9=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})();const F9=new D("MAT_INPUT_VALUE_ACCESSOR");let E0=(()=>{class e{isErrorState(t,r){return!!(t&&t.invalid&&(t.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class x0{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,t,r,i,o){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=r,this._parentForm=i,this._stateChanges=o}updateErrorState(){const n=this.errorState,t=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=r?.isErrorState(i,t)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}const k9=["button","checkbox","file","hidden","image","radio","range","reset","submit"],O9=new D("MAT_INPUT_CONFIG");let N9=(()=>{class e{_elementRef=_(U);_platform=_(Fn);ngControl=_(Gn,{optional:!0,self:!0});_autofillMonitor=_(T9);_ngZone=_(N);_formField=_(T_,{optional:!0});_renderer=_(tn);_uid=_(ys).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=_(O9,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new ee;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=_n(t),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(t){this._id=t||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(VM.required)??!1}set required(t){this._required=_n(t)}_required;get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&b0().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(t){t!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(t):this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=_n(t)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>b0().has(t));constructor(){const t=_(gs,{optional:!0}),r=_(_s,{optional:!0}),i=_(E0),o=_(F9,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?mo(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new x0(i,this.ngControl,r,t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===a,this._isTextarea="textarea"===a,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Qd(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){if(t!==this.focused){if(!this._isNativeSelect&&t&&this.disabled&&this.disabledInteractive){const r=this._elementRef.nativeElement;"number"===r.type?(r.type="text",r.setSelectionRange(0,0),r.type="number"):r.setSelectionRange(0,0)}this.focused=t,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=t,t?r.setAttribute("placeholder",t):r.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){k9.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,r=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&r&&r.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(t){const r=this._elementRef.nativeElement;t.length?r.setAttribute("aria-describedby",t.join(" ")):r.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}_iOSKeyupListener=t=>{const r=t.target;!r.value&&0===r.selectionStart&&0===r.selectionEnd&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(r,i){1&r&&Te("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&r&&(Aa("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),pt("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),gt("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",nt]},exportAs:["matInput"],features:[ue([{provide:M_,useExisting:e}]),Bt]})}return e})(),D0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[Qt,al,al,R9,Qt]})}return e})();function Gu(e){return e.composedPath?e.composedPath()[0]:e.target}function w0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Ze(e){return null==e?"":"string"==typeof e?e:`${e}px`}const ul={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:r}=ul;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);const i=n(o=>{t=void 0,e(o)});return new Fe(()=>t?.(i))},requestAnimationFrame(...e){const{delegate:n}=ul;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=ul;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class V9 extends S_{flush(n){let t;this._active=!0,n?t=n.id:(t=this._scheduled,this._scheduled=void 0);const{actions:r}=this;let i;n=n||r.shift();do{if(i=n.execute(n.state,n.delay))break}while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,i){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw i}}}(class L9 extends C_{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return null!==r&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=ul.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);const{actions:o}=n;null!=t&&t===n._scheduled&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==t&&(ul.cancelAnimationFrame(t),n._scheduled=void 0)}});let k_,j9=1;const Wu={};function C0(e){return e in Wu&&(delete Wu[e],!0)}const H9={setImmediate(e){const n=j9++;return Wu[n]=!0,k_||(k_=Promise.resolve()),k_.then(()=>C0(n)&&e()),n},clearImmediate(e){C0(e)}},{setImmediate:U9,clearImmediate:$9}=H9,qu={setImmediate(...e){const{delegate:n}=qu;return(n?.setImmediate||U9)(...e)},clearImmediate(e){const{delegate:n}=qu;return(n?.clearImmediate||$9)(e)},delegate:void 0};new class G9 extends S_{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;n=n||r.shift();do{if(i=n.execute(n.state,n.delay))break}while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,i){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw i}}}(class z9 extends C_{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return null!==r&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=qu.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);const{actions:o}=n;null!=t&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==t&&(qu.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function S0(e,n=I_){return function q9(e){return ft((n,t)=>{let r=!1,i=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;const c=i;i=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(st(t,c=>{r=!0,i=c,o||Yt(e(c)).subscribe(o=st(t,a,l))},()=>{s=!0,(!r||!o||o.closed)&&t.complete()}))})}(()=>function K9(e=0,n,t=E6){let r=-1;return null!=n&&(wA(n)?t=n:r=n),new xe(i=>{let o=function Y9(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(e,n))}let I0=(()=>{class e{_ngZone=_(N);_platform=_(Fn);_renderer=_(Un).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new ee;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new xe(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const i=t>0?this._scrolled.pipe(S0(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):zn()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(gn(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_scrollableContainsElement(t,r){let i=dl(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fl=(()=>{class e{_platform=_(Fn);_listeners;_viewportSize;_change=new ee;_document=_(fe);constructor(){const t=_(N),r=_(Un).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){const i=o=>this._change.next(o);this._listeners=[r.listen("window","resize",i),r.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(S0(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),O_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})(),A0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[fs,O_,fs,O_]})}return e})();class N_{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class X9 extends N_{component;viewContainerRef;injector;projectableNodes;constructor(n,t,r,i){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=i}}class M0 extends N_{templateRef;viewContainerRef;context;injector;constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class J9 extends N_{element;constructor(n){super(),this.element=n instanceof U?n.nativeElement:n}}class eY{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof X9?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof M0?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof J9?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class tY extends eY{outletElement;_appRef;_defaultInjector;constructor(n,t,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=r}attachComponentPortal(n){let t;if(n.viewContainerRef){const r=n.injector||n.viewContainerRef.injector,i=r.get(Nr,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{const r=this._appRef,i=n.injector||this._defaultInjector||we.NULL,o=i.get(vt,r.injector);t=SI(n.component,{elementInjector:i,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}attachDomPortal=n=>{const t=n.element,r=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let $i,nY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({})}return e})();function rY(){if(null==$i){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return $i=!1,$i;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)$i=!0;else{const e=Element.prototype.scrollTo;$i=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return $i}function bs(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const O0=rY();class pY{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ze(-this._previousScrollPosition.left),n.style.top=Ze(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),O0&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),O0&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.documentElement,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class gY{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(gn(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class j_{enable(){}disable(){}attach(){}}function H_(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function N0(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}function pl(e,n){return new _Y(e.get(I0),e.get(fl),e.get(N),n)}class _Y{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();H_(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let yY=(()=>{class e{_injector=_(we);constructor(){}noop=()=>new j_;close=t=>function mY(e,n){return new gY(e.get(I0),e.get(N),e.get(fl),n)}(this._injector,t);block=()=>function hY(e){return new pY(e.get(fl),e.get(fe))}(this._injector);reposition=t=>pl(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class P0{positionStrategy;scrollStrategy=new j_;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class vY{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let L0=(()=>{class e{_attachedOverlays=[];_document=_(fe);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bY=(()=>{class e extends L0{_ngZone=_(N);_renderer=_(Un).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{const r=this._attachedOverlays;for(let i=r.length-1;i>-1;i--)if(r[i]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[i]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(i){return(t||(t=k(e)))(i||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),EY=(()=>{class e extends L0{_platform=_(Fn);_ngZone=_(N);_renderer=_(Un).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){const r=this._document.body,i={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(r,"pointerdown",this._pointerDownListener,i),o.listen(r,"click",this._clickListener,i),o.listen(r,"auxclick",this._clickListener,i),o.listen(r,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=Gu(t)};_clickListener=t=>{const r=Gu(t),i="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;const o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){const a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(V0(a.overlayElement,r)||V0(a.overlayElement,i))break;const l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(i){return(t||(t=k(e)))(i||e)}})();static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function V0(e,n){const t=typeof ShadowRoot<"u"&&ShadowRoot;let r=n;for(;r;){if(r===e)return!0;r=t&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}let B0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return e})(),j0=(()=>{class e{_platform=_(Fn);_containerElement;_document=_(fe);_styleLoader=_(cl);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||w0()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}const r=this._document.createElement("div");r.classList.add(t),w0()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(B0)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class xY{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,t,r,i){this._renderer=t,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{const n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class DY{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new ee;_attachments=new ee;_detachments=new ee;_positionStrategy;_scrollStrategy;_locationChanges=Fe.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new ee;_outsidePointerEvents=new ee;_afterNextRenderRef;constructor(n,t,r,i,o,s,a,l,c,d=!1,u,f){this._portalOutlet=n,this._host=t,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=f,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ko(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Ze(this._config.width),n.height=Ze(this._config.height),n.minWidth=Ze(this._config.minWidth),n.minHeight=Ze(this._config.minHeight),n.maxWidth=Ze(this._config.maxWidth),n.maxHeight=Ze(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new xY(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,t,r){const i=Vu(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=ko(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(t){if(n)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){const n=this._scrollStrategy;n?.disable(),n?.detach?.()}}const H0="cdk-overlay-connected-position-bounding-box",wY=/([A-Za-z%]+)$/;function U0(e,n){return new CY(n,e.get(fl),e.get(fe),e.get(Fn),e.get(j0))}class CY{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new ee;_resizeSubscription=Fe.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(H0),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,r,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,r)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&zi(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(H0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=z0(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-r.height,p=this._subtractOverflows(o.width,0-s,s+o.width-r.width),m=this._subtractOverflows(o.height,f,h),v=p*m;return{visibleArea:v,isCompletelyWithinViewport:o.width*o.height===v,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=$0(this._overlayRef.getConfig().minHeight),a=$0(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=z0(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let d=0,u=0;return d=i.width<=o.width?c||-s:n.x<this._viewportMargin?o.left-r.left-n.x:0,u=i.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-r.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function SY(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,r)){const i=new vY(n,r);this._positionChanges.next(i)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=n.overlayY;r="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(n,t){const r=this._viewportRect,i=this._isRtl();let o,s,a,d,u,f;if("top"===t.overlayY)s=n.y,o=r.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=r.height-n.y+2*this._viewportMargin,o=r.height-a+this._viewportMargin;else{const h=Math.min(r.bottom-n.y+r.top,n.y),p=this._lastBoundingBoxSize.height;o=2*h,s=n.y-h,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)f=r.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)u=n.x,d=r.right-n.x;else{const h=Math.min(r.right-n.x+r.left,n.x),p=this._lastBoundingBoxSize.width;d=2*h,u=n.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=Ze(r.height),i.top=Ze(r.top),i.bottom=Ze(r.bottom),i.width=Ze(r.width),i.left=Ze(r.left),i.right=Ze(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=Ze(o)),s&&(i.maxWidth=Ze(s))}this._lastBoundingBoxSize=r,zi(this._boundingBox.style,i)}_resetBoundingBoxStyles(){zi(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){zi(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const d=this._viewportRuler.getViewportScrollPosition();zi(r,this._getExactOverlayY(t,n,d)),zi(r,this._getExactOverlayX(t,n,d))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=Ze(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=Ze(s.maxWidth):o&&(r.maxWidth="")),zi(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=Ze(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=Ze(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:N0(n,r),isOriginOutsideView:H_(n,r),isOverlayClipped:N0(t,r),isOverlayOutsideView:H_(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Vu(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof U)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function zi(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function $0(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(wY);return t&&"px"!==t?null:parseFloat(n)}return e||null}function z0(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const G0="cdk-global-overlay-wrapper";class AY{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(G0),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",m="";l?m="flex-start":"center"===d?(m="center",f?p=u:h=u):f?"left"===d||"end"===d?(m="flex-end",h=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",h=u):("right"===d||"end"===d)&&(m="flex-end",p=u),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(G0),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let MY=(()=>{class e{_injector=_(we);constructor(){}global(){return function IY(){return new AY}()}flexibleConnectedTo(t){return U0(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function W0(e,n){e.get(cl).load(B0);const t=e.get(j0),r=e.get(fe),i=e.get(ys),o=e.get(Cn),s=e.get(us),a=r.createElement("div"),l=r.createElement("div");l.id=i.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),t.getContainerElement().appendChild(a);const c=new tY(l,o,e),d=new P0(n),u=e.get(tn,null,{optional:!0})||e.get(Un).createRenderer(null,null);return d.direction=d.direction||s.value,new DY(c,a,l,d,e.get(N),e.get(bY),r,e.get(zv),e.get(EY),n?.disableAnimations??"NoopAnimations"===e.get(hc,null,{optional:!0}),e.get(vt),u)}let TY=(()=>{class e{scrollStrategies=_(yY);_positionBuilder=_(MY);_injector=_(we);constructor(){}create(t){return W0(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const RY=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],q0=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=_(we);return()=>pl(e)}});let Ku=(()=>{class e{elementRef=_(U);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),Y0=(()=>{class e{_dir=_(us,{optional:!0});_injector=_(we);_overlayRef;_templatePortal;_backdropSubscription=Fe.EMPTY;_attachSubscription=Fe.EMPTY;_detachSubscription=Fe.EMPTY;_positionSubscription=Fe.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=_(q0);_disposeOnNavigation=!1;_ngZone=_(N);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}backdropClick=new ge;positionChange=new ge;attach=new ge;detach=new ge;overlayKeydown=new ge;overlayOutsideClick=new ge;constructor(){const t=_(Hn),r=_(wn);this._templatePortal=new M0(t,r),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=RY);const t=this._overlayRef=W0(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!bs(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{const i=this._getOriginElement(),o=Gu(r);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new P0({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=U0(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Ku?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ku?this.origin.elementRef.nativeElement:this.origin instanceof U?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function iY(e,n=!1){return ft((t,r)=>{let i=0;t.subscribe(st(r,o=>{const s=e(o,i++);(s||n)&&r.next(o),!s&&r.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",nt],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",nt],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",nt],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",nt],push:[2,"cdkConnectedOverlayPush","push",nt],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",nt]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Bt]})}return e})();const kY={provide:q0,useFactory:function FY(e){const n=_(we);return()=>pl(n)}};let ml,OY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({providers:[TY,kY],imports:[fs,nY,A0,A0]})}return e})();class Q0{_letterKeyStream=new ee;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new ee;selectedItem=this._selectedItem;constructor(n,t){const r="number"==typeof t?.debounceInterval?t.debounceInterval:200;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){const t=n.keyCode;n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(ls(t=>this._pressedLetters.push(t)),A_(n),gn(()=>this._pressedLetters.length>0),Xe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let r=1;r<this._items.length+1;r++){const o=this._items[(this._selectedItemIndex+r)%this._items.length];if(!this._skipPredicateFn?.(o)&&0===o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}function tR(e,n,t){const r=nR(e,n);t=t.trim();const i=r.filter(o=>o!==t);i.length?e.setAttribute(n,i.join(" ")):e.removeAttribute(n)}function nR(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}class UY{_items;_activeItemIndex=Vt(-1);_activeItem=Vt(null);_wrap=!1;_typeaheadSubscription=Fe.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof cc?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):mo(n)&&(this._effectRef=Qd(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new ee;change=new ee;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();const t=this._getItemsArray();return this._typeahead=new Q0(t,{debounceInterval:"number"==typeof n?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(n){const t=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&i){const o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&i){const o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((i||bs(n,"shiftKey"))&&this._typeahead?.handleKey(n))}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),r="number"==typeof n?n:t.indexOf(n);this._activeItem.set(t[r]??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let r=1;r<=t.length;r++){const i=(this._activeItemIndex()+n*r+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,t){const r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(!r[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return mo(this._items)?this._items():this._items instanceof cc?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);const t=this._activeItem();if(t){const r=n.indexOf(t);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}}class $Y extends UY{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class zY{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new ee;constructor(n=!1,t,r=!0,i){this._multiple=n,this._emitChanges=r,this.compareWith=i,t&&t.length&&(n?t.forEach(o=>this._markSelected(o)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(r=>this._markSelected(r));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(r=>this._unmarkSelected(r));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);const t=this.selected,r=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),t.filter(o=>!r.has(this._getConcreteValue(o,r))).forEach(o=>this._unmarkSelected(o));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n,t){if(this.compareWith){t=t??this._selection;for(let r of t)if(this.compareWith(n,r))return r;return n}return n}}function rR(e){return function WY(){if(null==ml&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ml=!0}))}finally{ml=ml||!1}return ml}()?e:!!e.capture}var yn=function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e}(yn||{});class KY{_renderer;element;config;_animationForciblyDisabledThroughCss;state=yn.HIDDEN;constructor(n,t,r,i=!1){this._renderer=n,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}}const iR=rR({passive:!0,capture:!0});class QY{_events=new Map;addHandler(n,t,r,i){const o=this._events.get(t);if(o){const s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(t,new Map([[r,new Set([i])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,iR)})}removeHandler(n,t,r){const i=this._events.get(n);if(!i)return;const o=i.get(t);o&&(o.delete(r),0===o.size&&i.delete(t),0===i.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,iR)))}_delegateEventHandler=n=>{const t=Gu(n);t&&this._events.get(n.type)?.forEach((r,i)=>{(i===t||i.contains(t))&&r.forEach(o=>o.handleEvent(n))})}}const oR={enterDuration:225,exitDuration:150},sR=rR({passive:!0,capture:!0}),aR=["mousedown","touchstart"],lR=["mouseup","mouseleave","touchend","touchcancel"];let XY=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}\n"],encapsulation:2,changeDetection:0})}return e})();class Qu{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new QY;constructor(n,t,r,i,o){this._target=n,this._ngZone=t,this._platform=i,i.isBrowser&&(this._containerElement=dl(r)),o&&o.get(cl).load(XY)}fadeInRipple(n,t,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...oR,...r.animation};r.centered&&(n=i.left+i.width/2,t=i.top+i.height/2);const s=r.radius||function JY(e,n,t){const r=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),i=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(r*r+i*i)}(n,t,i),a=n-i.left,l=t-i.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=r.color&&(d.style.backgroundColor=r.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionDuration,p="none"===u.transitionProperty||"0s"===h||"0s, 0s"===h||0===i.width&&0===i.height,m=new KY(this,d,r,p);d.style.transform="scale3d(1, 1, 1)",m.state=yn.FADING_IN,r.persistent||(this._mostRecentTransientRipple=m);let v=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const y=()=>{v&&(v.fallbackTimer=null),clearTimeout(M),this._finishRippleTransition(m)},b=()=>this._destroyRipple(m),M=setTimeout(b,c+100);d.addEventListener("transitionend",y),d.addEventListener("transitioncancel",b),v={onTransitionEnd:y,onTransitionCancel:b,fallbackTimer:M}}),this._activeRipples.set(m,v),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===yn.FADING_OUT||n.state===yn.HIDDEN)return;const t=n.element,r={...oR,...n.config.animation};t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=yn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=dl(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,aR.forEach(r=>{Qu._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{lR.forEach(t=>{this._triggerElement.addEventListener(t,this,sR)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===yn.FADING_IN?this._startFadeOutTransition(n):n.state===yn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=yn.VISIBLE,!r&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=yn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),null!==t.fallbackTimer&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){const t=function qY(e){return 0===e.buttons||0===e.detail}(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!function YY(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(n.state===yn.VISIBLE||n.config.terminateOnPointerUp&&n.state===yn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(aR.forEach(t=>Qu._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(lR.forEach(t=>n.removeEventListener(t,this,sR)),this._pointerUpEventsRegistered=!1))}}const eK=new D("mat-ripple-global-options");let tK=(()=>{class e{_elementRef=_(U);_animationsDisabled=Bu();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const t=_(N),r=_(Fn),i=_(eK,{optional:!0}),o=_(we);this._globalOptions=i||{},this._rippleRenderer=new Qu(this,t,this._elementRef,r,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,...this._animationsDisabled?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,r=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,r,{...this.rippleConfig,...i}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=S({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){2&r&&gt("mat-ripple-unbounded",i.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return e})(),nK=(()=>{class e{_animationsDisabled=Bu();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,i){2&r&&gt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal","minimal"===i.appearance)("mat-pseudo-checkbox-full","full"===i.appearance)("_mat-animation-noopable",i._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(r,i){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],encapsulation:2,changeDetection:0})}return e})(),rK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,i){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}\n'],encapsulation:2,changeDetection:0})}return e})(),iK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,i){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}\n"],encapsulation:2,changeDetection:0})}return e})();const oK=["text"],sK=[[["mat-icon"]],"*"],aK=["mat-icon","*"];function lK(e,n){if(1&e&&mt(0,"mat-pseudo-checkbox",1),2&e){const t=L();j("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function cK(e,n){1&e&&mt(0,"mat-pseudo-checkbox",3),2&e&&j("disabled",L().disabled)}function dK(e,n){if(1&e&&(X(0,"span",4),Sn(1),J()),2&e){const t=L();R(),Ti("(",t.group.label,")")}}const cR=new D("MAT_OPTION_PARENT_COMPONENT"),dR=new D("MatOptgroup");class uK{source;isUserInput;constructor(n,t=!1){this.source=n,this.isUserInput=t}}let U_=(()=>{class e{_element=_(U);_changeDetectorRef=_(Fi);_parent=_(cR,{optional:!0});group=_(dR,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=_(ys).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(t){this._disabled.set(t)}_disabled=Vt(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new ge;_text;_stateChanges=new ee;constructor(){const t=_(cl);t.load(rK),t.load(iK),this._signalDisableRipple=!!this._parent&&mo(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,r){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(r)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!bs(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new uK(this,t))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["mat-option"]],viewQuery:function(r,i){if(1&r&&Ft(oK,7),2&r){let o;Ne(o=Pe())&&(i._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,i){1&r&&Te("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&r&&(Aa("id",i.id),pt("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),gt("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",nt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:aK,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(r,i){1&r&&(es(sK),Je(0,lK,1,2,"mat-pseudo-checkbox",1),Dt(1),X(2,"span",2,0),Dt(4,1),J(),Je(5,cK,1,1,"mat-pseudo-checkbox",3),Je(6,dK,2,1,"span",4),mt(7,"div",5)),2&r&&(et(i.multiple?0:-1),R(5),et(i.multiple||!i.selected||i.hideSingleSelectionIndicator?-1:5),R(),et(i.group&&i.group._inert?6:-1),R(),j("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[nK,tK],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return e})(),uR=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[Qt,Qt]})}return e})(),pK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[Qt]})}return e})(),fR=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[uR,Qt,pK,U_]})}return e})();const mK=["trigger"],gK=["panel"],_K=[[["mat-select-trigger"]],"*"],yK=["mat-select-trigger","*"];function vK(e,n){if(1&e&&(X(0,"span",4),Sn(1),J()),2&e){const t=L();R(),La(t.placeholder)}}function bK(e,n){1&e&&Dt(0)}function EK(e,n){if(1&e&&(X(0,"span",11),Sn(1),J()),2&e){const t=L(2);R(),La(t.triggerValue)}}function xK(e,n){if(1&e&&(X(0,"span",5),Je(1,bK,1,0)(2,EK,2,1,"span",11),J()),2&e){const t=L();R(),et(t.customTrigger?1:2)}}function DK(e,n){if(1&e){const t=cr();X(0,"div",12,1),Te("keydown",function(i){return ct(t),dt(L()._handleKeydown(i))}),Dt(2,1),J()}if(2&e){const t=L();Hm(function cS(e,n,t=""){return GC(x(),e,n,t)}("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme())),gt("mat-select-panel-animations-enabled",!t._animationsDisabled),j("ngClass",t.panelClass),pt("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const hR=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=_(we);return()=>pl(e)}}),CK=new D("MAT_SELECT_CONFIG"),SK={provide:hR,deps:[],useFactory:function wK(e){const n=_(we);return()=>pl(n)}},IK=new D("MatSelectTrigger");class AK{source;value;constructor(n,t){this.source=n,this.value=t}}let MK=(()=>{class e{_viewportRuler=_(fl);_changeDetectorRef=_(Fi);_elementRef=_(U);_dir=_(us,{optional:!0});_idGenerator=_(ys);_renderer=_(tn);_parentFormField=_(T_,{optional:!0});ngControl=_(Gn,{self:!0,optional:!0});_liveAnnouncer=_(h9);_defaultOptions=_(CK,{optional:!0});_animationsDisabled=Bu();_initialized=new ee;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(t){const r=this.options.toArray()[t];if(r){const i=this.panel.nativeElement,o=function fK(e,n,t){if(t.length){let r=n.toArray(),i=t.toArray(),o=0;for(let s=0;s<e+1;s++)r[s].group&&r[s].group===i[o]&&o++;return o}return 0}(t,this.options,this.optionGroups),s=r._getHostElement();i.scrollTop=0===t&&1===o?0:function hK(e,n,t,r){return e<t?e:e+n>t+r?Math.max(0,e-r+n):t}(s.offsetTop,s.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new AK(this,t)}_scrollStrategyFactory=_(hR);_panelOpen=!1;_compareWith=(t,r)=>t===r;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new ee;_errorStateTracker;stateChanges=new ee;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(t){this._disableRipple.set(t)}_disableRipple=Vt(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(VM.required)??!1}set required(t){this._required=t,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(t){this._multiple=t}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=function GY(e){return new xe(n=>{Yt(e()).subscribe(n)})}(()=>{const t=this.options;return t?t.changes.pipe(Pu(t),du(()=>Pi(...t.map(r=>r.onSelectionChange)))):this._initialized.pipe(du(()=>this.optionSelectionChanges))});openedChange=new ge;_openedStream=this.openedChange.pipe(gn(t=>t),Xe(()=>{}));_closedStream=this.openedChange.pipe(gn(t=>!t),Xe(()=>{}));selectionChange=new ge;valueChange=new ge;constructor(){const t=_(E0),r=_(gs,{optional:!0}),i=_(_s,{optional:!0}),o=_(new zS("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new x0(t,this.ngControl,i,r,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==o?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new zY(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Kt(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Kt(this._destroy)).subscribe(t=>{t.added.forEach(r=>r.select()),t.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(Pu(null),Kt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),r=this.ngControl;if(t!==this._triggerAriaLabelledBy){const i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?i.setAttribute("aria-labelledby",t):i.removeAttribute("aria-labelledby")}r&&(this._previousControl!==r.control&&(void 0!==this._previousControl&&null!==r.disabled&&r.disabled!==this.disabled&&(this.disabled=r.disabled),this._previousControl=r.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(ol(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const r=`${this.id}-panel`;this._trackedModal&&tR(this._trackedModal,"aria-owns",r),function LY(e,n,t){const r=nR(e,n);t=t.trim(),!r.some(i=>i.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(" ")))}(t,"aria-owns",r),this._trackedModal=t}_clearFromModal(){this._trackedModal&&(tR(this._trackedModal,"aria-owns",`${this.id}-panel`),this._trackedModal=null)}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel)return void this._detachOverlay();this._cleanupDetach?.(),this._cleanupDetach=()=>{r(),clearTimeout(i),this._cleanupDetach=void 0};const t=this.panel.nativeElement,r=this._renderer.listen(t,"animationend",o=>{"_mat-select-exit"===o.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);t.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const r=t.keyCode,i=40===r||38===r||37===r||39===r,o=13===r||32===r,s=this._keyManager;if(!s.isTyping()&&o&&!bs(t)||(this.multiple||t.altKey)&&i)t.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(t);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){const r=this._keyManager,i=t.keyCode,o=40===i||38===i,s=r.isTyping();if(o&&t.altKey)t.preventDefault(),this.close();else if(s||13!==i&&32!==i||!r.activeItem||bs(t))if(!s&&this._multiple&&65===i&&t.ctrlKey){t.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=r.activeItemIndex;r.onKeydown(t),this._multiple&&o&&t.shiftKey&&r.activeItem&&r.activeItemIndex!==a&&r.activeItem._selectViaInteraction()}else t.preventDefault(),r.activeItem._selectViaInteraction()}_handleOverlayKeydown(t){27===t.keyCode&&!bs(t)&&(t.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{const r=this._selectOptionByValue(t);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const r=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(null!=i.value||this.canSelectNullableOptions)&&this._compareWith(i.value,t)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_skipPredicate=t=>!this.panelOpen&&t.disabled;_getOverlayWidth(t){return"auto"===this.panelWidth?(t instanceof Ku?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new $Y(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Pi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Kt(t)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Pi(...this.options.map(r=>r._stateChanges)).pipe(Kt(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,r){const i=this._selectionModel.isSelected(t);this.canSelectNullableOptions||null!=t.value||this._multiple?(i!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),r&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),r&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),i!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((r,i)=>this.sortComparator?this.sortComparator(r,i,t):t.indexOf(r)-t.indexOf(i)),this.stateChanges.next()}}_propagateChanges(t){let r;r=this.multiple?this.selected.map(i=>i.value):this.selected?this.selected.value:t,this._value=r,this.valueChange.emit(r),this._onChange(r),this.selectionChange.emit(this._getChangeEvent(r)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){t=r;break}this._keyManager.setActiveItem(t)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t||(t=this._valueId),t}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=nn({type:e,selectors:[["mat-select"]],contentQueries:function(r,i,o){if(1&r&&(dr(o,IK,5),dr(o,U_,5),dr(o,dR,5)),2&r){let s;Ne(s=Pe())&&(i.customTrigger=s.first),Ne(s=Pe())&&(i.options=s),Ne(s=Pe())&&(i.optionGroups=s)}},viewQuery:function(r,i){if(1&r&&(Ft(mK,5),Ft(gK,5),Ft(Y0,5)),2&r){let o;Ne(o=Pe())&&(i.trigger=o.first),Ne(o=Pe())&&(i.panel=o.first),Ne(o=Pe())&&(i._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(r,i){1&r&&Te("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&r&&(pt("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),gt("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple)("mat-select-open",i.panelOpen))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",nt],disableRipple:[2,"disableRipple","disableRipple",nt],tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:xI(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",nt],placeholder:"placeholder",required:[2,"required","required",nt],multiple:[2,"multiple","multiple",nt],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",nt],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",xI],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",nt]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[ue([{provide:M_,useExisting:e},{provide:cR,useExisting:e}]),Bt],ngContentSelectors:yK,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(r,i){if(1&r){const o=cr();es(_K),X(0,"div",2,0),Te("click",function(){return ct(o),dt(i.open())}),X(3,"div",3),Je(4,vK,2,1,"span",4)(5,xK,3,1,"span",5),J(),X(6,"div",6)(7,"div",7),function Tv(){W.lFrame.currentNamespace="svg"}(),X(8,"svg",8),mt(9,"path",9),J()()()(),Ae(10,DK,3,10,"ng-template",10),Te("detach",function(){return ct(o),dt(i.close())})("backdropClick",function(){return ct(o),dt(i.close())})("overlayKeydown",function(a){return ct(o),dt(i._handleOverlayKeydown(a))})}if(2&r){const o=Na(1);R(3),pt("id",i._valueId),R(),et(i.empty?4:5),R(6),j("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Ku,Y0,lu],styles:['@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-select-open .mat-mdc-select-arrow{transform:rotate(180deg)}.mat-form-field-animations-enabled .mat-mdc-select-arrow{transition:transform 80ms linear}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}\n'],encapsulation:2,changeDetection:0})}return e})(),pR=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({providers:[SK],imports:[OY,fR,Qt,O_,al,fR,Qt]})}return e})(),RK=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({imports:[Qt,uR,Qt]})}return e})();const FK={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)}};let $_;function BK(e,n,t){let r=t;return function OK(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((i,o)=>!("*"===i||!function NK(e,n){if(!$_){const t=Element.prototype;$_=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&$_.call(e,n)}(e,i)||(r=o,0))),r}class HK{componentFactory;inputMap=new Map;constructor(n,t){this.componentFactory=t.get(jo).resolveComponentFactory(n);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(n){return new UK(this.componentFactory,n,this.inputMap)}}class UK{componentFactory;injector;inputMap;eventEmitters=new BT(1);events=this.eventEmitters.pipe(du(n=>Pi(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,t,r){this.componentFactory=n,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get(N),this.appRef=this.injector.get(Cn),this.cdScheduler=t.get(Sr),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=FK.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,t),function hL(e){return js(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function pL(e){th(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(n,t)}initializeComponent(n){const t=we.create({providers:[],parent:this.injector}),r=function VK(e,n){const t=e.childNodes,r=n.map(()=>[]);let i=-1;n.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=t.length;o<s;++o){const a=t[o],l=BK(a,n,i);-1!==l&&r[l].push(a)}return r}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[n,t]of this.initialInputValues)this.setInputValue(n,t);this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>{const o=n.instance[r];return new xe(s=>{const a=o.subscribe(l=>s.next({name:i,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(t)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class $K extends HTMLElement{ngElementEventsSubscription=null}const WK=new D("Search_Service_Token"),KK=[];let JK=(()=>{var e;class n{adapt(r){const i=r.recentSearchApiRequestWithPromise;return{searchApiRequest:(o,s)=>jr(r.searchApiRequestWithPromise(o,s)),...i&&{recentSearchApiRequest:()=>jr(i())}}}static#e=e=()=>(this.\u0275fac=function(i){return new(i||n)},this.\u0275prov=C({token:n,factory:n.\u0275fac,providedIn:"root"}))}return e(),n})();const eQ=["searchInput"],Zu=e=>({$implicit:e});function tQ(e,n){if(1&e){const t=cr();X(0,"mat-icon",14),Te("click",function(){return ct(t),dt(L(3).resetInput())}),J()}2&e&&j("className",L(3).config.crossIconClass)}function nQ(e,n){if(1&e&&(X(0,"mat-option",15),Sn(1),J()),2&e){const t=n.$implicit;j("value",t.name),R(),Ti(" ",t.displayName," ")}}function rQ(e,n){if(1&e){const t=cr();X(0,"div",5)(1,"mat-form-field",6)(2,"input",7,0),Te("focus",function(){return ct(t),dt(L(2).showSuggestions())})("blur",function(){return ct(t),dt(L(2).hideSuggestions())}),Gm("ngModelChange",function(i){ct(t);const o=L(2);return function sS(e,n){const t=Nv(e);return t&&e.set(n),t}(o.searchBoxInput,i)||(o.searchBoxInput=i),dt(i)}),Te("keyup",function(i){return ct(t),dt(L(2).hitSearchApi(i))})("ngModelChange",function(){ct(t);const i=L(2);return dt(i.onChange(i.searchBoxInput))}),J(),mt(4,"mat-icon",8),Ae(5,tQ,1,1,"mat-icon",9),J(),X(6,"mat-form-field",10),mt(7,"mat-icon",11),X(8,"mat-select",12),Te("selectionChange",function(i){return ct(t),dt(L(2).setCategory(i.value))}),Ae(9,nQ,2,2,"mat-option",13),J()()()}if(2&e){const t=Na(3),r=L(2);R(2),j("placeholder",r.config.placeholderFunction?r.config.placeholderFunction(t.value,r.category):r.config.placeholder||"Search"),zm("ngModel",r.searchBoxInput),j("disabled",r.disabled),R(2),j("className",r.config.searchIconClass),R(),j("ngIf",r.searchBoxInput),R(2),j("className",r.config.dropDownButtonIconClass),R(),j("value",r.category),R(),j("ngForOf",r.config.models)}}function iQ(e,n){if(1&e&&(Gt(0),Ae(1,rQ,10,8,"div",4),Tt()),2&e){const t=L();R(),j("ngIf",t.config)}}function oQ(e,n){1&e&&(Gt(0),Sn(1," searching... "),Tt())}function sQ(e,n){if(1&e&&(Gt(0),Sn(1),Tt()),2&e){const t=L(4);R(),Ti(" ",t.config.noResultMessage," ")}}function aQ(e,n){if(1&e&&(X(0,"span",18),Ae(1,oQ,2,0,"ng-container",1)(2,sQ,2,1,"ng-container",1),J()),2&e){const t=L(3);R(),j("ngIf",t.searching),R(),j("ngIf",!t.searching)}}function lQ(e,n){if(1&e&&mt(0,"img",24),2&e){const t=L().$implicit;j("src",t.model.imageUrl,Mc)("alt",t.model.displayName)}}function cQ(e,n){1&e&&Xo(0)}function dQ(e,n){if(1&e&&(Gt(0),Ae(1,cQ,1,0,"ng-container",27),Tt()),2&e){const t=L().$implicit,r=L(5);R(),j("ngTemplateOutlet",r.subtitleTemplate)("ngTemplateOutletContext",Va(2,Zu,t))}}function uQ(e,n){if(1&e&&mt(0,"p",28),2&e){const t=L().$implicit,r=L(5);j("innerHTML",r.boldString(t[r.config.displayPropertyName],r.searchBoxInput),sp)}}function fQ(e,n){1&e&&Xo(0)}function hQ(e,n){if(1&e&&(Gt(0),Ae(1,fQ,1,0,"ng-container",27),Tt()),2&e){const t=L().$implicit,r=L(5);R(),j("ngTemplateOutlet",r.titleTemplate)("ngTemplateOutletContext",Va(2,Zu,t))}}function pQ(e,n){if(1&e){const t=cr();X(0,"li",25),Te("mousedown",function(i){const o=ct(t).$implicit;return dt(L(5).populateValue(o,i))}),Ae(1,dQ,2,4,"ng-container",1)(2,uQ,1,1,"p",26)(3,hQ,2,4,"ng-container",1),J()}if(2&e){const t=L(5);R(),j("ngIf",t.subtitleTemplate),R(),j("ngIf",!t.titleTemplate),R(),j("ngIf",t.titleTemplate)}}function mQ(e,n){if(1&e&&(X(0,"div",20)(1,"h3",21),Ae(2,lQ,1,2,"img",22),Sn(3),J(),X(4,"ul"),Ae(5,pQ,4,3,"li",23),J()()),2&e){const t=n.$implicit;R(2),j("ngIf",t.model.imageUrl),R(),$m(" ",t.model.displayName," (",t.items.length,") "),R(2),j("ngForOf",t.items)}}function gQ(e,n){if(1&e&&(Gt(0),Ae(1,mQ,6,4,"div",19),Tt()),2&e){const t=L(3);R(),j("ngForOf",t.getModelsWithSuggestions())}}function _Q(e,n){if(1&e&&mt(0,"img",32),2&e){const t=L().$implicit;j("src",L(4).fetchModelImageUrlFromSuggestion(t),Mc)}}function yQ(e,n){1&e&&Xo(0)}function vQ(e,n){if(1&e&&(Gt(0),Ae(1,yQ,1,0,"ng-container",27),Tt()),2&e){const t=L().$implicit,r=L(4);R(),j("ngTemplateOutlet",r.subtitleTemplate)("ngTemplateOutletContext",Va(2,Zu,t))}}function bQ(e,n){if(1&e&&mt(0,"p",28),2&e){const t=L().$implicit,r=L(4);j("innerHTML",r.boldString(t[r.config.displayPropertyName],r.searchBoxInput),sp)}}function EQ(e,n){1&e&&Xo(0)}function xQ(e,n){if(1&e&&(Gt(0),Ae(1,EQ,1,0,"ng-container",27),Tt()),2&e){const t=L().$implicit,r=L(4);R(),j("ngTemplateOutlet",r.titleTemplate)("ngTemplateOutletContext",Va(2,Zu,t))}}function DQ(e,n){if(1&e){const t=cr();X(0,"li",30),Te("mousedown",function(i){const o=ct(t).$implicit;return dt(L(4).populateValue(o,i))}),Ae(1,_Q,1,1,"img",31)(2,vQ,2,4,"ng-container",1)(3,bQ,1,1,"p",26)(4,xQ,2,4,"ng-container",1),J()}if(2&e){const t=n.$implicit,r=L(4);R(),j("ngIf",!r.titleTemplate&&r.fetchModelImageUrlFromSuggestion(t)),R(),j("ngIf",r.subtitleTemplate),R(),j("ngIf",!r.titleTemplate),R(),j("ngIf",r.titleTemplate)}}function wQ(e,n){if(1&e&&(Gt(0),X(1,"div",20)(2,"ul"),Ae(3,DQ,5,4,"li",29),J()(),Tt()),2&e){const t=L(3);R(3),j("ngForOf",t.suggestions)}}function CQ(e,n){if(1&e&&(Gt(0),Ae(1,aQ,3,2,"span",17)(2,gQ,2,1,"ng-container",1)(3,wQ,4,1,"ng-container",1),Tt()),2&e){const t=L(2);R(),j("ngIf",0===t.suggestions.length),R(),j("ngIf",t.config.categorizeResults&&t.suggestions.length),R(),j("ngIf",!t.config.categorizeResults)}}function SQ(e,n){if(1&e){const t=cr();X(0,"li",25),Te("mousedown",function(i){const o=ct(t).$implicit;return dt(L(3).populateValueRecentSearch(o,i))}),mt(1,"mat-icon",8),X(2,"span"),Sn(3),J()()}if(2&e){const t=n.$implicit,r=L(3);R(),j("className",r.config.recentSearchIconClass),R(2),Ti("\xa0",t.match)}}function IQ(e,n){if(1&e&&(Gt(0),X(1,"div",33)(2,"h3",21),Sn(3,"Recent Searches"),J(),X(4,"ul"),Ae(5,SQ,4,2,"li",23),J()(),Tt()),2&e){const t=L(2);R(5),j("ngForOf",t.recentSearches)}}function AQ(e,n){if(1&e&&(X(0,"div",16),Ae(1,CQ,4,3,"ng-container",1)(2,IQ,6,1,"ng-container",1),J()),2&e){const t=L();R(),j("ngIf",t.searchBoxInput),R(),j("ngIf",!t.config.hideRecentSearch&&t.recentSearches.length>0)}}const Gi="All";let mR=(()=>{var e;class n{get config(){return this._config}set config(r){this._config=r,r&&r.models?r.models.unshift({name:Gi,displayName:this.customAllLabel??Gi}):r&&!r.models&&(r.models=[{name:Gi,displayName:this.customAllLabel??Gi}])}set searchProvider(r){(function GK(e){return!!e.searchApiRequestWithPromise})(r)&&(r=this.promiseAdapter.adapt(r)),this.searchService=r}get searchProvider(){return this.searchService}constructor(r,i,o,s){this.searchService=r,this.platformId=i,this.cdr=o,this.promiseAdapter=s,this.searchBoxInput="",this.suggestionsDisplay=!1,this.categoryDisplay=!1,this.searching=!1,this.suggestions=[],this.recentSearches=[],this.category=Gi,this.searchRequest$=new ee,this.customAllLabel=Gi,this.showOnlySearchResultOverlay=!1,this.customSearchEvent={searchValue:"",modelName:this.customAllLabel},this.clicked=new ge,this.searched=new ge,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1}ngOnInit(){this.searchRequest$.pipe(ls(r=>this.suggestions=[]),A_(1e3)).subscribe(r=>{this.searched.emit({event:r.event,keyword:r.input,category:this.category}),this.getSuggestions(r),this.cdr.markForCheck()})}writeValue(r){this.searchBoxInput=r}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r}getSuggestions(r){if(r.input=r.input.trim(),!r.input.length)return;let o="";(this.config.order??KK).forEach(l=>o=`${o}${l} `);let s=this.config.saveInRecents??!0;this.config.saveInRecents&&this.config.saveInRecentsOnlyOnEnter&&(s=!r.event||r.event instanceof KeyboardEvent&&"Enter"===r.event.key);const a={match:r.input,sources:this._categoryToSourceName(this.category),limit:this.config.limit??20,limitByType:this.config.limitByType??!1,order:o,offset:this.config.offset??0};this.searching=!0,this.cdr.markForCheck(),this.searchService.searchApiRequest(a,s).subscribe(l=>{this.suggestions=l,this.searching=!1,this.cdr.markForCheck()},l=>{this.suggestions=[],this.searching=!1,this.cdr.markForCheck()})}getRecentSearches(){!this.config.hideRecentSearch&&this.searchService.recentSearchApiRequest&&this.searchService.recentSearchApiRequest().subscribe(r=>{this.recentSearches=r,this.cdr.markForCheck()},r=>{this.recentSearches=[],this.cdr.markForCheck()})}hitSearchApi(r){if(!this.searchBoxInput)return this.suggestions=[],void this.getRecentSearches();this.config.searchOnlyOnEnter?(!r||r instanceof KeyboardEvent&&"Enter"===r.key)&&this.getSuggestions({input:this.searchBoxInput,event:r}):r?this.searchRequest$.next({input:this.searchBoxInput,event:r}):this.getSuggestions({input:this.searchBoxInput,event:r})}populateValue(r,i){this.searchBoxInput=r[this.config.displayPropertyName],this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.clicked.emit({item:r,event:i})}populateValueRecentSearch(r,i){i.stopPropagation(),i.preventDefault(),this.searchBoxInput=r.match,this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.focusInput(),this.showSuggestions()}fetchModelImageUrlFromSuggestion(r){const i=r.source;let o;return this.config.models.forEach(s=>{s.name===i&&s.imageUrl&&(o=s.imageUrl)}),o}boldString(r,i){const o=new RegExp(`(${i})`,"gi");return r.replace(o,"<b>$1</b>")}hideSuggestions(){this.suggestionsDisplay=!1,this.onTouched()}showSuggestions(){this.suggestionsDisplay=!0,this.getRecentSearches()}focusInput(){Ar(this.platformId)&&!this.showOnlySearchResultOverlay&&this.searchInputElement.nativeElement.focus()}setCategory(r){this.category=r,this.categoryDisplay=!1,this.searchBoxInput&&(this.hitSearchApi(),this.focusInput(),this.showSuggestions())}showCategory(){this.categoryDisplay=!this.categoryDisplay}hideCategory(){this.categoryDisplay=!1}resetInput(){this.searchBoxInput="",this.suggestions=[],this.suggestionsDisplay=!0,this.focusInput(),this.onChange(this.searchBoxInput),this.getRecentSearches()}ngOnDestroy(){this.searchRequest$.unsubscribe()}_categoryToSourceName(r){return[Gi,this.customAllLabel].includes(r)?[]:[r]}getModelFromModelName(r){return this.config.models.find(i=>i.name===r)}getModelsWithSuggestions(){const r=[],i=[];return this.suggestions.forEach(o=>{if(i.indexOf(o.source)>=0)r.every(s=>s.model.name!==o.source||(s.items.push(o),!1));else{const s=this.getModelFromModelName(o.source);r.push({model:s,items:[o]}),i.push(o.source)}}),r}ngOnChanges(r){r.customSearchEvent&&(this._isCustomSearchEventChange(r,"searchValue")&&(this.searchBoxInput=this.customSearchEvent?.searchValue??"",this.searchOnCustomEventValueChange(this.searchBoxInput)),this._isCustomSearchEventChange(r,"modelName")&&this.customSearchEvent?.modelName&&this.setCategory(this.customSearchEvent?.modelName))}searchOnCustomEventValueChange(r){r?.length?(this.showSuggestions(),this.hitSearchApi()):this.hideSuggestions()}_isCustomSearchEventChange(r,i){return!r.customSearchEvent?.previousValue||r.customSearchEvent?.previousValue[i]!==r.customSearchEvent?.currentValue[i]}static#e=e=()=>(this.\u0275fac=function(i){return new(i||n)(g(WK,8),g(fn),g(Fi),g(JK))},this.\u0275cmp=nn({type:n,selectors:[["sourceloop-search"]],viewQuery:function(i,o){if(1&i&&Ft(eQ,5),2&i){let s;Ne(s=Pe())&&(o.searchInputElement=s.first)}},inputs:{config:"config",searchProvider:"searchProvider",titleTemplate:"titleTemplate",subtitleTemplate:"subtitleTemplate",customAllLabel:"customAllLabel",showOnlySearchResultOverlay:"showOnlySearchResultOverlay",customSearchEvent:"customSearchEvent"},outputs:{clicked:"clicked",searched:"searched"},features:[ue([{provide:Rn,useExisting:n,multi:!0}]),Bt],decls:3,vars:2,consts:[["searchInput",""],[4,"ngIf"],[1,"search-container"],["class","search-popup",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center","class","toolbar-search",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center",1,"toolbar-search"],["appearance","outline",1,"toolbar-search-input"],["matInput","","autocomplete","off","type","text","name","searchInput","placeholder","Search",3,"focus","blur","ngModelChange","keyup","placeholder","ngModel","disabled"],["matPrefix","",3,"className"],["matSuffix","",3,"className","click",4,"ngIf"],["appearance","outline",1,"toolbar-search-select"],["matSuffix","",3,"className"],["panelClass","search-select",3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"click","className"],[3,"value"],[1,"search-popup"],["class","search-message",4,"ngIf"],[1,"search-message"],["class","search-result",4,"ngFor","ngForOf"],[1,"search-result"],[1,"suggestions-heading"],[3,"src","alt",4,"ngIf"],["class","suggestions",3,"mousedown",4,"ngFor","ngForOf"],[3,"src","alt"],[1,"suggestions",3,"mousedown"],["style","display: inline",3,"innerHTML",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[2,"display","inline",3,"innerHTML"],[3,"mousedown",4,"ngFor","ngForOf"],[3,"mousedown"],["class","suggestions-categorize-false","style","margin-right: 5px","alt","Img",3,"src",4,"ngIf"],["alt","Img",1,"suggestions-categorize-false",2,"margin-right","5px",3,"src"],[1,"recent-searches"]],template:function(i,o){1&i&&(Ae(0,iQ,2,1,"ng-container",1),X(1,"div",2),Ae(2,AQ,3,2,"div",3),J()),2&i&&(j("ngIf",!o.showOnlySearchResultOverlay),R(2),j("ngIf",o.suggestionsDisplay&&(o.recentSearches.length||o.suggestions.length)))},dependencies:[wg,zI,WI,Eg,VT,Eu,aT,g_,y0,S9,pR,l0,Z6,X6,MK,U_,al,D0,N9],styles:["[_nghost-%COMP%] .mat-form-field-wrapper{padding:0}[_nghost-%COMP%] .mat-form-field-wrapper .mat-form-field-prefix{margin-right:12px}.toolbar-search-input[_ngcontent-%COMP%]{width:86%}.toolbar-search-input[_ngcontent-%COMP%] input{margin:0}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none;border-radius:0}.icomoon.Search[_ngcontent-%COMP%], .icomoon.close[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;color:#33333380;padding-bottom:4px}.icomoon.close[_ngcontent-%COMP%]{cursor:pointer}.toolbar-search-select[_ngcontent-%COMP%]{width:14%}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow{opacity:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow-wrapper{display:inline-block;width:1px}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-value-text{font-size:9px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-suffix .mat-icon{width:12px;font-size:14px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent;border-radius:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-infix{-webkit-padding-before:.7em}.toolbar-search[_ngcontent-%COMP%]{width:515px;background-color:#f7f7f7;border-radius:0 0 4px 4px}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-flex{height:39px;align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-infix{height:auto}.search-container[_ngcontent-%COMP%]{position:relative;width:515px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%]{padding:0 15px 15px;margin:0;max-height:80vh;overflow-x:hidden;overflow-y:auto;position:absolute;top:100%;left:0;right:0;z-index:9999;background-color:#fff;box-shadow:0 5px 4px #0003;border-radius:0 0 4px 4px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:0;border-top:1px solid #ebebeb;margin:0;position:sticky;top:0;padding:0 0 15px;z-index:1}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-message[_ngcontent-%COMP%]{display:inline-block;width:100%;text-align:center;font-size:16px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-item-info[_ngcontent-%COMP%]{color:#91263b;text-align:center;font-size:12px;margin-bottom:15px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;font-size:1rem;font-weight:400;line-height:1.5;color:#333}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 44px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:5px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions-categorize-false[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;padding:0;margin:0 0 10px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 31px;display:flex;align-items:center;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{color:#9c9c9c;font-size:14px;font-weight:400;margin:0 0 10px 17px;display:flex;align-items:center;position:relative}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{position:absolute;right:20px;color:#d1d1d1;font-size:12px;cursor:pointer;text-decoration:none}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{text-decoration:underline}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:inline-block;width:100%}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;overflow:hidden;text-overflow:ellipsis}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{margin-left:30px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{padding-left:31px} .search-select.mat-select-panel{margin-top:30px;margin-left:10px} .search-select .mat-option-text{display:contents} .toolbar-search .mat-form-field-infix{font-size:14px} .toolbar-search input{line-height:14px} .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-start, .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-end{background-color:#f1f3f4} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:1px;border-color:#a53159} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:1px solid #a53159;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:1px;border-color:#a53159;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:2px;border-color:#90003b} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:2px solid #90003b;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:2px;border-color:#90003b;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search .mat-select-arrow{opacity:0}"]}))}return e(),n})();var z=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(z||{});const gr="*";function gR(e){return{type:z.Style,styles:e,offset:null}}class gl{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class _R{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const n=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}function yR(e){return new E(3e3,!1)}function BQ(e){return new E(3002,!1)}function Wr(e){switch(e.length){case 0:return new gl;case 1:return e[0];default:return new _R(e)}}function vR(e,n,t=new Map,r=new Map){const i=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,h)=>{let p=h,m=f;if("offset"!==h)switch(p=e.normalizePropertyName(p,i),m){case"!":m=t.get(h);break;case gr:m=r.get(h);break;default:m=e.normalizeStyleValue(h,p,m,i)}u.set(p,m)}),d||o.push(u),a=u,s=c}),i.length)throw function QQ(){return new E(3502,!1)}();return o}function G_(e,n,t,r){switch(n){case"start":e.onStart(()=>r(t&&W_(t,"start",e)));break;case"done":e.onDone(()=>r(t&&W_(t,"done",e)));break;case"destroy":e.onDestroy(()=>r(t&&W_(t,"destroy",e)))}}function W_(e,n,t){const o=q_(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function q_(e,n,t,r,i="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function on(e,n,t){let r=e.get(n);return r||e.set(n,r=t),r}function bR(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const lZ=typeof document>"u"?null:document.documentElement;function Y_(e){const n=e.parentNode||e.host||null;return n===lZ?null:n}let Wi=null,ER=!1;function xR(e,n){for(;n;){if(n===e)return!0;n=Y_(n)}return!1}function DR(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const r=e.querySelector(n);return r?[r]:[]}const CR="ng-enter",K_="ng-leave",Xu="ng-trigger",Ju=".ng-trigger",SR="ng-animating",Q_=".ng-animating";function _r(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Z_(parseFloat(n[1]),n[2])}function Z_(e,n){return"s"===n?1e3*e:e}function ef(e,n,t){return e.hasOwnProperty("duration")?e:function mZ(e,n,t){let r,i=0,o="";if("string"==typeof e){const s=e.match(pZ);if(null===s)return n.push(yR()),{duration:0,delay:0,easing:""};r=Z_(parseFloat(s[1]),s[2]);const a=s[3];null!=a&&(i=Z_(parseFloat(a),s[4]));const l=s[5];l&&(o=l)}else r=e;if(!t){let s=!1,a=n.length;r<0&&(n.push(function TQ(){return new E(3100,!1)}()),s=!0),i<0&&(n.push(function RQ(){return new E(3101,!1)}()),s=!0),s&&n.splice(a,0,yR())}return{duration:r,delay:i,easing:o}}(e,n,t)}const pZ=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Wn(e,n,t){n.forEach((r,i)=>{const o=J_(i);t&&!t.has(i)&&t.set(i,e.style[o]),e.style[o]=r})}function qi(e,n){n.forEach((t,r)=>{const i=J_(r);e.style[i]=""})}function _l(e){return Array.isArray(e)?1==e.length?e[0]:function MQ(e,n=null){return{type:z.Sequence,steps:e,options:n}}(e):e}const X_=new RegExp("{{\\s*(.+?)\\s*}}","g");function IR(e){let n=[];if("string"==typeof e){let t;for(;t=X_.exec(e);)n.push(t[1]);X_.lastIndex=0}return n}function yl(e,n,t){const r=`${e}`,i=r.replace(X_,(o,s)=>{let a=n[s];return null==a&&(t.push(function kQ(){return new E(3003,!1)}()),a=""),a.toString()});return i==r?e:i}const yZ=/-+([a-z0-9])/g;function J_(e){return e.replace(yZ,(...n)=>n[1].toUpperCase())}function sn(e,n,t){switch(n.type){case z.Trigger:return e.visitTrigger(n,t);case z.State:return e.visitState(n,t);case z.Transition:return e.visitTransition(n,t);case z.Sequence:return e.visitSequence(n,t);case z.Group:return e.visitGroup(n,t);case z.Animate:return e.visitAnimate(n,t);case z.Keyframes:return e.visitKeyframes(n,t);case z.Style:return e.visitStyle(n,t);case z.Reference:return e.visitReference(n,t);case z.AnimateChild:return e.visitAnimateChild(n,t);case z.AnimateRef:return e.visitAnimateRef(n,t);case z.Query:return e.visitQuery(n,t);case z.Stagger:return e.visitStagger(n,t);default:throw function OQ(){return new E(3004,!1)}()}}function ey(e,n){return window.getComputedStyle(e)[n]}let ty=(()=>{class e{validateStyleProperty(t){return function dZ(e){Wi||(Wi=function uZ(){return typeof document<"u"?document.body:null}()||{},ER=!!Wi.style&&"WebkitAppearance"in Wi.style);let n=!0;return Wi.style&&!function cZ(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Wi.style,!n&&ER&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Wi.style)),n}(t)}containsElement(t,r){return xR(t,r)}getParentElement(t){return Y_(t)}query(t,r,i){return DR(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,a=[],l){return new gl(i,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})();class ny{static NOOP=new ty}class ry{}const xZ=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class AR extends ry{normalizePropertyName(n,t){return J_(n)}normalizeStyleValue(n,t,r,i){let o="";const s=r.toString().trim();if(xZ.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function NQ(){return new E(3005,!1)}())}return s+o}}const nf=new Set(["true","1"]),rf=new Set(["false","0"]);function MR(e,n){const t=nf.has(e)||rf.has(e),r=nf.has(n)||rf.has(n);return(i,o)=>{let s="*"==e||e==i,a="*"==n||n==o;return!s&&t&&"boolean"==typeof i&&(s=i?nf.has(e):rf.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?nf.has(n):rf.has(n)),s&&a}}const SZ=new RegExp("s*:selfs*,?","g");function oy(e,n,t,r){return new IZ(e).build(n,t,r)}class IZ{_driver;constructor(n){this._driver=n}build(n,t,r){const i=new TZ(t);return this._resetContextStyleTimingState(i),sn(this,_l(n),i)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function PQ(){return new E(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==z.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==z.Transition){const l=this.visitTransition(a,t);r+=l.queryCount,i+=l.depCount,s.push(l)}else t.errors.push(function LQ(){return new E(3007,!1)}())}),{type:z.Trigger,name:n.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(n,t){const r=this.visitStyle(n.styles,t),i=n.options&&n.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{IR(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function VQ(){return new E(3008,!1)}(0,o.values()))}return{type:z.State,name:n.name,style:r,options:i?{params:i}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const r=sn(this,_l(n.animation),t),i=function DZ(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function wZ(e,n,t){if(":"==e[0]){const l=function CZ(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r)<parseFloat(t);default:return n.push(function YQ(){return new E(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function qQ(){return new E(3015,!1)}()),n;const i=r[1],o=r[2],s=r[3];n.push(MR(i,s)),"<"==o[0]&&("*"!=i||"*"!=s)&&n.push(MR(s,i))}(r,t,n)):t.push(e),t}(n.expr,t.errors);return{type:z.Transition,matchers:i,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Yi(n.options)}}visitSequence(n,t){return{type:z.Sequence,steps:n.steps.map(r=>sn(this,r,t)),options:Yi(n.options)}}visitGroup(n,t){const r=t.currentTime;let i=0;const o=n.steps.map(s=>{t.currentTime=r;const a=sn(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:z.Group,steps:o,options:Yi(n.options)}}visitAnimate(n,t){const r=function FZ(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return sy(ef(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=sy(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=ef(t,n);return sy(i.duration,i.delay,i.easing)}(n.timings,t.errors);t.currentAnimateTimings=r;let i,o=n.styles?n.styles:gR({});if(o.type==z.Keyframes)i=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};r.easing&&(c.easing=r.easing),s=gR(c)}t.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,i=l}return t.currentAnimateTimings=null,{type:z.Animate,timings:r,style:i,options:null}}visitStyle(n,t){const r=this._makeStyleAst(n,t);return this._validateStyleAst(r,t),r}_makeStyleAst(n,t){const r=[],i=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of i)"string"==typeof a?a===gr?r.push(a):t.errors.push(BQ()):r.push(new Map(Object.entries(a)));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:z.Style,styles:r,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(t.errors.push(function jQ(){return new E(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),t.options&&function _Z(e,n,t){const r=n.params||{},i=IR(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function FQ(){return new E(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const r={type:z.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function HQ(){return new E(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(y=>{const b=this._makeStyleAst(y,t);let M=null!=b.offset?b.offset:function RZ(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;n=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(b.styles),T=0;return null!=M&&(o++,T=b.offset=M),l=l||T<0||T>1,a=a||T<c,c=T,s.push(T),b});l&&t.errors.push(function UQ(){return new E(3012,!1)}()),a&&t.errors.push(function $Q(){return new E(3200,!1)}());const u=n.steps.length;let f=0;o>0&&o<u?t.errors.push(function zQ(){return new E(3202,!1)}()):0==o&&(f=1/(u-1));const h=u-1,p=t.currentTime,m=t.currentAnimateTimings,v=m.duration;return d.forEach((y,b)=>{const M=f>0?b==h?1:f*b:s[b],T=M*v;t.currentTime=p+m.delay+T,m.duration=T,this._validateStyleAst(y,t),y.offset=M,r.styles.push(y)}),r}visitReference(n,t){return{type:z.Reference,animation:sn(this,_l(n.animation),t),options:Yi(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:z.AnimateChild,options:Yi(n.options)}}visitAnimateRef(n,t){return{type:z.AnimateRef,animation:this.visitReference(n.animation,t),options:Yi(n.options)}}visitQuery(n,t){const r=t.currentQuerySelector,i=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function AZ(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(SZ,"")),e=e.replace(/@\*/g,Ju).replace(/@\w+/g,t=>Ju+"-"+t.slice(1)).replace(/:animating/g,Q_),[e,n]}(n.selector);t.currentQuerySelector=r.length?r+" "+o:o,on(t.collectedStyles,t.currentQuerySelector,new Map);const a=sn(this,_l(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:z.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Yi(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function GQ(){return new E(3013,!1)}());const r="full"===n.timings?{duration:0,delay:0,easing:"full"}:ef(n.timings,t.errors,!0);return{type:z.Stagger,animation:sn(this,_l(n.animation),t),timings:r,options:null}}}class TZ{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}}function Yi(e){return e?(e={...e}).params&&(e.params=function MZ(e){return e?{...e}:null}(e.params)):e={},e}function sy(e,n,t){return{duration:e,delay:n,easing:t}}function ay(e,n,t,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class sf{_map=new Map;get(n){return this._map.get(n)||[]}append(n,t){let r=this._map.get(n);r||this._map.set(n,r=[]),r.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const NZ=new RegExp(":enter","g"),LZ=new RegExp(":leave","g");function ly(e,n,t,r,i,o=new Map,s=new Map,a,l,c=[]){return(new VZ).buildKeyframes(e,n,t,r,i,o,s,a,l,c)}class VZ{buildKeyframes(n,t,r,i,o,s,a,l,c,d=[]){c=c||new sf;const u=new cy(n,t,c,i,o,d,[]);u.options=l;const f=l.delay?_r(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),sn(this,r,u);const h=u.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let m=h.length-1;m>=0;m--){const v=h[m];if(v.element===t){p=v;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[ay(t,[],[],[],0,f,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const r=t.createSubContext(n.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,r),this.visitReference(n.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,r){for(const i of n){const o=i?.delay;if(o){const s="number"==typeof o?o:_r(yl(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(n,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?_r(r.duration):null,a=null!=r.delay?_r(r.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),sn(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const r=t.subContextCount;let i=t;const o=n.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==z.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=af);const s=_r(o.delay);i.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>sn(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const r=[];let i=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?_r(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),sn(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const r=n.strValue;return ef(t.params?yl(r,t.params,t.errors):r,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const r=t.currentAnimateTimings=this._visitTiming(n.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=n.style;o.type==z.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||n.easing;n.isEmptyStep?r.applyEmptyStep(o):r.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+o),t.previousNode=n}visitQuery(n,t){const r=t.currentTimeline.currentTime,i=n.options||{},o=i.delay?_r(i.delay):0;o&&(t.previousNode.type===z.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=af);let s=r;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),sn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const r=t.parentContext,i=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;sn(this,n.animation,t),t.previousNode=n,r.currentStaggerTime=i.currentTime-u+(i.startTime-r.currentTimeline.startTime)}}const af={};class cy{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=af;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,t,r,i,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new lf(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const r=n;let i=this.options;null!=r.duration&&(i.duration=_r(r.duration)),null!=r.delay&&(i.delay=_r(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=yl(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const r=n.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return n}createSubContext(n=null,t,r){const i=t||this.element,o=new cy(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=af,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,r){const i={duration:t??n.duration,delay:this.currentTimeline.currentTime+(r??0)+n.delay,easing:""},o=new BZ(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,i,n.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,r,i,o,s){let a=[];if(i&&a.push(this.element),n.length>0){n=(n=n.replace(NZ,"."+this._enterClassName)).replace(LZ,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=r);0!==r&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),a.push(...c)}return!o&&0==a.length&&s.push(function WQ(){return new E(3014,!1)}()),a}}class lf{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,t,r,i){this._driver=n,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new lf(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||gr),this._currentKeyframe.set(t,gr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function jZ(e,n){const t=new Map;let r;return e.forEach(i=>{if("*"===i){r??=n.keys();for(let o of r)t.set(o,gr)}else for(let[o,s]of i)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=yl(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??gr),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===gr&&t.add(u)}),r||c.set("offset",l/this.duration),i.push(c)});const o=[...n.values()],s=[...t.values()];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return ay(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class BZ extends lf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,t,r,i,o,s,a=!1){super(n,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",FR(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let f=new Map(n[u]);const h=f.get("offset");f.set("offset",FR((t+h*r)/s)),o.push(f)}r=s,t=0,i="",n=o}return ay(this.element,n,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function FR(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function kR(e,n,t,r,i,o,s,a,l,c,d,u,f){return{type:0,element:e,triggerName:n,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}const dy={};class OR{_triggerName;ast;_stateStyles;constructor(n,t,r){this._triggerName=n,this.ast=t,this._stateStyles=r}match(n,t,r,i){return function HZ(e,n,t,r,i){return e.some(o=>o(n,t,r,i))}(this.ast.matchers,n,t,r,i)}buildStyles(n,t,r){let i=this._stateStyles.get("*");return void 0!==n&&(i=this._stateStyles.get(n?.toString())||i),i?i.buildStyles(t,r):new Map}build(n,t,r,i,o,s,a,l,c,d){const u=[],f=this.ast.options&&this.ast.options.params||dy,p=this.buildStyles(r,a&&a.params||dy,u),m=l&&l.params||dy,v=this.buildStyles(i,m,u),y=new Set,b=new Map,M=new Map,T="void"===i,P={params:NR(m,f),delay:this.ast.options?.delay},te=d?[]:ly(n,t,this.ast.animation,o,s,p,v,P,c,u);let le=0;return te.forEach(Ee=>{le=Math.max(Ee.duration+Ee.delay,le)}),u.length?kR(t,this._triggerName,r,i,T,p,v,[],[],b,M,le,u):(te.forEach(Ee=>{const bn=Ee.element,yr=on(b,bn,new Set);Ee.preStyleProps.forEach(Ki=>yr.add(Ki));const QR=on(M,bn,new Set);Ee.postStyleProps.forEach(Ki=>QR.add(Ki)),bn!==t&&y.add(bn)}),kR(t,this._triggerName,r,i,T,p,v,te,[...y.values()],b,M,le))}}function NR(e,n){const t={...n};return Object.entries(e).forEach(([r,i])=>{null!=i&&(t[r]=i)}),t}class UZ{styles;defaultParams;normalizer;constructor(n,t,r){this.styles=n,this.defaultParams=t,this.normalizer=r}buildStyles(n,t){const r=new Map,i=NR(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=yl(s,i,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),r.set(a,s)})}),r}}class zZ{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,t,r){this.name=n,this.ast=t,this._normalizer=r,t.states.forEach(i=>{this.states.set(i.name,new UZ(i.style,i.options&&i.options.params||{},r))}),PR(this.states,"true","1"),PR(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new OR(n,i,this.states))}),this.fallbackTransition=function GZ(e,n){return new OR(e,{type:z.Transition,animation:{type:z.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,r,i){return this.transitionFactories.find(s=>s.match(n,t,r,i))||null}matchStyles(n,t,r){return this.fallbackTransition.buildStyles(n,t,r)}}function PR(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const WZ=new sf;class qZ{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,t,r){this.bodyNode=n,this._driver=t,this._normalizer=r}register(n,t){const r=[],o=oy(this._driver,t,r,[]);if(r.length)throw function ZQ(){return new E(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,r){const i=n.element,o=vR(this._normalizer,n.keyframes,t,r);return this._driver.animate(i,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,r={}){const i=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=ly(this._driver,t,o,CR,K_,new Map,new Map,r,WZ,i),s.forEach(d=>{const u=on(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(i.push(function XQ(){return new E(3300,!1)}()),s=[]),i.length)throw function JQ(){return new E(3504,!1)}();a.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,gr))})});const c=Wr(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function eZ(){return new E(3301,!1)}();return t}listen(n,t,r,i){const o=q_(t,"","","");return G_(this._getPlayer(n),r,o,i),()=>{}}command(n,t,r,i){if("register"==r)return void this.register(n,i[0]);if("create"==r)return void this.create(n,t,i[0]||{});const o=this._getPlayer(n);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(n)}}}const LR="ng-animate-queued",uy="ng-animate-disabled",XZ=[],VR={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},JZ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},kn="__ng_removed";class fy{namespaceId;value;options;get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const r=n&&n.hasOwnProperty("value");if(this.value=function r7(e){return e??null}(r?n.value:n),r){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const vl="void",hy=new fy(vl);class e7{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,t,r){this.id=n,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"+n,vn(t,this._hostClassName)}listen(n,t,r,i){if(!this._triggers.has(t))throw function tZ(){return new E(3302,!1)}();if(null==r||0==r.length)throw function nZ(){return new E(3303,!1)}();if(!function i7(e){return"start"==e||"done"==e}(r))throw function rZ(){return new E(3400,!1)}();const o=on(this._elementListeners,n,[]),s={name:t,phase:r,callback:i};o.push(s);const a=on(this._engine.statesByElement,n,new Map);return a.has(t)||(vn(n,Xu),vn(n,Xu+"-"+t),a.set(t,hy)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function iZ(){return new E(3401,!1)}();return t}trigger(n,t,r,i=!0){const o=this._getTrigger(t),s=new py(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(vn(n,Xu),vn(n,Xu+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new fy(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=hy),c.value!==vl&&l.value===c.value){if(!function a7(e,n){const t=Object.keys(e),r=Object.keys(n);if(t.length!=r.length)return!1;for(let i=0;i<t.length;i++){const o=t[i];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const m=[],v=o.matchStyles(l.value,l.params,m),y=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{qi(n,v),Wn(n,y)})}return}const f=on(this._engine.playersByElement,n,[]);f.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:h,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(vn(n,LR),s.onStart(()=>{Es(n,LR)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const v=this._engine.playersByElement.get(n);if(v){let y=v.indexOf(s);y>=0&&v.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const r=this._engine.driver.query(n,Ju,!0);r.forEach(i=>{if(i[kn])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(n,t,r,i){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,vl,i);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),r&&Wr(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),r=this._engine.statesByElement.get(n);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,c=r.get(s)||hy,d=new fy(vl),u=new py(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const r=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(n):[];if(o&&o.length)i=!0;else{let s=n;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(n),i)r.markElementAsRemoved(this.id,n,!1,t);else{const o=n[kn];(!o||o===VR)&&(r.afterFlush(()=>this.clearElementCache(n)),r.destroyInnerAnimations(n),r._onRemovalComplete(n,t))}}insertNode(n,t){vn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=q_(o,r.triggerName,r.fromState.value,r.toState.value);l._data=n,G_(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class t7{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,t)=>{};_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,r){this.bodyNode=n,this.driver=t,this._normalizer=r}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&n.push(r)})}),n}createNamespace(n,t){const r=new e7(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[n]=r}_balanceNamespaceList(n,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=i.get(a);if(l){const c=r.indexOf(l);r.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(n)}else r.push(n);return i.set(t,n),n}register(n,t){let r=this._namespaceLookup[n];return r||(r=this.createNamespace(n,t)),r}registerTrigger(n,t,r){let i=this._namespaceLookup[n];i&&i.register(t,r)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(n);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,r=this.statesByElement.get(n);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(n,t,r,i){if(cf(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(n,t,r,i){if(!cf(t))return;const o=t[kn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),vn(n,uy)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Es(n,uy))}removeNode(n,t,r){if(cf(t)){const i=n?this._fetchNamespace(n):null;i?i.removeNode(t,r):this.markElementAsRemoved(n,t,!1,r);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(n,t,r,i,o){this.collectedLeaveElements.push(t),t[kn]={namespaceId:n,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,r,i,o){return cf(t)?this._fetchNamespace(n).listen(t,r,i,o):()=>{}}_buildInstruction(n,t,r,i,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,r,i,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,Ju,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,Q_,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return Wr(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[kn];if(t&&t.setForRemoval){if(n[kn]=VR,t.namespaceId){this.destroyInnerAnimations(n);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(uy)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++)vn(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{t=this._flushAnimations(r,n)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Wr(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(n){throw function oZ(){return new E(3402,!1)}()}_flushAnimations(n,t){const r=new sf,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(F=>{d.add(F);const V=this.driver.query(F,".ng-animate-queued",!0);for(let $=0;$<V.length;$++)d.add(V[$])});const u=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=HR(f,this.collectedEnterElements),p=new Map;let m=0;h.forEach((F,V)=>{const $=CR+m++;p.set(V,$),F.forEach(ie=>vn(ie,$))});const v=[],y=new Set,b=new Set;for(let F=0;F<this.collectedLeaveElements.length;F++){const V=this.collectedLeaveElements[F],$=V[kn];$&&$.setForRemoval&&(v.push(V),y.add(V),$.hasAnimation?this.driver.query(V,".ng-star-inserted",!0).forEach(ie=>y.add(ie)):b.add(V))}const M=new Map,T=HR(f,Array.from(y));T.forEach((F,V)=>{const $=K_+m++;M.set(V,$),F.forEach(ie=>vn(ie,$))}),n.push(()=>{h.forEach((F,V)=>{const $=p.get(V);F.forEach(ie=>Es(ie,$))}),T.forEach((F,V)=>{const $=M.get(V);F.forEach(ie=>Es(ie,$))}),v.forEach(F=>{this.processLeaveNode(F)})});const P=[],te=[];for(let F=this._namespaceList.length-1;F>=0;F--)this._namespaceList[F].drainQueuedTransitions(t).forEach($=>{const ie=$.player,lt=$.element;if(P.push(ie),this.collectedEnterElements.length){const Ct=lt[kn];if(Ct&&Ct.setForMove){if(Ct.previousTriggersValues&&Ct.previousTriggersValues.has($.triggerName)){const Qi=Ct.previousTriggersValues.get($.triggerName),En=this.statesByElement.get($.element);if(En&&En.has($.triggerName)){const uf=En.get($.triggerName);uf.value=Qi,En.set($.triggerName,uf)}}return void ie.destroy()}}const qn=!u||!this.driver.containsElement(u,lt),an=M.get(lt),qr=p.get(lt),Ve=this._buildInstruction($,r,qr,an,qn);if(Ve.errors&&Ve.errors.length)return void te.push(Ve);if(qn)return ie.onStart(()=>qi(lt,Ve.fromStyles)),ie.onDestroy(()=>Wn(lt,Ve.toStyles)),void i.push(ie);if($.isFallbackTransition)return ie.onStart(()=>qi(lt,Ve.fromStyles)),ie.onDestroy(()=>Wn(lt,Ve.toStyles)),void i.push(ie);const JR=[];Ve.timelines.forEach(Ct=>{Ct.stretchStartingKeyframe=!0,this.disabledNodes.has(Ct.element)||JR.push(Ct)}),Ve.timelines=JR,r.append(lt,Ve.timelines),s.push({instruction:Ve,player:ie,element:lt}),Ve.queriedElements.forEach(Ct=>on(a,Ct,[]).push(ie)),Ve.preStyleProps.forEach((Ct,Qi)=>{if(Ct.size){let En=l.get(Qi);En||l.set(Qi,En=new Set),Ct.forEach((uf,yy)=>En.add(yy))}}),Ve.postStyleProps.forEach((Ct,Qi)=>{let En=c.get(Qi);En||c.set(Qi,En=new Set),Ct.forEach((uf,yy)=>En.add(yy))})});if(te.length){const F=[];te.forEach(V=>{F.push(function sZ(){return new E(3505,!1)}())}),P.forEach(V=>V.destroy()),this.reportError(F)}const le=new Map,Ee=new Map;s.forEach(F=>{const V=F.element;r.has(V)&&(Ee.set(V,V),this._beforeAnimationBuild(F.player.namespaceId,F.instruction,le))}),i.forEach(F=>{const V=F.element;this._getPreviousPlayers(V,!1,F.namespaceId,F.triggerName,null).forEach(ie=>{on(le,V,[]).push(ie),ie.destroy()})});const bn=v.filter(F=>$R(F,l,c)),yr=new Map;jR(yr,this.driver,b,c,gr).forEach(F=>{$R(F,l,c)&&bn.push(F)});const Ki=new Map;h.forEach((F,V)=>{jR(Ki,this.driver,new Set(F),l,"!")}),bn.forEach(F=>{const V=yr.get(F),$=Ki.get(F);yr.set(F,new Map([...V?.entries()??[],...$?.entries()??[]]))});const _y=[],ZR=[],XR={};s.forEach(F=>{const{element:V,player:$,instruction:ie}=F;if(r.has(V)){if(d.has(V))return $.onDestroy(()=>Wn(V,ie.toStyles)),$.disabled=!0,$.overrideTotalTime(ie.totalTime),void i.push($);let lt=XR;if(Ee.size>1){let an=V;const qr=[];for(;an=an.parentNode;){const Ve=Ee.get(an);if(Ve){lt=Ve;break}qr.push(an)}qr.forEach(Ve=>Ee.set(Ve,lt))}const qn=this._buildAnimation($.namespaceId,ie,le,o,Ki,yr);if($.setRealPlayer(qn),lt===XR)_y.push($);else{const an=this.playersByElement.get(lt);an&&an.length&&($.parentPlayer=Wr(an)),i.push($)}}else qi(V,ie.fromStyles),$.onDestroy(()=>Wn(V,ie.toStyles)),ZR.push($),d.has(V)&&i.push($)}),ZR.forEach(F=>{const V=o.get(F.element);if(V&&V.length){const $=Wr(V);F.setRealPlayer($)}}),i.forEach(F=>{F.parentPlayer?F.syncPlayerEvents(F.parentPlayer):F.destroy()});for(let F=0;F<v.length;F++){const V=v[F],$=V[kn];if(Es(V,K_),$&&$.hasAnimation)continue;let ie=[];if(a.size){let qn=a.get(V);qn&&qn.length&&ie.push(...qn);let an=this.driver.query(V,Q_,!0);for(let qr=0;qr<an.length;qr++){let Ve=a.get(an[qr]);Ve&&Ve.length&&ie.push(...Ve)}}const lt=ie.filter(qn=>!qn.destroyed);lt.length?o7(this,V,lt):this.processLeaveNode(V)}return v.length=0,_y.forEach(F=>{this.players.push(F),F.onDone(()=>{F.destroy();const V=this.players.indexOf(F);this.players.splice(V,1)}),F.play()}),_y}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,r,i,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==vl;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(n,t,r){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=on(r,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),u.push(h)})}qi(o,t.fromStyles)}_buildAnimation(n,t,r,i,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,f=t.timelines.map(p=>{const m=p.element;d.add(m);const v=m[kn];if(v&&v.removedBeforeQueried)return new gl(p.duration,p.delay);const y=m!==l,b=function s7(e){const n=[];return UR(e,n),n}((r.get(m)||XZ).map(le=>le.getRealPlayer())).filter(le=>!!le.element&&le.element===m),M=o.get(m),T=s.get(m),P=vR(this._normalizer,p.keyframes,M,T),te=this._buildPlayer(p,P,b);if(p.subTimeline&&i&&u.add(m),y){const le=new py(n,a,m);le.setRealPlayer(te),c.push(le)}return te});c.forEach(p=>{on(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function n7(e,n,t){let r=e.get(n);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&e.delete(n)}return r}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>vn(p,SR));const h=Wr(f);return h.onDestroy(()=>{d.forEach(p=>Es(p,SR)),Wn(l,t.toStyles)}),u.forEach(p=>{on(i,p,[]).push(h)}),h}_buildPlayer(n,t,r){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,r):new gl(n.duration,n.delay)}}class py{namespaceId;triggerName;element;_player=new gl;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,t,r){this.namespaceId=n,this.triggerName=t,this.element=r}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>G_(n,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){on(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function cf(e){return e&&1===e.nodeType}function BR(e,n){const t=e.style.display;return e.style.display=n??"none",t}function jR(e,n,t,r,i){const o=[];t.forEach(l=>o.push(BR(l)));const s=[];r.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const f=n.computeStyle(c,u,i);d.set(u,f),(!f||0==f.length)&&(c[kn]=JZ,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>BR(l,o[a++])),s}function HR(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const i=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:i.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function vn(e,n){e.classList?.add(n)}function Es(e,n){e.classList?.remove(n)}function o7(e,n,t){Wr(t).onDone(()=>e.processLeaveNode(n))}function UR(e,n){for(let t=0;t<e.length;t++){const r=e[t];r instanceof _R?UR(r.players,n):n.push(r)}}function $R(e,n,t){const r=t.get(e);if(!r)return!1;let i=n.get(e);return i?r.forEach(o=>i.add(o)):n.set(e,r),t.delete(e),!0}class bl{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,r){this._driver=t,this._normalizer=r,this._transitionEngine=new t7(n.body,t,r),this._timelineEngine=new qZ(n.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(n,t,r,i,o){const s=n+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],d=oy(this._driver,o,l,[]);if(l.length)throw function KQ(){return new E(3404,!1)}();a=function $Z(e,n,t){return new zZ(e,n,t)}(i,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,r,i){this._transitionEngine.insertNode(n,t,r,i)}onRemove(n,t,r){this._transitionEngine.removeNode(n,t,r)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,r,i){if("@"==r.charAt(0)){const[o,s]=bR(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(n,t,r,i)}listen(n,t,r,i,o){if("@"==r.charAt(0)){const[s,a]=bR(r);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,r,i,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let c7=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,r,i){this._element=t,this._startStyles=r,this._endStyles=i;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Wn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Wn(this._element,this._initialStyles),this._endStyles&&(Wn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(qi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qi(this._element,this._endStyles),this._endStyles=null),Wn(this._element,this._initialStyles),this._state=3)}}return e})();function my(e){let n=null;return e.forEach((t,r)=>{(function d7(e){return"display"===e||"position"===e})(r)&&(n=n||new Map,n.set(r,t))}),n}class zR{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,t,r,i){this.element=n,this.keyframes=t,this.options=r,this._specialStyles=i,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const n=this.keyframes,t=this._triggerWebAnimation(this.element,n,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=n.length?n[n.length-1]:new Map;const r=()=>this._onFinish();return t.addEventListener("finish",r),this.onDestroy(()=>{t.removeEventListener("finish",r)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(n,t,r){const i=this._convertKeyframesToObject(t);try{return n.animate(i,r)}catch{return null}}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){const n=this._buildPlayer();n&&(this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),n.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish())}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer?.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=n*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&n.set(i,this._finished?r:ey(this.element,i))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class GR{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return xR(n,t)}getParentElement(n){return Y_(n)}query(n,t,r){return DR(n,t,r)}computeStyle(n,t,r){return ey(n,t)}animate(n,t,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(h=>h instanceof zR);(function vZ(e,n){return 0===e||0===n})(r,i)&&d.forEach(h=>{h.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function gZ(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(h=>new Map(h));u=function bZ(e,n,t){if(t.size&&n.length){let r=n[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<n.length;o++){let s=n[o];i.forEach(a=>s.set(a,ey(e,a)))}}return n}(n,u,c);const f=function l7(e,n){let t=null,r=null;return Array.isArray(n)&&n.length?(t=my(n[0]),n.length>1&&(r=my(n[n.length-1]))):n instanceof Map&&(t=my(n)),t||r?new c7(e,t,r):null}(n,u);return new zR(n,u,l,f)}}const WR="@.disabled";class qR{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,t,r,i){this.namespaceId=n,this.delegate=t,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,r,i=!0){this.delegate.insertBefore(n,t,r),this.engine.onInsert(this.namespaceId,t,n,i)}removeChild(n,t,r,i){i?this.delegate.removeChild(n,t,r,i):this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,r,i){this.delegate.setAttribute(n,t,r,i)}removeAttribute(n,t,r){this.delegate.removeAttribute(n,t,r)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,r,i){this.delegate.setStyle(n,t,r,i)}removeStyle(n,t,r){this.delegate.removeStyle(n,t,r)}setProperty(n,t,r){"@"==t.charAt(0)&&t==WR?this.disableAnimations(n,!!r):this.delegate.setProperty(n,t,r)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,r,i){return this.delegate.listen(n,t,r,i)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class u7 extends qR{factory;constructor(n,t,r,i,o){super(t,r,i,o),this.factory=n,this.namespaceId=t}setProperty(n,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==WR?this.disableAnimations(n,r=void 0===r||!!r):this.engine.process(this.namespaceId,n,t.slice(1),r):this.delegate.setProperty(n,t,r)}listen(n,t,r,i){if("@"==t.charAt(0)){const o=function f7(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let s=t.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function h7(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,r,l)})}return this.delegate.listen(n,t,r,i)}}class p7{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,t,r){this.delegate=n,this.engine=t,this._zone=r,t.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(n,t){const i=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(i);return d||(d=new qR("",i,this.engine,()=>c.delete(i)),c.set(i,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new u7(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,r){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(r));const i=this._animationCallbacksBuffer;0==i.length&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([t,r])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}}const YR=[{provide:ry,useFactory:function g7(){return new AR}},{provide:bl,useClass:(()=>{class e extends bl{constructor(t,r,i){super(t,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||e)(I(fe),I(ny),I(ry))};static \u0275prov=C({token:e,factory:e.\u0275fac})}return e})()},{provide:Un,useFactory:function _7(e,n,t){return new p7(e,n,t)},deps:[Rg,bl,N]}],KR=[{provide:ny,useClass:ty},{provide:hc,useValue:"NoopAnimations"},...YR],gy=[{provide:ny,useFactory:()=>new GR},{provide:hc,useFactory:()=>"BrowserAnimations"},...YR];let y7=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?KR:gy}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=de({type:e});static \u0275inj=ae({providers:gy,imports:[dA]})}return e})();class v7{constructor(n){(function b7(e){if(!1===e.categorizeResults&&(!1===e.hideCategorizeButton||void 0===e.hideCategorizeButton))throw new Error("You must provide hideCategorizeButton:true as categorizeResults is false");if(!1===e.saveInRecents&&!0===e.saveInRecentsOnlyOnEnter)throw new Error("You must provide saveInRecents:true for saveInRecentsOnlyOnEnter:true")})(n),this.displayPropertyName=n.displayPropertyName,this.models=n.models,this.limit=n.limit,this.limitByType=n.limitByType,this.order=n.order,this.offset=n.offset,this.saveInRecents=n.saveInRecents;const t=function E7(e){return{placeholder:e.placeholder??"Search",noResultMessage:e.noResultMessage??"No result found",placeholderFunction:e.placeholderFunction}}(n);this.noResultMessage=t.noResultMessage,this.placeholder=t.placeholder,this.placeholderFunction=t.placeholderFunction;const r=function x7(e){return{categorizeResults:e.categorizeResults??!0,hideRecentSearch:e.hideRecentSearch??!1,hideCategorizeButton:e.hideCategorizeButton??!1,saveInRecentsOnlyOnEnter:e.saveInRecentsOnlyOnEnter??!1,searchOnlyOnEnter:e.searchOnlyOnEnter??!1}}(n);this.categorizeResults=r.categorizeResults,this.hideRecentSearch=r.hideRecentSearch,this.hideCategorizeButton=r.hideCategorizeButton,this.saveInRecentsOnlyOnEnter=r.saveInRecentsOnlyOnEnter,this.searchOnlyOnEnter=r.searchOnlyOnEnter;const i=function D7(e){return{searchIconClass:e.searchIconClass??"icomoon Search",crossIconClass:e.crossIconClass??"icomoon close",dropDownButtonIconClass:e.dropDownButtonIconClass??"icomoon arrow_down",recentSearchIconClass:e.recentSearchIconClass??"icomoon Search"}}(n);this.searchIconClass=i.searchIconClass,this.crossIconClass=i.crossIconClass,this.dropDownButtonIconClass=i.dropDownButtonIconClass,this.recentSearchIconClass=i.recentSearchIconClass}}let w7=(()=>{var e;class n{constructor(r){this.injector=r}ngDoBootstrap(){const r=function zK(e,n){const t=function LK(e,n){return n.get(jo).resolveComponentFactory(e).inputs}(e,n.injector),r=n.strategyFactory||new HK(e,n.injector),i=function PK(e){const n={};return e.forEach(({propName:t,templateName:r,transform:i})=>{n[function kK(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(r)]=[t,i]}),n}(t);class o extends $K{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||n.injector);t.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){const[u,f]=i[a];this.ngElementStrategy.setInputValue(u,c,f)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return t.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}(mR,{injector:this.injector});customElements.define("sourceloop-search-element",r),Object.assign(window,{SearchConfiguration:v7})}static#e=e=()=>(this.\u0275fac=function(i){return new(i||n)(I(we))},this.\u0275mod=de({type:n}),this.\u0275inj=ae({imports:[dA,y7,wg,VT,T8,pR,al,y0,D0,RK,eq,mR]}))}return e(),n})();F3().bootstrapModule(w7).catch(e=>console.error(e))}},Zi=>{Zi(Zi.s=748)}]);