@sourceloop/search-element 9.0.4 → 9.0.5

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 CHANGED
@@ -1,3 +1,3 @@
1
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
2
  "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[461],{20:(te,Q,me)=>{me(935)},935:()=>{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],{899:()=>{let Bi;function ns(){return Bi}function Bn(e){const t=Bi;return Bi=e,t}const XA=Symbol("NotFound");function $u(e){return e===XA||"\u0275NotFound"===e?.name}Error;let ft=null,rs=!1,Gu=1;const Xe=Symbol("SIGNAL");function U(e){const t=ft;return ft=e,t}const ji={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 rl(e){if(rs)throw new Error("");if(null===ft)return;ft.consumerOnSignalRead(e);const t=ft.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ft.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ft.producers,void 0!==n&&n.producer===e))return ft.producersTail=n,void(n.lastReadVersion=e.version);const i=e.consumersTail;if(void 0!==i&&i.consumer===ft&&(!r||function rR(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(i,ft)))return;const o=Ui(ft),s={producer:e,consumer:ft,nextProducer:n,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};ft.producersTail=s,void 0!==t?t.nextProducer=s:ft.producers=s,o&&ey(e,s)}function is(e){if((!Ui(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Gu)){if(!e.producerMustRecompute(e)&&!ol(e))return void il(e);e.producerRecomputeValue(e),il(e)}}function X_(e){if(void 0===e.consumers)return;const t=rs;rs=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||eR(r)}}finally{rs=t}}function J_(){return!1!==ft?.consumerAllowSignalWrites}function eR(e){e.dirty=!0,X_(e),e.consumerMarkedDirty?.(e)}function il(e){e.dirty=!1,e.lastCleanEpoch=Gu}function Hi(e){return e&&function tR(e){e.producersTail=void 0,e.recomputing=!0}(e),U(e)}function os(e,t){U(t),e&&function nR(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(Ui(e))do{n=Yu(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function ol(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(is(n),r!==n.version))return!0}return!1}function ss(e){if(Ui(e)){let t=e.producers;for(;void 0!==t;)t=Yu(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ey(e,t){const n=e.consumersTail,r=Ui(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let i=e.producers;void 0!==i;i=i.nextProducer)ey(i.producer,i)}function Yu(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=i:t.consumersTail=i,void 0!==i)i.nextConsumer=r;else if(t.consumers=r,!Ui(t)){let o=t.producers;for(;void 0!==o;)o=Yu(o)}return n}function Ui(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Zu(e,t){return Object.is(e,t)}function ty(e,t){const n=Object.create(iR);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(is(n),rl(n),n.value===cr)throw n.error;return n.value};return r[Xe]=n,r}const Br=Symbol("UNSET"),zi=Symbol("COMPUTING"),cr=Symbol("ERRORED"),iR={...ji,value:Br,dirty:!0,error:null,equal:Zu,kind:"computed",producerMustRecompute:e=>e.value===Br||e.value===zi,producerRecomputeValue(e){if(e.value===zi)throw new Error("");const t=e.value;e.value=zi;const n=Hi(e);let r,i=!1;try{r=e.computation(),U(null),i=t!==Br&&t!==cr&&r!==cr&&e.equal(t,r)}catch(o){r=cr,e.error=o}finally{os(e,n)}i?e.value=t:(e.value=r,e.version++)}};let ny=function oR(){throw new Error};function ry(e){ny(e)}function aR(e,t){const n=Object.create(oy);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function lR(e){return rl(e),e.value}(n);return r[Xe]=n,[r,s=>Qu(n,s),s=>function iy(e,t){J_()||ry(e),Qu(e,t(e.value))}(n,s)]}function Qu(e,t){J_()||ry(e),e.equal(e.value,t)||(e.value=t,function cR(e){e.version++,function JA(){Gu++}(),X_(e)}(e))}const oy={...ji,equal:Zu,value:void 0,kind:"signal"};function Ee(e){return"function"==typeof e}function sy(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Xu=sy(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function al(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ae{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Ee(r))try{r()}catch(o){t=o instanceof Xu?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{cy(o)}catch(s){t=t??[],s instanceof Xu?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xu(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cy(t);else{if(t instanceof Ae){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&al(n,t)}remove(t){const{_finalizers:n}=this;n&&al(n,t),t instanceof Ae&&t._removeParent(this)}}Ae.EMPTY=(()=>{const e=new Ae;return e.closed=!0,e})();const ay=Ae.EMPTY;function ly(e){return e instanceof Ae||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function cy(e){Ee(e)?e():e.unsubscribe()}const jr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ll={setTimeout(e,t,...n){const{delegate:r}=ll;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ll;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function dy(e){ll.setTimeout(()=>{const{onUnhandledError:t}=jr;if(!t)throw e;t(e)})}function Ju(){}const dR=ef("C",void 0,void 0);function ef(e,t,n){return{kind:e,value:t,error:n}}let Hr=null;function cl(e){if(jr.useDeprecatedSynchronousErrorHandling){const t=!Hr;if(t&&(Hr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Hr;if(Hr=null,n)throw r}}else e()}class tf extends Ae{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ly(t)&&t.add(this)):this.destination=_R}static create(t,n,r){return new as(t,n,r)}next(t){this.isStopped?rf(function fR(e){return ef("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?rf(function uR(e){return ef("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?rf(dR,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const pR=Function.prototype.bind;function nf(e,t){return pR.call(e,t)}class mR{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){dl(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){dl(r)}else dl(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){dl(n)}}}class as extends tf{constructor(t,n,r){let i;if(super(),Ee(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&jr.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&nf(t.next,o),error:t.error&&nf(t.error,o),complete:t.complete&&nf(t.complete,o)}):i=t}this.destination=new mR(i)}}function dl(e){jr.useDeprecatedSynchronousErrorHandling?function hR(e){jr.useDeprecatedSynchronousErrorHandling&&Hr&&(Hr.errorThrown=!0,Hr.error=e)}(e):dy(e)}function rf(e,t){const{onStoppedNotification:n}=jr;n&&ll.setTimeout(()=>n(e,t))}const _R={closed:!0,next:Ju,error:function gR(e){throw e},complete:Ju},sf="function"==typeof Symbol&&Symbol.observable||"@@observable";function ls(e){return e}let De=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function vR(e){return e&&e instanceof tf||function yR(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(e)&&ly(e)}(n)?n:new as(n,r,i);return cl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=fy(r))((i,o)=>{const s=new as({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[sf](){return this}pipe(...n){return function uy(e){return 0===e.length?ls:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=fy(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function fy(e){var t;return null!==(t=e??jr.Promise)&&void 0!==t?t:Promise}const bR=sy(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let X=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new hy(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new bR}next(n){cl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){cl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){cl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?ay:(this.currentObservers=null,o.push(n),new Ae(()=>{this.currentObservers=null,al(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new De;return n.source=this,n}}return e.create=(t,n)=>new hy(t,n),e})();class hy extends X{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:ay}}class ER extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const my="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class b extends Error{code;constructor(t,n){super(function en(e,t){return`${function DR(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const Fe=globalThis;function re(e){for(let t in e)if(e[t]===re)return t;throw Error("")}function wR(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Rt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Rt).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function af(e,t){return e?t?`${e} ${t}`:e:t||""}const CR=re({__forward_ref__:re});function _e(e){return e.__forward_ref__=_e,e.toString=function(){return Rt(this())},e}function q(e){return ul(e)?e():e}function ul(e){return"function"==typeof e&&e.hasOwnProperty(CR)&&e.__forward_ref__===_e}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ye(e){return{providers:e.providers||[],imports:e.imports||[]}}function fl(e){return function AR(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,pl)}function hl(e){return e&&e.hasOwnProperty(lf)?e[lf]:null}const pl=re({\u0275prov:re}),lf=re({\u0275inj:re});class D{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function df(e){return e&&!!e.\u0275providers}const uf=re({\u0275cmp:re}),PR=re({\u0275dir:re}),LR=re({\u0275pipe:re}),gy=re({\u0275mod:re}),zr=re({\u0275fac:re}),fs=re({__NG_ELEMENT_ID__:re}),_y=re({__NG_ENV_ID__:re});function G(e){return"string"==typeof e?e:null==e?"":String(e)}const ff=re({ngErrorCode:re}),yy=re({ngErrorMessage:re}),hs=re({ngTokenPath:re});function hf(e,t){return vy("",-200,t)}function pf(e,t){throw new b(-201,!1)}function vy(e,t,n){const r=new b(t,e);return r[ff]=t,r[yy]=e,n&&(r[hs]=n),r}let mf;function by(){return mf}function kt(e){const t=mf;return mf=e,t}function Ey(e,t,n){const r=fl(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void pf()}const $r={};class zR{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ps(n)||0;try{return this.injector.get(t,8&r?null:$r,r)}catch(i){if($u(i))return i;throw i}}}function $R(e,t=0){const n=ns();if(void 0===n)throw new b(-203,!1);if(null===n)return Ey(e,void 0,t);{const r=function GR(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),i=n.retrieve(e,r);if($u(i)){if(r.optional)return null;throw i}return i}}function O(e,t=0){return(by()||$R)(q(e),t)}function g(e,t){return O(e,ps(t))}function ps(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _f(e){const t=[];for(let n=0;n<e.length;n++){const r=q(e[n]);if(Array.isArray(r)){if(0===r.length)throw new b(900,!1);let i,o=0;for(let s=0;s<r.length;s++){const a=r[s],l=WR(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}t.push(O(i,o))}else t.push(O(r))}return t}function WR(e){return e.__NG_DI_FLAG__}function Gr(e,t){return e.hasOwnProperty(zr)?e[zr]:null}function $i(e,t){e.forEach(n=>Array.isArray(n)?$i(n,t):t(n))}function wy(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yl(e,t,n){let r=gs(e,t);return r>=0?e[1|r]=n:(r=~r,function Sy(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function yf(e,t){const n=gs(e,t);if(n>=0)return e[1|n]}function gs(e,t){return function YR(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Sn={},he=[],Wr=new D(""),Iy=new D("",-1),vf=new D("");class vl{get(t,n=$r){if(n===$r){const i=vy("",-201);throw i.name="\u0275NotFound",i}return n}}function oe(e){return e[uf]||null}function Dt(e){return e[PR]||null}function hn(e){return e[LR]||null}function ZR(...e){return{\u0275providers:Df(0,e),\u0275fromNgModule:!0}}function Df(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return $i(t,s=>{const a=s;bl(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Ty(i,o),n}function Ty(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];wf(i,o=>{t(o,r)})}}function bl(e,t,n,r){if(!(e=q(e)))return!1;let i=null,o=hl(e);const s=!o&&oe(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=hl(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)bl(c,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{$i(o.imports,d=>{bl(d,t,n,r)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Ty(c,t)}if(!a){const c=Gr(i)||(()=>new i);t({provide:i,useFactory:c,deps:he},i),t({provide:vf,useValue:i,multi:!0},i),t({provide:Wr,useValue:()=>O(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;wf(l,d=>{t(d,c)})}}}return i!==e&&void 0!==e.providers}function wf(e,t){for(let n of e)df(n)&&(n=n.\u0275providers),Array.isArray(n)?wf(n,t):t(n)}const QR=re({provide:String,useValue:re});function Cf(e){return null!==e&&"object"==typeof e&&QR in e}function jn(e){return"function"==typeof e}const Sf=new D(""),El={},Ry={};let If;function Dl(){return void 0===If&&(If=new vl),If}class pt{}class qr extends pt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Mf(t,s=>this.processProvider(s)),this.records.set(Iy,Gi(void 0,this)),i.has("environment")&&this.records.set(pt,Gi(void 0,this));const o=this.records.get(Sf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(vf,he,{self:!0}))}retrieve(t,n){const r=ps(n)||0;try{return this.get(t,$r,r)}catch(i){if($u(i))return i;throw i}}destroy(){ys(this),this._destroyed=!0;const t=U(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(t)}}onDestroy(t){return ys(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ys(this);const n=Bn(this),r=kt(void 0);try{return t()}finally{Bn(n),kt(r)}}get(t,n=$r,r){if(ys(this),t.hasOwnProperty(_y))return t[_y](this);const i=ps(r),s=Bn(this),a=kt(void 0);try{if(!(4&i)){let c=this.records.get(t);if(void 0===c){const d=function nk(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&fl(t);c=d&&this.injectableDefInScope(d)?Gi(Tf(t),El):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c,i)}return(2&i?Dl():this.parent).get(t,n=8&i&&n===$r?null:n)}catch(l){const c=function HR(e){return e[ff]}(l);throw-200===c||-201===c?new b(c,null):l}finally{kt(a),Bn(s)}}resolveInjectorInitializers(){const t=U(null),n=Bn(this),r=kt(void 0);try{const o=this.get(Wr,he,{self:!0});for(const s of o)s()}finally{Bn(n),kt(r),U(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Rt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=jn(t=q(t))?t:q(t&&t.provide);const r=function JR(e){return Cf(e)?Gi(void 0,e.useValue):Gi(ky(e),El)}(t);if(!jn(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Gi(void 0,El,!0),i.factory=()=>_f(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const i=U(null);try{if(n.value===Ry)throw hf(Rt(t));return n.value===El&&(n.value=Ry,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function tk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{U(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=q(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Tf(e){const t=fl(e),n=null!==t?t.factory:Gr(e);if(null!==n)return n;if(e instanceof D)throw new b(204,!1);if(e instanceof Function)return function XR(e){if(e.length>0)throw new b(204,!1);const n=function RR(e){return(e?.[pl]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new b(204,!1)}function ky(e,t,n){let r;if(jn(e)){const i=q(e);return Gr(i)||Tf(i)}if(Cf(e))r=()=>q(e.useValue);else if(function xy(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(..._f(e.deps||[]));else if(function My(e){return!(!e||!e.useExisting)}(e))r=(i,o)=>O(q(e.useExisting),void 0!==o&&8&o?8:void 0);else{const i=q(e&&(e.useClass||e.provide));if(!function ek(e){return!!e.deps}(e))return Gr(i)||Tf(i);r=()=>new i(..._f(e.deps))}return r}function ys(e){if(e.destroyed)throw new b(205,!1)}function Gi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Mf(e,t){for(const n of e)Array.isArray(n)?Mf(n,t):n&&df(n)?Mf(n.\u0275providers,t):t(n)}function xf(e,t){let n;e instanceof qr?(ys(e),n=e):n=new zR(e);const i=Bn(n),o=kt(void 0);try{return t()}finally{Bn(i),kt(o)}}function Af(){return void 0!==by()||null!=ns()}const W=11,P=27;function Re(e){return Array.isArray(e)&&"object"==typeof e[1]}function wt(e){return Array.isArray(e)&&!0===e[1]}function Oy(e){return!!(4&e.flags)}function zn(e){return e.componentOffset>-1}function Zi(e){return!(1&~e.flags)}function qt(e){return!!e.template}function mr(e){return!!(512&e[2])}function $n(e){return!(256&~e[2])}function et(e){for(;Array.isArray(e);)e=e[0];return e}function Qi(e,t){return et(t[e])}function Ue(e,t){return et(t[e.index])}function Xi(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return Re(n)?n:n[0]}function Of(e){return!(128&~e[2])}function gt(e,t){return null==t?null:e[t]}function jy(e){e[17]=0}function Ff(e){1024&e[2]||(e[2]|=1024,Of(e)&&Ji(e))}function Es(e){return!!(9216&e[2]||e[24]?.dirty)}function Pf(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Es(e)&&Ji(e)}function Ji(e){e[10].changeDetectionScheduler?.notify(0);let t=Gn(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,Of(t));)t=Gn(t)}function Il(e,t){if($n(e))throw new b(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function Gn(e){const t=e[3];return wt(t)?t[3]:t}function Uy(e){return e[7]??=[]}function zy(e){return e.cleanup??=[]}const z={lFrame:iv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Bf=!1;function $y(){z.lFrame.elementDepthCount--}function jf(){return z.bindingsEnabled}function Gy(){return null!==z.skipHydrationRootTNode}function Wy(e){return z.skipHydrationRootTNode===e}function qy(){z.skipHydrationRootTNode=null}function E(){return z.lFrame.lView}function Y(){return z.lFrame.tView}function it(e){return z.lFrame.contextLView=e,e[8]}function ot(e){return z.lFrame.contextLView=null,e}function $(){let e=Yy();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yy(){return z.lFrame.currentTNode}function Wn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function Ky(){return z.lFrame.isParent}function Zy(){z.lFrame.isParent=!1}function Jy(){return Bf}function Tl(e){const t=Bf;return Bf=e,t}function Nt(){return z.lFrame.bindingIndex++}function Yn(e){const t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mk(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,Hf(t)}function Hf(e){z.lFrame.currentDirectiveIndex=e}function zf(){return z.lFrame.currentQueryIndex}function Ml(e){z.lFrame.currentQueryIndex=e}function _k(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function nv(e,t,n){if(4&n){let i=t,o=e;for(;!(i=i.parent,null!==i||1&n||(i=_k(o),null===i||(o=o[14],10&i.type))););if(null===i)return!1;t=i,e=o}const r=z.lFrame=rv();return r.currentTNode=t,r.lView=e,!0}function $f(e){const t=rv(),n=e[1];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rv(){const e=z.lFrame,t=null===e?null:e.child;return null===t?iv(e):t}function iv(e){const t={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=t),t}function ov(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sv=ov;function Gf(){const e=ov();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 st(){return z.lFrame.selectedIndex}function Xr(e){z.lFrame.selectedIndex=e}function Tn(){const e=z.lFrame;return Xi(e.tView,e.selectedIndex)}let lv=!0;function xl(){return lv}function ws(e){lv=e}function cv(e,t=null,n=null,r){const i=dv(e,t,n,r);return i.resolveInjectorInitializers(),i}function dv(e,t=null,n=null,r,i=new Set){const o=[n||he,ZR(e)];return r=r||("object"==typeof e?void 0:Rt(e)),new qr(o,t||Dl(),r||null,i)}class ve{static THROW_IF_NOT_FOUND=$r;static NULL=new vl;static create(t,n){if(Array.isArray(t))return cv({name:""},n,t,"");{const r=t.name??"";return cv({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:ve,providedIn:"any",factory:()=>O(Iy)});static __NG_ELEMENT_ID__=-1}const we=new D("");let Mn=(()=>class e{static __NG_ELEMENT_ID__=wk;static __NG_ENV_ID__=n=>n})();class uv extends Mn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return $n(this._lView)}onDestroy(t){const n=this._lView;return Il(n,t),()=>function Lf(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function wk(){return new uv(E())}class Kn{_console=console;handleError(t){this._console.error("ERROR",t)}}const Zn=new D("",{providedIn:"root",factory:()=>{const e=g(pt);let t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Kn),t.handleError(n))}}}),Ck={provide:Wr,useValue:()=>{g(Kn)},multi:!0};function to(e){return"function"==typeof e&&void 0!==e[Xe]}function Ot(e,t){const[n,r,i]=aR(e,t?.equal),o=n;return o.set=r,o.update=i,o.asReadonly=Wf.bind(o),o}function Wf(){const e=this[Xe];if(void 0===e.readonlyFn){const t=()=>this();t[Xe]=e,e.readonlyFn=t}return e.readonlyFn}function fv(e){return to(e)&&"function"==typeof e.set}let Al=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ik})();function Ik(){return new Al(E(),$())}class gr{}const hv=new D("",{providedIn:"root",factory:()=>!1}),pv=new D(""),mv=new D("");let Jr=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ER(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new De(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),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=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rl=(()=>{class e{internalPendingTasks=g(Jr);scheduler=g(gr);errorHandler=g(Zn);add(){const n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){const r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function Cs(...e){}let gv=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Tk})}return e})();class Tk{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}let _v=null;function _r(){return _v}class xk{}let yv=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>g(Ak),providedIn:"platform"})}return e})(),Ak=(()=>{class e extends yv{_location;_history;_doc=g(we);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _r().getBaseHref(this._doc)}onPopState(n){const r=_r().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=_r().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function vv(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function bv(e){const t=e.search(/#|\?|$/);return"/"===e[t-1]?e.slice(0,t-1)+e.slice(t):e}function ei(e){return e&&"?"!==e[0]?`?${e}`:e}let qf=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>g(kk),providedIn:"root"})}return e})();const Rk=new D("");let kk=(()=>{class e extends qf{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(we).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return vv(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+ei(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+ei(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+ei(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(O(yv),O(Rk,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ev=(()=>{class e{_subject=new X;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function Fk(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(bv(Dv(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ei(r))}normalize(n){return e.stripTrailingSlash(function Ok(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,Dv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ei(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ei(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=ei;static joinWithSlash=vv;static stripTrailingSlash=bv;static \u0275fac=function(r){return new(r||e)(O(qf))};static \u0275prov=S({token:e,factory:()=>function Nk(){return new Ev(O(qf))}(),providedIn:"root"})}return e})();function Dv(e){return e.replace(/\/index.html$/,"")}function wv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}class Cv{}const Sv="browser";function Iv(e){return e===Sv}function at(e){return t=>{if(function uN(e){return Ee(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function tt(e,t,n,r,i){return new fN(e,t,n,r,i)}class fN extends tf{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function qe(e,t){return at((n,r)=>{let i=0;n.subscribe(tt(r,o=>{r.next(e.call(t,o,i++))}))})}function Qn(e){return{toString:e}.toString()}class wN{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hv(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const on=(()=>{const e=()=>Uv;return e.ngInherit=!0,e})();function Uv(e){return e.type.prototype.ngOnChanges&&(e.setInput=SN),CN}function CN(){const e=$v(this),t=e?.current;if(t){const n=e.previous;if(n===Sn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function SN(e,t,n,r,i){const o=this.declaredInputs[r],s=$v(e)||function IN(e,t){return e[zv]=t}(e,{previous:Sn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new wN(c&&c.currentValue,n,l===Sn),Hv(e,t,i,n)}const zv="__ngSimpleChanges__";function $v(e){return e[zv]||null}const ni=[],de=function(e,t=null,n){for(let r=0;r<ni.length;r++)(0,ni[r])(e,t,n)};function Gv(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),l&&(e.viewHooks??=[]).push(-n,l),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),null!=d&&(e.destroyHooks??=[]).push(n,d)}}function Ll(e,t,n){Wv(e,t,3,n)}function Vl(e,t,n,r){(3&e[2])===n&&Wv(e,t,n,r)}function Jf(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function Wv(e,t,n,r){const o=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[17]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(RN(e,n,t,l),e[17]=(4294901760&e[17])+l+2),l++}function qv(e,t){de(4,e,t);const n=U(null);try{t.call(e)}finally{U(n),de(5,e,t)}}function RN(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,qv(a,o)):qv(a,o)}class xs{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r}}function Kv(e){return 3===e||4===e||6===e}function Zv(e){return 64===e.charCodeAt(0)}function ao(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Qv(e,n,i,0,-1===n||2===n?t[++r]:null)}}return e}function Qv(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n)return void(null!==i&&(e[o+1]=i));o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i)}function th(e){return-1!==e}function As(e){return 32767&e}function Rs(e,t){let n=function FN(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let nh=!0;function Bl(e){const t=nh;return nh=e,t}let PN=0;const xn={};function jl(e,t){const n=eb(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,rh(r.data,e),rh(t,null),rh(r.blueprint,null));const i=Hl(e,t),o=e.injectorIndex;if(th(i)){const s=As(i),a=Rs(i,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=i,o}function rh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eb(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Hl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ab(i),null===r)return-1;if(n++,i=i[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ih(e,t,n){!function LN(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(fs)&&(r=n[fs]),null==r&&(r=n[fs]=PN++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function tb(e,t,n){if(8&n||void 0!==e)return e;pf()}function nb(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=e[9],o=kt(void 0);try{return i?i.get(t,r,8&n):Ey(t,r,8&n)}finally{kt(o)}}return tb(r,0,n)}function rb(e,t,n,r=0,i){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function UN(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[2]&&!mr(s);){const a=ib(o,s,n,2|r,xn);if(a!==xn)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(n,xn,r);if(d!==xn)return d}l=ab(s),s=s[14]}o=l}return i}(e,t,n,r,xn);if(s!==xn)return s}const o=ib(e,t,n,r,xn);if(o!==xn)return o}return nb(t,n,r,i)}function ib(e,t,n,r,i){const o=function jN(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(fs)?e[fs]:void 0;return"number"==typeof t?t>=0?255&t:HN:t}(n);if("function"==typeof o){if(!nv(t,e,r))return 1&r?tb(i,0,r):nb(t,n,r,i);try{let s;if(s=o(r),null!=s||8&r)return s;pf()}finally{sv()}}else if("number"==typeof o){let s=null,a=eb(e,t),l=-1,c=1&r?t[15][5]:null;for((-1===a||4&r)&&(l=-1===a?Hl(e,t):t[a+8],-1!==l&&sb(r,!1)?(s=t[1],a=As(l),t=Rs(l,t)):a=-1);-1!==a;){const d=t[1];if(ob(o,a,d.data)){const u=BN(a,t,n,s,r,c);if(u!==xn)return u}l=t[a+8],-1!==l&&sb(r,t[1].data[a+8]===c)&&ob(o,a,t)?(s=d,a=As(l),t=Rs(l,t)):a=-1}}return i}function BN(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],d=Ul(a,s,n,null==r?zn(a)&&nh:r!=s&&!!(3&a.type),1&i&&o===a);return null!==d?ks(t,s,d,a,i):xn}function Ul(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=i?a+d:e.directiveEnd;for(let f=r?a:a+d;f<h;f++){const p=s[f];if(f<l&&n===p||f>=l&&p.type===n)return f}if(i){const f=s[l];if(f&&qt(f)&&f.type===n)return l}return null}function ks(e,t,n,r,i){let o=e[n];const s=t.data;if(o instanceof xs){const a=o;if(a.resolving)throw function ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(s[n]),hf();const l=Bl(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?kt(a.injectImpl):null;nv(e,r,0);try{o=e[n]=a.factory(void 0,i,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function AN(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Uv(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,s[n],t)}finally{null!==u&&kt(u),Bl(l),a.resolving=!1,sv()}}return o}function ob(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sb(e,t){return!(2&e||1&e&&t)}class Le{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rb(this._tNode,this._lView,t,ps(r),n)}}function HN(){return new Le($(),E())}function nt(e){return Qn(()=>{const t=e.prototype.constructor,n=t[zr]||oh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[zr]||oh(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function oh(e){return ul(e)?()=>{const t=oh(q(e));return t&&t()}:Gr(e)}function ab(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function ZN(){return lo($(),E())}function lo(e,t){return new Ce(Ue(e,t))}let Ce=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=ZN})();function fb(e){return e instanceof Ce?e.nativeElement:e}function QN(){return this._results[Symbol.iterator]()}class Gl{_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 X}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function tn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function qR(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,r,n))&&(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(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=QN}function Ns(e){return!(128&~e.flags)}var Wl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Wl||{});const ql=new Map;let eO=0;function lh(e){ql.delete(e[19])}const dh="__ngContext__";function Pt(e,t){Re(t)?(e[dh]=t[19],function nO(e){ql.set(e[19],e)}(t)):e[dh]=t}function wb(e){return Sb(e[12])}function Cb(e){return Sb(e[4])}function Sb(e){for(;null!==e&&!wt(e);)e=e[4];return e}let uh;function vr(){if(void 0!==uh)return uh;if(typeof document<"u")return document;throw new b(210,!1)}const co=new D("",{providedIn:"root",factory:()=>CO}),CO="ng",kb=new D(""),Kl=new D("",{providedIn:"platform",factory:()=>"unknown"}),Zl=new D(""),fh=new D("",{providedIn:"root",factory:()=>vr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),kO=new D("",{providedIn:"root",factory:()=>!1});function ec(e){return!(32&~e.flags)}function rE(e,t){const n=e.contentQueries;if(null!==n){const r=U(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const a=e.data[s];Ml(n[i]),a.contentQueries(2,t[s],s)}}}finally{U(r)}}}function Ah(e,t,n){Ml(0);const r=U(null);try{t(e,n)}finally{U(r)}}function Rh(e,t,n){if(Oy(t)){const r=U(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{U(r)}}}var Xn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Xn||{});let ac,lc;function mo(e){return function aE(){if(void 0===ac&&(ac=null,Fe.trustedTypes))try{ac=Fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ac}()?.createHTML(e)||e}function lE(e){return function Oh(){if(void 0===lc&&(lc=null,Fe.trustedTypes))try{lc=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return lc}()?.createHTML(e)||e}class ii{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${my})`}}class dF extends ii{getTypeName(){return"HTML"}}class uF extends ii{getTypeName(){return"Style"}}class fF extends ii{getTypeName(){return"Script"}}class hF extends ii{getTypeName(){return"URL"}}class pF extends ii{getTypeName(){return"ResourceURL"}}function Yt(e){return e instanceof ii?e.changingThisBreaksApplicationSecurity:e}function An(e,t){const n=function mF(e){return e instanceof ii&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${my})`)}return n===t}class EF{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(mo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class DF{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=mo(t),n}}const CF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cc(e){return(e=String(e)).match(CF)?e:"unsafe:"+e}function Jn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ls(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const fE=Jn("area,br,col,hr,img,wbr"),hE=Jn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pE=Jn("rp,rt"),Fh=Ls(fE,Ls(hE,Jn("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")),Ls(pE,Jn("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")),Ls(pE,hE)),Ph=Jn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mE=Ls(Ph,Jn("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"),Jn("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")),SF=Jn("script,style,template");class IF{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=xF(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=MF(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=gE(t).toLowerCase();if(!Fh.hasOwnProperty(n))return this.sanitizedSomething=!0,!SF.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!mE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Ph[a]&&(l=cc(l)),this.buf.push(" ",s,'="',yE(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=gE(t).toLowerCase();Fh.hasOwnProperty(n)&&!fE.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yE(t))}}function MF(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw _E(t);return t}function xF(e){const t=e.firstChild;if(t&&function TF(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw _E(t);return t}function gE(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function _E(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const AF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RF=/([^\#-~ |!])/g;function yE(e){return e.replace(/&/g,"&amp;").replace(AF,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(RF,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let dc;function vE(e,t){let n=null;try{dc=dc||function uE(e){const t=new DF(e);return function wF(){try{return!!(new window.DOMParser).parseFromString(mo(""),"text/html")}catch{return!1}}()?new EF(t):t}(e);let r=t?String(t):"";n=dc.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=n.innerHTML,n=dc.getInertBodyElement(r)}while(r!==o);return mo((new IF).sanitizeChildren(Lh(n)||n))}finally{if(n){const r=Lh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Lh(e){return"content"in e&&function kF(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const NF=/^>|^->|<!--|-->|--!>|<!-$/g,OF=/(<|>)/g;function Bh(e,t){return e.createComment(function bE(e){return e.replace(NF,t=>t.replace(OF,"\u200b$1\u200b"))}(t))}function uc(e,t,n){return e.createElement(t,n)}function oi(e,t,n,r,i){e.insertBefore(t,n,r,i)}function DE(e,t,n){e.appendChild(t,n)}function wE(e,t,n,r,i){null!==r?oi(e,t,n,r,i):DE(e,t,n)}function SE(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&function ON(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o)}else{const o=i,s=n[++r];Zv(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}}(e,t,r),null!==i&&function LF(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==o&&function PF(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}var lt=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}(lt||{});function jh(e){const t=Bs();return t?lE(t.sanitize(lt.HTML,e)||""):An(e,"HTML")?lE(Yt(e)):vE(vr(),G(e))}function fc(e){const t=Bs();return t?t.sanitize(lt.URL,e)||"":An(e,"URL")?Yt(e):cc(G(e))}function Bs(){const e=E();return e&&e[10].sanitizer}function tP(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const RE="ng-template";function nP(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==tP(t[i+1].toLowerCase(),n,0))return!0}else if(Hh(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function Hh(e){return 4===e.type&&e.value!==RE}function rP(e,t,n){return t===(4!==e.type||n?e.value:RE)}function iP(e,t,n){let r=4;const i=e.attrs,o=null!==i?function aP(e){for(let t=0;t<e.length;t++)if(Kv(e[t]))return t;return e.length}(i):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!rP(e,l,n)||""===l&&1===t.length){if(pn(r))return!1;s=!0}}else if(8&r){if(null===i||!nP(e,i,l,n)){if(pn(r))return!1;s=!0}}else{const c=t[++a],d=oP(l,i,Hh(e),n);if(-1===d){if(pn(r))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":i[d+1].toLowerCase(),2&r&&c!==u){if(pn(r))return!1;s=!0}}}}else{if(!s&&!pn(r)&&!pn(l))return!1;if(s&&pn(l))continue;s=!1,r=l|1&r}}return pn(r)||s}function pn(e){return!(1&e)}function oP(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function lP(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function kE(e,t,n=!1){for(let r=0;r<t.length;r++)if(iP(e,t[r],n))return!0;return!1}function cP(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];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 NE(e,t){return e?":not("+t.trim()+")":t}function dP(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!pn(s)&&(t+=NE(o,i),i=""),r=s,o=o||!pn(r);n++}return""!==i&&(t+=NE(o,i)),t}const ae={};function Uh(e,t,n,r,i,o,s,a,l,c,d){const u=P+r,h=u+i,f=function hP(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ae);return n}(u,h),p="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 pc(e,t,n,r,i,o,s,a,l,c,d){const u=t.blueprint.slice();return u[0]=i,u[2]=1228|r,(null!==c||e&&2048&e[2])&&(u[2]|=2048),jy(u),u[3]=u[14]=e,u[8]=n,u[10]=s||e&&e[10],u[W]=a||e&&e[W],u[9]=l||e&&e[9]||null,u[5]=o,u[19]=function tO(){return eO++}(),u[6]=d,u[20]=c,u[15]=2==t.type?e[15]:u,u}function zh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function js(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function $h(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function x(e=1){FE(Y(),E(),st()+e,!1)}function FE(e,t,n,r){if(!r)if(3&~t[2]){const o=e.preOrderHooks;null!==o&&Vl(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&Ll(t,o,n)}Xr(n)}var mc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(mc||{});function Hs(e,t,n,r){const i=U(null);try{const[o,s,a]=e.inputs[n];let l=null;0!==(s&mc.SignalBased)&&(l=t[o][Xe]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,l,r,n,o):Hv(t,l,o,r)}finally{U(i)}}var Er=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Er||{});function Wh(e,t){return undefined(e,t)}const si=new Set;var qh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(qh||{});const yo=new D(""),BE=new Set;function _t(e){BE.has(e)||(BE.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const jE=!1,ue=class bP extends X{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Af()&&(this.destroyRef=g(Mn,{optional:!0})??void 0,this.pendingTasks=g(Jr,{optional:!0})??void 0)}emit(t){const n=U(null);try{super.next(t)}finally{U(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;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 t instanceof Ae&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function HE(e){let t,n;function r(){e=Cs;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function UE(e){return queueMicrotask(()=>e()),()=>{e=Cs}}const Yh="isAngularZone",_c=Yh+"_ID";let EP=0;class L{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ue(!1);onMicrotaskEmpty=new ue(!1);onStable=new ue(!1);onError=new ue(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=jE}=t;if(typeof Zone>"u")throw new b(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function CP(e){const t=()=>{!function wP(e){function t(){HE(()=>{e.callbackScheduled=!1,Zh(e),e.isCheckStableRunning=!0,Kh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Zh(e))}(e)},n=EP++;e._inner=e._inner.fork({name:"angular",properties:{[Yh]:!0,[_c]:n,[_c+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(function SP(e){return GE(e,"__ignore_ng_zone__")}(l))return r.invokeTask(o,s,a,l);try{return zE(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),$E(e)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return zE(e),r.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function IP(e){return GE(e,"__scheduler_tick__")}(l)&&t(),$E(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Zh(e),Kh(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(Yh)}static assertInAngularZone(){if(!L.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(L.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,DP,Cs,Cs);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const DP={};function Kh(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 Zh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function zE(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $E(e){e._nesting--,Kh(e)}class Qh{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ue;onMicrotaskEmpty=new ue;onStable=new ue;onError=new ue;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function GE(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}let Xh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();const WE=[0,1,2,3];let qE=(()=>{class e{ngZone=g(L);scheduler=g(gr);errorHandler=g(Kn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(yo,{optional:!0})}execute(){const n=this.sequences.size>0;n&&de(16),this.executing=!0;for(const r of WE)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(),n&&de(17)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),Ji(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(qh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();class YE{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,o,s=null){this.impl=t,this.hooks=n,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 t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function vo(e,t){const n=t?.injector??g(ve);return _t("NgAfterNextRender"),function KE(e,t,n,r){const i=t.get(Xh);i.impl??=t.get(qE);const o=t.get(yo,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(Mn):null,a=t.get(Al,null,{optional:!0}),l=new YE(i.impl,function xP(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,n,t,!0)}const yc=new D("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ZE(e,t,n){const r=e.get(yc);if(Array.isArray(t))for(const i of t)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function QE(e,t,n,r){const i=e?.[26]?.enter;null!==t&&i&&i.has(n.index)&&function Jh(e,t){for(const[n,r]of t)ZE(e,r.animateFns)}(r,i)}function bo(e,t,n,r,i,o,s,a){if(null!=i){let l,c=!1;wt(i)?l=i:Re(i)&&(c=!0,i=i[0]);const d=et(i);0===e&&null!==r?(QE(a,r,o,n),null==s?DE(t,r,d):oi(t,r,d,s||null,!0)):1===e&&null!==r?(QE(a,r,o,n),oi(t,r,d,s||null,!0)):2===e?eD(a,o,n,u=>{!function Vs(e,t,n,r){e.removeChild(null,t,n,r)}(t,d,c,u)}):3===e&&eD(a,o,n,()=>{t.destroyNode(d)}),null!=l&&function VP(e,t,n,r,i,o,s){const a=r[7];a!==et(r)&&bo(t,e,n,o,a,i,s);for(let c=10;c<r.length;c++){const d=r[c];Ec(d[1],d,e,t,o,a)}}(t,e,n,l,o,r,s)}}function JE(e,t){t[10].changeDetectionScheduler?.notify(9),Ec(e,t,t[W],2,null,null)}function ep(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function Us(e,t){if($n(t))return;const n=t[W];n.destroyNode&&Ec(e,t,n,3,null,null),function NP(e){let t=e[12];if(!t)return tp(e[1],e);for(;t;){let n=null;if(Re(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Re(t)&&tp(t[1],t),t=t[3];null===t&&(t=e),Re(t)&&tp(t[1],t),n=t&&t[4]}t=n}}(t)}function tp(e,t){if($n(t))return;const n=U(null);try{t[2]&=-129,t[2]|=256,t[24]&&ss(t[24]),function PP(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof xs)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];de(4,a,l);try{l.call(a)}finally{de(5,a,l)}}else{de(4,i,o);try{o.call(i)}finally{de(5,i,o)}}}}}(e,t),function FP(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const i=t[21];if(null!==i){t[21]=null;for(let s=0;s<i.length;s++)(0,i[s])()}const o=t[23];if(null!==o){t[23]=null;for(const s of o)s.destroy()}}(e,t),1===t[1].type&&t[W].destroy();const r=t[16];if(null!==r&&wt(t[3])){r!==t[3]&&ep(r,t);const i=t[18];null!==i&&i.detachView(e)}lh(t)}finally{U(n)}}function eD(e,t,n,r){const i=e?.[26];if(null==i||null==i.leave||!i.leave.has(t.index))return r(!1);e&&si.add(e),ZE(n,()=>{if(i.leave&&i.leave.has(t.index)){const s=i.leave.get(t.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 OP(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,si.delete(e),t(!0)}):t(!1)}(e,r)}else e&&si.delete(e),r(!1)},i)}function np(e,t,n){return function tD(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(zn(r)){const{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Xn.None||i===Xn.Emulated)return null}return Ue(r,n)}(e,t.parent,n)}function nD(e,t,n){return iD(e,t,n)}let iD=function rD(e,t,n){return 40&e.type?Ue(e,n):null};function ip(e,t,n,r){const i=np(e,r,t),o=t[W],a=nD(r.parent||t[5],r,t);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)wE(o,i,n[l],a,!1);else wE(o,i,n,a,!1)}function ai(e,t){if(null!==t){const n=t.type;if(3&n)return Ue(t,e);if(4&n)return bc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ai(e,r);{const i=e[t.index];return wt(i)?bc(-1,i):et(i)}}if(128&n)return ai(e,t.next);if(32&n)return Wh(t,e)()||et(e[t.index]);{const r=sD(e,t);return null!==r?Array.isArray(r)?r[0]:ai(Gn(e[15]),r):ai(e,t.next)}}return null}function sD(e,t){return null!==t?e[15][5].projection[t.projection]:null}function bc(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return ai(r,i)}return t[7]}function op(e,t,n,r,i,o,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const l=r[n.index],c=n.type;if(s&&0===t&&(l&&Pt(et(l),r),n.flags|=2),!ec(n))if(8&c)op(e,t,n.child,r,i,o,!1),bo(t,e,a,i,l,n,o,r);else if(32&c){const d=Wh(n,r);let u;for(;u=d();)bo(t,e,a,i,u,n,o,r);bo(t,e,a,i,l,n,o,r)}else 16&c?aD(e,t,r,n,i,o):bo(t,e,a,i,l,n,o,r);n=s?n.projectionNext:n.next}}function Ec(e,t,n,r,i,o){op(n,r,e.firstChild,t,i,o,!1)}function aD(e,t,n,r,i,o){const s=n[15],l=s[5].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)bo(t,e,n[9],i,l[c],r,o,n);else{let c=l;const d=s[3];Ns(r)&&(c.flags|=128),op(e,t,c,d,i,o,!0)}}function lD(e,t,n,r,i){const o=st(),s=2&r;try{Xr(-1),s&&t.length>P&&FE(e,t,P,!1),de(s?2:0,i,n),n(r,i)}finally{Xr(o),de(s?3:1,i,n)}}function Dc(e,t,n){(function $P(e,t,n){const r=n.directiveStart,i=n.directiveEnd;zn(n)&&function pP(e,t,n){const r=Ue(t,e),i=function OE(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Uh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),o=e[10].rendererFactory,s=$h(e,pc(e,i,null,zh(n),r,t,null,o.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||jl(n,t);const o=n.initialInputs;for(let s=r;s<i;s++){const a=e.data[s],l=ks(t,e,s,n);Pt(l,t),null!==o&&YP(0,s-r,l,a,0,o),qt(a)&&(Ct(n.index,t)[8]=ks(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function GP(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function gk(){return z.lFrame.currentDirectiveIndex}();try{Xr(o);for(let a=r;a<i;a++){const l=e.data[a],c=t[a];Hf(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&WP(l,c)}}finally{Xr(-1),Hf(s)}}(e,t,n)}function Eo(e,t,n=Ue){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}let cD=()=>null;function sp(e,t,n,r,i,o){Ic(e,t[1],t,n,r)?zn(e)&&function dD(e,t){const n=Ct(t,e);16&n[2]||(n[2]|=64)}(t,e.index):(3&e.type&&(n=function zP(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),ap(e,t,n,r,i,o))}function ap(e,t,n,r,i,o){if(3&e.type){const s=Ue(e,t);r=null!=o?o(r,e.value||"",n):r,i.setProperty(s,n,r)}}function WP(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function lp(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let i=0;i<n.length;i++){const o=n[i];kE(t,o.selectors,!1)&&(r??=[],qt(o)?r.unshift(o):r.push(o))}return r}function YP(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;a+=2)Hs(r,n,s[a],s[a+1])}function Cc(e,t,n,r,i){const o=P+n,s=t[1],a=i(s,t,e,r,n);t[o]=a,Wn(e,!0);const l=2===e.type;return l?(SE(t[W],a,e),(0===function dk(){return z.lFrame.elementDepthCount}()||Zi(e))&&Pt(a,t),function uk(){z.lFrame.elementDepthCount++}()):Pt(a,t),xl()&&(!l||!ec(e))&&ip(s,t,a,e),e}function Sc(e){let t=e;return Ky()?Zy():(t=t.parent,Wn(t,!1)),t}function Ic(e,t,n,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];Hs(t.data[c],n[c],s[l+1],i),a=!0}if(o)for(const l of o)Hs(t.data[l],n[l],r,i),a=!0;return a}function ZP(e,t){const n=Ct(t,e),r=n[1];!function QP(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[0];null!==i&&null===n[6]&&(n[6]=null),de(18),Tc(r,n,n[8]),de(19,n[8])}function Tc(e,t,n){$f(t);try{const r=e.viewQuery;null!==r&&Ah(1,r,n);const i=e.template;null!==i&&lD(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&rE(e,t),e.staticViewQueries&&Ah(2,e.viewQuery,n);const o=e.components;null!==o&&function XP(e,t){for(let n=0;n<t.length;n++)ZP(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Gf()}}function Do(e,t,n,r){const i=U(null);try{const o=t.tView,l=pc(e,o,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[16]=e[t.index];const d=e[18];return null!==d&&(l[18]=d.createEmbeddedView(o)),Tc(o,l,n),l}finally{U(i)}}function li(e,t){return!t||null===t.firstChild||Ns(e)}function zs(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(et(o)),wt(o)&&JP(o,r);const s=n.type;if(8&s)zs(e,t,n.child,r);else if(32&s){const a=Wh(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=sD(t,n);if(Array.isArray(a))r.push(...a);else{const l=Gn(t[15]);zs(l[1],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function JP(e,t){for(let n=10;n<e.length;n++){const r=e[n],i=r[1].firstChild;null!==i&&zs(r[1],r,i,t)}e[7]!==e[0]&&t.push(e[7])}function hD(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let pD=[];const r1={...ji,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ji(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},o1={...ji,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Gn(e.lView);for(;t&&!mD(t[1]);)t=Gn(t);t&&Ff(t)},consumerOnSignalRead(){this.lView[24]=this}};function mD(e){return 2!==e.type}function gD(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function Mc(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function a1(e,t){const n=Jy();try{Tl(!0),dp(e,t);let r=0;for(;Es(e);){if(100===r)throw new b(103,!1);r++,dp(e,1)}}finally{Tl(n)}}(e,t)}finally{r.end?.()}}function _D(e,t,n,r){if($n(t))return;const i=t[2];$f(t);let a=!0,l=null,c=null;mD(e)?(c=function e1(e){return e[24]??function t1(e){const t=pD.pop()??Object.create(r1);return t.lView=e,t}(e)}(t),l=Hi(c)):null===function qu(){return ft}()?(a=!1,c=function i1(e){const t=e[24]??Object.create(o1);return t.lView=e,t}(t),l=Hi(c)):t[24]&&(ss(t[24]),t[24]=null);try{jy(t),function ev(e){return z.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&lD(e,t,n,2,r);const d=!(3&~i);if(d){const f=e.preOrderCheckHooks;null!==f&&Ll(t,f,null)}else{const f=e.preOrderHooks;null!==f&&Vl(t,f,0,null),Jf(t,0)}if(function l1(e){for(let t=wb(e);null!==t;t=Cb(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Ff(n[r])}}(t),gD(t),yD(t,0),null!==e.contentQueries&&rE(e,t),d){const f=e.contentCheckHooks;null!==f&&Ll(t,f)}else{const f=e.contentHooks;null!==f&&Vl(t,f,1),Jf(t,1)}!function d1(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Xr(~i);else{const o=i,s=n[++r],a=n[++r];mk(s,o);const l=t[o];de(24,l),a(2,l),de(25,l)}}}finally{Xr(-1)}}(e,t);const u=e.components;null!==u&&bD(t,u,0);const h=e.viewQuery;if(null!==h&&Ah(2,h,r),d){const f=e.viewCheckHooks;null!==f&&Ll(t,f)}else{const f=e.viewHooks;null!==f&&Vl(t,f,2),Jf(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const f of t[22])f();t[22]=null}hD(t),t[2]&=-73}catch(d){throw Ji(t),d}finally{null!==c&&(os(c,l),a&&function n1(e){e.lView[24]!==e&&(e.lView=null,pD.push(e))}(c)),Gf()}}function yD(e,t){for(let n=wb(e);null!==n;n=Cb(n))for(let r=10;r<n.length;r++)vD(n[r],t)}function c1(e,t,n){de(18);const r=Ct(t,e);vD(r,n),de(19,r[8])}function vD(e,t){Of(e)&&dp(e,t)}function dp(e,t){const r=e[1],i=e[2],o=e[24];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!ol(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)_D(r,e,r.template,e[8]);else if(8192&i){const a=U(null);try{gD(e),yD(e,1);const l=r.components;null!==l&&bD(e,l,1),hD(e)}finally{U(a)}}}function bD(e,t,n){for(let r=0;r<t.length;r++)c1(e,t[r],n)}function wo(e,t){const n=Jy()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=Gn(e);if(mr(e)&&!r)return e;e=r}return null}function ED(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Co(e,t,n,r=!0){const i=t[1];if(function u1(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],wy(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&wD(s,t);const a=t[18];null!==a&&a.insertView(e),Pf(t),t[2]|=128}(i,t,e,n),r){const s=bc(n,e),a=t[W],l=a.parentNode(e[7]);null!==l&&function kP(e,t,n,r,i,o){r[0]=i,r[5]=t,Ec(e,r,n,1,i,o)}(i,e[5],a,t,l,s)}const o=t[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function $s(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[16];null!==i&&i!==e&&ep(i,r),t>0&&(e[n-1][4]=r[4]);const o=gl(e,10+t);!function XE(e,t){JE(e,t),t[0]=null,t[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 wD(e,t){const n=e[9],r=t[3];(Re(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}class Gs{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return zs(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return $n(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(wt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&($s(t,r),gl(n,r))}this._attachedToViewContainer=!1}Us(this._lView[1],this._lView)}onDestroy(t){Il(this._lView,t)}markForCheck(){wo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Pf(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Mc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=mr(this._lView),n=this._lView[16];null!==n&&!t&&ep(n,this._lView),JE(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;const n=mr(this._lView),r=this._lView[16];null!==r&&!n&&wD(r,this._lView),Pf(this._lView)}}let kn=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=p1;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){const o=Do(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new Gs(o)}})();function p1(){return xc($(),E())}function xc(e,t){return 4&e.type?new kn(t,e,lo(e,t)):null}function ci(e,t,n,r,i){let o=e.data[t];if(null===o)o=function mp(e,t,n,r,i){const o=Yy(),s=Ky(),l=e.data[t]=function w1(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return Gy()&&(a|=128),{type:n,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:t,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,n,t,r,i);return function D1(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,l,o,s),l}(e,t,n,r,i),function pk(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Ds(){const e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Wn(o,!0),o}let oL=class{},YD=class{};class sL{resolveComponentFactory(t){throw new b(917,!1)}}let Io=class{static NULL=new sL};class Nn{}let mn=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function aL(){const e=E(),n=Ct($().index,e);return(Re(n)?n:e)[W]}()})(),lL=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();const wp={};class Mo{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,wp,r);return i!==wp||n===wp?i:this.parentInjector.get(t,n,r)}}function Vc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=af(i,a):2==o&&(r=af(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function C(e,t=0){const n=E();return null===n?O(e,t):rb($(),n,q(e),t)}function ZD(e,t,n,r,i){const o=null===r?null:{"":-1},s=i(e,n);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 mL(e,t,n,r,i,o,s){const a=r.length;let l=!1;for(let h=0;h<a;h++){const f=r[h];!l&&qt(f)&&(l=!0,pL(e,n,h)),ih(jl(n,t),e,f.type)}!function EL(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,a);for(let h=0;h<a;h++){const f=r[h];f.providersResolver&&f.providersResolver(f)}let c=!1,d=!1,u=js(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){const f=r[h];if(n.mergedAttrs=ao(n.mergedAttrs,f.hostAttrs),_L(e,n,t,u,f),bL(u,f,i),null!==s&&s.has(f)){const[m,_]=s.get(f);n.directiveToIndex.set(f.type,[u,m+n.directiveStart,_+n.directiveStart])}else(null===o||!o.has(f))&&n.directiveToIndex.set(f.type,u);null!==f.contentQueries&&(n.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(n.flags|=64);const p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!d&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),u++}!function gL(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const i=e.data[r];if(null!==n&&n.has(i)){const o=n.get(i);XD(0,t,o,r),XD(1,t,o,r),ew(t,r,!0)}else QD(0,t,i,r),QD(1,t,i,r),ew(t,r,!1)}}(e,n,o)}(e,t,n,a,o,l,c)}null!==o&&null!==r&&function hL(e,t,n){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new b(-301,!1);r.push(t[i],o)}}(n,r,o)}function pL(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function QD(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[o]??=[],s[o].push(r),JD(t,o)}}function XD(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){const s=i[o];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),JD(t,s)}}function JD(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function ew(e,t,n){const{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(null===r||!n&&null===i||n&&null===o||Hh(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(!n&&i.hasOwnProperty(l)){const c=i[l];for(const d of c)if(d===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){const c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===t){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 _L(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Gr(i.type)),s=new xs(o,qt(i),C,null);e.blueprint[r]=s,n[r]=s,function yL(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function vL(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,o)}}(e,t,r,js(e,n,i.hostVars,ae),i)}function bL(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qt(t)&&(n[""]=e)}}function Cp(e,t,n,r,i,o,s,a){const l=t[1],c=l.consts,u=ci(l,e,n,r,gt(c,s));return o&&ZD(l,t,u,gt(c,a),i),u.mergedAttrs=ao(u.mergedAttrs,u.attrs),null!==u.attrs&&Vc(u,u.attrs,!1),null!==u.mergedAttrs&&Vc(u,u.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,u),u}function Sp(e,t){Gv(e,t),Oy(t)&&e.queries.elementEnd(t)}function Bc(e){return!!function Ip(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Se(e,t,n){return n!==ae&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function na(e,t,n){return function r(i){wo(zn(e)?Ct(e.index,t):t,5);const s=t[8];let a=nw(t,s,n,i),l=r.__ngNextListenerFn__;for(;l;)a=nw(t,s,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function nw(e,t,n,r){const i=U(null);try{return de(6,t,n),!1!==n(r)}catch(o){return function cp(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Zn,null)}catch{r=null}r?.(t)}(e,o),!1}finally{de(7,t,n),U(i)}}function iw(e,t,n,r,i,o,s){const a=t.firstCreatePass?zy(t):null,l=Uy(n),c=l.length;l.push(i,o),a&&a.push(r,e,c,(c+1)*(s?-1:1))}function Hc(e,t,n,r,i,o){const a=t[1],u=t[n][a.data[n].outputs[r]].subscribe(o);iw(e.index,a,t,i,o,u,!0)}const wr=Symbol("BINDING");class ow extends Io{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=oe(t);return new Uc(n,this.ngModule)}}class Uc extends YD{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function OL(e){return Object.keys(e).map(t=>{const[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:0!==(r&mc.SignalBased)};return i&&(o.transform=i),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function FL(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uP(e){return e.map(dP).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i,o,s){de(22);const a=U(null);try{const l=this.componentDef,c=function jL(e,t,n,r){const i=e?["ng-version","20.3.15"]:function fP(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!pn(i))break;i=o}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let o=null,s=null,a=0;if(n)for(const d of n)a+=d[wr].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 h of u.bindings){a+=h[wr].requiredVars;const f=d+1;h.create&&(h.targetIdx=f,(o??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}const l=[t];if(r)for(const d of r){const h=Dt("function"==typeof d?d:d.type);l.push(h)}return Uh(0,null,function HL(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(o,s),1,a,l,null,null,null,[i],null)}(r,l,s,o),d=function PL(e,t,n){let r=t instanceof pt?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Mo(n,r):n}(l,i||this.ngModule,t),u=function LL(e){const t=e.get(Nn,null);if(null===t)throw new b(407,!1);return{rendererFactory:t,sanitizer:e.get(lL,null),changeDetectionScheduler:e.get(gr,null),ngReflect:!1}}(d),h=u.rendererFactory.createRenderer(null,l),f=r?function jP(e,t,n,r){const o=r.get(kO,!1)||n===Xn.ShadowDom,s=e.selectRootElement(t,o);return function HP(e){cD(e)}(s),s}(h,r,l.encapsulation,d):function VL(e,t){const n=function BL(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return uc(t,n,"svg"===n?"svg":"math"===n?"math":null)}(l,h),p=s?.some(sw)||o?.some(v=>"function"!=typeof v&&v.bindings.some(sw)),m=pc(null,c,null,512|zh(l),null,null,u,h,d,null,null);m[P]=f,$f(m);let _=null;try{const v=Cp(P,m,2,"#host",()=>c.directiveRegistry,!0,0);SE(h,f,v),Pt(f,m),Dc(c,m,v),Rh(c,v,m),Sp(c,v),void 0!==n&&function zL(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o&&o.length?Array.from(o):null)}}(v,this.ngContentSelectors,n),_=Ct(v.index,m),m[8]=_[8],Tc(c,m,null)}catch(v){throw null!==_&&lh(_),lh(m),v}finally{de(23),Gf()}return new UL(this.componentType,m,!!p)}finally{U(a)}}}function sw(e){const t=e[wr].kind;return"input"===t||"twoWay"===t}class UL extends oL{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Xi(n[1],P),this.location=lo(this._tNode,n),this.instance=Ct(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Gs(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Ic(r,i[1],i,t,n),this.previousInputValues.set(t,n),wo(Ct(r.index,i),1)}get injector(){return new Le(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let gn=(()=>class e{static __NG_ELEMENT_ID__=$L})();function $L(){return cw($(),E())}const GL=gn,aw=class extends GL{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return lo(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const t=Hl(this._hostTNode,this._hostLView);if(th(t)){const n=Rs(t,this._hostLView),r=As(t);return new Le(n[1].data[r+8],n)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=lw(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(a,i,li(this._hostTNode,null)),a}createComponent(t,n,r,i,o,s,a){const l=t&&!function Ms(e){return"function"==typeof e}(t);let c;if(l)c=n;else{const _=n||{};c=_.index,r=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}const d=l?t:new Uc(oe(t)),u=r||this.parentInjector;if(!o&&null==d.ngModule){const v=(l?u:this.parentInjector).get(pt,null);v&&(o=v)}oe(d.componentType??{});const m=d.create(u,i,null,o,s,a);return this.insertImpl(m.hostView,c,li(this._hostTNode,null)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function lk(e){return wt(e[3])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=i[3],c=new aw(l,l[5],l[3]);c.detach(c.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Co(s,i,o,r),t.attachToViewContainerRef(),wy(Tp(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=lw(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=$s(this._lContainer,n);r&&(gl(Tp(this._lContainer),n),Us(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=$s(this._lContainer,n);return r&&null!=gl(Tp(this._lContainer),n)?new Gs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function lw(e){return e[8]}function Tp(e){return e[8]||(e[8]=[])}function cw(e,t){let n;const r=t[e.index];return wt(r)?n=r:(n=ED(r,t,null,e),t[e.index]=n,$h(t,n)),dw(n,t,e,r),new aw(n,e,t)}let dw=function fw(e,t,n,r){if(e[7])return;let i;i=8&n.type?et(r):function WL(e,t){const n=e[W],r=n.createComment(""),i=Ue(t,e),o=n.parentNode(i);return oi(n,o,r,n.nextSibling(i),!1),r}(t,n),e[7]=i};class xp{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new xp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ap{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Ap(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Fp(t,n).matches&&this.queries[n].setDirty()}}class hw{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function JL(e){return e.split(",").map(t=>t.trim())}(t):t}}class Rp{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Rp(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class kp{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new kp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,KL(n,o)),this.matchTNodeWithReadOption(t,n,Ul(n,t,o,!1,!1))}else r===kn?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ul(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ce||i===gn||i===kn&&4&n.type)this.addMatch(n.index,-2);else{const o=Ul(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function KL(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function QL(e,t,n,r){return-1===n?function ZL(e,t){return 11&e.type?lo(e,t):4&e.type?xc(e,t):null}(t,e):-2===n?function XL(e,t,n){return n===Ce?lo(t,e):n===kn?xc(t,e):n===gn?cw(t,e):void 0}(e,t,r):ks(e,e[1],n,t)}function pw(e,t,n,r){const i=t[18].queries[r];if(null===i.matches){const o=e.data,s=n.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:QL(t,o[c],s[l+1],n.metadata.read))}i.matches=a}return i.matches}function Np(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=pw(e,t,i,n);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=t[-l];for(let u=10;u<d.length;u++){const h=d[u];h[16]===h[3]&&Np(h[1],h,c,r)}if(null!==d[9]){const u=d[9];for(let h=0;h<u.length;h++){const f=u[h];Np(f[1],f,c,r)}}}}}return r}function Op(e,t){return e[18].queries[t].queryList}function mw(e,t,n){const r=new Gl(!(4&~n));return function ck(e,t,n,r){const i=Uy(t);i.push(n),e.firstCreatePass&&zy(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[18]??=new Ap).queries.push(new xp(r))-1}function gw(e,t,n){const r=Y();return r.firstCreatePass&&(yw(r,new hw(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),mw(r,E(),t)}function _w(e,t,n,r){const i=Y();if(i.firstCreatePass){const o=$();yw(i,new hw(t,n,r),o.index),function eV(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return mw(i,E(),n)}function yw(e,t,n){null===e.queries&&(e.queries=new Rp),e.queries.track(new kp(t,n))}function Fp(e,t){return e.queries.getByIndex(t)}function vw(e,t){const n=e[1],r=Fp(n,t);return r.crossesNgTemplate?Np(n,e,t,[]):pw(n,e,r,t)}function Pp(e,t,n){let r;const i=ty(()=>{r._dirtyCounter();const o=function nV(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[2])return t?void 0:he;const i=Op(n,r),o=vw(n,r);return i.reset(o,fb),t?i.first:i._changesDetected||void 0===e._flatValue?e._flatValue=i.toArray():e._flatValue}(r,e);if(t&&void 0===o)throw new b(-951,!1);return o});return r=i[Xe],r._dirtyCounter=Ot(0),r._flatValue=void 0,i}function bw(e){return Pp(!0,!1)}function Ew(e){return Pp(!0,!0)}function Dw(e,t){const n=e[Xe];n._lView=E(),n._queryIndex=t,n._queryList=Op(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}let Cr=class{},dV=class{};class Vp extends Cr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ow(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const o=function In(e){return e[gy]||null}(t);this._bootstrapComponents=function Rn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=dv(t,n,[{provide:Cr,useValue:this},{provide:Io,useValue:this.componentFactoryResolver},...r],Rt(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iw extends dV{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Vp(this.moduleType,t,[])}}class hV extends Cr{injector;componentFactoryResolver=new ow(this);instance=null;constructor(t){super();const n=new qr([...t.providers,{provide:Cr,useValue:this},{provide:Io,useValue:this.componentFactoryResolver}],t.parent||Dl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let pV=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Df(0,n.type),i=r.length>0?function Tw(e,t,n=null){return new hV({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(O(pt))})}return e})();function Kt(e){return Qn(()=>{const t=xw(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Wl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(pV).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Xn.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&_t("NgStandalone"),Aw(n);const r=e.dependencies;return n.directiveDefs=zc(r,Mw),n.pipeDefs=zc(r,hn),n.id=function yV(e){let t=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("|"))t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Mw(e){return oe(e)||Dt(e)}function Ie(e){return Qn(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function mV(e,t){if(null==e)return Sn;const n={};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=mc.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function gV(e){if(null==e)return Sn;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function R(e){return Qn(()=>{const t=xw(e);return Aw(t),t})}function xw(e){const t={};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:t,inputConfig:e.inputs||Sn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:mV(e.inputs,t),outputs:gV(e.outputs),debugInfo:null}}function Aw(e){e.features?.forEach(t=>t(e))}function zc(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const i of n){const o=t(i);null!==o&&r.push(o)}return r}:null}function le(e){let t=function Rw(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(qt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Bp(e.inputs),s.declaredInputs=Bp(e.declaredInputs),s.outputs=Bp(e.outputs);const a=i.hostBindings;a&&wV(e,a);const l=i.viewQuery,c=i.contentQueries;if(l&&EV(e,l),c&&DV(e,c),vV(e,i),wR(e.outputs,i.outputs),qt(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===le&&(n=!1)}}t=Object.getPrototypeOf(t)}!function bV(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=ao(i.hostAttrs,n=ao(n,i.hostAttrs))}}(r)}function vV(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Bp(e){return e===Sn?{}:e===he?[]:e}function EV(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function DV(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function wV(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Pw(e,t,n,r,i,o,s,a){if(n.firstCreatePass){e.mergedAttrs=ao(e.mergedAttrs,e.attrs);const d=e.tView=Uh(2,e,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),d.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Wn(e,!1);const l=Vw(n,t,e,r);xl()&&ip(n,t,l,e),Pt(l,t);const c=ED(l,t,l,e);t[r+P]=c,$h(t,c)}function fi(e,t,n,r,i,o,s,a,l,c,d){const u=n+P;let h;if(t.firstCreatePass){if(h=ci(t,u,4,s||null,a||null),null!=c){const f=gt(t.consts,c);h.localNames=[];for(let p=0;p<f.length;p+=2)h.localNames.push(f[p],-1)}}else h=t.data[u];return Pw(h,e,t,n,r,i,o,l),null!=c&&Eo(e,h,d),h}function Te(e,t,n,r,i,o,s,a){const l=E(),c=Y();return function AV(e,t,n,r,i,o,s,a,l,c,d){const u=n+P;let h;t.firstCreatePass?(h=ci(t,u,4,s||null,a||null),jf()&&ZD(t,e,h,gt(t.consts,c),lp),Gv(t,h)):h=t.data[u],Pw(h,e,t,n,r,i,o,l),Zi(h)&&Dc(t,e,h),null!=c&&Eo(e,h,d)}(l,c,e,t,n,r,i,gt(c.consts,o),void 0,s,a),Te}let Vw=function Bw(e,t,n,r){return ws(!0),t[W].createComment("")};const fC=new D(""),Qc=new D("");let Kp,qp=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,i){this._ngZone=n,this.registry=r,Af()&&(this._destroyRef=g(Mn,{optional:!0})??void 0),Kp||(function BB(e){Kp=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,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(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)(O(L),O(Yp),O(Qc))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Yp=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Kp?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xc(e){return!!e&&"function"==typeof e.then}function hC(e){return!!e&&"function"==typeof e.subscribe}const pC=new D("");let mC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(pC,{optional:!0})??[];injector=g(ve);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=xf(this.injector,i);if(Xc(o))n.push(o);else if(hC(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jB=new D("");function gC(e,t){return Array.isArray(t)?t.reduce(gC,e):{...e,...t}}let _n=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Zn);afterRenderManager=g(Xh);zonelessEnabled=g(hv);rootEffectScheduler=g(gv);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new X;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Jr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(qe(n=>!n))}constructor(){g(yo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(pt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=ve.NULL){return this._injector.get(L).run(()=>{de(10);const s=n instanceof YD;if(!this._injector.get(mC).done)throw new b(405,"");let l;l=s?n:this._injector.get(Io).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const c=function UB(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Cr),u=l.create(i,[],r||l.selector,c),h=u.location.nativeElement,f=u.injector.get(fC,null);return f?.registerApplication(h),u.onDestroy(()=>{this.detachView(u.hostView),Jc(this.components,u),f?.unregisterApplication(h)}),this._loadComponent(u),de(11,u),u})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){de(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(qh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);const n=U(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,U(n),this.afterTick.next(),de(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Nn,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)de(14),this.synchronizeOnce(),de(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews)(r||Es(i))&&(Mc(i,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Es(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(n),this._injector.get(jB,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Jc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function dt(e,t,n,r){const i=E();return Se(i,Nt(),t)&&(Y(),function qP(e,t,n,r,i,o){const s=Ue(e,t);!function wc(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const a=null==s?G(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}(t[W],s,o,e.value,n,r,i)}(Tn(),i,e,t,n,r)),dt}function Ye(e,t,n,r,i,o,s,a){_t("NgControlFlow");const l=E(),c=Y();return fi(l,c,e,t,n,r,i,gt(c.consts,o),256,s,a),lm}function lm(e,t,n,r,i,o,s,a){_t("NgControlFlow");const l=E(),c=Y();return fi(l,c,e,t,n,r,i,gt(c.consts,o),512,s,a),lm}function Ke(e,t){_t("NgControlFlow");const n=E(),r=Nt(),i=n[r]!==ae?n[r]:-1,o=-1!==i?ld(n,P+i):void 0;if(Se(n,r,e)){const a=U(null);try{if(void 0!==o&&function up(e,t){const n=$s(e,t);return void 0!==n&&Us(n[1],n),n}(o,0),-1!==e){const l=P+e,c=ld(n,l),d=function cm(e,t){return Xi(e,t)}(n[1],l),u=null;Co(c,Do(n,d,t,{dehydratedView:u}),0,li(d,u))}}finally{U(a)}}else if(void 0!==o){const a=function DD(e,t){const n=10+t;if(n<e.length)return e[n]}(o,0);void 0!==a&&(a[8]=t)}}function ld(e,t){return e[t]}function B(e,t,n){const r=E();return Se(r,Nt(),t)&&(Y(),sp(Tn(),r,e,t,r[W],n)),B}function dm(e,t,n,r,i){Ic(t,e,n,i?"class":"style",r)}function K(e,t,n,r){const i=E(),o=i[1],s=e+P,a=o.firstCreatePass?Cp(s,i,2,t,lp,jf(),n,r):o.data[s];if(Cc(a,i,e,t,um),Zi(a)){const l=i[1];Dc(l,i,a),Rh(l,a,i)}return null!=r&&Eo(i,a),K}function Z(){const e=Y(),n=Sc($());return e.firstCreatePass&&Sp(e,n),Wy(n)&&qy(),$y(),null!=n.classesWithoutHost&&function kN(e){return!!(8&e.flags)}(n)&&dm(e,n,E(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function NN(e){return!!(16&e.flags)}(n)&&dm(e,n,E(),n.stylesWithoutHost,!1),Z}function yt(e,t,n,r){return K(e,t,n,r),Z(),yt}function cd(e,t,n,r){const i=E(),o=i[1],s=e+P,a=o.firstCreatePass?function tw(e,t,n,r,i,o){const s=t.consts,l=ci(t,e,n,r,gt(s,i));if(l.mergedAttrs=ao(l.mergedAttrs,l.attrs),null!=o){const c=gt(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return null!==l.attrs&&Vc(l,l.attrs,!1),null!==l.mergedAttrs&&Vc(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,2,t,n,r):o.data[s];return Cc(a,i,e,t,um),null!=r&&Eo(i,a),cd}function dd(){return Wy(Sc($()))&&qy(),$y(),dd}function ud(e,t,n,r){return cd(e,t,n,r),dd(),ud}typeof document<"u"&&document;let um=(e,t,n,r,i)=>(ws(!0),uc(t[W],r,function Dk(){return z.lFrame.currentNamespace}()));function jt(e,t,n){const r=E(),i=r[1],o=e+P,s=i.firstCreatePass?Cp(o,r,8,"ng-container",lp,jf(),t,n):i.data[o];if(Cc(s,r,e,"ng-container",hm),Zi(s)){const a=r[1];Dc(a,r,s),Rh(a,s,r)}return null!=n&&Eo(r,s),jt}function It(){const e=Y(),n=Sc($());return e.firstCreatePass&&Sp(e,n),It}function Vo(e,t,n){return jt(e,t,n),It(),Vo}let hm=(e,t,n,r,i)=>(ws(!0),Bh(t[W],""));function er(){return E()}function ca(e,t,n){const r=E();return Se(r,Nt(),t)&&(Y(),ap(Tn(),r,e,t,r[W],n)),ca}const hd="en-US";let LC=hd;function xe(e,t,n){const r=E(),i=Y(),o=$();return gm(i,r,r[W],o,e,t,n),xe}function gm(e,t,n,r,i,o,s){let a=!0,l=null;if((3&r.type||s)&&(l??=na(r,t,o),function rw(e,t,n,r,i,o,s,a){const l=Zi(e);let c=!1,d=null;if(!r&&l&&(d=function IL(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[7],l=i[o+2];return a&&a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,o,e.index)),null!==d)(d.__ngLastListenerFn__||d).__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0;else{const u=Ue(e,n),h=r?r(u):u,f=i.listen(h,o,a);(function SL(e){return e.startsWith("animation")||e.startsWith("transition")})(o)||iw(r?m=>r(et(m[e.index])):e.index,t,n,o,a,f,!1)}return c}(r,e,t,s,n,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 h=d[u],f=d[u+1];l??=na(r,t,o),Hc(r,t,h,f,i,l)}if(c&&c.length)for(const u of c)l??=na(r,t,o),Hc(r,t,u,i,i,l)}}function N(e=1){return function yk(e){return(z.lFrame.contextLView=function Hy(e,t){for(;e>0;)t=t[14],e--;return t}(e,z.lFrame.contextLView))[8]}(e)}function zj(e,t){let n=null;const r=function sP(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?kE(e,o,!0):cP(r,o))return i}else n=i}return n}function jo(e){const t=E()[15][5];if(!t.projection){const r=t.projection=function _l(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const s=e?zj(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function vt(e,t=0,n,r,i,o){const s=E(),a=Y(),l=r?e+1:null;null!==l&&fi(s,a,l,r,i,o,null,n);const c=ci(a,P+e,16,null,n||null);null===c.projection&&(c.projection=t),Zy();const u=!s[6]||Gy();null===s[15][5].projection[c.projection]&&null!==l?function $j(e,t,n){const r=P+n,i=t.data[r],o=e[r];Co(o,Do(e,i,void 0,{dehydratedView:null}),0,li(i,null))}(s,a,l):u&&!ec(c)&&function LP(e,t,n){aD(t[W],0,t,n,np(e,n,t),nD(n.parent||t[5],n,t))}(a,s,c)}function tr(e,t,n,r){_w(e,t,n,r)}function Mt(e,t,n){gw(e,t,n)}function ke(e){const t=E(),n=Y(),r=zf();Ml(r+1);const i=Fp(n,r);if(e.dirty&&function ak(e){return!(4&~e[2])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=vw(t,r);e.reset(o,fb),e.notifyOnChanges()}return!0}return!1}function Ne(){return Op(E(),zf())}function ma(e,t,n,r){Dw(e,gw(t,n,r))}function _m(e=1){Ml(zf()+e)}function ga(e){return function Qr(e,t){return e[t]}(function Qy(){return z.lFrame.contextLView}(),P+e)}function _d(e,t){return e<<17|t<<2}function bi(e){return e>>17&32767}function ym(e){return 2|e}function Ho(e){return(131068&e)>>2}function vm(e,t){return-131069&e|t<<2}function bm(e){return 1|e}function iS(e,t,n,r){const i=e[n+1],o=null===t;let s=r?bi(i):Ho(i),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Zj(e[s],t)&&(a=!0,e[s+1]=r?bm(c):ym(c)),s=r?bi(c):Ho(c)}a&&(e[n+1]=r?ym(i):bm(i))}function Zj(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&gs(e,t)>=0}const Ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oS(e){return e.substring(Ze.key,Ze.keyEnd)}function sS(e,t){const n=Ze.textEnd;return n===t?-1:(t=Ze.keyEnd=function eH(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ze.key=t,n),Uo(e,t,n))}function Uo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ut(e,t){return function fS(e,t,n,r){const i=E(),o=Y(),s=Yn(2);o.firstUpdatePass&&mS(o,e,s,r),t!==ae&&Se(i,s,t)&&_S(o,o.data[st()],i,i[W],e,i[s+1]=function hH(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Rt(Yt(e)))),e}(t,n),r,s)}(e,t,null,!0),ut}function Em(e){!function hS(e,t,n,r){const i=Y(),o=Yn(2);i.firstUpdatePass&&mS(i,null,o,r);const s=E();if(n!==ae&&Se(s,o,n)){const a=i.data[st()];if(vS(a,r)&&!pS(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=af(l,n||"")),dm(i,a,s,n,r)}else!function fH(e,t,n,r,i,o,s,a){i===ae&&(i=he);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 h=l<i.length?i[l+1]:void 0,f=c<o.length?o[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,h!==f&&(p=u,m=f)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=f),null!==p&&_S(e,t,n,r,p,m,s,a),d=l<i.length?i[l]:null,u=c<o.length?o[c]:null}}(i,a,s,s[W],s[o+1],s[o+1]=function dH(e,t,n){if(null==n||""===n)return he;const r=[],i=Yt(n);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&&t(r,i);return r}(e,t,n),r,o)}}(uH,oH,e,!0)}function oH(e,t){for(let n=function Xj(e){return function lS(e){Ze.key=0,Ze.keyEnd=0,Ze.value=0,Ze.valueEnd=0,Ze.textEnd=e.length}(e),sS(e,Uo(e,0,Ze.textEnd))}(t);n>=0;n=sS(t,n))yl(e,oS(t),!0)}function pS(e,t){return t>=e.expandoStartIndex}function mS(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[st()],s=pS(e,n);vS(o,r)&&null===t&&!s&&(t=!1),t=function sH(e,t,n,r){const i=function Uf(e){const t=z.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=_a(n=Dm(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Dm(i,e,t,n,r),null===o){let l=function aH(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ho(r))return e[bi(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Dm(null,e,t,l[1],r),l=_a(l,t.attrs,r),function lH(e,t,n,r){e[bi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else o=function cH(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=_a(r,e[o].hostAttrs,n);return _a(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function Yj(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=bi(s),l=Ho(s);e[r]=n;let d,c=!1;if(Array.isArray(n)?(d=n[1],(null===d||gs(n,d)>0)&&(c=!0)):d=n,i)if(0!==l){const h=bi(e[a+1]);e[r+1]=_d(h,a),0!==h&&(e[h+1]=vm(e[h+1],r)),e[a+1]=function Wj(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=_d(a,0),0!==a&&(e[a+1]=vm(e[a+1],r)),a=r;else e[r+1]=_d(l,0),0===a?a=r:e[l+1]=vm(e[l+1],r),l=r;c&&(e[r+1]=ym(e[r+1])),iS(e,d,r,!0),iS(e,d,r,!1),function Kj(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&gs(o,t)>=0&&(n[r+1]=bm(n[r+1]))}(t,d,e,r,o),s=_d(a,l),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function Dm(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=_a(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function _a(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),yl(e,s,!!n||t[++o]))}return void 0===e?null:e}function uH(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&yl(e,r,n)}function _S(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],d=function qj(e){return!(1&~e)}(c)?yS(l,t,n,i,Ho(c),s):void 0;yd(d)||(yd(o)||function Gj(e){return!(2&~e)}(c)&&(o=yS(l,null,n,i,a,s)),function BP(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Er.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Er.Important),e.setStyle(n,r,i,o))}}(r,s,Qi(st(),n),i,o))}function yS(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const l=e[i],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=n[i+1];h===ae&&(h=u?he:void 0);let f=u?yf(h,r):d===r?h:void 0;if(c&&!yd(f)&&(f=yf(l,r)),yd(f)&&(a=f,s))return a;const p=e[i+1];i=s?bi(p):Ho(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=yf(l,r))}return a}function yd(e){return void 0!==e}function vS(e,t){return!!(e.flags&(t?8:16))}function yn(e,t=""){const n=E(),r=Y(),i=e+P,o=r.firstCreatePass?ci(r,i,1,t,null):r.data[i],s=bS(r,n,o,t,e);n[i]=s,xl()&&ip(r,n,s,o),Wn(o,!1)}let bS=(e,t,n,r,i)=>(ws(!0),function Vh(e,t){return e.createText(t)}(t[W],r));function DS(e,t,n,r=""){return Se(e,Nt(),n)?t+G(n)+r:ae}function wS(e,t,n,r,i,o=""){const a=function ui(e,t,n,r){const i=Se(e,t,n);return Se(e,t+1,r)||i}(e,function qn(){return z.lFrame.bindingIndex}(),n,i);return Yn(2),a?t+G(n)+r+G(i)+o:ae}function ya(e){return Ei("",e),ya}function Ei(e,t,n){const r=E(),i=DS(r,e,t,n);return i!==ae&&nr(r,st(),i),Ei}function wm(e,t,n,r,i){const o=E(),s=wS(o,e,t,n,r,i);return s!==ae&&nr(o,st(),s),wm}function nr(e,t,n){const r=Qi(t,e);!function EE(e,t,n){e.setValue(t,n)}(e[W],r,n)}function Cm(e,t,n){fv(t)&&(t=t());const r=E();return Se(r,Nt(),t)&&(Y(),sp(Tn(),r,e,t,r[W],n)),Cm}function Sm(e,t){const n=E(),r=Y(),i=$();return gm(r,n,n[W],i,e,t),Sm}function Im(e,t,n,r,i){if(e=q(e),Array.isArray(e))for(let o=0;o<e.length;o++)Im(e[o],t,n,r,i);else{const o=Y(),s=E(),a=$();let l=jn(e)?e:q(e.provide);const c=ky(e),d=1048575&a.providerIndexes,u=a.directiveStart,h=a.providerIndexes>>20;if(jn(e)||!e.multi){const f=new xs(c,i,C,null),p=Mm(l,t,i?d:d+h,u);-1===p?(ih(jl(a,s),o,l),Tm(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{const f=Mm(l,t,d+h,u),p=Mm(l,t,d,d+h),_=p>=0&&n[p];if(i&&!_||!i&&!(f>=0&&n[f])){ih(jl(a,s),o,l);const v=function AH(e,t,n,r,i){const s=new xs(e,n,C,null);return s.multi=[],s.index=t,s.componentProviders=0,HS(s,i,r&&!n),s}(i?xH:MH,n.length,i,r,c);!i&&_&&(n[p].providerFactory=v),Tm(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else Tm(o,e,f>-1?f:p,HS(n[i?p:f],c,!i&&r));!i&&r&&_&&n[p].componentProviders++}}}function Tm(e,t,n,r){const i=jn(t),o=function Ay(e){return!!e.useClass}(t);if(i||o){const l=(o?q(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const d=c.indexOf(n);-1===d?c.push(n,[r,l]):c[d+1].push(r,l)}else c.push(n,l)}}}function HS(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mm(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function MH(e,t,n,r,i){return xm(this.multi,[])}function xH(e,t,n,r,i){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=ks(r,r[1],this.providerFactory.index,i);s=l.slice(0,a),xm(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],xm(o,s);return s}function xm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function se(e,t=[]){return n=>{n.providersResolver=(r,i)=>function TH(e,t,n){const r=Y();if(r.firstCreatePass){const i=qt(e);Im(n,r.data,r.blueprint,i,!0),Im(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}function va(e,t,n,r){return function zS(e,t,n,r,i,o){const s=t+n;return Se(e,s,i)?function On(e,t,n){return e[t]=n}(e,s+1,o?r.call(o,i):r(i)):function ba(e,t){const n=e[t];return n===ae?void 0:n}(e,s+1)}(E(),function St(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function YS(e,t){return xc(e,t)}let SU=(()=>{class e{zone=g(L);changeDetectionScheduler=g(gr);applicationRef=g(_n);applicationErrorHandler=g(Zn);_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(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new L({...Om(),scheduleInRootZone:n}),[{provide:L,useFactory:e},{provide:Wr,multi:!0,useFactory:()=>{const r=g(SU,{optional:!0});return()=>r.initialize()}},{provide:Wr,multi:!0,useFactory:()=>{const r=g(TU);return()=>{r.initialize()}}},!0===t?{provide:pv,useValue:!0}:[],{provide:mv,useValue:n??jE},{provide:Zn,useFactory:()=>{const r=g(L),i=g(pt);let o;return s=>{r.runOutsideAngular(()=>{i.destroyed&&!o?setTimeout(()=>{throw s}):(o??=i.get(Kn),o.handleError(s))})}}}]}function Om(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let TU=(()=>{class e{subscription=new Ae;initialized=!1;zone=g(L);pendingTasks=g(Jr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mI=(()=>{class e{applicationErrorHandler=g(Zn);appRef=g(_n);taskService=g(Jr);ngZone=g(L);zonelessEnabled=g(hv);tracing=g(yo,{optional:!0});disableScheduling=g(pv,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ae;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(_c):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(mv,{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 Qh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){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?UE:HE;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(_c+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,UE(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Mr=new D("",{providedIn:"root",factory:()=>g(Mr,{optional:!0,skipSelf:!0})||function MU(){return typeof $localize<"u"&&$localize.locale||hd}()});class EI{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>function zl(e){return function VN(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(Kv(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}($(),e)}(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function DI(e,t){return bw()}new D("").__NG_ELEMENT_ID__=e=>{const t=$();if(null===t)throw new b(204,!1);if(2&t.type)return t.value;if(8&e)return null;throw new b(204,!1)};const Sd=(DI.required=function LU(e,t){return Ew()},DI);function wI(e,t){return bw()}const BU=(wI.required=function VU(e,t){return Ew()},wI),Id=new D(""),$U=new D("");function wa(e){return!e.moduleRef}let xI;function AI(){xI=GU}function GU(e,t){const n=e.injector.get(_n);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new b(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let RI=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,a=[fI({ngZoneFactory:()=>function TP(e="zone.js",t){return"noop"===e?new Qh:"zone.js"===e?new L(t):e}(r?.ngZone,{...Om({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:gr,useExisting:mI},Ck],l=function fV(e,t,n){return new Vp(e,t,n,!1)}(n.moduleType,this.injector,a);return AI(),function MI(e){const t=wa(e)?e.r3Injector:e.moduleRef.injector,n=t.get(L);return n.run(()=>{wa(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Zn);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),wa(e)){const o=()=>t.destroy(),s=e.platformInjector.get(Id);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Id);s.add(o),e.moduleRef.onDestroy(()=>{Jc(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return function WU(e,t,n){try{const r=n();return Xc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const o=t.get(Jr),s=o.add(),a=t.get(mC);return a.runInitializers(),a.donePromise.then(()=>{if(function sj(e){"string"==typeof e&&(LC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Mr,hd)||hd),!t.get($U,!0))return wa(e)?t.get(_n):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(wa(e)){const d=t.get(_n);return void 0!==e.rootComponent&&d.bootstrap(e.rootComponent),d}return xI?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{o.remove(s)})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const i=gC({},r);return AI(),function jU(e,t,n){const r=new Iw(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Id,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(O(ve))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Go=null;function kI(e,t,n=[]){const r=`Platform: ${t}`,i=new D(r);return(o=[])=>{let s=Td();if(!s){const a=[...n,...o,{provide:i,useValue:!0}];s=e?.(a)??function qU(e){if(Td())throw new b(400,!1);(function HB(){!function sR(e){ny=e}(()=>{throw new b(600,"")})})(),Go=e;const t=e.get(RI);return function OI(e){const t=e.get(kb,null);xf(e,()=>{t?.forEach(n=>n())})}(e),t}(function NI(e=[],t){return ve.create({name:t,providers:[{provide:Sf,useValue:"platform"},{provide:Id,useValue:new Set([()=>Go=null])},...e]})}(a,r))}return function YU(){const t=Td();if(!t)throw new b(-401,!1);return t}()}}function Td(){return Go?.get(RI)??null}let wi=(()=>class e{static __NG_ELEMENT_ID__=ZU})();function ZU(e){return function QU(e,t,n){if(zn(e)&&!n){const r=Ct(e.index,t);return new Gs(r,r)}return 175&e.type?new Gs(t[15],t):null}($(),E(),!(16&~e))}class PI{constructor(){}supports(t){return Bc(t)}create(t){return new JU(t)}}const XU=(e,t)=>t;class JU{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(t){this._trackByFn=t||XU}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<VI(r,i,o)?n:r,a=VI(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const c=a-i,d=l-i;if(c!=d){for(let h=0;h<c;h++){const f=h<o.length?o[h]:o[h]=0,p=f+h;d<=p&&p<c&&(o[h]=f+1)}o[s.previousIndex]=d-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Bc(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),r=!0),n=n._next}else i=0,function wL(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new ez(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new LI),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new LI),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}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(t,n){this.item=t,this.trackById=n}}class tz{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class LI{map=new Map;put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new tz,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function VI(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}function jI(){return new Bm([new PI])}let Bm=(()=>{class e{factories;static \u0275prov=S({token:e,providedIn:"root",factory:jI});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{const r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||jI())}}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new b(901,!1)}}return e})();const sz=kI(null,"core",[]);let az=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(O(_n))};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();function Qe(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function JI(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}const Hm=Symbol("NOT_SET"),nT=new Set,Rz={...oy,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Hm,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!==Hm&&!ol(this))return this.signal;try{for(const i of this.cleanup??nT)i()}finally{this.cleanup?.clear()}const t=[];void 0!==e&&t.push(e),t.push(this.registerCleanupFn);const n=Hi(this);let r;try{r=this.userFn.apply(null,t)}finally{os(this,n)}return(this.value===Hm||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}};class kz extends YE{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,i,o,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,o.get(Mn),s),this.scheduler=i;for(const a of WE){const l=n[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=()=>(rl(c),c.value),c.signal[Xe]=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 t of this.nodes)if(t)try{for(const n of t.cleanup??nT)n()}finally{ss(t)}}}function rT(e,t){const n=oe(e),r=t.elementInjector||Dl();return new Uc(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}const Bz={...ji,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function ze(e){return function Vz(e){const t=U(null);try{return e()}finally{U(t)}}(e)}function Ut(e,t){return ty(e,t?.equal)}class Hz{[Xe];constructor(t){this[Xe]=t}destroy(){this[Xe].destroy()}}function Nd(e,t){const n=t?.injector??g(ve);let i,r=!0!==t?.manualCleanup?n.get(Mn):null;const o=n.get(Al,null,{optional:!0}),s=n.get(gr);return null!==o?(i=function $z(e,t,n){const r=Object.create(zz);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=sT(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(o.view,s,e),r instanceof uv&&r._lView===o.view&&(r=null)):i=function Gz(e,t,n){const r=Object.create(Uz);return r.fn=sT(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,n.get(gv),s),i.injector=n,null!==r&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Hz(i)}const oT={...Bz,cleanupFns:void 0,zone:null,onDestroyFn:Cs,run(){const e=Tl(!1);try{!function jz(e){if(e.dirty=!1,e.version>0&&!ol(e))return;e.version++;const t=Hi(e);try{e.cleanup(),e.fn()}finally{os(e,t)}}(this)}finally{Tl(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=U(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],U(e)}}},Uz={...oT,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ss(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},zz={...oT,consumerMarkedDirty(){this.view[2]|=8192,Ji(this.view),this.notifier.notify(13)},destroy(){ss(this),this.onDestroyFn(),this.cleanup(),this.view[23]?.delete(this)}};function sT(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}Error,Error;const Xm=/\s+/,vT=[];let bT=(()=>{class e{_ngEl;_renderer;initialClasses=vT;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=null!=n?n.trim().split(Xm):vT}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Xm):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const i=this.stateMap.get(n);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],i=n[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(n,r){(n=n.trim()).length>0&&n.split(Xm).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)(C(Ce),C(mn))};static \u0275dir=R({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class V${$implicit;ngForOf;index;count;constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,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 DT=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new V$(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),wT(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}n.forEachIdentityChange(i=>{wT(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(C(gn),C(kn),C(Bm))};static \u0275dir=R({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function wT(e,t){e.context.$implicit=t.item}let CT=(()=>{class e{_viewContainer;_context=new B$;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){ST(n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ST(n),this._elseTemplateRef=n,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(n,r){return!0}static \u0275fac=function(r){return new(r||e)(C(gn),C(kn))};static \u0275dir=R({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class B${$implicit=null;ngIf=null}function ST(e,t){if(e&&!e.createEmbeddedView)throw new b(2020,!1)}let tg=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||e)(C(gn))};static \u0275dir=R({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[on]})}return e})(),ig=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();class MT{_doc;constructor(t){this._doc=t}manager}let og=(()=>{class e extends MT{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(O(we))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const sg=new D("");let xT=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const i=n.filter(s=>!(s instanceof og));this._plugins=i.slice().reverse();const o=n.find(s=>s instanceof og);o&&this._plugins.push(o)}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(O(sg),O(L))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const ag="ng-app-id";function AT(e){for(const t of e)t.remove()}function RT(e,t){const n=t.createElement("style");return n.textContent=e,n}function lg(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let kT=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,function f3(e,t,n,r){const i=e.head?.querySelectorAll(`style[${ag}="${t}"],link[${ag}="${t}"]`);if(i)for(const o of i)o.removeAttribute(ag),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const i of n)this.addUsage(i,this.inline,RT);r?.forEach(i=>this.addUsage(i,this.external,lg))}removeStyles(n,r){for(const i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){const o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){const i=r.get(n);i&&(i.usage--,i.usage<=0&&(AT(i.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])AT(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:i}]of this.inline)i.push(this.addElement(n,RT(r,this.doc)));for(const[r,{elements:i}]of this.external)i.push(this.addElement(n,lg(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(O(we),O(co),O(fh,8),O(Kl))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const cg={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"},dg=/%COMP%/g,y3=new D("",{providedIn:"root",factory:()=>!0});function OT(e,t){return t.map(n=>n.replace(dg,e))}let ug=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l=null,c=null){this.eventManager=n,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(n,s,a,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const i=this.getOrCreateRenderer(n,r);return i instanceof PT?i.applyToHost(n):i instanceof hg&&i.applyStyles(),i}getOrCreateRenderer(n,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,h=this.tracingService;switch(r.encapsulation){case Xn.Emulated:o=new PT(l,c,r,this.appId,d,s,a,u,h);break;case Xn.ShadowDom:return new D3(l,c,n,r,s,a,this.nonce,u,h);default:o=new hg(l,c,r,d,s,a,u,h)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(O(xT),O(kT),O(co),O(y3),O(we),O(L),O(fh),O(yo,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class fg{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,i,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(cg[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(FT(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(FT(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=cg[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=cg[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Er.DashCase|Er.Important)?t.style.setProperty(n,r,i&Er.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Er.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,i){if("string"==typeof t&&!(t=_r().getGlobalEventTarget(this.doc,t)))throw new b(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,i)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function FT(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class D3 extends fg{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,i,o,s,a,l,c){super(t,o,s,l,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=OT(i.id,d);for(const h of d){const f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}const u=i.getExternalStyles?.();if(u)for(const h of u){const f=lg(h,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hg extends fg{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,i,o,s,a,l,c){super(t,o,s,a,l),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=c?OT(c,d):d,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===si.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class PT extends hg{contentAttr;hostAttr;constructor(t,n,r,i,o,s,a,l,c){const d=i+"-"+r.id;super(t,n,r,o,s,a,l,c,d),this.contentAttr=function v3(e){return"_ngcontent-%COMP%".replace(dg,e)}(d),this.hostAttr=function b3(e){return"_nghost-%COMP%".replace(dg,e)}(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class pg extends xk{supportsDOMEvents=!0;static makeCurrent(){!function Mk(e){_v??=e}(new pg)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function w3(){return Ia=Ia||document.head.querySelector("base"),Ia?Ia.getAttribute("href"):null}();return null==n?null:function C3(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ia=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return wv(document.cookie,t)}}let Ia=null,I3=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const LT=["alt","control","meta","shift"],T3={"\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"},M3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let x3=(()=>{class e extends MT{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i,o){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_r().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){const r=n.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."),LT.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(n,r){let i=T3[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),LT.forEach(s=>{s!==i&&(0,M3[s])(n)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(O(we))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const N3=kI(sz,"browser",[{provide:Kl,useValue:Sv},{provide:kb,useValue:function A3(){pg.makeCurrent()},multi:!0},{provide:we,useFactory:function k3(){return function wO(e){uh=e}(document),document}}]),jT=[{provide:Qc,useClass:class S3{addToWindow(t){Fe.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new b(5103,!1);return o},Fe.getAllAngularTestabilities=()=>t.getAllTestabilities(),Fe.getAllAngularRootElements=()=>t.getAllRootElements(),Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push(r=>{const i=Fe.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?_r().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:fC,useClass:qp,deps:[L,Yp,Qc]},{provide:qp,useClass:qp,deps:[L,Yp,Qc]}],HT=[{provide:Sf,useValue:"root"},{provide:Kn,useFactory:function R3(){return new Kn}},{provide:sg,useClass:og,multi:!0,deps:[we]},{provide:sg,useClass:x3,multi:!0,deps:[we]},ug,kT,xT,{provide:Nn,useExisting:ug},{provide:Cv,useClass:I3},[]];let UT=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[...HT,...jT],imports:[ig,az]})}return e})();function xr(e){return this instanceof xr?(this.v=e,this):new xr(e)}function WT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function yg(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[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)})}}}"function"==typeof SuppressedError&&SuppressedError;const qT=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function YT(e){return Ee(e?.then)}function KT(e){return Ee(e[sf])}function ZT(e){return Symbol.asyncIterator&&Ee(e?.[Symbol.asyncIterator])}function QT(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 XT=function s8(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function JT(e){return Ee(e?.[XT])}function eM(e){return function GT(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,u)}}),i[Symbol.asyncIterator]=function(){return this},i;function a(f,p){r[f]&&(i[f]=function(m){return new Promise(function(_,v){o.push([f,m,_,v])>1||l(f,m)})},p&&(i[f]=p(i[f])))}function l(f,p){try{!function c(f){f.value instanceof xr?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}(r[f](p))}catch(m){h(o[0][3],m)}}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield xr(n.read());if(i)return yield xr(void 0);yield yield xr(r)}}finally{n.releaseLock()}})}function tM(e){return Ee(e?.getReader)}function zt(e){if(e instanceof De)return e;if(null!=e){if(KT(e))return function a8(e){return new De(t=>{const n=e[sf]();if(Ee(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(qT(e))return function l8(e){return new De(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(YT(e))return function c8(e){return new De(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,dy)})}(e);if(ZT(e))return nM(e);if(JT(e))return function d8(e){return new De(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(tM(e))return function u8(e){return nM(eM(e))}(e)}throw QT(e)}function nM(e){return new De(t=>{(function f8(e,t){var n,r,i,o;return function zT(e,t,n,r){return new(n||(n=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 n?o:new n(function(s){s(o)})}(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=WT(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function ir(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Gd(e,t,n=1/0){return Ee(t)?Gd((r,i)=>qe((o,s)=>t(r,o,i,s))(zt(e(r,i))),n):("number"==typeof t&&(n=t),at((r,i)=>function h8(e,t,n,r,i,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&t.complete()},f=m=>c<r?p(m):l.push(m),p=m=>{o&&t.next(m),c++;let _=!1;zt(n(m,d++)).subscribe(tt(t,v=>{i?.(v),o?f(v):t.next(v)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<r;){const v=l.shift();s?ir(t,s,()=>p(v)):p(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(tt(t,f,()=>{u=!0,h()})),()=>{a?.()}}(r,i,e,n)))}function or(e,t){return at((n,r)=>{let i=0;n.subscribe(tt(r,o=>e.call(t,o,i++)&&r.next(o)))})}function bg(e){return at((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Wd(e,t){return at((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(tt(r,l=>{i?.unsubscribe();let c=0;const d=o++;zt(e(l,d)).subscribe(i=tt(r,u=>r.next(t?t(l,u,d,c++):u),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function rM(e){return e&&Ee(e.schedule)}function Eg(e){return e[e.length-1]}function iM(e){return Ee(Eg(e))?e.pop():void 0}function Ta(e){return rM(Eg(e))?e.pop():void 0}function oM(e,t=0){return at((n,r)=>{n.subscribe(tt(r,i=>ir(r,e,()=>r.next(i),t),()=>ir(r,e,()=>r.complete(),t),i=>ir(r,e,()=>r.error(i),t)))})}function sM(e,t=0){return at((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function aM(e,t){if(!e)throw new Error("Iterable cannot be null");return new De(n=>{ir(n,t,()=>{const r=e[Symbol.asyncIterator]();ir(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ar(e,t){return t?function E8(e,t){if(null!=e){if(KT(e))return function g8(e,t){return zt(e).pipe(sM(t),oM(t))}(e,t);if(qT(e))return function y8(e,t){return new De(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(YT(e))return function _8(e,t){return zt(e).pipe(sM(t),oM(t))}(e,t);if(ZT(e))return aM(e,t);if(JT(e))return function v8(e,t){return new De(n=>{let r;return ir(n,t,()=>{r=e[XT](),ir(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>Ee(r?.return)&&r.return()})}(e,t);if(tM(e))return function b8(e,t){return aM(eM(e),t)}(e,t)}throw QT(e)}(e,t):zt(e)}function Fn(...e){return Ar(e,Ta(e))}class qd{}class Yd{}class En{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof En?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new En;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof En?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}addHeaderEntry(t,n){const r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class D8{encodeKey(t){return lM(t)}encodeValue(t){return lM(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const C8=/%(\d[a-f0-9])/gi,S8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lM(e){return encodeURIComponent(e).replace(C8,(t,n)=>S8[n]??t)}function Kd(e){return`${e}`}class Rr{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new D8,t.fromString){if(t.fromObject)throw new b(2805,!1);this.map=function w8(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],i=Array.isArray(r)?r.map(Kd):[Kd(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Rr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Kd(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(Kd(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class I8{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function cM(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function dM(e){return typeof Blob<"u"&&e instanceof Blob}function uM(e){return typeof FormData<"u"&&e instanceof FormData}const Ma="Content-Type",Dg="X-Request-URL",fM="text/plain",hM="application/json",pM=`${hM}, ${fM}, */*`;class xa{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(t,n,r,i){let o;if(this.url=n,this.method=t.toUpperCase(),function T8(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 b(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 En,this.context??=new I8,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Rr,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||cM(this.body)||dM(this.body)||uM(this.body)||function M8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Rr?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||uM(this.body)?null:dM(this.body)?this.body.type||null:cM(this.body)?null:"string"==typeof this.body?fM:this.body instanceof Rr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?hM:null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,c=t.redirect||this.redirect,d=t.credentials||this.credentials,u=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,p=t.timeout??this.timeout,m=void 0!==t.body?t.body:this.body,_=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress;let y=t.headers||this.headers,I=t.params||this.params;const T=t.context??this.context;return void 0!==t.setHeaders&&(y=Object.keys(t.setHeaders).reduce((k,Q)=>k.set(Q,t.setHeaders[Q]),y)),t.setParams&&(I=Object.keys(t.setParams).reduce((k,Q)=>k.set(Q,t.setParams[Q]),I)),new xa(n,r,m,{params:I,headers:y,context:T,reportProgress:v,responseType:i,withCredentials:_,transferCache:f,keepalive:o,cache:a,priority:s,timeout:p,mode:l,redirect:c,credentials:d,referrer:u,integrity:h})}}var kr=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}(kr||{});class wg{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new En,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}}class Qd extends wg{constructor(t={}){super(t)}type=kr.ResponseHeader;clone(t={}){return new Qd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Aa extends wg{body;constructor(t={}){super(t),this.body=void 0!==t.body?t.body:null}type=kr.Response;clone(t={}){return new Aa({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}}class Ci extends wg{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Cg(e,t){return{body:t,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 Sg=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof xa)o=n;else{let l,c;l=i.headers instanceof En?i.headers:new En(i.headers),i.params&&(c=i.params instanceof Rr?i.params:new Rr({fromObject:i.params})),o=new xa(n,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=Fn(o).pipe(function p8(e,t){return Ee(t)?Gd(e,t,1):Gd(e,1)}(l=>this.handler.handle(l)));if(n instanceof xa||"events"===i.observe)return s;const a=s.pipe(or(l=>l instanceof Aa));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new b(2806,!1);return l.body}));case"blob":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new b(2807,!1);return l.body}));case"text":return a.pipe(qe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new b(2808,!1);return l.body}));default:return a.pipe(qe(l=>l.body))}case"response":return a;default:throw new b(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Rr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Cg(i,r))}post(n,r,i={}){return this.request("POST",n,Cg(i,r))}put(n,r,i={}){return this.request("PUT",n,Cg(i,r))}static \u0275fac=function(r){return new(r||e)(O(qd))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const _M=new D("");function yM(e,t){return t(e)}function O8(e,t){return(n,r)=>t.intercept(n,{handle:i=>e(i,r)})}const P8=new D(""),Ra=new D(""),L8=new D(""),vM=new D("",{providedIn:"root",factory:()=>!0});function V8(){let e=null;return(t,n)=>{null===e&&(e=(g(P8,{optional:!0})??[]).reduceRight(O8,yM));const r=g(Rl);if(g(vM)){const o=r.add();return e(t,n).pipe(bg(o))}return e(t,n)}}let bM=(()=>{class e extends qd{backend;injector;chain=null;pendingTasks=g(Rl);contributeToStability=g(vM);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Ra),...this.injector.get(L8,[])]));this.chain=r.reduceRight((i,o)=>function F8(e,t,n){return(r,i)=>xf(n,()=>t(r,o=>e(o,i)))}(i,o,this.injector),yM)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(bg(r))}return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(O(Yd),O(pt))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const U8=/^\)\]\}',?\n/,z8=RegExp(`^${Dg}:`,"m");let DM=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new b(-2800,!1);const r=this.xhrFactory;return Fn(null).pipe(Wd(()=>new De(o=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((_,v)=>s.setRequestHeader(_,v.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept",pM),!n.headers.has(Ma)){const _=n.detectContentTypeHeader();null!==_&&s.setRequestHeader(Ma,_)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){const _=n.responseType.toLowerCase();s.responseType="json"!==_?_:"text"}const a=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const _=s.statusText||"OK",v=new En(s.getAllResponseHeaders()),y=function $8(e){return"responseURL"in e&&e.responseURL?e.responseURL:z8.test(e.getAllResponseHeaders())?e.getResponseHeader(Dg):null}(s)||n.url;return l=new Qd({headers:v,status:s.status,statusText:_,url:y}),l},d=()=>{let{headers:_,status:v,statusText:y,url:I}=c(),T=null;204!==v&&(T=typeof s.response>"u"?s.responseText:s.response),0===v&&(v=T?200:0);let k=v>=200&&v<300;if("json"===n.responseType&&"string"==typeof T){const Q=T;T=T.replace(U8,"");try{T=""!==T?JSON.parse(T):null}catch(ie){T=Q,k&&(k=!1,T={error:ie,text:T})}}k?(o.next(new Aa({body:T,headers:_,status:v,statusText:y,url:I||void 0})),o.complete()):o.error(new Ci({error:T,headers:_,status:v,statusText:y,url:I||void 0}))},u=_=>{const{url:v}=c(),y=new Ci({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});o.error(y)};let h=u;n.timeout&&(h=_=>{const{url:v}=c(),y=new Ci({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});o.error(y)});let f=!1;const p=_=>{f||(o.next(c()),f=!0);let v={type:kr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(v.total=_.total),"text"===n.responseType&&s.responseText&&(v.partialText=s.responseText),o.next(v)},m=_=>{let v={type:kr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(v.total=_.total),o.next(v)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",h),s.addEventListener("abort",u),n.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:kr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",h),n.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)(O(Cv))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Mg=new D(""),wM=new D("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),CM=new D("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class SM{}let q8=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=wv(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(O(we),O(wM))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Y8=/^(?:https?:)?\/\//i;function K8(e,t){if(!g(Mg)||"GET"===e.method||"HEAD"===e.method||Y8.test(e.url))return t(e);const n=g(SM).getToken(),r=g(CM);return null!=n&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var Nr=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}(Nr||{});function Z8(...e){const t=[Sg,DM,bM,{provide:qd,useExisting:bM},{provide:Yd,useFactory:()=>g(_M,{optional:!0})??g(DM)},{provide:Ra,useValue:K8,multi:!0},{provide:Mg,useValue:!0},{provide:SM,useClass:q8}];for(const n of e)t.push(...n.\u0275providers);return function Ef(e){return{\u0275providers:e}}(t)}const IM=new D("");function Q8(){return function Si(e,t){return{\u0275kind:e,\u0275providers:t}}(Nr.LegacyInterceptors,[{provide:IM,useFactory:V8},{provide:Ra,useExisting:IM,multi:!0}])}let X8=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[Z8(Q8())]})}return e})();const{isArray:J8}=Array,{getPrototypeOf:e5,prototype:t5,keys:n5}=Object;function TM(e){if(1===e.length){const t=e[0];if(J8(t))return{args:t,keys:null};if(function r5(e){return e&&"object"==typeof e&&e5(e)===t5}(t)){const n=n5(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:i5}=Array;function MM(e){return qe(t=>function o5(e,t){return i5(t)?e(...t):e(t)}(e,t))}function xM(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function AM(...e){const t=iM(e),{args:n,keys:r}=TM(e),i=new De(o=>{const{length:s}=n;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;zt(n[d]).subscribe(tt(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(r?xM(r,a):a),o.complete())}))}});return t?i.pipe(MM(t)):i}let RM=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(C(mn),C(Ce))};static \u0275dir=R({type:e})}return e})(),Ii=(()=>{class e extends RM{static \u0275fac=(()=>{let n;return function(i){return(n||(n=nt(e)))(i||e)}})();static \u0275dir=R({type:e,features:[le]})}return e})();const Dn=new D(""),a5={provide:Dn,useExisting:_e(()=>Xd),multi:!0},c5=new D("");let Xd=(()=>{class e extends RM{_compositionMode;_composing=!1;constructor(n,r,i){super(n,r),this._compositionMode=i,null==this._compositionMode&&(this._compositionMode=!function l5(){const e=_r()?_r().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(C(mn),C(Ce),C(c5,8))};static \u0275dir=R({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&&xe("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:[se([a5]),le]})}return e})();function xg(e){return null==e||0===Ag(e)}function Ag(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}const bt=new D(""),Or=new D(""),d5=/^(?=.{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 NM{static min(t){return function OM(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function FM(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function PM(e){return xg(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function LM(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function VM(e){return xg(e.value)||d5.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function BM(e){return t=>{const n=t.value?.length??Ag(t.value);return null===n||0===n?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}(t)}static maxLength(t){return function jM(e){return t=>{const n=t.value?.length??Ag(t.value);return null!==n&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}(t)}static pattern(t){return function HM(e){if(!e)return Jd;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(xg(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return qM(t)}static composeAsync(t){return YM(t)}}function Jd(e){return null}function UM(e){return null!=e}function zM(e){return Xc(e)?Ar(e):e}function $M(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function GM(e,t){return t.map(n=>n(e))}function WM(e){return e.map(t=>function u5(e){return!e.validate}(t)?t:n=>t.validate(n))}function qM(e){if(!e)return null;const t=e.filter(UM);return 0==t.length?null:function(n){return $M(GM(n,t))}}function Rg(e){return null!=e?qM(WM(e)):null}function YM(e){if(!e)return null;const t=e.filter(UM);return 0==t.length?null:function(n){return AM(GM(n,t).map(zM)).pipe(qe($M))}}function kg(e){return null!=e?YM(WM(e)):null}function KM(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ZM(e){return e._rawValidators}function QM(e){return e._rawAsyncValidators}function Ng(e){return e?Array.isArray(e)?e:[e]:[]}function eu(e,t){return Array.isArray(e)?e.includes(t):e===t}function XM(e,t){const n=Ng(t);return Ng(e).forEach(i=>{eu(n,i)||n.push(i)}),n}function JM(e,t){return Ng(t).filter(n=>!eu(e,n))}class ex{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(t){this._rawValidators=t||[],this._composedValidatorFn=Rg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=kg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class At extends ex{name;get formDirective(){return null}get path(){return null}}class Pn extends ex{_parent=null;name=null;valueAccessor=null}class tx{_cd;constructor(t){this._cd=t}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 nx=(()=>{class e extends tx{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(C(Pn,2))};static \u0275dir=R({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&ut("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:[le]})}return e})();const ka="VALID",nu="INVALID",qo="PENDING",Na="DISABLED";class Yo{}class ix extends Yo{value;source;constructor(t,n){super(),this.value=t,this.source=n}}class Pg extends Yo{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}}class Lg extends Yo{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}}class ru extends Yo{status;source;constructor(t,n){super(),this.status=t,this.source=n}}class ox extends Yo{source;constructor(t){super(),this.source=t}}class Vg extends Yo{source;constructor(t){super(),this.source=t}}function Bg(e){return(iu(e)?e.validators:e)||null}function jg(e,t){return(iu(t)?t.asyncValidators:e)||null}function iu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Hg{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return ze(this.statusReactive)}set status(t){ze(()=>this.statusReactive.set(t))}_status=Ut(()=>this.statusReactive());statusReactive=Ot(void 0);get valid(){return this.status===ka}get invalid(){return this.status===nu}get pending(){return this.status==qo}get disabled(){return this.status===Na}get enabled(){return this.status!==Na}errors;get pristine(){return ze(this.pristineReactive)}set pristine(t){ze(()=>this.pristineReactive.set(t))}_pristine=Ut(()=>this.pristineReactive());pristineReactive=Ot(!0);get dirty(){return!this.pristine}get touched(){return ze(this.touchedReactive)}set touched(t){ze(()=>this.touchedReactive.set(t))}_touched=Ut(()=>this.touchedReactive());touchedReactive=Ot(!1);get untouched(){return!this.touched}_events=new X;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(XM(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(XM(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(JM(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(JM(t,this._rawAsyncValidators))}hasValidator(t){return eu(this._rawValidators,t)}hasAsyncValidator(t){return eu(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const n=!1===this.touched;this.touched=!0;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Lg(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&!1!==t.emitEvent&&this._events.next(new Lg(!1,r))}markAsDirty(t={}){const n=!0===this.pristine;this.pristine=!1;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Pg(!1,r))}markAsPristine(t={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&!1!==t.emitEvent&&this._events.next(new Pg(!0,r))}markAsPending(t={}){this.status=qo;const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new ru(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:n})}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Na,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue();const r=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new ix(this.value,r)),this._events.next(new ru(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ka,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ka||this.status===qo)&&this._runAsyncValidator(r,t.emitEvent)}const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new ix(this.value,n)),this._events.next(new ru(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:n})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Na:ka}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=qo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n,shouldHaveEmitted:!1!==t};const r=zM(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new ru(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?Na:this.errors?nu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qo)?qo:this._anyControlsHaveStatus(nu)?nu:ka}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new Pg(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Lg(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){iu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function v5(e){return Array.isArray(e)?Rg(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function b5(e){return Array.isArray(e)?kg(e):e||null}(this._rawAsyncValidators)}}class Ug extends Hg{constructor(t,n,r){super(Bg(n),jg(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function ax(e,t,n){e._forEachChild((r,i)=>{if(void 0===n[i])throw new b(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function sx(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new b(1e3,"");if(!r[n])throw new b(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),!1!==n?.emitEvent&&this._events.next(new Vg(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ko=new D("",{providedIn:"root",factory:()=>ou}),ou="always";function Oa(e,t,n=ou){zg(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function w5(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&lx(e,t)})}(e,t),function S5(e,t){const n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function C5(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&lx(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function D5(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function au(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),cu(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function lu(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function zg(e,t){const n=ZM(e);null!==t.validator?e.setValidators(KM(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=QM(e);null!==t.asyncValidator?e.setAsyncValidators(KM(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();lu(t._rawValidators,i),lu(t._rawAsyncValidators,i)}function cu(e,t){let n=!1;if(null!==e){if(null!==t.validator){const i=ZM(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.validator);o.length!==i.length&&(n=!0,e.setValidators(o))}}if(null!==t.asyncValidator){const i=QM(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(n=!0,e.setAsyncValidators(o))}}}const r=()=>{};return lu(t._rawValidators,r),lu(t._rawAsyncValidators,r),n}function lx(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function cx(e,t){zg(e,t)}function dx(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const A5={provide:At,useExisting:_e(()=>Zo)},Fa=Promise.resolve();let Zo=(()=>{class e extends At{callSetDisabledState;get submitted(){return ze(this.submittedReactive)}_submitted=Ut(()=>this.submittedReactive());submittedReactive=Ot(!1);_directives=new Set;form;ngSubmit=new ue;options;constructor(n,r,i){super(),this.callSetDisabledState=i,this.form=new Ug({},Rg(n),kg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Fa.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Oa(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Fa.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Fa.then(()=>{const r=this._findContainer(n.path),i=new Ug({});cx(i,n),r.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Fa.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Fa.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),dx(this.form,this._directives),this.ngSubmit.emit(n),this.form._events.next(new ox(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static \u0275fac=function(r){return new(r||e)(C(bt,10),C(Or,10),C(Ko,8))};static \u0275dir=R({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&xe("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:[se([A5]),le]})}return e})();function ux(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function fx(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const hx=class extends Hg{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Bg(n),jg(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),iu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=fx(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1,!1!==n?.emitEvent&&this._events.next(new Vg(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ux(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ux(this._onDisabledChange,t)}_forEachChild(t){}_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(t){fx(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},F5={provide:Pn,useExisting:_e(()=>qg)},px=Promise.resolve();let qg=(()=>{class e extends Pn{_changeDetectorRef;callSetDisabledState;control=new hx;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ue;constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Wg(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(o=>{o.constructor===Xd?n=o:function M5(e){return Object.getPrototypeOf(e.constructor)===Ii}(o)?r=o:i=o}),i||r||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Gg(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){Oa(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(n){px.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,i=0!==r&&Qe(r);px.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function su(e,t){return[...t.path,e]}(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(C(At,9),C(bt,10),C(Or,10),C(Dn,10),C(wi,8),C(Ko,8))};static \u0275dir=R({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:[se([F5]),le,on]})}return e})();const U5={provide:At,useExisting:_e(()=>Qo)};let Qo=(()=>{class e extends At{callSetDisabledState;get submitted(){return ze(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=Ut(()=>this._submittedReactive());_submittedReactive=Ot(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new ue;constructor(n,r,i){super(),this.callSetDisabledState=i,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Oa(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){au(n.control||null,n,!1),function x5(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),dx(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new ox(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,i=this.form.get(n.path);r!==i&&(au(r||null,n),(e=>e instanceof hx)(i)&&(Oa(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);cx(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function I5(e,t){return cu(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){zg(this.form,this),this._oldForm&&cu(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(C(bt,10),C(Or,10),C(Ko,8))};static \u0275dir=R({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&xe("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:[se([U5]),le,on]})}return e})(),sG=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})(),Nx=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ko,useValue:n.callSetDisabledState??ou}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[sG]})}return e})(),lG=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cG=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[lG]})}return e})();const Qg={};let Xo=(()=>{class e{_appId=g(co);getId(n){return"ng"!==this._appId&&(n+=this._appId),Qg.hasOwnProperty(n)||(Qg[n]=0),`${n}${Qg[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const dG=new D("cdk-dir-doc",{providedIn:"root",factory:function uG(){return g(we)}}),fG=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Xg,hu=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Ot("ltr");change=new ue;constructor(){const n=g(dG,{optional:!0});n&&this.valueSignal.set(function hG(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?fG.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pu(e){return null!=e&&"false"!=`${e}`}try{Xg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xg=!1}let wn=(()=>{class e{_platformId=g(Kl);isBrowser=this._platformId?Iv(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&&!Xg)&&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=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ox(e=1/0){return Gd(ls,e)}const mu=new De(e=>e.complete());function La(...e){const t=Ta(e),n=function m8(e,t){return"number"==typeof Eg(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?zt(r[0]):Ox(n)(Ar(r,t)):mu}function Jg(...e){return function mG(){return Ox(1)}()(Ar(e,Ta(e)))}function gu(...e){const t=Ta(e);return at((n,r)=>{(t?Jg(e,n,t):Jg(e,n)).subscribe(r)})}function Fr(e){return at((t,n)=>{zt(e).subscribe(tt(n,()=>n.complete(),Ju)),!n.closed&&t.subscribe(n)})}const e_={now:()=>(e_.delegate||Date).now(),delegate:void 0};class Fx extends X{constructor(t=1/0,n=1/0,r=e_){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(t),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!t.closed;s+=r?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=n.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 Px(e={}){const{connector:t=()=>new X,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return at((m,_)=>{c++,!u&&!d&&h();const v=l=l??t();_.add(()=>{c--,0===c&&!u&&!d&&(a=t_(p,i))}),v.subscribe(_),!s&&c>0&&(s=new as({next:y=>v.next(y),error:y=>{u=!0,h(),a=t_(f,n,y),v.error(y)},complete:()=>{d=!0,h(),a=t_(f,r),v.complete()}}),zt(m).subscribe(s))})(o)}}function t_(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new as({next:()=>{r.unsubscribe(),e()}});return zt(t(...n)).subscribe(r)}class yG{_box;_destroyed=new X;_resizeSubject=new X;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new De(n=>{const r=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),r.unsubscribe(),this._elementObservables.delete(t)}}).pipe(or(n=>n.some(r=>r.target===t)),function _G(e,t,n){let r,i=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e):r=e??1/0,Px({connector:()=>new Fx(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}({bufferSize:1,refCount:!0}),Fr(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let vG=(()=>{class e{_cleanupErrorListener;_observers=new Map;_ngZone=g(L);constructor(){}ngOnDestroy(){for(const[,n]of this._observers)n.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(n,r){const i=r?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new yG(i)),this._observers.get(i).observe(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lx(e,t,n){e?ir(n,e,t):t()}function Va(e){return e<=0?()=>mu:at((t,n)=>{let r=0;t.subscribe(tt(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}class wG extends Ae{constructor(t,n){super()}schedule(t,n=0){return this}}const _u={setInterval(e,t,...n){const{delegate:r}=_u;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=_u;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class n_ extends wG{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return _u.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&_u.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let i,r=!1;try{this.work(t)}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:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,al(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class Ba{constructor(t,n=Ba.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Ba.now=e_.now;class r_ extends Ba{constructor(t,n=Ba.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const i_=new r_(n_),CG=i_;function o_(e,t=i_){return at((n,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=t.now();if(d<c)return i=this.schedule(void 0,c-d),void r.add(i);a()}n.subscribe(tt(r,c=>{o=c,s=t.now(),i||(i=t.schedule(l,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function yu(e){return Array.isArray(e)?e:[e]}const Vx=new Set;let Mi,Bx=(()=>{class e{_platform=g(wn);_nonce=g(fh,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IG}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function SG(e,t){if(!Vx.has(e))try{Mi||(Mi=document.createElement("style"),t&&Mi.setAttribute("nonce",t),Mi.setAttribute("type","text/css"),document.head.appendChild(Mi)),Mi.sheet&&(Mi.sheet.insertRule(`@media ${e} {body{ }}`,0),Vx.add(e))}catch(n){console.error(n)}}(n,this._nonce),this._matchMedia(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function IG(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let TG=(()=>{class e{_mediaMatcher=g(Bx);_zone=g(L);_queries=new Map;_destroySubject=new X;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return jx(yu(n)).some(i=>this._registerQuery(i).mql.matches)}observe(n){let o=function bG(...e){const t=Ta(e),n=iM(e),{args:r,keys:i}=TM(e);if(0===r.length)return Ar([],t);const o=new De(function EG(e,t,n=ls){return r=>{Lx(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l<i;l++)Lx(t,()=>{const c=Ar(e[l],t);let d=!1;c.subscribe(tt(r,u=>{o[l]=u,d||(d=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>xM(i,s):ls));return n?o.pipe(MM(n)):o}(jx(yu(n)).map(s=>this._registerQuery(s).observable));return o=Jg(o.pipe(Va(1)),o.pipe(function DG(e){return or((t,n)=>e<=n)}(1),o_(0))),o.pipe(qe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const r=this._mediaMatcher.matchMedia(n),o={observable:new De(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(gu(r),qe(({matches:s})=>({query:n,matches:s})),Fr(this._destroySubject)),mql:r};return this._queries.set(n,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jx(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}const MG=new D("MATERIAL_ANIMATIONS");let Hx=null;function vu(){return"enabled"!==function xG(){return g(MG,{optional:!0})?.animationsDisabled||"NoopAnimations"===g(Zl,{optional:!0})?"di-disabled":(Hx??=g(Bx).matchMedia("(prefers-reduced-motion)").matches,Hx?"reduced-motion":"enabled")}()}const AG=["notch"],RG=["matFormFieldNotchedOutline",""],kG=["*"],Ux=["iconPrefixContainer"],zx=["textPrefixContainer"],$x=["iconSuffixContainer"],Gx=["textSuffixContainer"],NG=["textField"],OG=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],FG=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function PG(e,t){1&e&&yt(0,"span",21)}function LG(e,t){if(1&e&&(K(0,"label",20),vt(1,1),Ye(2,PG,1,0,"span",21),Z()),2&e){const n=N(2);B("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),dt("for",n._control.disableAutomaticLabeling?null:n._control.id),x(2),Ke(!n.hideRequiredMarker&&n._control.required?2:-1)}}function VG(e,t){1&e&&Ye(0,LG,3,5,"label",20),2&e&&Ke(N()._hasFloatingLabel()?0:-1)}function BG(e,t){1&e&&yt(0,"div",7)}function jG(e,t){}function HG(e,t){1&e&&Te(0,jG,0,0,"ng-template",13),2&e&&(N(2),B("ngTemplateOutlet",ga(1)))}function UG(e,t){if(1&e&&(K(0,"div",9),Ye(1,HG,1,1,null,13),Z()),2&e){const n=N();B("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),x(),Ke(n._forceDisplayInfixLabel()?-1:1)}}function zG(e,t){1&e&&(K(0,"div",10,2),vt(2,2),Z())}function $G(e,t){1&e&&(K(0,"div",11,3),vt(2,3),Z())}function GG(e,t){}function WG(e,t){1&e&&Te(0,GG,0,0,"ng-template",13),2&e&&(N(),B("ngTemplateOutlet",ga(1)))}function qG(e,t){1&e&&(K(0,"div",14,4),vt(2,4),Z())}function YG(e,t){1&e&&(K(0,"div",15,5),vt(2,5),Z())}function KG(e,t){1&e&&yt(0,"div",16)}function ZG(e,t){1&e&&(K(0,"div",18),vt(1,6),Z())}function QG(e,t){if(1&e&&(K(0,"mat-hint",22),yn(1),Z()),2&e){const n=N(2);B("id",n._hintLabelId),x(),ya(n.hintLabel)}}function XG(e,t){if(1&e&&(K(0,"div",19),Ye(1,QG,2,2,"mat-hint",22),vt(2,7),yt(3,"div",23),vt(4,8),Z()),2&e){const n=N();x(),Ke(n.hintLabel?1:-1)}}let Wx=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["mat-label"]]})}return e})();const JG=new D("MatError");let qx=(()=>{class e{align="start";id=g(Xo).getId("mat-mdc-hint-");static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({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&&(ca("id",i.id),dt("align",null),ut("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}})}return e})();const Yx=new D("MatPrefix");let eW=(()=>{class e{set _isTextSelector(n){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[se([{provide:Yx,useExisting:e}])]})}return e})();const Kx=new D("MatSuffix");let tW=(()=>{class e{set _isTextSelector(n){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[se([{provide:Kx,useExisting:e}])]})}return e})();const Zx=new D("FloatingLabelParent");let Qx=(()=>{class e{_elementRef=g(Ce);get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=g(vG);_ngZone=g(L);_parent=g(Zx);_resizeSubscription=new Ae;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function nW(e){if(null!==e.offsetParent)return e.scrollWidth;const n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);const r=n.scrollWidth;return n.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=R({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,i){2&r&&ut("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return e})();const Xx="mdc-line-ripple--active",bu="mdc-line-ripple--deactivating";let Jx=(()=>{class e{_elementRef=g(Ce);_cleanupTransitionEnd;constructor(){const n=g(L),r=g(mn);n.runOutsideAngular(()=>{this._cleanupTransitionEnd=r.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const n=this._elementRef.nativeElement.classList;n.remove(bu),n.add(Xx)}deactivate(){this._elementRef.nativeElement.classList.add(bu)}_handleTransitionEnd=n=>{const r=this._elementRef.nativeElement.classList,i=r.contains(bu);"opacity"===n.propertyName&&i&&r.remove(Xx,bu)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return e})(),e0=(()=>{class e{_elementRef=g(Ce);_ngZone=g(L);open=!1;_notch;ngAfterViewInit(){const n=this._elementRef.nativeElement,r=n.querySelector(".mdc-floating-label");r?(n.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(r.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>r.style.transitionDuration="")}))):n.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){this._notch.nativeElement.style.width=this.open&&n?`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(n){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${n}px)`)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,i){if(1&r&&Mt(AG,5),2&r){let o;ke(o=Ne())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,i){2&r&&ut("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:RG,ngContentSelectors:kG,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&&(jo(),ud(0,"div",1),cd(1,"div",2,0),vt(3),dd(),ud(4,"div",3))},encapsulation:2,changeDetection:0})}return e})(),s_=(()=>{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=R({type:e})}return e})();const a_=new D("MatFormField"),rW=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS");let r0=(()=>{class e{_elementRef=g(Ce);_changeDetectorRef=g(wi);_platform=g(wn);_idGenerator=g(Xo);_ngZone=g(L);_defaults=g(rW,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Sd("iconPrefixContainer");_textPrefixContainerSignal=Sd("textPrefixContainer");_iconSuffixContainerSignal=Sd("iconSuffixContainer");_textSuffixContainerSignal=Sd("textSuffixContainer");_prefixSuffixContainers=Ut(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(n=>n?.nativeElement).filter(n=>void 0!==n));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=BU(Wx);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=pu(n)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(n){this._appearanceSignal.set(n||this._defaults?.appearance||"fill")}_appearanceSignal=Ot("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,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(n){this._explicitFormFieldControl=n}_destroyed=new X;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=vu();constructor(){const n=this._defaults,r=g(hu);n&&(n.appearance&&(this.appearance=n.appearance),this._hideRequiredMarker=!!n?.hideRequiredMarker,n.color&&(this.color=n.color)),Nd(()=>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=Ut(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(n){const r=this._control,i="mat-mdc-form-field-type-";n&&this._elementRef.nativeElement.classList.remove(i+n.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(gu([void 0,void 0]),qe(()=>[r.errorState,r.userAriaDescribedBy]),function gG(){return at((e,t)=>{let n,r=!1;e.subscribe(tt(t,i=>{const o=n;n=i,r&&t.next([o,i]),r=!0}))})}(),or(([[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(Fr(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),La(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 n=this._control.focused;n&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!n&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",n),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",n)}_syncOutlineLabelOffset(){!function Nz(e,t){const n=t?.injector??g(ve),r=n.get(gr),i=n.get(Xh),o=n.get(yo,null,{optional:!0});i.impl??=n.get(qE);let s=e;"function"==typeof s&&(s={mixedReadWrite:e});const a=n.get(Al,null,{optional:!0}),l=new kz(i.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,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 n of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(n,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:n=>this._writeOutlinedLabelStyles(n())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ut(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(n){const r=this._control?this._control.ngControl:null;return r&&r[n]}_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 n=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&n.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?n.push(o.id):this._hintLabel&&n.push(this._hintLabelId),s&&n.push(s.id)}else this._errorChildren&&n.push(...this._errorChildren.map(o=>o.id));const r=this._control.describedByIds;let i;if(r){const o=this._describedByIds||n;i=n.concat(r.filter(s=>s&&!o.includes(s)))}else i=n;this._control.setDescribedByIds(i),this._describedByIds=n}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,i=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=n?.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(n){if(null!==n){const[r,i]=n;this._floatingLabel&&(this._floatingLabel.element.style.transform=r),null!==i&&this._notchedOutline?._setMaxWidth(i)}}_isAttachedToDom(){const n=this._elementRef.nativeElement;if(n.getRootNode){const r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,i,o){if(1&r&&(function rS(e,t,n,r,i){Dw(t,_w(e,n,r,i))}(o,i._labelChild,Wx,5),tr(o,s_,5),tr(o,Yx,5),tr(o,Kx,5),tr(o,JG,5),tr(o,qx,5)),2&r){let s;_m(),ke(s=Ne())&&(i._formFieldControl=s.first),ke(s=Ne())&&(i._prefixChildren=s),ke(s=Ne())&&(i._suffixChildren=s),ke(s=Ne())&&(i._errorChildren=s),ke(s=Ne())&&(i._hintChildren=s)}},viewQuery:function(r,i){if(1&r&&(ma(i._iconPrefixContainerSignal,Ux,5),ma(i._textPrefixContainerSignal,zx,5),ma(i._iconSuffixContainerSignal,$x,5),ma(i._textSuffixContainerSignal,Gx,5),Mt(NG,5),Mt(Ux,5),Mt(zx,5),Mt($x,5),Mt(Gx,5),Mt(Qx,5),Mt(e0,5),Mt(Jx,5)),2&r){let o;_m(4),ke(o=Ne())&&(i._textField=o.first),ke(o=Ne())&&(i._iconPrefixContainer=o.first),ke(o=Ne())&&(i._textPrefixContainer=o.first),ke(o=Ne())&&(i._iconSuffixContainer=o.first),ke(o=Ne())&&(i._textSuffixContainer=o.first),ke(o=Ne())&&(i._floatingLabel=o.first),ke(o=Ne())&&(i._notchedOutline=o.first),ke(o=Ne())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(r,i){2&r&&ut("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:[se([{provide:a_,useExisting:e},{provide:Zx,useExisting:e}])],ngContentSelectors:FG,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=er();jo(OG),Te(0,VG,1,1,"ng-template",null,0,YS),K(2,"div",6,1),xe("click",function(a){return it(o),ot(i._control.onContainerClick(a))}),Ye(4,BG,1,0,"div",7),K(5,"div",8),Ye(6,UG,2,2,"div",9),Ye(7,zG,3,0,"div",10),Ye(8,$G,3,0,"div",11),K(9,"div",12),Ye(10,WG,1,1,null,13),vt(11),Z(),Ye(12,qG,3,0,"div",14),Ye(13,YG,3,0,"div",15),Z(),Ye(14,KG,1,0,"div",16),Z(),K(15,"div",17),Ye(16,ZG,2,0,"div",18)(17,XG,5,1,"div",19),Z()}if(2&r){let o;x(2),ut("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),x(2),Ke(i._hasOutline()||i._control.disabled?-1:4),x(2),Ke(i._hasOutline()?6:-1),x(),Ke(i._hasIconPrefix?7:-1),x(),Ke(i._hasTextPrefix?8:-1),x(2),Ke(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),x(2),Ke(i._hasTextSuffix?12:-1),x(),Ke(i._hasIconSuffix?13:-1),x(),Ke(i._hasOutline()?-1:14),x(),ut("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing);const s=i._getSubscriptMessageType();x(),Ke("error"===(o=s)?16:"hint"===o?17:-1)}},dependencies:[Qx,e0,tg,Jx,qx],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 fW=new D("liveAnnouncerElement",{providedIn:"root",factory:function hW(){return null}}),pW=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mW=0,gW=(()=>{class e{_ngZone=g(L);_defaultOptions=g(pW,{optional:!0});_liveElement;_document=g(we);_previousTimeout;_currentPromise;_currentResolve;constructor(){const n=g(fW,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...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=n,"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 n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id="cdk-live-announcer-"+mW++,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){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(n)&&o.setAttribute("aria-owns",s+" "+n):o.setAttribute("aria-owns",n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xi=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}(xi||{});const s0="cdk-high-contrast-black-on-white",a0="cdk-high-contrast-white-on-black",l_="cdk-high-contrast-active";let Eu,_W=(()=>{class e{_platform=g(wn);_hasCheckedHighContrastMode;_document=g(we);_breakpointSubscription;constructor(){this._breakpointSubscription=g(TG).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return xi.NONE;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return xi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return xi.BLACK_ON_WHITE}return xi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(l_,s0,a0),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();r===xi.BLACK_ON_WHITE?n.add(l_,s0):r===xi.WHITE_ON_BLACK&&n.add(l_,a0)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ja=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})(),$t=(()=>{class e{constructor(){g(_W)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[ja,ja]})}return e})(),Ha=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,cG,r0,$t]})}return e})(),c_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:function(r){let i=null;return i=r?new(r||e):O(EW),i},providedIn:"root"})}return e})(),EW=(()=>{class e extends c_{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case lt.NONE:return r;case lt.HTML:return An(r,"HTML")?Yt(r):vE(this._doc,String(r)).toString();case lt.STYLE:return An(r,"Style")?Yt(r):r;case lt.SCRIPT:if(An(r,"Script"))return Yt(r);throw new b(5200,!1);case lt.URL:return An(r,"URL")?Yt(r):cc(String(r));case lt.RESOURCE_URL:if(An(r,"ResourceURL"))return Yt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(n){return function gF(e){return new dF(e)}(n)}bypassSecurityTrustStyle(n){return function _F(e){return new uF(e)}(n)}bypassSecurityTrustScript(n){return function yF(e){return new fF(e)}(n)}bypassSecurityTrustUrl(n){return function vF(e){return new hF(e)}(n)}bypassSecurityTrustResourceUrl(n){return function bF(e){return new pF(e)}(n)}static \u0275fac=function(r){return new(r||e)(O(we))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function za(e,t,n){const r=Ee(e)||t||n?{next:e,error:t,complete:n}:e;return r?at((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(tt(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)}))}):ls}function d0(e){return at((t,n)=>{let o,r=null,i=!1;r=t.subscribe(tt(n,void 0,void 0,s=>{o=zt(e(s,d0(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function $a(e){return function wW(){if(void 0===Eu&&(Eu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Eu=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Eu}()?.createHTML(e)||e}function u0(e){return Error(`Unable to find icon with the name "${e}"`)}function f0(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function h0(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Ai{url;svgText;options;svgElement;constructor(t,n,r){this.url=t,this.svgText=n,this.options=r}}let Du=(()=>{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(n,r,i,o){this._httpClient=n,this._sanitizer=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new Ai(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){const s=this._sanitizer.sanitize(lt.HTML,i);if(!s)throw h0(i);const a=$a(s);return this._addSvgIconConfig(n,r,new Ai("",a,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new Ai(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){const o=this._sanitizer.sanitize(lt.HTML,r);if(!o)throw h0(r);const s=$a(o);return this._addSvgIconSetConfig(n,new Ai("",s,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){const r=this._sanitizer.sanitize(lt.RESOURCE_URL,n);if(!r)throw f0(n);const i=this._cachedIconsByUrl.get(r);return i?Fn(wu(i)):this._loadSvgIconFromConfig(new Ai(n,null)).pipe(za(o=>this._cachedIconsByUrl.set(r,o)),qe(o=>wu(o)))}getNamedSvgIcon(n,r=""){const i=p0(r,n);let o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(n,s):function DW(e,t){const n=Ee(e)?e:()=>e,r=i=>i.error(n());return new De(t?i=>t.schedule(r,0,i):r)}(u0(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Fn(wu(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(qe(r=>wu(r)))}_getSvgFromIconSetConfigs(n,r){const i=this._extractIconWithNameFromAnySet(n,r);return i?Fn(i):AM(r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(d0(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(lt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Fn(null)})))).pipe(qe(()=>{const s=this._extractIconWithNameFromAnySet(n,r);if(!s)throw u0(n);return s}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){const o=r[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,n,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(za(r=>n.svgText=r),qe(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Fn(null):this._fetchIcon(n).pipe(za(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){const o=n.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($a("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(n){const r=this._document.createElement("DIV");r.innerHTML=n;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){const r=this._svgElementFromString($a("<svg></svg>")),i=n.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<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){const{url:r,options:i}=n,o=i?.withCredentials??!1;if(!this._httpClient)throw function CW(){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(lt.RESOURCE_URL,r);if(!s)throw f0(r);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(qe(c=>$a(c)),bg(()=>this._inProgressUrlFetches.delete(s)),Px());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(p0(n,r),i),this}_addSvgIconSetConfig(n,r){const i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){const r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){const o=this._resolvers[i](r,n);if(o)return IW(o)?new Ai(o.url,null,o.options):new Ai(o,null)}}static \u0275fac=function(r){return new(r||e)(O(Sg,8),O(c_),O(we,8),O(Kn))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wu(e){return e.cloneNode(!0)}function p0(e,t){return e+":"+t}function IW(e){return!(!e.url||!e.options)}const TW=["*"],MW=new D("MAT_ICON_DEFAULT_OPTIONS"),xW=new D("mat-icon-location",{providedIn:"root",factory:function AW(){const e=g(we),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),m0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],RW=m0.map(e=>`[${e}]`).join(", "),kW=/^url\(['"]?#(.*?)['"]?\)$/;let Jo,NW=(()=>{class e{_elementRef=g(Ce);_iconRegistry=g(Du);_location=g(xW);_errorHandler=g(Kn);_defaultColor;get color(){return this._color||this._defaultColor}set color(n){this._color=n}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(n){const r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(n){const r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ae.EMPTY;constructor(){const n=g(new EI("aria-hidden"),{optional:!0}),r=g(MW,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];const r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const n=this._elementsWithExternalReferences;if(n&&n.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(n){this._clearSvgElement();const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){const n=this._elementRef.nativeElement;let r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=n.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return"string"==typeof n?n.trim().split(" ")[0]:n}_prependPathToReferences(n){const r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${n}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(n){const r=n.querySelectorAll(RW),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)m0.forEach(s=>{const a=r[o],l=a.getAttribute(s),c=l?l.match(kW):null;if(c){let d=i.get(a);d||(d=[],i.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){const[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(Va(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=Kt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,i){2&r&&(dt("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),Em(i.color?"mat-"+i.color:""),ut("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",Qe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:TW,decls:1,vars:0,template:function(r,i){1&r&&(jo(),vt(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})(),g0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,$t]})}return e})();const _0=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function y0(){if(Jo)return Jo;if("object"!=typeof document||!document)return Jo=new Set(_0),Jo;let e=document.createElement("input");return Jo=new Set(_0.filter(t=>(e.setAttribute("type",t),e.type===t))),Jo}const Cu=new WeakMap;let Ga=(()=>{class e{_appRef;_injector=g(ve);_environmentInjector=g(pt);load(n){const r=this._appRef=this._appRef||this._injector.get(_n);let i=Cu.get(r);i||(i={loaders:new Set,refs:[]},Cu.set(r,i),r.onDestroy(()=>{Cu.get(r)?.refs.forEach(o=>o.destroy()),Cu.delete(r)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(rT(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wa(e){return e instanceof Ce?e.nativeElement:e}let FW=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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 PW={passive:!0};let LW=(()=>{class e{_platform=g(wn);_ngZone=g(L);_renderer=g(Nn).createRenderer(null,null);_styleLoader=g(Ga);_monitoredElements=new Map;constructor(){}monitor(n){if(!this._platform.isBrowser)return mu;this._styleLoader.load(FW);const r=Wa(n),i=this._monitoredElements.get(r);if(i)return i.subject;const o=new X,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,PW)));return this._monitoredElements.set(r,{subject:o,unlisten:l}),o}stopMonitoring(n){const r=Wa(n),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((n,r)=>this.stopMonitoring(r))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VW=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();const BW=new D("MAT_INPUT_VALUE_ACCESSOR");let v0=(()=>{class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class b0{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(t,n,r,i,o){this._defaultMatcher=t,this.ngControl=n,this._parentFormGroup=r,this._parentForm=i,this._stateChanges=o}updateErrorState(){const t=this.errorState,n=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=r?.isErrorState(i,n)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}}const jW=["button","checkbox","file","hidden","image","radio","range","reset","submit"],HW=new D("MAT_INPUT_CONFIG");let UW=(()=>{class e{_elementRef=g(Ce);_platform=g(wn);ngControl=g(Pn,{optional:!0,self:!0});_autofillMonitor=g(LW);_ngZone=g(L);_formField=g(a_,{optional:!0});_renderer=g(mn);_uid=g(Xo).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=g(HW,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new X;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(n){this._disabled=pu(n),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(n){this._id=n||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(NM.required)??!1}set required(n){this._required=pu(n)}_required;get type(){return this._type}set type(n){this._type=n||"text",this._validateType(),!this._isTextarea&&y0().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(n){n!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(n):this._inputValueAccessor.value=n,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(n){this._readonly=pu(n)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(n=>y0().has(n));constructor(){const n=g(Zo,{optional:!0}),r=g(Qo,{optional:!0}),i=g(v0),o=g(BW,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?to(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 b0(i,this.ngControl,r,n,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&&Nd(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(n=>{this.autofilled=n.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(n){this._elementRef.nativeElement.focus(n)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(n){if(n!==this.focused){if(!this._isNativeSelect&&n&&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=n,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const n=this._elementRef.nativeElement.value;this._previousNativeValue!==n&&(this._previousNativeValue=n,this.stateChanges.next())}_dirtyCheckPlaceholder(){const n=this._getPlaceholder();if(n!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=n,n?r.setAttribute("placeholder",n):r.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){jW.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let n=this._elementRef.nativeElement.validity;return n&&n.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const n=this._elementRef.nativeElement,r=n.options[0];return this.focused||n.multiple||!this.empty||!!(n.selectedIndex>-1&&r&&r.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(n){const r=this._elementRef.nativeElement;n.length?r.setAttribute("aria-describedby",n.join(" ")):r.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const n=this._elementRef.nativeElement;return this._isNativeSelect&&(n.multiple||n.size>1)}_iOSKeyupListener=n=>{const r=n.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=R({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&&xe("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&r&&(ca("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),dt("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),ut("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",Qe]},exportAs:["matInput"],features:[se([{provide:s_,useExisting:e}]),on]})}return e})(),E0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,Ha,Ha,VW,$t]})}return e})();function Su(e){return e.composedPath?e.composedPath()[0]:e.target}function D0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function We(e){return null==e?"":"string"==typeof e?e:`${e}px`}const qa={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=qa;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const i=t(o=>{n=void 0,e(o)});return new Ae(()=>n?.(i))},requestAnimationFrame(...e){const{delegate:t}=qa;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=qa;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class GW extends r_{flush(t){let n;this._active=!0,t?n=t.id:(n=this._scheduled,this._scheduled=void 0);const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw i}}}(class $W extends n_{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qa.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:o}=t;null!=n&&n===t._scheduled&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(qa.cancelAnimationFrame(n),t._scheduled=void 0)}});let u_,qW=1;const Iu={};function w0(e){return e in Iu&&(delete Iu[e],!0)}const YW={setImmediate(e){const t=qW++;return Iu[t]=!0,u_||(u_=Promise.resolve()),u_.then(()=>w0(t)&&e()),t},clearImmediate(e){w0(e)}},{setImmediate:KW,clearImmediate:ZW}=YW,Tu={setImmediate(...e){const{delegate:t}=Tu;return(t?.setImmediate||KW)(...e)},clearImmediate(e){const{delegate:t}=Tu;return(t?.clearImmediate||ZW)(e)},delegate:void 0};new class XW extends r_{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw i}}}(class QW extends n_{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Tu.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:o}=t;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(Tu.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function C0(e,t=i_){return function e4(e){return at((t,n)=>{let r=!1,i=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;const c=i;i=null,n.next(c)}s&&n.complete()},l=()=>{o=null,s&&n.complete()};t.subscribe(tt(n,c=>{r=!0,i=c,o||zt(e(c)).subscribe(o=tt(n,a,l))},()=>{s=!0,(!r||!o||o.closed)&&n.complete()}))})}(()=>function n4(e=0,t,n=CG){let r=-1;return null!=t&&(rM(t)?n=t:r=t),new De(i=>{let o=function t4(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(e,t))}let S0=(()=>{class e{_ngZone=g(L);_platform=g(wn);_renderer=g(Nn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new X;_scrolledCount=0;scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new De(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const i=n>0?this._scrolled.pipe(C0(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Fn()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const i=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(or(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&r.push(o)}),r}_scrollableContainsElement(n,r){let i=Wa(r),o=n.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ya=(()=>{class e{_platform=g(wn);_listeners;_viewportSize;_change=new X;_document=g(we);constructor(){const n=g(L),r=g(Nn).createRenderer(null,null);n.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(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect();return{top:-o.top||n.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||n.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(C0(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})(),I0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[ja,f_,ja,f_]})}return e})();class h_{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o4 extends h_{component;viewContainerRef;injector;projectableNodes;constructor(t,n,r,i){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.projectableNodes=i}}class T0 extends h_{templateRef;viewContainerRef;context;injector;constructor(t,n,r,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class s4 extends h_{element;constructor(t){super(),this.element=t instanceof Ce?t.nativeElement:t}}class a4{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o4?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof T0?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof s4?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class l4 extends a4{outletElement;_appRef;_defaultInjector;constructor(t,n,r){super(),this.outletElement=t,this._appRef=n,this._defaultInjector=r}attachComponentPortal(t){let n;if(t.viewContainerRef){const r=t.injector||t.viewContainerRef.injector,i=r.get(Cr,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else{const r=this._appRef,i=t.injector||this._defaultInjector||ve.NULL,o=i.get(pt,r.injector);n=rT(t.component,{elementInjector:i,environmentInjector:o,projectableNodes:t.projectableNodes||void 0}),r.attachView(n.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(r);-1!==i&&n.remove(i)}),this._attachedPortal=t,r}attachDomPortal=t=>{const n=t.element,r=this.outletElement.ownerDocument.createComment("dom-portal");n.parentNode.insertBefore(r,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Ri,c4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();function d4(){if(null==Ri){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ri=!1,Ri;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Ri=!0;else{const e=Element.prototype.scrollTo;Ri=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Ri}function es(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const k0=d4();class E4{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,n){this._viewportRuler=t,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=We(-this._previousScrollPosition.left),t.style.top=We(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.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,t.classList.remove("cdk-global-scrollblock"),k0&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),k0&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.documentElement,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}class w4{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,n,r,i){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=i}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(or(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.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 y_{enable(){}disable(){}attach(){}}function v_(e,t){return t.some(n=>e.bottom<n.top||e.top>n.bottom||e.right<n.left||e.left>n.right)}function N0(e,t){return t.some(n=>e.top<n.top||e.bottom>n.bottom||e.left<n.left||e.right>n.right)}function Za(e,t){return new C4(e.get(S0),e.get(Ya),e.get(L),t)}class C4{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,n,r,i){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=i}attach(t){this._overlayRef=t}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 n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();v_(n,[{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 S4=(()=>{class e{_injector=g(ve);constructor(){}noop=()=>new y_;close=n=>function D4(e,t){return new w4(e.get(S0),e.get(L),e.get(Ya),t)}(this._injector,n);block=()=>function b4(e){return new E4(e.get(Ya),e.get(we))}(this._injector);reposition=n=>Za(this._injector,n);static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class O0{positionStrategy;scrollStrategy=new y_;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){const n=Object.keys(t);for(const r of n)void 0!==t[r]&&(this[r]=t[r])}}}class I4{connectionPair;scrollableViewProperties;constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let F0=(()=>{class e{_attachedOverlays=[];_document=g(we);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),T4=(()=>{class e extends F0{_ngZone=g(L);_renderer=g(Nn).createRenderer(null,null);_cleanupKeydown;add(n){super.add(n),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=n=>{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(n));break}};static \u0275fac=(()=>{let n;return function(i){return(n||(n=nt(e)))(i||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),M4=(()=>{class e extends F0{_platform=g(wn);_ngZone=g(L);_renderer=g(Nn).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(n){if(super.add(n),!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(n=>n()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=n=>{this._pointerDownEventTarget=Su(n)};_clickListener=n=>{const r=Su(n),i="click"===n.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(P0(a.overlayElement,r)||P0(a.overlayElement,i))break;const l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(n)):l.next(n)}};static \u0275fac=(()=>{let n;return function(i){return(n||(n=nt(e)))(i||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function P0(e,t){const n=typeof ShadowRoot<"u"&&ShadowRoot;let r=t;for(;r;){if(r===e)return!0;r=n&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}let L0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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})(),V0=(()=>{class e{_platform=g(wn);_containerElement;_document=g(we);_styleLoader=g(Ga);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||D0()){const i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}const r=this._document.createElement("div");r.classList.add(n),D0()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(L0)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class x4{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,n,r,i){this._renderer=n,this._ngZone=r,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=n.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{const t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.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 A4{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new X;_attachments=new X;_detachments=new X;_positionStrategy;_scrollStrategy;_locationChanges=Ae.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new X;_outsidePointerEvents=new X;_afterNextRenderRef;constructor(t,n,r,i,o,s,a,l,c,d=!1,u,h){this._portalOutlet=t,this._host=n,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=h,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=vo(()=>{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 n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=We(this._config.width),t.height=We(this._config.height),t.minWidth=We(this._config.minWidth),t.minHeight=We(this._config.minHeight),t.maxWidth=We(this._config.maxWidth),t.maxHeight=We(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new x4(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n)}),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(t))}):this._backdropRef.element.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(t,n,r){const i=yu(n||[]).filter(o=>!!o);i.length&&(r?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=vo(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(n){if(t)throw n;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 t=this._scrollStrategy;t?.disable(),t?.detach?.()}}const B0="cdk-overlay-connected-position-bounding-box",R4=/([A-Za-z%]+)$/;function j0(e,t){return new k4(t,e.get(Ya),e.get(we),e.get(wn),e.get(V0))}class k4{_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 X;_resizeSubscription=Ae.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,n,r,i,o){this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=o,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(B0),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,n=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(l,n,a),d=this._getOverlayFit(c,n,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:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:n})}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&&ki(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(B0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,r){let i,o;if("center"==r.originX)i=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i="start"==r.originX?s:a}return n.left<0&&(i-=n.left),o="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,n.top<0&&(o-=n.top),{x:i,y:o}}_getOverlayPoint(t,n,r){let i,o;return i="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,o="center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,n,r,i){const o=U0(n);let{x:s,y:a}=t,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-r.height,p=this._subtractOverflows(o.width,0-s,s+o.width-r.width),m=this._subtractOverflows(o.height,h,f),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){const i=r.bottom-n.y,o=r.right-n.x,s=H0(this._overlayRef.getConfig().minHeight),a=H0(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=i)&&(t.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=U0(n),o=this._viewportRect,s=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),l=Math.max(o.top-r.top-t.y,0),c=Math.max(o.left-r.left-t.x,0);let d=0,u=0;return d=i.width<=o.width?c||-s:t.x<this._viewportMargin?o.left-r.left-t.x:0,u=i.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-r.top-t.y:0,this._previousPushAmount={x:d,y:u},{x:t.x+d,y:t.y+u}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){const r=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!function N4(e,t){return e===t||e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}(this._lastScrollVisibility,r)){const i=new I4(t,r);this._positionChanges.next(i)}this._lastScrollVisibility=r}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const n=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=t.overlayY;r="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(t,n){const r=this._viewportRect,i=this._isRtl();let o,s,a,d,u,h;if("top"===n.overlayY)s=t.y,o=r.height-s+this._viewportMargin;else if("bottom"===n.overlayY)a=r.height-t.y+2*this._viewportMargin,o=r.height-a+this._viewportMargin;else{const f=Math.min(r.bottom-t.y+r.top,t.y),p=this._lastBoundingBoxSize.height;o=2*f,s=t.y-f,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!i||"start"===n.overlayX&&i)h=r.width-t.x+2*this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===n.overlayX&&!i||"end"===n.overlayX&&i)u=t.x,d=r.right-t.x;else{const f=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;d=2*f,u=t.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-p/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(t,n){const r=this._calculateBoundingBoxRect(t,n);!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=We(r.height),i.top=We(r.top),i.bottom=We(r.bottom),i.width=We(r.width),i.left=We(r.left),i.right=We(r.right),i.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",i.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=We(o)),s&&(i.maxWidth=We(s))}this._lastBoundingBoxSize=r,ki(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ki(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ki(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const d=this._viewportRuler.getViewportScrollPosition();ki(r,this._getExactOverlayY(n,t,d)),ki(r,this._getExactOverlayX(n,t,d))}else r.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=We(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=We(s.maxWidth):o&&(r.maxWidth="")),ki(this._pane.style,r)}_getExactOverlayY(t,n,r){let i={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=We(o.y),i}_getExactOverlayX(t,n,r){let s,i={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=We(o.x),i}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:N0(t,r),isOriginOutsideView:v_(t,r),isOverlayClipped:N0(n,r),isOverlayOutsideView:v_(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,i)=>r-Math.max(i,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&yu(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Ce)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}}function ki(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function H0(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(R4);return n&&"px"!==n?null:parseFloat(t)}return e||null}function U0(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 z0="cdk-global-overlay-wrapper";class F4{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(z0),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=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,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===d?(m="center",h?p=u:f=u):h?"left"===d||"end"===d?(m="flex-end",f=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",f=u):("right"===d||"end"===d)&&(m="flex-end",p=u),t.position=this._cssPosition,t.marginLeft=l?"0":f,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,n.justifyContent=m,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(z0),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let P4=(()=>{class e{_injector=g(ve);constructor(){}global(){return function O4(){return new F4}()}flexibleConnectedTo(n){return j0(this._injector,n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $0(e,t){e.get(Ga).load(L0);const n=e.get(V0),r=e.get(we),i=e.get(Xo),o=e.get(_n),s=e.get(hu),a=r.createElement("div"),l=r.createElement("div");l.id=i.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),n.getContainerElement().appendChild(a);const c=new l4(l,o,e),d=new O0(t),u=e.get(mn,null,{optional:!0})||e.get(Nn).createRenderer(null,null);return d.direction=d.direction||s.value,new A4(c,a,l,d,e.get(L),e.get(T4),r,e.get(Ev),e.get(M4),t?.disableAnimations??"NoopAnimations"===e.get(Zl,null,{optional:!0}),e.get(pt),u)}let L4=(()=>{class e{scrollStrategies=g(S4);_positionBuilder=g(P4);_injector=g(ve);constructor(){}create(n){return $0(this._injector,n)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const V4=[{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"}],G0=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(ve);return()=>Za(e)}});let xu=(()=>{class e{elementRef=g(Ce);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),W0=(()=>{class e{_dir=g(hu,{optional:!0});_injector=g(ve);_overlayRef;_templatePortal;_backdropSubscription=Ae.EMPTY;_attachSubscription=Ae.EMPTY;_detachSubscription=Ae.EMPTY;_positionSubscription=Ae.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=g(G0);_disposeOnNavigation=!1;_ngZone=g(L);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,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(n){this._disposeOnNavigation=n}backdropClick=new ue;positionChange=new ue;attach=new ue;detach=new ue;overlayKeydown=new ue;overlayOutsideClick=new ue;constructor(){const n=g(kn),r=g(gn);this._templatePortal=new T0(n,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(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=V4);const n=this._overlayRef=$0(this._injector,this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!es(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{const i=this._getOriginElement(),o=Su(r);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(r)})}_buildConfig(){const n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new O0({direction:this._dir||"ltr",positionStrategy:n,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(n){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 n.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 n=j0(this._injector,this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof xu?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof xu?this.origin.elementRef.nativeElement:this.origin instanceof Ce?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(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function u4(e,t=!1){return at((n,r)=>{let i=0;n.subscribe(tt(r,o=>{const s=e(o,i++);(s||t)&&r.next(o),!s&&r.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),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=R({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",Qe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Qe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Qe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Qe],push:[2,"cdkConnectedOverlayPush","push",Qe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Qe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[on]})}return e})();const j4={provide:G0,useFactory:function B4(e){const t=g(ve);return()=>Za(t)}};let Qa,H4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[L4,j4],imports:[ja,c4,I0,I0]})}return e})();class Y0{_letterKeyStream=new X;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new X;selectedItem=this._selectedItem;constructor(t,n){const r="number"==typeof n?.debounceInterval?n.debounceInterval:200;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){const n=t.keyCode;t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(za(n=>this._pressedLetters.push(n)),o_(t),or(()=>this._pressedLetters.length>0),qe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(n=>{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(n)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}function J0(e,t,n){const r=eA(e,t);n=n.trim();const i=r.filter(o=>o!==n);i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}function eA(e,t){return e.getAttribute(t)?.match(/\S+/g)??[]}class K4{_items;_activeItemIndex=Ot(-1);_activeItem=Ot(null);_wrap=!1;_typeaheadSubscription=Ae.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,n){this._items=t,t instanceof Gl?this._itemChangesSubscription=t.changes.subscribe(r=>this._itemsChanged(r.toArray())):to(t)&&(this._effectRef=Nd(()=>this._itemsChanged(t()),{injector:n}))}tabOut=new X;change=new X;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();const n=this._getItemsArray();return this._typeahead=new Y0(n,{debounceInterval:"number"==typeof t?t: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(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){const n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex())}onKeydown(t){const n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){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||es(t,"shiftKey"))&&this._typeahead?.handleKey(t))}this._typeahead?.reset(),t.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(t){const n=this._getItemsArray(),r="number"==typeof t?t:n.indexOf(t);this._activeItem.set(n[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(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const n=this._getItemsArray();for(let r=1;r<=n.length;r++){const i=(this._activeItemIndex()+t*r+n.length)%n.length;if(!this._skipPredicateFn(n[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,n){const r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(!r[t+=n])return;this.setActiveItem(t)}}_getItemsArray(){return to(this._items)?this._items():this._items instanceof Gl?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);const n=this._activeItem();if(n){const r=t.indexOf(n);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}}class Z4 extends K4{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Q4{_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 X;constructor(t=!1,n,r=!0,i){this._multiple=t,this._emitChanges=r,this.compareWith=i,n&&n.length&&(t?n.forEach(o=>this._markSelected(o)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(r=>this._markSelected(r));const n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...t){this._verifyValueAssignment(t),t.forEach(r=>this._unmarkSelected(r));const n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...t){this._verifyValueAssignment(t);const n=this.selected,r=new Set(t.map(o=>this._getConcreteValue(o)));t.forEach(o=>this._markSelected(o)),n.filter(o=>!r.has(this._getConcreteValue(o,r))).forEach(o=>this._unmarkSelected(o));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const n=this._hasQueuedChanges();return t&&this._emitChangeEvent(),n}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t,n){if(this.compareWith){n=n??this._selection;for(let r of n)if(this.compareWith(t,r))return r;return t}return t}}function tA(e){return function J4(){if(null==Qa&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Qa=!0}))}finally{Qa=Qa||!1}return Qa}()?e:!!e.capture}var cn=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}(cn||{});class nq{_renderer;element;config;_animationForciblyDisabledThroughCss;state=cn.HIDDEN;constructor(t,n,r,i=!1){this._renderer=t,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}}const nA=tA({passive:!0,capture:!0});class rq{_events=new Map;addHandler(t,n,r,i){const o=this._events.get(n);if(o){const s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(n,new Map([[r,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,nA)})}removeHandler(t,n,r){const i=this._events.get(t);if(!i)return;const o=i.get(n);o&&(o.delete(r),0===o.size&&i.delete(n),0===i.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,nA)))}_delegateEventHandler=t=>{const n=Su(t);n&&this._events.get(t.type)?.forEach((r,i)=>{(i===n||i.contains(n))&&r.forEach(o=>o.handleEvent(t))})}}const rA={enterDuration:225,exitDuration:150},iA=tA({passive:!0,capture:!0}),oA=["mousedown","touchstart"],sA=["mouseup","mouseleave","touchend","touchcancel"];let oq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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 Au{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new rq;constructor(t,n,r,i,o){this._target=t,this._ngZone=n,this._platform=i,i.isBrowser&&(this._containerElement=Wa(r)),o&&o.get(Ga).load(oq)}fadeInRipple(t,n,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...rA,...r.animation};r.centered&&(t=i.left+i.width/2,n=i.top+i.height/2);const s=r.radius||function sq(e,t,n){const r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(t,n,i),a=t-i.left,l=n-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),f=u.transitionDuration,p="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===i.width&&0===i.height,m=new nq(this,d,r,p);d.style.transform="scale3d(1, 1, 1)",m.state=cn.FADING_IN,r.persistent||(this._mostRecentTransientRipple=m);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>{_&&(_.fallbackTimer=null),clearTimeout(I),this._finishRippleTransition(m)},y=()=>this._destroyRipple(m),I=setTimeout(y,c+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",y),_={onTransitionEnd:v,onTransitionCancel:y,fallbackTimer:I}}),this._activeRipples.set(m,_),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(t.state===cn.FADING_OUT||t.state===cn.HIDDEN)return;const n=t.element,r={...rA,...t.config.animation};n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=cn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=Wa(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,oA.forEach(r=>{Au._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{sA.forEach(n=>{this._triggerElement.addEventListener(n,this,iA)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===cn.FADING_IN?this._startFadeOutTransition(t):t.state===cn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=cn.VISIBLE,!r&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=cn.HIDDEN,null!==n&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),null!==n.fallbackTimer&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){const n=function eq(e){return 0===e.buttons||0===e.detail}(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function tq(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(t.state===cn.VISIBLE||t.config.terminateOnPointerUp&&t.state===cn.FADING_IN)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(oA.forEach(n=>Au._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(sA.forEach(n=>t.removeEventListener(n,this,iA)),this._pointerUpEventsRegistered=!1))}}const aq=new D("mat-ripple-global-options");let lq=(()=>{class e{_elementRef=g(Ce);_animationsDisabled=vu();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const n=g(L),r=g(wn),i=g(aq,{optional:!0}),o=g(ve);this._globalOptions=i||{},this._rippleRenderer=new Au(this,n,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(n,r=0,i){return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,r,{...this.rippleConfig,...i}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...n})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){2&r&&ut("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})(),cq=(()=>{class e{_animationsDisabled=vu();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,i){2&r&&ut("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})(),dq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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})(),uq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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 fq=["text"],hq=[[["mat-icon"]],"*"],pq=["mat-icon","*"];function mq(e,t){if(1&e&&yt(0,"mat-pseudo-checkbox",1),2&e){const n=N();B("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function gq(e,t){1&e&&yt(0,"mat-pseudo-checkbox",3),2&e&&B("disabled",N().disabled)}function _q(e,t){if(1&e&&(K(0,"span",4),yn(1),Z()),2&e){const n=N();x(),Ei("(",n.group.label,")")}}const aA=new D("MAT_OPTION_PARENT_COMPONENT"),lA=new D("MatOptgroup");class yq{source;isUserInput;constructor(t,n=!1){this.source=t,this.isUserInput=n}}let b_=(()=>{class e{_element=g(Ce);_changeDetectorRef=g(wi);_parent=g(aA,{optional:!0});group=g(lA,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=g(Xo).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(n){this._disabled.set(n)}_disabled=Ot(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new ue;_text;_stateChanges=new X;constructor(){const n=g(Ga);n.load(dq),n.load(uq),this._signalDisableRipple=!!this._parent&&to(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,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(n){(13===n.keyCode||32===n.keyCode)&&!es(n)&&(this._selectViaInteraction(),n.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 n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new yq(this,n))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["mat-option"]],viewQuery:function(r,i){if(1&r&&Mt(fq,7),2&r){let o;ke(o=Ne())&&(i._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,i){1&r&&xe("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&r&&(ca("id",i.id),dt("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),ut("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",Qe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:pq,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&&(jo(hq),Ye(0,mq,1,2,"mat-pseudo-checkbox",1),vt(1),K(2,"span",2,0),vt(4,1),Z(),Ye(5,gq,1,1,"mat-pseudo-checkbox",3),Ye(6,_q,2,1,"span",4),yt(7,"div",5)),2&r&&(Ke(i.multiple?0:-1),x(5),Ke(i.multiple||!i.selected||i.hideSingleSelectionIndicator?-1:5),x(),Ke(i.group&&i.group._inert?6:-1),x(),B("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[cq,lq],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})(),cA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,$t]})}return e})(),Eq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t]})}return e})(),dA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[cA,$t,Eq,b_]})}return e})();const Dq=["trigger"],wq=["panel"],Cq=[[["mat-select-trigger"]],"*"],Sq=["mat-select-trigger","*"];function Iq(e,t){if(1&e&&(K(0,"span",4),yn(1),Z()),2&e){const n=N();x(),ya(n.placeholder)}}function Tq(e,t){1&e&&vt(0)}function Mq(e,t){if(1&e&&(K(0,"span",11),yn(1),Z()),2&e){const n=N(2);x(),ya(n.triggerValue)}}function xq(e,t){if(1&e&&(K(0,"span",5),Ye(1,Tq,1,0)(2,Mq,2,1,"span",11),Z()),2&e){const n=N();x(),Ke(n.customTrigger?1:2)}}function Aq(e,t){if(1&e){const n=er();K(0,"div",12,1),xe("keydown",function(i){return it(n),ot(N()._handleKeydown(i))}),vt(2,1),Z()}if(2&e){const n=N();Em(function jS(e,t,n=""){return DS(E(),e,t,n)}("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme())),ut("mat-select-panel-animations-enabled",!n._animationsDisabled),B("ngClass",n.panelClass),dt("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}const uA=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(ve);return()=>Za(e)}}),kq=new D("MAT_SELECT_CONFIG"),Nq={provide:uA,deps:[],useFactory:function Rq(e){const t=g(ve);return()=>Za(t)}},Oq=new D("MatSelectTrigger");class Fq{source;value;constructor(t,n){this.source=t,this.value=n}}let Pq=(()=>{class e{_viewportRuler=g(Ya);_changeDetectorRef=g(wi);_elementRef=g(Ce);_dir=g(hu,{optional:!0});_idGenerator=g(Xo);_renderer=g(mn);_parentFormField=g(a_,{optional:!0});ngControl=g(Pn,{self:!0,optional:!0});_liveAnnouncer=g(gW);_defaultOptions=g(kq,{optional:!0});_animationsDisabled=vu();_initialized=new X;_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(n){const r=this.options.toArray()[n];if(r){const i=this.panel.nativeElement,o=function vq(e,t,n){if(n.length){let r=t.toArray(),i=n.toArray(),o=0;for(let s=0;s<e+1;s++)r[s].group&&r[s].group===i[o]&&o++;return o}return 0}(n,this.options,this.optionGroups),s=r._getHostElement();i.scrollTop=0===n&&1===o?0:function bq(e,t,n,r){return e<n?e:e+t>n+r?Math.max(0,e-r+t):n}(s.offsetTop,s.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new Fq(this,n)}_scrollStrategyFactory=g(uA);_panelOpen=!1;_compareWith=(n,r)=>n===r;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new X;_errorStateTracker;stateChanges=new X;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(n){this._disableRipple.set(n)}_disableRipple=Ot(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(NM.required)??!1}set required(n){this._required=n,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(n){this._multiple=n}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=function X4(e){return new De(t=>{zt(e()).subscribe(t)})}(()=>{const n=this.options;return n?n.changes.pipe(gu(n),Wd(()=>La(...n.map(r=>r.onSelectionChange)))):this._initialized.pipe(Wd(()=>this.optionSelectionChanges))});openedChange=new ue;_openedStream=this.openedChange.pipe(or(n=>n),qe(()=>{}));_closedStream=this.openedChange.pipe(or(n=>!n),qe(()=>{}));selectionChange=new ue;valueChange=new ue;constructor(){const n=g(v0),r=g(Zo,{optional:!0}),i=g(Qo,{optional:!0}),o=g(new EI("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new b0(n,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 Q4(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Fr(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(Fr(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(gu(null),Fr(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){const i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?i.setAttribute("aria-labelledby",n):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(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.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(Va(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 n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;const r=`${this.id}-panel`;this._trackedModal&&J0(this._trackedModal,"aria-owns",r),function $4(e,t,n){const r=eA(e,t);n=n.trim(),!r.some(i=>i.trim()===n)&&(r.push(n),e.setAttribute(t,r.join(" ")))}(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){this._trackedModal&&(J0(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 n=this.panel.nativeElement,r=this._renderer.listen(n,"animationend",o=>{"_mat-select-exit"===o.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);n.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,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 n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){const r=n.keyCode,i=40===r||38===r||37===r||39===r,o=13===r||32===r,s=this._keyManager;if(!s.isTyping()&&o&&!es(n)||(this.multiple||n.altKey)&&i)n.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(n);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(n){const r=this._keyManager,i=n.keyCode,o=40===i||38===i,s=r.isTyping();if(o&&n.altKey)n.preventDefault(),this.close();else if(s||13!==i&&32!==i||!r.activeItem||es(n))if(!s&&this._multiple&&65===i&&n.ctrlKey){n.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(n),this._multiple&&o&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==a&&r.activeItem._selectViaInteraction()}else n.preventDefault(),r.activeItem._selectViaInteraction()}_handleOverlayKeydown(n){27===n.keyCode&&!es(n)&&(n.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(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{const r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){const r=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(null!=i.value||this.canSelectNullableOptions)&&this._compareWith(i.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return!!(n!==this._value||this._multiple&&Array.isArray(n))&&(this.options&&this._setSelectionByValue(n),this._value=n,!0)}_skipPredicate=n=>!this.panelOpen&&n.disabled;_getOverlayWidth(n){return"auto"===this.panelWidth?(n instanceof xu?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Z4(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 n=La(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Fr(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),La(...this.options.map(r=>r._stateChanges)).pipe(Fr(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){const i=this._selectionModel.isSelected(n);this.canSelectNullableOptions||null!=n.value||this._multiple?(i!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())):(n.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(n.value)),i!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const n=this.options.toArray();this._selectionModel.sort((r,i)=>this.sortComparator?this.sortComparator(r,i,n):n.indexOf(r)-n.indexOf(i)),this.stateChanges.next()}}_propagateChanges(n){let r;r=this.multiple?this.selected.map(i=>i.value):this.selected?this.selected.value:n,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 n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const n=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(n?n+" ":"")+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n||(n=this._valueId),n}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.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=Kt({type:e,selectors:[["mat-select"]],contentQueries:function(r,i,o){if(1&r&&(tr(o,Oq,5),tr(o,b_,5),tr(o,lA,5)),2&r){let s;ke(s=Ne())&&(i.customTrigger=s.first),ke(s=Ne())&&(i.options=s),ke(s=Ne())&&(i.optionGroups=s)}},viewQuery:function(r,i){if(1&r&&(Mt(Dq,5),Mt(wq,5),Mt(W0,5)),2&r){let o;ke(o=Ne())&&(i.trigger=o.first),ke(o=Ne())&&(i.panel=o.first),ke(o=Ne())&&(i._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(r,i){1&r&&xe("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&r&&(dt("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()),ut("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",Qe],disableRipple:[2,"disableRipple","disableRipple",Qe],tabIndex:[2,"tabIndex","tabIndex",n=>null==n?0:JI(n)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Qe],placeholder:"placeholder",required:[2,"required","required",Qe],multiple:[2,"multiple","multiple",Qe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Qe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",JI],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Qe]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[se([{provide:s_,useExisting:e},{provide:aA,useExisting:e}]),on],ngContentSelectors:Sq,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=er();jo(Cq),K(0,"div",2,0),xe("click",function(){return it(o),ot(i.open())}),K(3,"div",3),Ye(4,Iq,2,1,"span",4)(5,xq,3,1,"span",5),Z(),K(6,"div",6)(7,"div",7),function av(){z.lFrame.currentNamespace="svg"}(),K(8,"svg",8),yt(9,"path",9),Z()()()(),Te(10,Aq,3,10,"ng-template",10),xe("detach",function(){return it(o),ot(i.close())})("backdropClick",function(){return it(o),ot(i.close())})("overlayKeydown",function(a){return it(o),ot(i._handleOverlayKeydown(a))})}if(2&r){const o=ga(1);x(3),dt("id",i._valueId),x(),Ke(i.empty?4:5),x(6),B("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[xu,W0,bT],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})(),fA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[Nq],imports:[H4,dA,$t,f_,Ha,dA,$t]})}return e})(),Vq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,cA,$t]})}return e})();const Bq={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let E_;function Wq(e,t,n){let r=n;return function Hq(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((i,o)=>!("*"===i||!function Uq(e,t){if(!E_){const n=Element.prototype;E_=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&E_.call(e,t)}(e,i)||(r=o,0))),r}class Yq{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Io).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Kq(this.componentFactory,t,this.inputMap)}}class Kq{componentFactory;injector;inputMap;eventEmitters=new Fx(1);events=this.eventEmitters.pipe(Wd(t=>La(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(L),this.appRef=this.injector.get(_n),this.cdScheduler=n.get(gr),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Bq.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),function f1(e){return Es(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function h1(e){Ff(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=ve.create({providers:[],parent:this.injector}),r=function Gq(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],l=Wq(a,t,i);-1!==l&&r[l].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:i})=>{const o=t.instance[r];return new De(s=>{const a=o.subscribe(l=>s.next({name:i,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class Zq extends HTMLElement{ngElementEventsSubscription=null}const Jq=new D("Search_Service_Token"),n6=[];let s6=(()=>{var e;class t{adapt(r){const i=r.recentSearchApiRequestWithPromise;return{searchApiRequest:(o,s)=>Ar(r.searchApiRequestWithPromise(o,s)),...i&&{recentSearchApiRequest:()=>Ar(i())}}}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)},this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"}))}return e(),t})();const a6=["searchInput"],Ru=e=>({$implicit:e});function l6(e,t){if(1&e){const n=er();K(0,"mat-icon",13),xe("click",function(){return it(n),ot(N(3).resetInput())}),Z()}2&e&&B("className",N(3).config.crossIconClass)}function c6(e,t){if(1&e&&(K(0,"mat-option",14),yn(1),Z()),2&e){const n=t.$implicit;B("value",n.name),x(),Ei(" ",n.displayName," ")}}function d6(e,t){if(1&e){const n=er();K(0,"div",5)(1,"mat-form-field",6)(2,"input",7,0),xe("focus",function(){return it(n),ot(N(2).showSuggestions())})("blur",function(){return it(n),ot(N(2).hideSuggestions())}),Sm("ngModelChange",function(i){it(n);const o=N(2);return function LS(e,t){const n=fv(e);return n&&e.set(t),n}(o.searchBoxInput,i)||(o.searchBoxInput=i),ot(i)}),xe("keyup",function(i){return it(n),ot(N(2).hitSearchApi(i))})("ngModelChange",function(){it(n);const i=N(2);return ot(i.onChange(i.searchBoxInput))}),Z(),yt(4,"mat-icon",8),Te(5,l6,1,1,"mat-icon",9),Z(),K(6,"mat-form-field",10)(7,"mat-select",11),xe("selectionChange",function(i){return it(n),ot(N(2).setCategory(i.value))}),Te(8,c6,2,2,"mat-option",12),Z()()()}if(2&e){const n=ga(3),r=N(2);x(2),B("placeholder",r.config.placeholderFunction?r.config.placeholderFunction(n.value,r.category):r.config.placeholder||"Search"),Cm("ngModel",r.searchBoxInput),B("disabled",r.disabled),x(2),B("className",r.config.searchIconClass),x(),B("ngIf",r.searchBoxInput),x(2),B("value",r.category),x(),B("ngForOf",r.config.models)}}function u6(e,t){if(1&e&&(jt(0),Te(1,d6,9,7,"div",4),It()),2&e){const n=N();x(),B("ngIf",n.config)}}function f6(e,t){1&e&&(jt(0),yn(1," searching... "),It())}function h6(e,t){if(1&e&&(jt(0),yn(1),It()),2&e){const n=N(4);x(),Ei(" ",n.config.noResultMessage," ")}}function p6(e,t){if(1&e&&(K(0,"span",17),Te(1,f6,2,0,"ng-container",1)(2,h6,2,1,"ng-container",1),Z()),2&e){const n=N(3);x(),B("ngIf",n.searching),x(),B("ngIf",!n.searching)}}function m6(e,t){if(1&e&&yt(0,"img",23),2&e){const n=N().$implicit;B("src",n.model.imageUrl,fc)("alt",n.model.displayName)}}function g6(e,t){1&e&&Vo(0)}function _6(e,t){if(1&e&&(jt(0),Te(1,g6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(5);x(),B("ngTemplateOutlet",r.subtitleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function y6(e,t){if(1&e&&yt(0,"p",27),2&e){const n=N().$implicit,r=N(5);B("innerHTML",r.boldString(n[r.config.displayPropertyName],r.searchBoxInput),jh)}}function v6(e,t){1&e&&Vo(0)}function b6(e,t){if(1&e&&(jt(0),Te(1,v6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(5);x(),B("ngTemplateOutlet",r.titleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function E6(e,t){if(1&e){const n=er();K(0,"li",24),xe("mousedown",function(i){const o=it(n).$implicit;return ot(N(5).populateValue(o,i))}),Te(1,_6,2,4,"ng-container",1)(2,y6,1,1,"p",25)(3,b6,2,4,"ng-container",1),Z()}if(2&e){const n=N(5);x(),B("ngIf",n.subtitleTemplate),x(),B("ngIf",!n.titleTemplate),x(),B("ngIf",n.titleTemplate)}}function D6(e,t){if(1&e&&(K(0,"div",19)(1,"h3",20),Te(2,m6,1,2,"img",21),yn(3),Z(),K(4,"ul"),Te(5,E6,4,3,"li",22),Z()()),2&e){const n=t.$implicit;x(2),B("ngIf",n.model.imageUrl),x(),wm(" ",n.model.displayName," (",n.items.length,") "),x(2),B("ngForOf",n.items)}}function w6(e,t){if(1&e&&(jt(0),Te(1,D6,6,4,"div",18),It()),2&e){const n=N(3);x(),B("ngForOf",n.getModelsWithSuggestions())}}function C6(e,t){if(1&e&&yt(0,"img",31),2&e){const n=N().$implicit;B("src",N(4).fetchModelImageUrlFromSuggestion(n),fc)}}function S6(e,t){1&e&&Vo(0)}function I6(e,t){if(1&e&&(jt(0),Te(1,S6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(4);x(),B("ngTemplateOutlet",r.subtitleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function T6(e,t){if(1&e&&yt(0,"p",27),2&e){const n=N().$implicit,r=N(4);B("innerHTML",r.boldString(n[r.config.displayPropertyName],r.searchBoxInput),jh)}}function M6(e,t){1&e&&Vo(0)}function x6(e,t){if(1&e&&(jt(0),Te(1,M6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(4);x(),B("ngTemplateOutlet",r.titleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function A6(e,t){if(1&e){const n=er();K(0,"li",29),xe("mousedown",function(i){const o=it(n).$implicit;return ot(N(4).populateValue(o,i))}),Te(1,C6,1,1,"img",30)(2,I6,2,4,"ng-container",1)(3,T6,1,1,"p",25)(4,x6,2,4,"ng-container",1),Z()}if(2&e){const n=t.$implicit,r=N(4);x(),B("ngIf",!r.titleTemplate&&r.fetchModelImageUrlFromSuggestion(n)),x(),B("ngIf",r.subtitleTemplate),x(),B("ngIf",!r.titleTemplate),x(),B("ngIf",r.titleTemplate)}}function R6(e,t){if(1&e&&(jt(0),K(1,"div",19)(2,"ul"),Te(3,A6,5,4,"li",28),Z()(),It()),2&e){const n=N(3);x(3),B("ngForOf",n.suggestions)}}function k6(e,t){if(1&e&&(jt(0),Te(1,p6,3,2,"span",16)(2,w6,2,1,"ng-container",1)(3,R6,4,1,"ng-container",1),It()),2&e){const n=N(2);x(),B("ngIf",0===n.suggestions.length),x(),B("ngIf",n.config.categorizeResults&&n.suggestions.length),x(),B("ngIf",!n.config.categorizeResults)}}function N6(e,t){if(1&e){const n=er();K(0,"li",24),xe("mousedown",function(i){const o=it(n).$implicit;return ot(N(3).populateValueRecentSearch(o,i))}),yt(1,"mat-icon",8),K(2,"span"),yn(3),Z()()}if(2&e){const n=t.$implicit,r=N(3);x(),B("className",r.config.recentSearchIconClass),x(2),Ei("\xa0",n.match)}}function O6(e,t){if(1&e&&(jt(0),K(1,"div",32)(2,"h3",20),yn(3,"Recent Searches"),Z(),K(4,"ul"),Te(5,N6,4,2,"li",22),Z()(),It()),2&e){const n=N(2);x(5),B("ngForOf",n.recentSearches)}}function F6(e,t){if(1&e&&(K(0,"div",15),Te(1,k6,4,3,"ng-container",1)(2,O6,6,1,"ng-container",1),Z()),2&e){const n=N();x(),B("ngIf",n.searchBoxInput),x(),B("ngIf",!n.config.hideRecentSearch&&n.recentSearches.length>0)}}const Ni="All";let hA=(()=>{var e;class t{get config(){return this._config}set config(r){this._config=r,r&&r.models?r.models.unshift({name:Ni,displayName:this.customAllLabel??Ni}):r&&!r.models&&(r.models=[{name:Ni,displayName:this.customAllLabel??Ni}])}set searchProvider(r){(function Xq(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=Ni,this.searchRequest$=new X,this.customAllLabel=Ni,this.showOnlySearchResultOverlay=!1,this.customSearchEvent={searchValue:"",modelName:this.customAllLabel},this.clicked=new ue,this.searched=new ue,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1}ngOnInit(){this.searchRequest$.pipe(za(r=>this.suggestions=[]),o_(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??n6).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(){Iv(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[Ni,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||t)(C(Jq,8),C(Kl),C(wi),C(s6))},this.\u0275cmp=Kt({type:t,selectors:[["sourceloop-search"]],viewQuery:function(i,o){if(1&i&&Mt(a6,5),2&i){let s;ke(s=Ne())&&(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:[se([{provide:Dn,useExisting:t,multi:!0}]),on],decls:3,vars:2,consts:[["searchInput",""],[4,"ngIf"],[1,"search-container"],["class","search-popup",4,"ngIf"],["class","toolbar-search",4,"ngIf"],[1,"toolbar-search"],["appearance","outline",1,"toolbar-search-input"],["matInput","","autocomplete","off","type","text","name","searchInput",3,"focus","blur","ngModelChange","keyup","placeholder","ngModel","disabled"],["matPrefix","",3,"className"],["matSuffix","",3,"className","click",4,"ngIf"],["appearance","outline",1,"toolbar-search-select"],["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"],["class","inline-display",3,"innerHTML",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"inline-display",3,"innerHTML"],[3,"mousedown",4,"ngFor","ngForOf"],[3,"mousedown"],["class","suggestions-categorize-false suggestion-image","alt","Img",3,"src",4,"ngIf"],["alt","Img",1,"suggestions-categorize-false","suggestion-image",3,"src"],[1,"recent-searches"]],template:function(i,o){1&i&&(Te(0,u6,2,1,"ng-container",1),K(1,"div",2),Te(2,F6,3,2,"div",3),Z()),2&i&&(B("ngIf",!o.showOnlySearchResultOverlay),x(2),B("ngIf",o.suggestionsDisplay&&(o.recentSearches.length||o.suggestions.length)))},dependencies:[ig,DT,CT,tg,Nx,Xd,nx,qg,g0,NW,fA,r0,eW,tW,Pq,b_,Ha,E0,UW],styles:["[_nghost-%COMP%]{--search-background: #f7f7f7;--search-input-background: #f1f3f4;--search-input-text-color: #6b6b6b;--search-border-hover: #90003b;--search-border-focus: #90003b;--search-dropdown-background: #90003b;--search-dropdown-text-color: #fff;--search-highlight-bg: #fee8e8;--search-heading-color: #9c9c9c;--search-text-color: #333;--search-icon-color: #33333380}[_nghost-%COMP%] .mat-mdc-form-field{padding:0;margin:0!important}[_nghost-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-icon-prefix{padding:0 .5rem 0 .75rem}[_nghost-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-icon-suffix{padding:0 .75rem 0 .5rem}[_nghost-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-subscript-wrapper{display:none}.toolbar-search[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;max-width:32rem;background-color:var(--search-background);border-radius:0 0 .25rem .25rem;gap:0}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field .mat-mdc-text-field-wrapper{height:2.5rem;align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:2.25rem;padding:.5rem 0}.toolbar-search-input[_ngcontent-%COMP%]{width:78%;flex:1 1 auto;margin-right:0!important;font-size:.75rem}.toolbar-search-input[_ngcontent-%COMP%] input{margin:0;color:var(--search-input-text-color)!important}.toolbar-search-input[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{background-color:var(--search-input-background)}.toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__leading, .toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__notch, .toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border:none!important;background-color:transparent!important}.toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__leading{border-radius:.25rem 0 0 .25rem}.toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border-radius:0}.icomoon.Search[_ngcontent-%COMP%], .icomoon.close[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;color:var(--search-icon-color);padding-bottom:.25rem}.icomoon.close[_ngcontent-%COMP%]{cursor:pointer}.toolbar-search-select[_ngcontent-%COMP%]{flex:1 1 auto;margin-left:0!important;min-width:0;width:22%}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-value-text{font-size:.75rem;line-height:normal;white-space:nowrap;overflow:hidden;display:flex;max-width:100%;align-items:center}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select{max-width:100%;padding-left:0;padding-right:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-value{display:flex;align-items:center;min-width:0;flex:1 1 auto}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-form-field-text-suffix{display:flex;align-items:center;margin-left:.375rem;flex-shrink:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper{width:1rem;flex-shrink:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-arrow{transform:rotate(0) scale(1.3)!important}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-arrow svg{fill:none!important;stroke:var(--search-icon-color);stroke-width:1}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{background-color:var(--search-input-background)}.toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__leading, .toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__notch, .toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border:none!important;background-color:transparent!important}.toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__leading{border-radius:0}.toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border-radius:0 .25rem .25rem 0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix{-webkit-padding-before:.7em;min-height:2.25rem;display:flex;align-items:center;padding:.375rem .25rem} .search-select.mat-mdc-select-panel{margin-top:1.875rem;margin-left:.625rem}.search-container[_ngcontent-%COMP%]{position:relative;width:100%;max-width:32.1875rem}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%]{padding:0 .9375rem .9375rem;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 .3125rem .25rem #0003;border-radius:0 0 .25rem .25rem}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:0;border-top:.0625rem solid #ebebeb;margin:0;position:sticky;top:0;padding-bottom:.9375rem;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:1rem;padding-top:.75rem}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-item-info[_ngcontent-%COMP%]{color:#91263b;text-align:center;font-size:.75rem;margin-bottom:.9375rem;padding-top:.75rem}.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:var(--search-text-color)}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{font-size:.9375rem;line-height:2.25rem;padding:0 .9375rem 0 2.75rem;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:var(--search-highlight-bg)} .toolbar-search input{line-height:.875rem;color:var(--search-input-text-color)!important} .toolbar-search input::placeholder{color:var(--search-input-text-color);opacity:.6} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border:.0625rem solid var(--search-border-hover)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-right:none!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-right:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) input{color:var(--search-input-text-color)!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{background:var(--search-dropdown-background)!important;border-radius:.25rem!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-left:.0625rem solid var(--search-border-hover)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-right:none!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-right:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select, .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-value{color:var(--search-dropdown-text-color)!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-arrow svg{fill:none!important;stroke:var(--search-dropdown-text-color)!important;stroke-width:1} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border:.125rem solid var(--search-border-focus)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-right:none!important} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-right:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) input{color:var(--search-input-text-color)!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{background:var(--search-dropdown-background)!important;border-radius:.25rem!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-left:.125rem solid var(--search-border-focus)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-right:none!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-right:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select, .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-value{color:var(--search-dropdown-text-color)!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-arrow svg{fill:none!important;stroke:var(--search-dropdown-text-color)!important;stroke-width:1}"]}))}return e(),t})();var H=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}(H||{});const sr="*";function pA(e){return{type:H.Style,styles:e,offset:null}}class Xa{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class mA{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==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(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const n=t*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}function gA(e){return new b(3e3,!1)}function W6(e){return new b(3002,!1)}function Lr(e){switch(e.length){case 0:return new Xa;case 1:return e[0];default:return new mA(e)}}function _A(e,t,n=new Map,r=new Map){const i=[],o=[];let s=-1,a=null;if(t.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,i),m){case"!":m=n.get(f);break;case sr:m=r.get(f);break;default:m=e.normalizeStyleValue(f,p,m,i)}u.set(p,m)}),d||o.push(u),a=u,s=c}),i.length)throw function r9(){return new b(3502,!1)}();return o}function w_(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&C_(n,"start",e)));break;case"done":e.onDone(()=>r(n&&C_(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&C_(n,"destroy",e)))}}function C_(e,t,n){const o=S_(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n.totalTime??e.totalTime,!!n.disabled),s=e._data;return null!=s&&(o._data=s),o}function S_(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Qt(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function yA(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const m9=typeof document>"u"?null:document.documentElement;function I_(e){const t=e.parentNode||e.host||null;return t===m9?null:t}let Oi=null,vA=!1;function bA(e,t){for(;t;){if(t===e)return!0;t=I_(t)}return!1}function EA(e,t,n){if(n)return Array.from(e.querySelectorAll(t));const r=e.querySelector(t);return r?[r]:[]}const wA="ng-enter",T_="ng-leave",ku="ng-trigger",Nu=".ng-trigger",CA="ng-animating",M_=".ng-animating";function ar(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:x_(parseFloat(t[1]),t[2])}function x_(e,t){return"s"===t?1e3*e:e}function Ou(e,t,n){return e.hasOwnProperty("duration")?e:function D9(e,t,n){let r,i=0,o="";if("string"==typeof e){const s=e.match(E9);if(null===s)return t.push(gA()),{duration:0,delay:0,easing:""};r=x_(parseFloat(s[1]),s[2]);const a=s[3];null!=a&&(i=x_(parseFloat(a),s[4]));const l=s[5];l&&(o=l)}else r=e;if(!n){let s=!1,a=t.length;r<0&&(t.push(function L6(){return new b(3100,!1)}()),s=!0),i<0&&(t.push(function V6(){return new b(3101,!1)}()),s=!0),s&&t.splice(a,0,gA())}return{duration:r,delay:i,easing:o}}(e,t,n)}const E9=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Ln(e,t,n){t.forEach((r,i)=>{const o=R_(i);n&&!n.has(i)&&n.set(i,e.style[o]),e.style[o]=r})}function Fi(e,t){t.forEach((n,r)=>{const i=R_(r);e.style[i]=""})}function Ja(e){return Array.isArray(e)?1==e.length?e[0]:function P6(e,t=null){return{type:H.Sequence,steps:e,options:t}}(e):e}const A_=new RegExp("{{\\s*(.+?)\\s*}}","g");function SA(e){let t=[];if("string"==typeof e){let n;for(;n=A_.exec(e);)t.push(n[1]);A_.lastIndex=0}return t}function el(e,t,n){const r=`${e}`,i=r.replace(A_,(o,s)=>{let a=t[s];return null==a&&(n.push(function j6(){return new b(3003,!1)}()),a=""),a.toString()});return i==r?e:i}const S9=/-+([a-z0-9])/g;function R_(e){return e.replace(S9,(...t)=>t[1].toUpperCase())}function Xt(e,t,n){switch(t.type){case H.Trigger:return e.visitTrigger(t,n);case H.State:return e.visitState(t,n);case H.Transition:return e.visitTransition(t,n);case H.Sequence:return e.visitSequence(t,n);case H.Group:return e.visitGroup(t,n);case H.Animate:return e.visitAnimate(t,n);case H.Keyframes:return e.visitKeyframes(t,n);case H.Style:return e.visitStyle(t,n);case H.Reference:return e.visitReference(t,n);case H.AnimateChild:return e.visitAnimateChild(t,n);case H.AnimateRef:return e.visitAnimateRef(t,n);case H.Query:return e.visitQuery(t,n);case H.Stagger:return e.visitStagger(t,n);default:throw function H6(){return new b(3004,!1)}()}}function k_(e,t){return window.getComputedStyle(e)[t]}let N_=(()=>{class e{validateStyleProperty(n){return function _9(e){Oi||(Oi=function y9(){return typeof document<"u"?document.body:null}()||{},vA=!!Oi.style&&"WebkitAppearance"in Oi.style);let t=!0;return Oi.style&&!function g9(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Oi.style,!t&&vA&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Oi.style)),t}(n)}containsElement(n,r){return bA(n,r)}getParentElement(n){return I_(n)}query(n,r,i){return EA(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Xa(i,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class O_{static NOOP=new N_}class F_{}const x9=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 IA extends F_{normalizePropertyName(t,n){return R_(t)}normalizeStyleValue(t,n,r,i){let o="";const s=r.toString().trim();if(x9.has(n)&&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 U6(){return new b(3005,!1)}())}return s+o}}const Pu=new Set(["true","1"]),Lu=new Set(["false","0"]);function TA(e,t){const n=Pu.has(e)||Lu.has(e),r=Pu.has(t)||Lu.has(t);return(i,o)=>{let s="*"==e||e==i,a="*"==t||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?Pu.has(e):Lu.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?Pu.has(t):Lu.has(t)),s&&a}}const N9=new RegExp("s*:selfs*,?","g");function L_(e,t,n,r){return new O9(e).build(t,n,r)}class O9{_driver;constructor(t){this._driver=t}build(t,n,r){const i=new L9(n);return this._resetContextStyleTimingState(i),Xt(this,Ja(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&n.errors.push(function z6(){return new b(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==H.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==H.Transition){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(function $6(){return new b(3007,!1)}())}),{type:H.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(t,n){const r=this.visitStyle(t.styles,n),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{SA(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(function G6(){return new b(3008,!1)}(0,o.values()))}return{type:H.State,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;const r=Xt(this,Ja(t.animation),n),i=function A9(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function R9(e,t,n){if(":"==e[0]){const l=function k9(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return t.push(function t9(){return new b(3016,!1)}()),"* => *"}}(e,n);if("function"==typeof l)return void t.push(l);e=l}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function e9(){return new b(3015,!1)}()),t;const i=r[1],o=r[2],s=r[3];t.push(TA(i,s)),"<"==o[0]&&("*"!=i||"*"!=s)&&t.push(TA(s,i))}(r,n,t)):n.push(e),n}(t.expr,n.errors);return{type:H.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Pi(t.options)}}visitSequence(t,n){return{type:H.Sequence,steps:t.steps.map(r=>Xt(this,r,n)),options:Pi(t.options)}}visitGroup(t,n){const r=n.currentTime;let i=0;const o=t.steps.map(s=>{n.currentTime=r;const a=Xt(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:H.Group,steps:o,options:Pi(t.options)}}visitAnimate(t,n){const r=function B9(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return V_(Ou(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=V_(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=Ou(n,t);return V_(i.duration,i.delay,i.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;let i,o=t.styles?t.styles:pA({});if(o.type==H.Keyframes)i=this.visitKeyframes(o,n);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};r.easing&&(c.easing=r.easing),s=pA(c)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:H.Animate,timings:r,style:i,options:null}}visitStyle(t,n){const r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){const r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===sr?r.push(a):n.errors.push(W6()):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:H.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=n.collectedStyles.get(n.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(n.errors.push(function q6(){return new b(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),n.options&&function C9(e,t,n){const r=t.params||{},i=SA(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function B6(){return new b(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(t,n){const r={type:H.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function Y6(){return new b(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,c=0;const d=t.steps.map(v=>{const y=this._makeStyleAst(v,n);let I=null!=y.offset?y.offset:function V9(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}(y.styles),T=0;return null!=I&&(o++,T=y.offset=I),l=l||T<0||T>1,a=a||T<c,c=T,s.push(T),y});l&&n.errors.push(function K6(){return new b(3012,!1)}()),a&&n.errors.push(function Z6(){return new b(3200,!1)}());const u=t.steps.length;let h=0;o>0&&o<u?n.errors.push(function Q6(){return new b(3202,!1)}()):0==o&&(h=1/(u-1));const f=u-1,p=n.currentTime,m=n.currentAnimateTimings,_=m.duration;return d.forEach((v,y)=>{const I=h>0?y==f?1:h*y:s[y],T=I*_;n.currentTime=p+m.delay+T,m.duration=T,this._validateStyleAst(v,n),v.offset=I,r.styles.push(v)}),r}visitReference(t,n){return{type:H.Reference,animation:Xt(this,Ja(t.animation),n),options:Pi(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:H.AnimateChild,options:Pi(t.options)}}visitAnimateRef(t,n){return{type:H.AnimateRef,animation:this.visitReference(t.animation,n),options:Pi(t.options)}}visitQuery(t,n){const r=n.currentQuerySelector,i=t.options||{};n.queryCount++,n.currentQuery=t;const[o,s]=function F9(e){const t=!!e.split(/\s*,\s*/).find(n=>":self"==n);return t&&(e=e.replace(N9,"")),e=e.replace(/@\*/g,Nu).replace(/@\w+/g,n=>Nu+"-"+n.slice(1)).replace(/:animating/g,M_),[e,t]}(t.selector);n.currentQuerySelector=r.length?r+" "+o:o,Qt(n.collectedStyles,n.currentQuerySelector,new Map);const a=Xt(this,Ja(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:H.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Pi(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(function X6(){return new b(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:Ou(t.timings,n.errors,!0);return{type:H.Stagger,animation:Xt(this,Ja(t.animation),n),timings:r,options:null}}}class L9{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}}function Pi(e){return e?(e={...e}).params&&(e.params=function P9(e){return e?{...e}:null}(e.params)):e={},e}function V_(e,t,n){return{duration:e,delay:t,easing:n}}function B_(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Vu{_map=new Map;get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const U9=new RegExp(":enter","g"),$9=new RegExp(":leave","g");function j_(e,t,n,r,i,o=new Map,s=new Map,a,l,c=[]){return(new G9).buildKeyframes(e,t,n,r,i,o,s,a,l,c)}class G9{buildKeyframes(t,n,r,i,o,s,a,l,c,d=[]){c=c||new Vu;const u=new H_(t,n,c,i,o,d,[]);u.options=l;const h=l.delay?ar(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),Xt(this,r,u);const f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const _=f[m];if(_.element===n){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[B_(n,[],[],[],0,h,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(t.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){const r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(const i of t){const o=i?.delay;if(o){const s="number"==typeof o?o:ar(el(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?ar(r.duration):null,a=null!=r.delay?ar(r.delay):null;return 0!==s&&t.forEach(l=>{const c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,n){n.updateOptions(t.options,!0),Xt(this,t.animation,n),n.previousNode=t}visitSequence(t,n){const r=n.subContextCount;let i=n;const o=t.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==H.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Bu);const s=ar(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Xt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){const r=[];let i=n.currentTimeline.currentTime;const o=t.options&&t.options.delay?ar(t.options.delay):0;t.steps.forEach(s=>{const a=n.createSubContext(t.options);o&&a.delayNextStep(o),Xt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){const r=t.strValue;return Ou(n.params?el(r,n.params,n.errors):r,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){const r=n.currentAnimateTimings=this._visitTiming(t.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=t.style;o.type==H.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=t}visitQuery(t,n){const r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?ar(i.delay):0;o&&(n.previousNode.type===H.Style||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Bu);let s=r;const a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{n.currentQueryIndex=d;const u=n.createSubContext(t.options,c);o&&u.delayNextStep(o),c===n.element&&(l=u.currentTimeline),Xt(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){const r=n.parentContext,i=n.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const d=n.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Xt(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=i.currentTime-u+(i.startTime-r.currentTimeline.startTime)}}const Bu={};class H_{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Bu;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,n,r,i,o,s,a,l){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new ju(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=ar(r.duration)),null!=r.delay&&(i.delay=ar(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=el(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const n=this.options.params;if(n){const r=t.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return t}createSubContext(t=null,n,r){const i=n||this.element,o=new H_(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(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Bu,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){const i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new W9(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(U9,"."+this._enterClassName)).replace($9,"."+this._leaveClassName);let c=this._driver.query(this.element,t,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 J6(){return new b(3014,!1)}()),a}}class ju{_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(t,n,r,i){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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(t){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new ju(this._driver,t,n||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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||sr),this._currentKeyframe.set(n,sr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,i){n&&this._previousKeyframe.set("easing",n);const o=i&&i.params||{},s=function q9(e,t){const n=new Map;let r;return e.forEach(i=>{if("*"===i){r??=t.keys();for(let o of r)n.set(o,sr)}else for(let[o,s]of i)n.set(o,s)}),n}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=el(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??sr),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{const i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,n=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?t.add(u):d===sr&&n.add(u)}),r||c.set("offset",l/this.duration),i.push(c)});const o=[...t.values()],s=[...n.values()];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return B_(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class W9 extends ju{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,n,r,i,o,s,a=!1){super(t,n,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 t=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,l=new Map(t[0]);l.set("offset",0),o.push(l);const c=new Map(t[0]);c.set("offset",AA(a)),o.push(c);const d=t.length-1;for(let u=1;u<=d;u++){let h=new Map(t[u]);const f=h.get("offset");h.set("offset",AA((n+f*r)/s)),o.push(h)}r=s,n=0,i="",t=o}return B_(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function AA(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}function RA(e,t,n,r,i,o,s,a,l,c,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const U_={};class kA{_triggerName;ast;_stateStyles;constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,i){return function Y9(e,t,n,r,i){return e.some(o=>o(t,n,r,i))}(this.ast.matchers,t,n,r,i)}buildStyles(t,n,r){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(n,r):new Map}build(t,n,r,i,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||U_,p=this.buildStyles(r,a&&a.params||U_,u),m=l&&l.params||U_,_=this.buildStyles(i,m,u),v=new Set,y=new Map,I=new Map,T="void"===i,k={params:NA(m,h),delay:this.ast.options?.delay},Q=d?[]:j_(t,n,this.ast.animation,o,s,p,_,k,c,u);let ie=0;return Q.forEach(ge=>{ie=Math.max(ge.duration+ge.delay,ie)}),u.length?RA(n,this._triggerName,r,i,T,p,_,[],[],y,I,ie,u):(Q.forEach(ge=>{const un=ge.element,lr=Qt(y,un,new Set);ge.preStyleProps.forEach(Li=>lr.add(Li));const YA=Qt(I,un,new Set);ge.postStyleProps.forEach(Li=>YA.add(Li)),un!==n&&v.add(un)}),RA(n,this._triggerName,r,i,T,p,_,Q,[...v.values()],y,I,ie))}}function NA(e,t){const n={...t};return Object.entries(e).forEach(([r,i])=>{null!=i&&(n[r]=i)}),n}class K9{styles;defaultParams;normalizer;constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){const r=new Map,i=NA(t,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=el(s,i,n));const l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}}class Q9{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,n.states.forEach(i=>{this.states.set(i.name,new K9(i.style,i.options&&i.options.params||{},r))}),OA(this.states,"true","1"),OA(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new kA(t,i,this.states))}),this.fallbackTransition=function X9(e,t){return new kA(e,{type:H.Transition,animation:{type:H.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,i){return this.transitionFactories.find(s=>s.match(t,n,r,i))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}}function OA(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}const J9=new Vu;class eY{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r}register(t,n){const r=[],o=L_(this._driver,n,r,[]);if(r.length)throw function i9(){return new b(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,n,r){const i=t.element,o=_A(this._normalizer,t.keyframes,n,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){const i=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=j_(this._driver,n,o,wA,T_,new Map,new Map,r,J9,i),s.forEach(d=>{const u=Qt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(i.push(function o9(){return new b(3300,!1)}()),s=[]),i.length)throw function s9(){return new b(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,sr))})});const c=Lr(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){const n=this._playersById.get(t);if(!n)throw function a9(){return new b(3301,!1)}();return n}listen(t,n,r,i){const o=S_(n,"","","");return w_(this._getPlayer(t),r,o,i),()=>{}}command(t,n,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,n,i[0]||{});const o=this._getPlayer(t);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(t)}}}const FA="ng-animate-queued",z_="ng-animate-disabled",oY=[],PA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cn="__ng_removed";class $_{namespaceId;value;options;get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;const r=t&&t.hasOwnProperty("value");if(this.value=function dY(e){return e??null}(r?t.value:t),r){const{value:o,...s}=t;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const n=t.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const tl="void",G_=new $_(tl);class aY{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+t,dn(n,this._hostClassName)}listen(t,n,r,i){if(!this._triggers.has(n))throw function l9(){return new b(3302,!1)}();if(null==r||0==r.length)throw function c9(){return new b(3303,!1)}();if(!function uY(e){return"start"==e||"done"==e}(r))throw function d9(){return new b(3400,!1)}();const o=Qt(this._elementListeners,t,[]),s={name:n,phase:r,callback:i};o.push(s);const a=Qt(this._engine.statesByElement,t,new Map);return a.has(n)||(dn(t,ku),dn(t,ku+"-"+n),a.set(n,G_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return!this._triggers.has(t)&&(this._triggers.set(t,n),!0)}_getTrigger(t){const n=this._triggers.get(t);if(!n)throw function u9(){return new b(3401,!1)}();return n}trigger(t,n,r,i=!0){const o=this._getTrigger(n),s=new W_(this.id,n,t);let a=this._engine.statesByElement.get(t);a||(dn(t,ku),dn(t,ku+"-"+n),this._engine.statesByElement.set(t,a=new Map));let l=a.get(n);const c=new $_(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=G_),c.value!==tl&&l.value===c.value){if(!function pY(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,c.params)){const m=[],_=o.matchStyles(l.value,l.params,m),v=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Fi(t,_),Ln(t,v)})}return}const h=Qt(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==n&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!i)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(dn(t,FA),s.onStart(()=>{ts(t,FA)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(t);if(_){let v=_.indexOf(s);v>=0&&_.splice(v,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){const r=this._engine.driver.query(t,Nu,!0);r.forEach(i=>{if(i[Cn])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,n,r,i){const o=this._engine.statesByElement.get(t),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(t,c,tl,i);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&Lr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){const i=new Set;n.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)||G_,d=new $_(tl),u=new W_(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,n){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,n);else{const o=t[Cn];(!o||o===PA)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){dn(t,this._hostClassName)}drainQueuedTransitions(t){const n=[];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=S_(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,w_(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.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(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class lY{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=(t,n)=>{};_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r}get queuedPlayers(){const t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){const r=new aY(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const l=i.get(a);if(l){const c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let i=this._namespaceLookup[t];i&&i.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const n=new Set,r=this.statesByElement.get(t);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}return n}trigger(t,n,r,i){if(Hu(n)){const o=this._fetchNamespace(t);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(t,n,r,i){if(!Hu(n))return;const o=n[Cn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),dn(t,z_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ts(t,z_))}removeNode(t,n,r){if(Hu(n)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);const o=this.namespacesByHostElement.get(n);o&&o.id!==t&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,i,o){this.collectedLeaveElements.push(n),n[Cn]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,n,r,i,o){return Hu(n)?this._fetchNamespace(t).listen(n,r,i,o):()=>{}}_buildInstruction(t,n,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,n,o)}destroyInnerAnimations(t){let n=this.driver.query(t,Nu,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,M_,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Lr(this.players).onDone(()=>t());t()})}processLeaveNode(t){const n=t[Cn];if(n&&n.setForRemoval){if(t[Cn]=PA,n.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(z_)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];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++)dn(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,t)}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=[],n.length?Lr(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw function f9(){return new b(3402,!1)}()}_flushAnimations(t,n){const r=new Vu,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(M=>{d.add(M);const F=this.driver.query(M,".ng-animate-queued",!0);for(let j=0;j<F.length;j++)d.add(F[j])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=BA(h,this.collectedEnterElements),p=new Map;let m=0;f.forEach((M,F)=>{const j=wA+m++;p.set(F,j),M.forEach(te=>dn(te,j))});const _=[],v=new Set,y=new Set;for(let M=0;M<this.collectedLeaveElements.length;M++){const F=this.collectedLeaveElements[M],j=F[Cn];j&&j.setForRemoval&&(_.push(F),v.add(F),j.hasAnimation?this.driver.query(F,".ng-star-inserted",!0).forEach(te=>v.add(te)):y.add(F))}const I=new Map,T=BA(h,Array.from(v));T.forEach((M,F)=>{const j=T_+m++;I.set(F,j),M.forEach(te=>dn(te,j))}),t.push(()=>{f.forEach((M,F)=>{const j=p.get(F);M.forEach(te=>ts(te,j))}),T.forEach((M,F)=>{const j=I.get(F);M.forEach(te=>ts(te,j))}),_.forEach(M=>{this.processLeaveNode(M)})});const k=[],Q=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(n).forEach(j=>{const te=j.player,rt=j.element;if(k.push(te),this.collectedEnterElements.length){const Et=rt[Cn];if(Et&&Et.setForMove){if(Et.previousTriggersValues&&Et.previousTriggersValues.has(j.triggerName)){const Vi=Et.previousTriggersValues.get(j.triggerName),fn=this.statesByElement.get(j.element);if(fn&&fn.has(j.triggerName)){const zu=fn.get(j.triggerName);zu.value=Vi,fn.set(j.triggerName,zu)}}return void te.destroy()}}const Vn=!u||!this.driver.containsElement(u,rt),Jt=I.get(rt),Vr=p.get(rt),Oe=this._buildInstruction(j,r,Vr,Jt,Vn);if(Oe.errors&&Oe.errors.length)return void Q.push(Oe);if(Vn)return te.onStart(()=>Fi(rt,Oe.fromStyles)),te.onDestroy(()=>Ln(rt,Oe.toStyles)),void i.push(te);if(j.isFallbackTransition)return te.onStart(()=>Fi(rt,Oe.fromStyles)),te.onDestroy(()=>Ln(rt,Oe.toStyles)),void i.push(te);const QA=[];Oe.timelines.forEach(Et=>{Et.stretchStartingKeyframe=!0,this.disabledNodes.has(Et.element)||QA.push(Et)}),Oe.timelines=QA,r.append(rt,Oe.timelines),s.push({instruction:Oe,player:te,element:rt}),Oe.queriedElements.forEach(Et=>Qt(a,Et,[]).push(te)),Oe.preStyleProps.forEach((Et,Vi)=>{if(Et.size){let fn=l.get(Vi);fn||l.set(Vi,fn=new Set),Et.forEach((zu,Z_)=>fn.add(Z_))}}),Oe.postStyleProps.forEach((Et,Vi)=>{let fn=c.get(Vi);fn||c.set(Vi,fn=new Set),Et.forEach((zu,Z_)=>fn.add(Z_))})});if(Q.length){const M=[];Q.forEach(F=>{M.push(function h9(){return new b(3505,!1)}())}),k.forEach(F=>F.destroy()),this.reportError(M)}const ie=new Map,ge=new Map;s.forEach(M=>{const F=M.element;r.has(F)&&(ge.set(F,F),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,ie))}),i.forEach(M=>{const F=M.element;this._getPreviousPlayers(F,!1,M.namespaceId,M.triggerName,null).forEach(te=>{Qt(ie,F,[]).push(te),te.destroy()})});const un=_.filter(M=>HA(M,l,c)),lr=new Map;VA(lr,this.driver,y,c,sr).forEach(M=>{HA(M,l,c)&&un.push(M)});const Li=new Map;f.forEach((M,F)=>{VA(Li,this.driver,new Set(M),l,"!")}),un.forEach(M=>{const F=lr.get(M),j=Li.get(M);lr.set(M,new Map([...F?.entries()??[],...j?.entries()??[]]))});const K_=[],KA=[],ZA={};s.forEach(M=>{const{element:F,player:j,instruction:te}=M;if(r.has(F)){if(d.has(F))return j.onDestroy(()=>Ln(F,te.toStyles)),j.disabled=!0,j.overrideTotalTime(te.totalTime),void i.push(j);let rt=ZA;if(ge.size>1){let Jt=F;const Vr=[];for(;Jt=Jt.parentNode;){const Oe=ge.get(Jt);if(Oe){rt=Oe;break}Vr.push(Jt)}Vr.forEach(Oe=>ge.set(Oe,rt))}const Vn=this._buildAnimation(j.namespaceId,te,ie,o,Li,lr);if(j.setRealPlayer(Vn),rt===ZA)K_.push(j);else{const Jt=this.playersByElement.get(rt);Jt&&Jt.length&&(j.parentPlayer=Lr(Jt)),i.push(j)}}else Fi(F,te.fromStyles),j.onDestroy(()=>Ln(F,te.toStyles)),KA.push(j),d.has(F)&&i.push(j)}),KA.forEach(M=>{const F=o.get(M.element);if(F&&F.length){const j=Lr(F);M.setRealPlayer(j)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M<_.length;M++){const F=_[M],j=F[Cn];if(ts(F,T_),j&&j.hasAnimation)continue;let te=[];if(a.size){let Vn=a.get(F);Vn&&Vn.length&&te.push(...Vn);let Jt=this.driver.query(F,M_,!0);for(let Vr=0;Vr<Jt.length;Vr++){let Oe=a.get(Jt[Vr]);Oe&&Oe.length&&te.push(...Oe)}}const rt=te.filter(Vn=>!Vn.destroyed);rt.length?fY(this,F,rt):this.processLeaveNode(F)}return _.length=0,K_.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();const F=this.players.indexOf(M);this.players.splice(F,1)}),M.play()}),K_}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==tl;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(t,n,r){const o=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const c=l.element,d=c!==o,u=Qt(r,c,[]);this._getPreviousPlayers(c,d,s,a,n.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}Fi(o,n.fromStyles)}_buildAnimation(t,n,r,i,o,s){const a=n.triggerName,l=n.element,c=[],d=new Set,u=new Set,h=n.timelines.map(p=>{const m=p.element;d.add(m);const _=m[Cn];if(_&&_.removedBeforeQueried)return new Xa(p.duration,p.delay);const v=m!==l,y=function hY(e){const t=[];return jA(e,t),t}((r.get(m)||oY).map(ie=>ie.getRealPlayer())).filter(ie=>!!ie.element&&ie.element===m),I=o.get(m),T=s.get(m),k=_A(this._normalizer,p.keyframes,I,T),Q=this._buildPlayer(p,k,y);if(p.subTimeline&&i&&u.add(m),v){const ie=new W_(t,a,m);ie.setRealPlayer(Q),c.push(ie)}return Q});c.forEach(p=>{Qt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function cY(e,t,n){let r=e.get(t);if(r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}return r}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>dn(p,CA));const f=Lr(h);return f.onDestroy(()=>{d.forEach(p=>ts(p,CA)),Ln(l,n.toStyles)}),u.forEach(p=>{Qt(i,p,[]).push(f)}),f}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Xa(t.duration,t.delay)}}class W_{namespaceId;triggerName;element;_player=new Xa;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>w_(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){Qt(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const n=this._player;n.triggerCallback&&n.triggerCallback(t)}}function Hu(e){return e&&1===e.nodeType}function LA(e,t){const n=e.style.display;return e.style.display=t??"none",n}function VA(e,t,n,r,i){const o=[];n.forEach(l=>o.push(LA(l)));const s=[];r.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=t.computeStyle(c,u,i);d.set(u,h),(!h||0==h.length)&&(c[Cn]=sY,s.push(c))}),e.set(c,d)});let a=0;return n.forEach(l=>LA(l,o[a++])),s}function BA(e,t){const n=new Map;if(e.forEach(a=>n.set(a,[])),0==t.length)return n;const i=new Set(t),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=n.has(c)?c:i.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function dn(e,t){e.classList?.add(t)}function ts(e,t){e.classList?.remove(t)}function fY(e,t,n){Lr(n).onDone(()=>e.processLeaveNode(t))}function jA(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof mA?jA(r.players,t):t.push(r)}}function HA(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(o=>i.add(o)):t.set(e,r),n.delete(e),!0}class nl{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,n)=>{};constructor(t,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new lY(t.body,n,r),this._timelineEngine=new eY(t.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,n,r,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],d=L_(this._driver,o,l,[]);if(l.length)throw function n9(){return new b(3404,!1)}();a=function Z9(e,t,n){return new Q9(e,t,n)}(i,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,i){this._transitionEngine.insertNode(t,n,r,i)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,i){if("@"==r.charAt(0)){const[o,s]=yA(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(t,n,r,i)}listen(t,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=yA(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(t,n,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let gY=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i;let o=e.initialStylesByElement.get(n);o||e.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ln(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ln(this._element,this._initialStyles),this._endStyles&&(Ln(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Fi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fi(this._element,this._endStyles),this._endStyles=null),Ln(this._element,this._initialStyles),this._state=3)}}return e})();function q_(e){let t=null;return e.forEach((n,r)=>{(function _Y(e){return"display"===e||"position"===e})(r)&&(t=t||new Map,t.set(r,n))}),t}class UA{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(t,n,r,i){this.element=t,this.keyframes=n,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(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const t=this.keyframes,n=this._triggerWebAnimation(this.element,t,this.options);if(!n)return this._onFinish(),null;this.domPlayer=n,this._finalKeyframe=t.length?t[t.length-1]:new Map;const r=()=>this._onFinish();return n.addEventListener("finish",r),this.onDestroy(()=>{n.removeEventListener("finish",r)}),n}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(t){const n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){const i=this._convertKeyframesToObject(n);try{return t.animate(i,r)}catch{return null}}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){const t=this._buildPlayer();t&&(this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),t.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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=t*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 t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&t.set(i,this._finished?r:k_(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const n="start"===t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class zA{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,n){return bA(t,n)}getParentElement(t){return I_(t)}query(t,n,r){return EA(t,n,r)}computeStyle(t,n,r){return k_(t,n)}animate(t,n,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(f=>f instanceof UA);(function I9(e,t){return 0===e||0===t})(r,i)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function w9(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}(n).map(f=>new Map(f));u=function T9(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<t.length;o++){let s=t[o];i.forEach(a=>s.set(a,k_(e,a)))}}return t}(t,u,c);const h=function mY(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=q_(t[0]),t.length>1&&(r=q_(t[t.length-1]))):t instanceof Map&&(n=q_(t)),n||r?new gY(e,n,r):null}(t,u);return new UA(t,u,l,h)}}const $A="@.disabled";class GA{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,n,r,i){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,i=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,i)}removeChild(t,n,r,i){i?this.delegate.removeChild(t,n,r,i):this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,i){this.delegate.setAttribute(t,n,r,i)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,i){this.delegate.setStyle(t,n,r,i)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){"@"==n.charAt(0)&&n==$A?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r,i){return this.delegate.listen(t,n,r,i)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}}class yY extends GA{factory;constructor(t,n,r,i,o){super(n,r,i,o),this.factory=t,this.namespaceId=n}setProperty(t,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==$A?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r,i){if("@"==n.charAt(0)){const o=function vY(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(t);let s=n.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function bY(e){const t=e.indexOf(".");return[e.substring(0,t),e.slice(t+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,r,l)})}return this.delegate.listen(t,n,r,i)}}class EY{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(t,n){const i=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){const c=this._rendererCache;let d=c.get(i);return d||(d=new GA("",i,this.engine,()=>c.delete(i)),c.set(i,d)),d}const o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return n.data.animation.forEach(a),new yY(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&t<this._microtaskId)return void this._zone.run(()=>n(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([n,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(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}}const WA=[{provide:F_,useFactory:function wY(){return new IA}},{provide:nl,useClass:(()=>{class e extends nl{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||e)(O(we),O(O_),O(F_))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})()},{provide:Nn,useFactory:function CY(e,t,n){return new EY(e,t,n)},deps:[ug,nl,L]}],qA=[{provide:O_,useClass:N_},{provide:Zl,useValue:"NoopAnimations"},...WA],Y_=[{provide:O_,useFactory:()=>new zA},{provide:Zl,useFactory:()=>"BrowserAnimations"},...WA];let SY=(()=>{class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?qA:Y_}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:Y_,imports:[UT]})}return e})();class IY{constructor(t){(function TY(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")})(t),this.displayPropertyName=t.displayPropertyName,this.models=t.models,this.limit=t.limit,this.limitByType=t.limitByType,this.order=t.order,this.offset=t.offset,this.saveInRecents=t.saveInRecents;const n=function MY(e){return{placeholder:e.placeholder??"Search",noResultMessage:e.noResultMessage??"No result found",placeholderFunction:e.placeholderFunction}}(t);this.noResultMessage=n.noResultMessage,this.placeholder=n.placeholder,this.placeholderFunction=n.placeholderFunction;const r=function xY(e){return{categorizeResults:e.categorizeResults??!0,hideRecentSearch:e.hideRecentSearch??!1,hideCategorizeButton:e.hideCategorizeButton??!1,saveInRecentsOnlyOnEnter:e.saveInRecentsOnlyOnEnter??!1,searchOnlyOnEnter:e.searchOnlyOnEnter??!1}}(t);this.categorizeResults=r.categorizeResults,this.hideRecentSearch=r.hideRecentSearch,this.hideCategorizeButton=r.hideCategorizeButton,this.saveInRecentsOnlyOnEnter=r.saveInRecentsOnlyOnEnter,this.searchOnlyOnEnter=r.searchOnlyOnEnter;const i=function AY(e){return{searchIconClass:e.searchIconClass??"icomoon Search",crossIconClass:e.crossIconClass??"icomoon close",dropDownButtonIconClass:e.dropDownButtonIconClass??"icomoon arrow_down",recentSearchIconClass:e.recentSearchIconClass??"icomoon Search"}}(t);this.searchIconClass=i.searchIconClass,this.crossIconClass=i.crossIconClass,this.dropDownButtonIconClass=i.dropDownButtonIconClass,this.recentSearchIconClass=i.recentSearchIconClass}}let RY=(()=>{var e;class t{constructor(r){this.injector=r}ngDoBootstrap(){const r=function Qq(e,t){const n=function $q(e,t){return t.get(Io).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Yq(e,t.injector),i=function zq(e){const t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[function jq(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,i]}),t}(n);class o extends Zq{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.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,h]=i[a];this.ngElementStrategy.setInputValue(u,c,h)}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 n.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}(hA,{injector:this.injector});customElements.define("sourceloop-search-element",r),Object.assign(window,{SearchConfiguration:IY})}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)(O(ve))},this.\u0275mod=Ie({type:t}),this.\u0275inj=ye({imports:[UT,SY,ig,Nx,X8,fA,Ha,g0,E0,Vq,hA]}))}return e(),t})();N3().bootstrapModule(RY).catch(e=>console.error(e))}},Bi=>{Bi(Bi.s=899)}]);
3
+ "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[792],{899:()=>{let Bi;function ns(){return Bi}function Bn(e){const t=Bi;return Bi=e,t}const XA=Symbol("NotFound");function $u(e){return e===XA||"\u0275NotFound"===e?.name}Error;let ft=null,rs=!1,Gu=1;const Xe=Symbol("SIGNAL");function U(e){const t=ft;return ft=e,t}const ji={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 rl(e){if(rs)throw new Error("");if(null===ft)return;ft.consumerOnSignalRead(e);const t=ft.producersTail;if(void 0!==t&&t.producer===e)return;let n;const r=ft.recomputing;if(r&&(n=void 0!==t?t.nextProducer:ft.producers,void 0!==n&&n.producer===e))return ft.producersTail=n,void(n.lastReadVersion=e.version);const i=e.consumersTail;if(void 0!==i&&i.consumer===ft&&(!r||function rR(e,t){const n=t.producersTail;if(void 0!==n){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(void 0!==r)}return!1}(i,ft)))return;const o=Ui(ft),s={producer:e,consumer:ft,nextProducer:n,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};ft.producersTail=s,void 0!==t?t.nextProducer=s:ft.producers=s,o&&ey(e,s)}function is(e){if((!Ui(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Gu)){if(!e.producerMustRecompute(e)&&!ol(e))return void il(e);e.producerRecomputeValue(e),il(e)}}function X_(e){if(void 0===e.consumers)return;const t=rs;rs=!0;try{for(let n=e.consumers;void 0!==n;n=n.nextConsumer){const r=n.consumer;r.dirty||eR(r)}}finally{rs=t}}function J_(){return!1!==ft?.consumerAllowSignalWrites}function eR(e){e.dirty=!0,X_(e),e.consumerMarkedDirty?.(e)}function il(e){e.dirty=!1,e.lastCleanEpoch=Gu}function Hi(e){return e&&function tR(e){e.producersTail=void 0,e.recomputing=!0}(e),U(e)}function os(e,t){U(t),e&&function nR(e){e.recomputing=!1;const t=e.producersTail;let n=void 0!==t?t.nextProducer:e.producers;if(void 0!==n){if(Ui(e))do{n=Yu(n)}while(void 0!==n);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function ol(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){const n=t.producer,r=t.lastReadVersion;if(r!==n.version||(is(n),r!==n.version))return!0}return!1}function ss(e){if(Ui(e)){let t=e.producers;for(;void 0!==t;)t=Yu(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ey(e,t){const n=e.consumersTail,r=Ui(e);if(void 0!==n?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let i=e.producers;void 0!==i;i=i.nextProducer)ey(i.producer,i)}function Yu(e){const t=e.producer,n=e.nextProducer,r=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==r?r.prevConsumer=i:t.consumersTail=i,void 0!==i)i.nextConsumer=r;else if(t.consumers=r,!Ui(t)){let o=t.producers;for(;void 0!==o;)o=Yu(o)}return n}function Ui(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function Zu(e,t){return Object.is(e,t)}function ty(e,t){const n=Object.create(iR);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(is(n),rl(n),n.value===cr)throw n.error;return n.value};return r[Xe]=n,r}const Br=Symbol("UNSET"),zi=Symbol("COMPUTING"),cr=Symbol("ERRORED"),iR={...ji,value:Br,dirty:!0,error:null,equal:Zu,kind:"computed",producerMustRecompute:e=>e.value===Br||e.value===zi,producerRecomputeValue(e){if(e.value===zi)throw new Error("");const t=e.value;e.value=zi;const n=Hi(e);let r,i=!1;try{r=e.computation(),U(null),i=t!==Br&&t!==cr&&r!==cr&&e.equal(t,r)}catch(o){r=cr,e.error=o}finally{os(e,n)}i?e.value=t:(e.value=r,e.version++)}};let ny=function oR(){throw new Error};function ry(e){ny(e)}function aR(e,t){const n=Object.create(oy);n.value=e,void 0!==t&&(n.equal=t);const r=()=>function lR(e){return rl(e),e.value}(n);return r[Xe]=n,[r,s=>Qu(n,s),s=>function iy(e,t){J_()||ry(e),Qu(e,t(e.value))}(n,s)]}function Qu(e,t){J_()||ry(e),e.equal(e.value,t)||(e.value=t,function cR(e){e.version++,function JA(){Gu++}(),X_(e)}(e))}const oy={...ji,equal:Zu,value:void 0,kind:"signal"};function Ee(e){return"function"==typeof e}function sy(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Xu=sy(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function al(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ae{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Ee(r))try{r()}catch(o){t=o instanceof Xu?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{cy(o)}catch(s){t=t??[],s instanceof Xu?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Xu(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cy(t);else{if(t instanceof Ae){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&al(n,t)}remove(t){const{_finalizers:n}=this;n&&al(n,t),t instanceof Ae&&t._removeParent(this)}}Ae.EMPTY=(()=>{const e=new Ae;return e.closed=!0,e})();const ay=Ae.EMPTY;function ly(e){return e instanceof Ae||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function cy(e){Ee(e)?e():e.unsubscribe()}const jr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ll={setTimeout(e,t,...n){const{delegate:r}=ll;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ll;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function dy(e){ll.setTimeout(()=>{const{onUnhandledError:t}=jr;if(!t)throw e;t(e)})}function Ju(){}const dR=ef("C",void 0,void 0);function ef(e,t,n){return{kind:e,value:t,error:n}}let Hr=null;function cl(e){if(jr.useDeprecatedSynchronousErrorHandling){const t=!Hr;if(t&&(Hr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Hr;if(Hr=null,n)throw r}}else e()}class tf extends Ae{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ly(t)&&t.add(this)):this.destination=_R}static create(t,n,r){return new as(t,n,r)}next(t){this.isStopped?rf(function fR(e){return ef("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?rf(function uR(e){return ef("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?rf(dR,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const pR=Function.prototype.bind;function nf(e,t){return pR.call(e,t)}class mR{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){dl(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){dl(r)}else dl(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){dl(n)}}}class as extends tf{constructor(t,n,r){let i;if(super(),Ee(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&jr.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&nf(t.next,o),error:t.error&&nf(t.error,o),complete:t.complete&&nf(t.complete,o)}):i=t}this.destination=new mR(i)}}function dl(e){jr.useDeprecatedSynchronousErrorHandling?function hR(e){jr.useDeprecatedSynchronousErrorHandling&&Hr&&(Hr.errorThrown=!0,Hr.error=e)}(e):dy(e)}function rf(e,t){const{onStoppedNotification:n}=jr;n&&ll.setTimeout(()=>n(e,t))}const _R={closed:!0,next:Ju,error:function gR(e){throw e},complete:Ju},sf="function"==typeof Symbol&&Symbol.observable||"@@observable";function ls(e){return e}let De=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const o=function vR(e){return e&&e instanceof tf||function yR(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(e)&&ly(e)}(n)?n:new as(n,r,i);return cl(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=fy(r))((i,o)=>{const s=new as({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[sf](){return this}pipe(...n){return function uy(e){return 0===e.length?ls:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}(n)(this)}toPromise(n){return new(n=fy(n))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=t=>new e(t),e})();function fy(e){var t;return null!==(t=e??jr.Promise)&&void 0!==t?t:Promise}const bR=sy(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let X=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new hy(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new bR}next(n){cl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){cl(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){cl(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:o}=this;return r||i?ay:(this.currentObservers=null,o.push(n),new Ae(()=>{this.currentObservers=null,al(o,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){const n=new De;return n.source=this,n}}return e.create=(t,n)=>new hy(t,n),e})();class hy extends X{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:ay}}class ER extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}const my="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class b extends Error{code;constructor(t,n){super(function en(e,t){return`${function DR(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}(t,n)),this.code=t}}const Fe=globalThis;function re(e){for(let t in e)if(e[t]===re)return t;throw Error("")}function wR(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Rt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Rt).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function af(e,t){return e?t?`${e} ${t}`:e:t||""}const CR=re({__forward_ref__:re});function _e(e){return e.__forward_ref__=_e,e.toString=function(){return Rt(this())},e}function q(e){return ul(e)?e():e}function ul(e){return"function"==typeof e&&e.hasOwnProperty(CR)&&e.__forward_ref__===_e}function S(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ye(e){return{providers:e.providers||[],imports:e.imports||[]}}function fl(e){return function AR(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,pl)}function hl(e){return e&&e.hasOwnProperty(lf)?e[lf]:null}const pl=re({\u0275prov:re}),lf=re({\u0275inj:re});class D{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=S({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function df(e){return e&&!!e.\u0275providers}const uf=re({\u0275cmp:re}),PR=re({\u0275dir:re}),LR=re({\u0275pipe:re}),gy=re({\u0275mod:re}),zr=re({\u0275fac:re}),fs=re({__NG_ELEMENT_ID__:re}),_y=re({__NG_ENV_ID__:re});function G(e){return"string"==typeof e?e:null==e?"":String(e)}const ff=re({ngErrorCode:re}),yy=re({ngErrorMessage:re}),hs=re({ngTokenPath:re});function hf(e,t){return vy("",-200,t)}function pf(e,t){throw new b(-201,!1)}function vy(e,t,n){const r=new b(t,e);return r[ff]=t,r[yy]=e,n&&(r[hs]=n),r}let mf;function by(){return mf}function kt(e){const t=mf;return mf=e,t}function Ey(e,t,n){const r=fl(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:8&n?null:void 0!==t?t:void pf()}const $r={};class zR{injector;constructor(t){this.injector=t}retrieve(t,n){const r=ps(n)||0;try{return this.injector.get(t,8&r?null:$r,r)}catch(i){if($u(i))return i;throw i}}}function $R(e,t=0){const n=ns();if(void 0===n)throw new b(-203,!1);if(null===n)return Ey(e,void 0,t);{const r=function GR(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),i=n.retrieve(e,r);if($u(i)){if(r.optional)return null;throw i}return i}}function O(e,t=0){return(by()||$R)(q(e),t)}function g(e,t){return O(e,ps(t))}function ps(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function _f(e){const t=[];for(let n=0;n<e.length;n++){const r=q(e[n]);if(Array.isArray(r)){if(0===r.length)throw new b(900,!1);let i,o=0;for(let s=0;s<r.length;s++){const a=r[s],l=WR(a);"number"==typeof l?-1===l?i=a.token:o|=l:i=a}t.push(O(i,o))}else t.push(O(r))}return t}function WR(e){return e.__NG_DI_FLAG__}function Gr(e,t){return e.hasOwnProperty(zr)?e[zr]:null}function $i(e,t){e.forEach(n=>Array.isArray(n)?$i(n,t):t(n))}function wy(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function gl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function yl(e,t,n){let r=gs(e,t);return r>=0?e[1|r]=n:(r=~r,function Sy(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function yf(e,t){const n=gs(e,t);if(n>=0)return e[1|n]}function gs(e,t){return function YR(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=e[o<<n];if(t===s)return o<<n;s>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const Sn={},he=[],Wr=new D(""),Iy=new D("",-1),vf=new D("");class vl{get(t,n=$r){if(n===$r){const i=vy("",-201);throw i.name="\u0275NotFound",i}return n}}function oe(e){return e[uf]||null}function Dt(e){return e[PR]||null}function hn(e){return e[LR]||null}function ZR(...e){return{\u0275providers:Df(0,e),\u0275fromNgModule:!0}}function Df(e,...t){const n=[],r=new Set;let i;const o=s=>{n.push(s)};return $i(t,s=>{const a=s;bl(a,o,[],r)&&(i||=[],i.push(a))}),void 0!==i&&Ty(i,o),n}function Ty(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];wf(i,o=>{t(o,r)})}}function bl(e,t,n,r){if(!(e=q(e)))return!1;let i=null,o=hl(e);const s=!o&&oe(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=hl(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)bl(c,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{$i(o.imports,d=>{bl(d,t,n,r)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Ty(c,t)}if(!a){const c=Gr(i)||(()=>new i);t({provide:i,useFactory:c,deps:he},i),t({provide:vf,useValue:i,multi:!0},i),t({provide:Wr,useValue:()=>O(i),multi:!0},i)}const l=o.providers;if(null!=l&&!a){const c=e;wf(l,d=>{t(d,c)})}}}return i!==e&&void 0!==e.providers}function wf(e,t){for(let n of e)df(n)&&(n=n.\u0275providers),Array.isArray(n)?wf(n,t):t(n)}const QR=re({provide:String,useValue:re});function Cf(e){return null!==e&&"object"==typeof e&&QR in e}function jn(e){return"function"==typeof e}const Sf=new D(""),El={},Ry={};let If;function Dl(){return void 0===If&&(If=new vl),If}class pt{}class qr extends pt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Mf(t,s=>this.processProvider(s)),this.records.set(Iy,Gi(void 0,this)),i.has("environment")&&this.records.set(pt,Gi(void 0,this));const o=this.records.get(Sf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(vf,he,{self:!0}))}retrieve(t,n){const r=ps(n)||0;try{return this.get(t,$r,r)}catch(i){if($u(i))return i;throw i}}destroy(){ys(this),this._destroyed=!0;const t=U(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),U(t)}}onDestroy(t){return ys(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ys(this);const n=Bn(this),r=kt(void 0);try{return t()}finally{Bn(n),kt(r)}}get(t,n=$r,r){if(ys(this),t.hasOwnProperty(_y))return t[_y](this);const i=ps(r),s=Bn(this),a=kt(void 0);try{if(!(4&i)){let c=this.records.get(t);if(void 0===c){const d=function nk(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(t)&&fl(t);c=d&&this.injectableDefInScope(d)?Gi(Tf(t),El):null,this.records.set(t,c)}if(null!=c)return this.hydrate(t,c,i)}return(2&i?Dl():this.parent).get(t,n=8&i&&n===$r?null:n)}catch(l){const c=function HR(e){return e[ff]}(l);throw-200===c||-201===c?new b(c,null):l}finally{kt(a),Bn(s)}}resolveInjectorInitializers(){const t=U(null),n=Bn(this),r=kt(void 0);try{const o=this.get(Wr,he,{self:!0});for(const s of o)s()}finally{Bn(n),kt(r),U(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Rt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=jn(t=q(t))?t:q(t&&t.provide);const r=function JR(e){return Cf(e)?Gi(void 0,e.useValue):Gi(ky(e),El)}(t);if(!jn(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Gi(void 0,El,!0),i.factory=()=>_f(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){const i=U(null);try{if(n.value===Ry)throw hf(Rt(t));return n.value===El&&(n.value=Ry,n.value=n.factory(void 0,r)),"object"==typeof n.value&&n.value&&function tk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{U(i)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=q(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function Tf(e){const t=fl(e),n=null!==t?t.factory:Gr(e);if(null!==n)return n;if(e instanceof D)throw new b(204,!1);if(e instanceof Function)return function XR(e){if(e.length>0)throw new b(204,!1);const n=function RR(e){return(e?.[pl]??null)||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new b(204,!1)}function ky(e,t,n){let r;if(jn(e)){const i=q(e);return Gr(i)||Tf(i)}if(Cf(e))r=()=>q(e.useValue);else if(function xy(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(..._f(e.deps||[]));else if(function My(e){return!(!e||!e.useExisting)}(e))r=(i,o)=>O(q(e.useExisting),void 0!==o&&8&o?8:void 0);else{const i=q(e&&(e.useClass||e.provide));if(!function ek(e){return!!e.deps}(e))return Gr(i)||Tf(i);r=()=>new i(..._f(e.deps))}return r}function ys(e){if(e.destroyed)throw new b(205,!1)}function Gi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Mf(e,t){for(const n of e)Array.isArray(n)?Mf(n,t):n&&df(n)?Mf(n.\u0275providers,t):t(n)}function xf(e,t){let n;e instanceof qr?(ys(e),n=e):n=new zR(e);const i=Bn(n),o=kt(void 0);try{return t()}finally{Bn(i),kt(o)}}function Af(){return void 0!==by()||null!=ns()}const W=11,P=27;function Re(e){return Array.isArray(e)&&"object"==typeof e[1]}function wt(e){return Array.isArray(e)&&!0===e[1]}function Oy(e){return!!(4&e.flags)}function zn(e){return e.componentOffset>-1}function Zi(e){return!(1&~e.flags)}function qt(e){return!!e.template}function mr(e){return!!(512&e[2])}function $n(e){return!(256&~e[2])}function et(e){for(;Array.isArray(e);)e=e[0];return e}function Qi(e,t){return et(t[e])}function Ue(e,t){return et(t[e.index])}function Xi(e,t){return e.data[t]}function Ct(e,t){const n=t[e];return Re(n)?n:n[0]}function Of(e){return!(128&~e[2])}function gt(e,t){return null==t?null:e[t]}function jy(e){e[17]=0}function Ff(e){1024&e[2]||(e[2]|=1024,Of(e)&&Ji(e))}function Es(e){return!!(9216&e[2]||e[24]?.dirty)}function Pf(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Es(e)&&Ji(e)}function Ji(e){e[10].changeDetectionScheduler?.notify(0);let t=Gn(e);for(;null!==t&&!(8192&t[2])&&(t[2]|=8192,Of(t));)t=Gn(t)}function Il(e,t){if($n(e))throw new b(911,!1);null===e[21]&&(e[21]=[]),e[21].push(t)}function Gn(e){const t=e[3];return wt(t)?t[3]:t}function Uy(e){return e[7]??=[]}function zy(e){return e.cleanup??=[]}const z={lFrame:iv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Bf=!1;function $y(){z.lFrame.elementDepthCount--}function jf(){return z.bindingsEnabled}function Gy(){return null!==z.skipHydrationRootTNode}function Wy(e){return z.skipHydrationRootTNode===e}function qy(){z.skipHydrationRootTNode=null}function E(){return z.lFrame.lView}function Y(){return z.lFrame.tView}function it(e){return z.lFrame.contextLView=e,e[8]}function ot(e){return z.lFrame.contextLView=null,e}function $(){let e=Yy();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yy(){return z.lFrame.currentTNode}function Wn(e,t){const n=z.lFrame;n.currentTNode=e,n.isParent=t}function Ky(){return z.lFrame.isParent}function Zy(){z.lFrame.isParent=!1}function Jy(){return Bf}function Tl(e){const t=Bf;return Bf=e,t}function Nt(){return z.lFrame.bindingIndex++}function Yn(e){const t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mk(e,t){const n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,Hf(t)}function Hf(e){z.lFrame.currentDirectiveIndex=e}function zf(){return z.lFrame.currentQueryIndex}function Ml(e){z.lFrame.currentQueryIndex=e}function _k(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[5]:null}function nv(e,t,n){if(4&n){let i=t,o=e;for(;!(i=i.parent,null!==i||1&n||(i=_k(o),null===i||(o=o[14],10&i.type))););if(null===i)return!1;t=i,e=o}const r=z.lFrame=rv();return r.currentTNode=t,r.lView=e,!0}function $f(e){const t=rv(),n=e[1];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function rv(){const e=z.lFrame,t=null===e?null:e.child;return null===t?iv(e):t}function iv(e){const t={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=t),t}function ov(){const e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sv=ov;function Gf(){const e=ov();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 st(){return z.lFrame.selectedIndex}function Xr(e){z.lFrame.selectedIndex=e}function Tn(){const e=z.lFrame;return Xi(e.tView,e.selectedIndex)}let lv=!0;function xl(){return lv}function ws(e){lv=e}function cv(e,t=null,n=null,r){const i=dv(e,t,n,r);return i.resolveInjectorInitializers(),i}function dv(e,t=null,n=null,r,i=new Set){const o=[n||he,ZR(e)];return r=r||("object"==typeof e?void 0:Rt(e)),new qr(o,t||Dl(),r||null,i)}class ve{static THROW_IF_NOT_FOUND=$r;static NULL=new vl;static create(t,n){if(Array.isArray(t))return cv({name:""},n,t,"");{const r=t.name??"";return cv({name:r},t.parent,t.providers,r)}}static \u0275prov=S({token:ve,providedIn:"any",factory:()=>O(Iy)});static __NG_ELEMENT_ID__=-1}const we=new D("");let Mn=(()=>class e{static __NG_ELEMENT_ID__=wk;static __NG_ENV_ID__=n=>n})();class uv extends Mn{_lView;constructor(t){super(),this._lView=t}get destroyed(){return $n(this._lView)}onDestroy(t){const n=this._lView;return Il(n,t),()=>function Lf(e,t){if(null===e[21])return;const n=e[21].indexOf(t);-1!==n&&e[21].splice(n,1)}(n,t)}}function wk(){return new uv(E())}class Kn{_console=console;handleError(t){this._console.error("ERROR",t)}}const Zn=new D("",{providedIn:"root",factory:()=>{const e=g(pt);let t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Kn),t.handleError(n))}}}),Ck={provide:Wr,useValue:()=>{g(Kn)},multi:!0};function to(e){return"function"==typeof e&&void 0!==e[Xe]}function Ot(e,t){const[n,r,i]=aR(e,t?.equal),o=n;return o.set=r,o.update=i,o.asReadonly=Wf.bind(o),o}function Wf(){const e=this[Xe];if(void 0===e.readonlyFn){const t=()=>this();t[Xe]=e,e.readonlyFn=t}return e.readonlyFn}function fv(e){return to(e)&&"function"==typeof e.set}let Al=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ik})();function Ik(){return new Al(E(),$())}class gr{}const hv=new D("",{providedIn:"root",factory:()=>!1}),pv=new D(""),mv=new D("");let Jr=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ER(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new De(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),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=S({token:e,providedIn:"root",factory:()=>new e})}return e})(),Rl=(()=>{class e{internalPendingTasks=g(Jr);scheduler=g(gr);errorHandler=g(Zn);add(){const n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){const r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();function Cs(...e){}let gv=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>new Tk})}return e})();class Tk{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(const[n,r]of this.queues)t||=null===n?this.flushQueue(r):n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(const r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}}let _v=null;function _r(){return _v}class xk{}let yv=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>g(Ak),providedIn:"platform"})}return e})(),Ak=(()=>{class e extends yv{_location;_history;_doc=g(we);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _r().getBaseHref(this._doc)}onPopState(n){const r=_r().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=_r().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,i){this._history.pushState(n,r,i)}replaceState(n,r,i){this._history.replaceState(n,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function vv(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function bv(e){const t=e.search(/#|\?|$/);return"/"===e[t-1]?e.slice(0,t-1)+e.slice(t):e}function ei(e){return e&&"?"!==e[0]?`?${e}`:e}let qf=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:()=>g(kk),providedIn:"root"})}return e})();const Rk=new D("");let kk=(()=>{class e extends qf{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(we).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return vv(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+ei(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${r}${i}`:r}pushState(n,r,i,o){const s=this.prepareExternalUrl(i+ei(o));this._platformLocation.pushState(n,r,s)}replaceState(n,r,i,o){const s=this.prepareExternalUrl(i+ei(o));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static \u0275fac=function(r){return new(r||e)(O(yv),O(Rk,8))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ev=(()=>{class e{_subject=new X;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function Fk(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(bv(Dv(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(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ei(r))}normalize(n){return e.stripTrailingSlash(function Ok(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,Dv(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",i=null){this._locationStrategy.pushState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ei(r)),i)}replaceState(n,r="",i=null){this._locationStrategy.replaceState(i,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ei(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(i=>i(n,r))}subscribe(n,r,i){return this._subject.subscribe({next:n,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=ei;static joinWithSlash=vv;static stripTrailingSlash=bv;static \u0275fac=function(r){return new(r||e)(O(qf))};static \u0275prov=S({token:e,factory:()=>function Nk(){return new Ev(O(qf))}(),providedIn:"root"})}return e})();function Dv(e){return e.replace(/\/index.html$/,"")}function wv(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[i,o]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===t)return decodeURIComponent(o)}return null}class Cv{}const Sv="browser";function Iv(e){return e===Sv}function at(e){return t=>{if(function uN(e){return Ee(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function tt(e,t,n,r,i){return new fN(e,t,n,r,i)}class fN extends tf{constructor(t,n,r,i,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function qe(e,t){return at((n,r)=>{let i=0;n.subscribe(tt(r,o=>{r.next(e.call(t,o,i++))}))})}function Qn(e){return{toString:e}.toString()}class wN{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hv(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const on=(()=>{const e=()=>Uv;return e.ngInherit=!0,e})();function Uv(e){return e.type.prototype.ngOnChanges&&(e.setInput=SN),CN}function CN(){const e=$v(this),t=e?.current;if(t){const n=e.previous;if(n===Sn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function SN(e,t,n,r,i){const o=this.declaredInputs[r],s=$v(e)||function IN(e,t){return e[zv]=t}(e,{previous:Sn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new wN(c&&c.currentValue,n,l===Sn),Hv(e,t,i,n)}const zv="__ngSimpleChanges__";function $v(e){return e[zv]||null}const ni=[],de=function(e,t=null,n){for(let r=0;r<ni.length;r++)(0,ni[r])(e,t,n)};function Gv(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),l&&(e.viewHooks??=[]).push(-n,l),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),null!=d&&(e.destroyHooks??=[]).push(n,d)}}function Ll(e,t,n){Wv(e,t,3,n)}function Vl(e,t,n,r){(3&e[2])===n&&Wv(e,t,n,r)}function Jf(e,t){let n=e[2];(3&n)===t&&(n&=16383,n+=1,e[2]=n)}function Wv(e,t,n,r){const o=r??-1,s=t.length-1;let a=0;for(let l=void 0!==r?65535&e[17]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=r&&a>=r)break}else t[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(RN(e,n,t,l),e[17]=(4294901760&e[17])+l+2),l++}function qv(e,t){de(4,e,t);const n=U(null);try{t.call(e)}finally{U(n),de(5,e,t)}}function RN(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>14<e[17]>>16&&(3&e[2])===t&&(e[2]+=16384,qv(a,o)):qv(a,o)}class xs{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,i){this.factory=t,this.name=i,this.canSeeViewProviders=n,this.injectImpl=r}}function Kv(e){return 3===e||4===e||6===e}function Zv(e){return 64===e.charCodeAt(0)}function ao(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||Qv(e,n,i,0,-1===n||2===n?t[++r]:null)}}return e}function Qv(e,t,n,r,i){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n)return void(null!==i&&(e[o+1]=i));o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i)}function th(e){return-1!==e}function As(e){return 32767&e}function Rs(e,t){let n=function FN(e){return e>>16}(e),r=t;for(;n>0;)r=r[14],n--;return r}let nh=!0;function Bl(e){const t=nh;return nh=e,t}let PN=0;const xn={};function jl(e,t){const n=eb(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,rh(r.data,e),rh(t,null),rh(r.blueprint,null));const i=Hl(e,t),o=e.injectorIndex;if(th(i)){const s=As(i),a=Rs(i,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=i,o}function rh(e,t){e.push(0,0,0,0,0,0,0,0,t)}function eb(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Hl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=ab(i),null===r)return-1;if(n++,i=i[14],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ih(e,t,n){!function LN(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(fs)&&(r=n[fs]),null==r&&(r=n[fs]=PN++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function tb(e,t,n){if(8&n||void 0!==e)return e;pf()}function nb(e,t,n,r){if(8&n&&void 0===r&&(r=null),!(3&n)){const i=e[9],o=kt(void 0);try{return i?i.get(t,r,8&n):Ey(t,r,8&n)}finally{kt(o)}}return tb(r,0,n)}function rb(e,t,n,r=0,i){if(null!==e){if(2048&t[2]&&!(2&r)){const s=function UN(e,t,n,r,i){let o=e,s=t;for(;null!==o&&null!==s&&2048&s[2]&&!mr(s);){const a=ib(o,s,n,2|r,xn);if(a!==xn)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(n,xn,r);if(d!==xn)return d}l=ab(s),s=s[14]}o=l}return i}(e,t,n,r,xn);if(s!==xn)return s}const o=ib(e,t,n,r,xn);if(o!==xn)return o}return nb(t,n,r,i)}function ib(e,t,n,r,i){const o=function jN(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(fs)?e[fs]:void 0;return"number"==typeof t?t>=0?255&t:HN:t}(n);if("function"==typeof o){if(!nv(t,e,r))return 1&r?tb(i,0,r):nb(t,n,r,i);try{let s;if(s=o(r),null!=s||8&r)return s;pf()}finally{sv()}}else if("number"==typeof o){let s=null,a=eb(e,t),l=-1,c=1&r?t[15][5]:null;for((-1===a||4&r)&&(l=-1===a?Hl(e,t):t[a+8],-1!==l&&sb(r,!1)?(s=t[1],a=As(l),t=Rs(l,t)):a=-1);-1!==a;){const d=t[1];if(ob(o,a,d.data)){const u=BN(a,t,n,s,r,c);if(u!==xn)return u}l=t[a+8],-1!==l&&sb(r,t[1].data[a+8]===c)&&ob(o,a,t)?(s=d,a=As(l),t=Rs(l,t)):a=-1}}return i}function BN(e,t,n,r,i,o){const s=t[1],a=s.data[e+8],d=Ul(a,s,n,null==r?zn(a)&&nh:r!=s&&!!(3&a.type),1&i&&o===a);return null!==d?ks(t,s,d,a,i):xn}function Ul(e,t,n,r,i){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=i?a+d:e.directiveEnd;for(let f=r?a:a+d;f<h;f++){const p=s[f];if(f<l&&n===p||f>=l&&p.type===n)return f}if(i){const f=s[l];if(f&&qt(f)&&f.type===n)return l}return null}function ks(e,t,n,r,i){let o=e[n];const s=t.data;if(o instanceof xs){const a=o;if(a.resolving)throw function ee(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():G(e)}(s[n]),hf();const l=Bl(a.canSeeViewProviders);a.resolving=!0;const u=a.injectImpl?kt(a.injectImpl):null;nv(e,r,0);try{o=e[n]=a.factory(void 0,i,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function AN(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const s=Uv(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,s[n],t)}finally{null!==u&&kt(u),Bl(l),a.resolving=!1,sv()}}return o}function ob(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function sb(e,t){return!(2&e||1&e&&t)}class Le{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rb(this._tNode,this._lView,t,ps(r),n)}}function HN(){return new Le($(),E())}function nt(e){return Qn(()=>{const t=e.prototype.constructor,n=t[zr]||oh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[zr]||oh(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function oh(e){return ul(e)?()=>{const t=oh(q(e));return t&&t()}:Gr(e)}function ab(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[5]:null}function ZN(){return lo($(),E())}function lo(e,t){return new Ce(Ue(e,t))}let Ce=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=ZN})();function fb(e){return e instanceof Ce?e.nativeElement:e}function QN(){return this._results[Symbol.iterator]()}class Gl{_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 X}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function tn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function qR(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,r,n))&&(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(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=QN}function Ns(e){return!(128&~e.flags)}var Wl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Wl||{});const ql=new Map;let eO=0;function lh(e){ql.delete(e[19])}const dh="__ngContext__";function Pt(e,t){Re(t)?(e[dh]=t[19],function nO(e){ql.set(e[19],e)}(t)):e[dh]=t}function wb(e){return Sb(e[12])}function Cb(e){return Sb(e[4])}function Sb(e){for(;null!==e&&!wt(e);)e=e[4];return e}let uh;function vr(){if(void 0!==uh)return uh;if(typeof document<"u")return document;throw new b(210,!1)}const co=new D("",{providedIn:"root",factory:()=>CO}),CO="ng",kb=new D(""),Kl=new D("",{providedIn:"platform",factory:()=>"unknown"}),Zl=new D(""),fh=new D("",{providedIn:"root",factory:()=>vr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),kO=new D("",{providedIn:"root",factory:()=>!1});function ec(e){return!(32&~e.flags)}function rE(e,t){const n=e.contentQueries;if(null!==n){const r=U(null);try{for(let i=0;i<n.length;i+=2){const s=n[i+1];if(-1!==s){const a=e.data[s];Ml(n[i]),a.contentQueries(2,t[s],s)}}}finally{U(r)}}}function Ah(e,t,n){Ml(0);const r=U(null);try{t(e,n)}finally{U(r)}}function Rh(e,t,n){if(Oy(t)){const r=U(null);try{const o=t.directiveEnd;for(let s=t.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}finally{U(r)}}}var Xn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Xn||{});let ac,lc;function mo(e){return function aE(){if(void 0===ac&&(ac=null,Fe.trustedTypes))try{ac=Fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ac}()?.createHTML(e)||e}function lE(e){return function Oh(){if(void 0===lc&&(lc=null,Fe.trustedTypes))try{lc=Fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return lc}()?.createHTML(e)||e}class ii{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${my})`}}class dF extends ii{getTypeName(){return"HTML"}}class uF extends ii{getTypeName(){return"Style"}}class fF extends ii{getTypeName(){return"Script"}}class hF extends ii{getTypeName(){return"URL"}}class pF extends ii{getTypeName(){return"ResourceURL"}}function Yt(e){return e instanceof ii?e.changingThisBreaksApplicationSecurity:e}function An(e,t){const n=function mF(e){return e instanceof ii&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${my})`)}return n===t}class EF{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(mo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class DF{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=mo(t),n}}const CF=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cc(e){return(e=String(e)).match(CF)?e:"unsafe:"+e}function Jn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ls(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const fE=Jn("area,br,col,hr,img,wbr"),hE=Jn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pE=Jn("rp,rt"),Fh=Ls(fE,Ls(hE,Jn("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")),Ls(pE,Jn("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")),Ls(pE,hE)),Ph=Jn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mE=Ls(Ph,Jn("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"),Jn("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")),SF=Jn("script,style,template");class IF{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=xF(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=MF(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=gE(t).toLowerCase();if(!Fh.hasOwnProperty(n))return this.sanitizedSomething=!0,!SF.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),s=o.name,a=s.toLowerCase();if(!mE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;Ph[a]&&(l=cc(l)),this.buf.push(" ",s,'="',yE(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=gE(t).toLowerCase();Fh.hasOwnProperty(n)&&!fE.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(yE(t))}}function MF(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw _E(t);return t}function xF(e){const t=e.firstChild;if(t&&function TF(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw _E(t);return t}function gE(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function _E(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const AF=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RF=/([^\#-~ |!])/g;function yE(e){return e.replace(/&/g,"&amp;").replace(AF,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(RF,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let dc;function vE(e,t){let n=null;try{dc=dc||function uE(e){const t=new DF(e);return function wF(){try{return!!(new window.DOMParser).parseFromString(mo(""),"text/html")}catch{return!1}}()?new EF(t):t}(e);let r=t?String(t):"";n=dc.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=n.innerHTML,n=dc.getInertBodyElement(r)}while(r!==o);return mo((new IF).sanitizeChildren(Lh(n)||n))}finally{if(n){const r=Lh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Lh(e){return"content"in e&&function kF(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const NF=/^>|^->|<!--|-->|--!>|<!-$/g,OF=/(<|>)/g;function Bh(e,t){return e.createComment(function bE(e){return e.replace(NF,t=>t.replace(OF,"\u200b$1\u200b"))}(t))}function uc(e,t,n){return e.createElement(t,n)}function oi(e,t,n,r,i){e.insertBefore(t,n,r,i)}function DE(e,t,n){e.appendChild(t,n)}function wE(e,t,n,r,i){null!==r?oi(e,t,n,r,i):DE(e,t,n)}function SE(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&function ON(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,o)}else{const o=i,s=n[++r];Zv(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),r++}}}(e,t,r),null!==i&&function LF(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==o&&function PF(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}var lt=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}(lt||{});function jh(e){const t=Bs();return t?lE(t.sanitize(lt.HTML,e)||""):An(e,"HTML")?lE(Yt(e)):vE(vr(),G(e))}function fc(e){const t=Bs();return t?t.sanitize(lt.URL,e)||"":An(e,"URL")?Yt(e):cc(G(e))}function Bs(){const e=E();return e&&e[10].sanitizer}function tP(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const RE="ng-template";function nP(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==tP(t[i+1].toLowerCase(),n,0))return!0}else if(Hh(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function Hh(e){return 4===e.type&&e.value!==RE}function rP(e,t,n){return t===(4!==e.type||n?e.value:RE)}function iP(e,t,n){let r=4;const i=e.attrs,o=null!==i?function aP(e){for(let t=0;t<e.length;t++)if(Kv(e[t]))return t;return e.length}(i):0;let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&r){if(r=2|1&r,""!==l&&!rP(e,l,n)||""===l&&1===t.length){if(pn(r))return!1;s=!0}}else if(8&r){if(null===i||!nP(e,i,l,n)){if(pn(r))return!1;s=!0}}else{const c=t[++a],d=oP(l,i,Hh(e),n);if(-1===d){if(pn(r))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":i[d+1].toLowerCase(),2&r&&c!==u){if(pn(r))return!1;s=!0}}}}else{if(!s&&!pn(r)&&!pn(l))return!1;if(s&&pn(l))continue;s=!1,r=l|1&r}}return pn(r)||s}function pn(e){return!(1&e)}function oP(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++i];for(;"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?1:2}return-1}return function lP(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function kE(e,t,n=!1){for(let r=0;r<t.length;r++)if(iP(e,t[r],n))return!0;return!1}function cP(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];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 NE(e,t){return e?":not("+t.trim()+")":t}function dP(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!pn(s)&&(t+=NE(o,i),i=""),r=s,o=o||!pn(r);n++}return""!==i&&(t+=NE(o,i)),t}const ae={};function Uh(e,t,n,r,i,o,s,a,l,c,d){const u=P+r,h=u+i,f=function hP(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:ae);return n}(u,h),p="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,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 pc(e,t,n,r,i,o,s,a,l,c,d){const u=t.blueprint.slice();return u[0]=i,u[2]=1228|r,(null!==c||e&&2048&e[2])&&(u[2]|=2048),jy(u),u[3]=u[14]=e,u[8]=n,u[10]=s||e&&e[10],u[W]=a||e&&e[W],u[9]=l||e&&e[9]||null,u[5]=o,u[19]=function tO(){return eO++}(),u[6]=d,u[20]=c,u[15]=2==t.type?e[15]:u,u}function zh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function js(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function $h(e,t){return e[12]?e[13][4]=t:e[12]=t,e[13]=t,t}function x(e=1){FE(Y(),E(),st()+e,!1)}function FE(e,t,n,r){if(!r)if(3&~t[2]){const o=e.preOrderHooks;null!==o&&Vl(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&Ll(t,o,n)}Xr(n)}var mc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(mc||{});function Hs(e,t,n,r){const i=U(null);try{const[o,s,a]=e.inputs[n];let l=null;0!==(s&mc.SignalBased)&&(l=t[o][Xe]),null!==l&&void 0!==l.transformFn?r=l.transformFn(r):null!==a&&(r=a.call(t,r)),null!==e.setInput?e.setInput(t,l,r,n,o):Hv(t,l,o,r)}finally{U(i)}}var Er=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Er||{});function Wh(e,t){return undefined(e,t)}const si=new Set;var qh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(qh||{});const yo=new D(""),BE=new Set;function _t(e){BE.has(e)||(BE.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const jE=!1,ue=class bP extends X{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Af()&&(this.destroyRef=g(Mn,{optional:!0})??void 0,this.pendingTasks=g(Jr,{optional:!0})??void 0)}emit(t){const n=U(null);try{super.next(t)}finally{U(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;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 t instanceof Ae&&t.add(a),a}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}};function HE(e){let t,n;function r(){e=Cs;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function UE(e){return queueMicrotask(()=>e()),()=>{e=Cs}}const Yh="isAngularZone",_c=Yh+"_ID";let EP=0;class L{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ue(!1);onMicrotaskEmpty=new ue(!1);onStable=new ue(!1);onError=new ue(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=jE}=t;if(typeof Zone>"u")throw new b(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,function CP(e){const t=()=>{!function wP(e){function t(){HE(()=>{e.callbackScheduled=!1,Zh(e),e.isCheckStableRunning=!0,Kh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Zh(e))}(e)},n=EP++;e._inner=e._inner.fork({name:"angular",properties:{[Yh]:!0,[_c]:n,[_c+n]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(function SP(e){return GE(e,"__ignore_ng_zone__")}(l))return r.invokeTask(o,s,a,l);try{return zE(e),r.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),$E(e)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return zE(e),r.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function IP(e){return GE(e,"__scheduler_tick__")}(l)&&t(),$E(e)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Zh(e),Kh(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(Yh)}static assertInAngularZone(){if(!L.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(L.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,t,DP,Cs,Cs);try{return o.runTask(s,n,r)}finally{o.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const DP={};function Kh(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 Zh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function zE(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $E(e){e._nesting--,Kh(e)}class Qh{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ue;onMicrotaskEmpty=new ue;onStable=new ue;onError=new ue;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function GE(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}let Xh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();const WE=[0,1,2,3];let qE=(()=>{class e{ngZone=g(L);scheduler=g(gr);errorHandler=g(Kn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(yo,{optional:!0})}execute(){const n=this.sequences.size>0;n&&de(16),this.executing=!0;for(const r of WE)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(),n&&de(17)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),Ji(r),r[2]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(qh.AFTER_NEXT_RENDER,n):n()}static \u0275prov=S({token:e,providedIn:"root",factory:()=>new e})}return e})();class YE{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,o,s=null){this.impl=t,this.hooks=n,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 t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function vo(e,t){const n=t?.injector??g(ve);return _t("NgAfterNextRender"),function KE(e,t,n,r){const i=t.get(Xh);i.impl??=t.get(qE);const o=t.get(yo,null,{optional:!0}),s=!0!==n?.manualCleanup?t.get(Mn):null,a=t.get(Al,null,{optional:!0}),l=new YE(i.impl,function xP(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,n,t,!0)}const yc=new D("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ZE(e,t,n){const r=e.get(yc);if(Array.isArray(t))for(const i of t)r.queue.add(i),n?.detachedLeaveAnimationFns?.push(i);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function QE(e,t,n,r){const i=e?.[26]?.enter;null!==t&&i&&i.has(n.index)&&function Jh(e,t){for(const[n,r]of t)ZE(e,r.animateFns)}(r,i)}function bo(e,t,n,r,i,o,s,a){if(null!=i){let l,c=!1;wt(i)?l=i:Re(i)&&(c=!0,i=i[0]);const d=et(i);0===e&&null!==r?(QE(a,r,o,n),null==s?DE(t,r,d):oi(t,r,d,s||null,!0)):1===e&&null!==r?(QE(a,r,o,n),oi(t,r,d,s||null,!0)):2===e?eD(a,o,n,u=>{!function Vs(e,t,n,r){e.removeChild(null,t,n,r)}(t,d,c,u)}):3===e&&eD(a,o,n,()=>{t.destroyNode(d)}),null!=l&&function VP(e,t,n,r,i,o,s){const a=r[7];a!==et(r)&&bo(t,e,n,o,a,i,s);for(let c=10;c<r.length;c++){const d=r[c];Ec(d[1],d,e,t,o,a)}}(t,e,n,l,o,r,s)}}function JE(e,t){t[10].changeDetectionScheduler?.notify(9),Ec(e,t,t[W],2,null,null)}function ep(e,t){const n=e[9],r=n.indexOf(t);n.splice(r,1)}function Us(e,t){if($n(t))return;const n=t[W];n.destroyNode&&Ec(e,t,n,3,null,null),function NP(e){let t=e[12];if(!t)return tp(e[1],e);for(;t;){let n=null;if(Re(t))n=t[12];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Re(t)&&tp(t[1],t),t=t[3];null===t&&(t=e),Re(t)&&tp(t[1],t),n=t&&t[4]}t=n}}(t)}function tp(e,t){if($n(t))return;const n=U(null);try{t[2]&=-129,t[2]|=256,t[24]&&ss(t[24]),function PP(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof xs)){const o=n[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=i[o[s]],l=o[s+1];de(4,a,l);try{l.call(a)}finally{de(5,a,l)}}else{de(4,i,o);try{o.call(i)}finally{de(5,i,o)}}}}}(e,t),function FP(e,t){const n=e.cleanup,r=t[7];if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else n[s].call(r[n[s+1]]);null!==r&&(t[7]=null);const i=t[21];if(null!==i){t[21]=null;for(let s=0;s<i.length;s++)(0,i[s])()}const o=t[23];if(null!==o){t[23]=null;for(const s of o)s.destroy()}}(e,t),1===t[1].type&&t[W].destroy();const r=t[16];if(null!==r&&wt(t[3])){r!==t[3]&&ep(r,t);const i=t[18];null!==i&&i.detachView(e)}lh(t)}finally{U(n)}}function eD(e,t,n,r){const i=e?.[26];if(null==i||null==i.leave||!i.leave.has(t.index))return r(!1);e&&si.add(e),ZE(n,()=>{if(i.leave&&i.leave.has(t.index)){const s=i.leave.get(t.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 OP(e,t){const n=e[26]?.running;n?n.then(()=>{e[26].running=void 0,si.delete(e),t(!0)}):t(!1)}(e,r)}else e&&si.delete(e),r(!1)},i)}function np(e,t,n){return function tD(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[0];if(zn(r)){const{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Xn.None||i===Xn.Emulated)return null}return Ue(r,n)}(e,t.parent,n)}function nD(e,t,n){return iD(e,t,n)}let iD=function rD(e,t,n){return 40&e.type?Ue(e,n):null};function ip(e,t,n,r){const i=np(e,r,t),o=t[W],a=nD(r.parent||t[5],r,t);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)wE(o,i,n[l],a,!1);else wE(o,i,n,a,!1)}function ai(e,t){if(null!==t){const n=t.type;if(3&n)return Ue(t,e);if(4&n)return bc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ai(e,r);{const i=e[t.index];return wt(i)?bc(-1,i):et(i)}}if(128&n)return ai(e,t.next);if(32&n)return Wh(t,e)()||et(e[t.index]);{const r=sD(e,t);return null!==r?Array.isArray(r)?r[0]:ai(Gn(e[15]),r):ai(e,t.next)}}return null}function sD(e,t){return null!==t?e[15][5].projection[t.projection]:null}function bc(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return ai(r,i)}return t[7]}function op(e,t,n,r,i,o,s){for(;null!=n;){const a=r[9];if(128===n.type){n=n.next;continue}const l=r[n.index],c=n.type;if(s&&0===t&&(l&&Pt(et(l),r),n.flags|=2),!ec(n))if(8&c)op(e,t,n.child,r,i,o,!1),bo(t,e,a,i,l,n,o,r);else if(32&c){const d=Wh(n,r);let u;for(;u=d();)bo(t,e,a,i,u,n,o,r);bo(t,e,a,i,l,n,o,r)}else 16&c?aD(e,t,r,n,i,o):bo(t,e,a,i,l,n,o,r);n=s?n.projectionNext:n.next}}function Ec(e,t,n,r,i,o){op(n,r,e.firstChild,t,i,o,!1)}function aD(e,t,n,r,i,o){const s=n[15],l=s[5].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)bo(t,e,n[9],i,l[c],r,o,n);else{let c=l;const d=s[3];Ns(r)&&(c.flags|=128),op(e,t,c,d,i,o,!0)}}function lD(e,t,n,r,i){const o=st(),s=2&r;try{Xr(-1),s&&t.length>P&&FE(e,t,P,!1),de(s?2:0,i,n),n(r,i)}finally{Xr(o),de(s?3:1,i,n)}}function Dc(e,t,n){(function $P(e,t,n){const r=n.directiveStart,i=n.directiveEnd;zn(n)&&function pP(e,t,n){const r=Ue(t,e),i=function OE(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Uh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),o=e[10].rendererFactory,s=$h(e,pc(e,i,null,zh(n),r,t,null,o.createRenderer(r,n),null,null,null));e[t.index]=s}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||jl(n,t);const o=n.initialInputs;for(let s=r;s<i;s++){const a=e.data[s],l=ks(t,e,s,n);Pt(l,t),null!==o&&YP(0,s-r,l,a,0,o),qt(a)&&(Ct(n.index,t)[8]=ks(t,e,s,n))}})(e,t,n),!(64&~n.flags)&&function GP(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,s=function gk(){return z.lFrame.currentDirectiveIndex}();try{Xr(o);for(let a=r;a<i;a++){const l=e.data[a],c=t[a];Hf(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&WP(l,c)}}finally{Xr(-1),Hf(s)}}(e,t,n)}function Eo(e,t,n=Ue){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}}let cD=()=>null;function sp(e,t,n,r,i,o){Ic(e,t[1],t,n,r)?zn(e)&&function dD(e,t){const n=Ct(t,e);16&n[2]||(n[2]|=64)}(t,e.index):(3&e.type&&(n=function zP(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(n)),ap(e,t,n,r,i,o))}function ap(e,t,n,r,i,o){if(3&e.type){const s=Ue(e,t);r=null!=o?o(r,e.value||"",n):r,i.setProperty(s,n,r)}}function WP(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function lp(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let i=0;i<n.length;i++){const o=n[i];kE(t,o.selectors,!1)&&(r??=[],qt(o)?r.unshift(o):r.push(o))}return r}function YP(e,t,n,r,i,o){const s=o[t];if(null!==s)for(let a=0;a<s.length;a+=2)Hs(r,n,s[a],s[a+1])}function Cc(e,t,n,r,i){const o=P+n,s=t[1],a=i(s,t,e,r,n);t[o]=a,Wn(e,!0);const l=2===e.type;return l?(SE(t[W],a,e),(0===function dk(){return z.lFrame.elementDepthCount}()||Zi(e))&&Pt(a,t),function uk(){z.lFrame.elementDepthCount++}()):Pt(a,t),xl()&&(!l||!ec(e))&&ip(s,t,a,e),e}function Sc(e){let t=e;return Ky()?Zy():(t=t.parent,Wn(t,!1)),t}function Ic(e,t,n,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];Hs(t.data[c],n[c],s[l+1],i),a=!0}if(o)for(const l of o)Hs(t.data[l],n[l],r,i),a=!0;return a}function ZP(e,t){const n=Ct(t,e),r=n[1];!function QP(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[0];null!==i&&null===n[6]&&(n[6]=null),de(18),Tc(r,n,n[8]),de(19,n[8])}function Tc(e,t,n){$f(t);try{const r=e.viewQuery;null!==r&&Ah(1,r,n);const i=e.template;null!==i&&lD(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[18]?.finishViewCreation(e),e.staticContentQueries&&rE(e,t),e.staticViewQueries&&Ah(2,e.viewQuery,n);const o=e.components;null!==o&&function XP(e,t){for(let n=0;n<t.length;n++)ZP(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Gf()}}function Do(e,t,n,r){const i=U(null);try{const o=t.tView,l=pc(e,o,n,4096&e[2]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);l[16]=e[t.index];const d=e[18];return null!==d&&(l[18]=d.createEmbeddedView(o)),Tc(o,l,n),l}finally{U(i)}}function li(e,t){return!t||null===t.firstChild||Ns(e)}function zs(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(et(o)),wt(o)&&JP(o,r);const s=n.type;if(8&s)zs(e,t,n.child,r);else if(32&s){const a=Wh(n,t);let l;for(;l=a();)r.push(l)}else if(16&s){const a=sD(t,n);if(Array.isArray(a))r.push(...a);else{const l=Gn(t[15]);zs(l[1],l,a,r,!0)}}n=i?n.projectionNext:n.next}return r}function JP(e,t){for(let n=10;n<e.length;n++){const r=e[n],i=r[1].firstChild;null!==i&&zs(r[1],r,i,t)}e[7]!==e[0]&&t.push(e[7])}function hD(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let pD=[];const r1={...ji,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Ji(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},o1={...ji,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Gn(e.lView);for(;t&&!mD(t[1]);)t=Gn(t);t&&Ff(t)},consumerOnSignalRead(){this.lView[24]=this}};function mD(e){return 2!==e.type}function gD(e){if(null===e[23])return;let t=!0;for(;t;){let n=!1;for(const r of e[23])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[2])}}function Mc(e,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function a1(e,t){const n=Jy();try{Tl(!0),dp(e,t);let r=0;for(;Es(e);){if(100===r)throw new b(103,!1);r++,dp(e,1)}}finally{Tl(n)}}(e,t)}finally{r.end?.()}}function _D(e,t,n,r){if($n(t))return;const i=t[2];$f(t);let a=!0,l=null,c=null;mD(e)?(c=function e1(e){return e[24]??function t1(e){const t=pD.pop()??Object.create(r1);return t.lView=e,t}(e)}(t),l=Hi(c)):null===function qu(){return ft}()?(a=!1,c=function i1(e){const t=e[24]??Object.create(o1);return t.lView=e,t}(t),l=Hi(c)):t[24]&&(ss(t[24]),t[24]=null);try{jy(t),function ev(e){return z.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&lD(e,t,n,2,r);const d=!(3&~i);if(d){const f=e.preOrderCheckHooks;null!==f&&Ll(t,f,null)}else{const f=e.preOrderHooks;null!==f&&Vl(t,f,0,null),Jf(t,0)}if(function l1(e){for(let t=wb(e);null!==t;t=Cb(t)){if(!(2&t[2]))continue;const n=t[9];for(let r=0;r<n.length;r++)Ff(n[r])}}(t),gD(t),yD(t,0),null!==e.contentQueries&&rE(e,t),d){const f=e.contentCheckHooks;null!==f&&Ll(t,f)}else{const f=e.contentHooks;null!==f&&Vl(t,f,1),Jf(t,1)}!function d1(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Xr(~i);else{const o=i,s=n[++r],a=n[++r];mk(s,o);const l=t[o];de(24,l),a(2,l),de(25,l)}}}finally{Xr(-1)}}(e,t);const u=e.components;null!==u&&bD(t,u,0);const h=e.viewQuery;if(null!==h&&Ah(2,h,r),d){const f=e.viewCheckHooks;null!==f&&Ll(t,f)}else{const f=e.viewHooks;null!==f&&Vl(t,f,2),Jf(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const f of t[22])f();t[22]=null}hD(t),t[2]&=-73}catch(d){throw Ji(t),d}finally{null!==c&&(os(c,l),a&&function n1(e){e.lView[24]!==e&&(e.lView=null,pD.push(e))}(c)),Gf()}}function yD(e,t){for(let n=wb(e);null!==n;n=Cb(n))for(let r=10;r<n.length;r++)vD(n[r],t)}function c1(e,t,n){de(18);const r=Ct(t,e);vD(r,n),de(19,r[8])}function vD(e,t){Of(e)&&dp(e,t)}function dp(e,t){const r=e[1],i=e[2],o=e[24];let s=!!(0===t&&16&i);if(s||=!!(64&i&&0===t),s||=!!(1024&i),s||=!(!o?.dirty||!ol(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)_D(r,e,r.template,e[8]);else if(8192&i){const a=U(null);try{gD(e),yD(e,1);const l=r.components;null!==l&&bD(e,l,1),hD(e)}finally{U(a)}}}function bD(e,t,n){for(let r=0;r<t.length;r++)c1(e,t[r],n)}function wo(e,t){const n=Jy()?64:1088;for(e[10].changeDetectionScheduler?.notify(t);e;){e[2]|=n;const r=Gn(e);if(mr(e)&&!r)return e;e=r}return null}function ED(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Co(e,t,n,r=!0){const i=t[1];if(function u1(e,t,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],wy(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[16];null!==s&&n!==s&&wD(s,t);const a=t[18];null!==a&&a.insertView(e),Pf(t),t[2]|=128}(i,t,e,n),r){const s=bc(n,e),a=t[W],l=a.parentNode(e[7]);null!==l&&function kP(e,t,n,r,i,o){r[0]=i,r[5]=t,Ec(e,r,n,1,i,o)}(i,e[5],a,t,l,s)}const o=t[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function $s(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[16];null!==i&&i!==e&&ep(i,r),t>0&&(e[n-1][4]=r[4]);const o=gl(e,10+t);!function XE(e,t){JE(e,t),t[0]=null,t[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 wD(e,t){const n=e[9],r=t[3];(Re(r)||t[15]!==r[3][15])&&(e[2]|=2),null===n?e[9]=[t]:n.push(t)}class Gs{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,n=t[1];return zs(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return $n(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(wt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&($s(t,r),gl(n,r))}this._attachedToViewContainer=!1}Us(this._lView[1],this._lView)}onDestroy(t){Il(this._lView,t)}markForCheck(){wo(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Pf(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,Mc(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=mr(this._lView),n=this._lView[16];null!==n&&!t&&ep(n,this._lView),JE(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;const n=mr(this._lView),r=this._lView[16];null!==r&&!n&&wD(r,this._lView),Pf(this._lView)}}let kn=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=p1;constructor(n,r,i){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,i){const o=Do(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:i});return new Gs(o)}})();function p1(){return xc($(),E())}function xc(e,t){return 4&e.type?new kn(t,e,lo(e,t)):null}function ci(e,t,n,r,i){let o=e.data[t];if(null===o)o=function mp(e,t,n,r,i){const o=Yy(),s=Ky(),l=e.data[t]=function w1(e,t,n,r,i,o){let s=t?t.injectorIndex:-1,a=0;return Gy()&&(a|=128),{type:n,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:t,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,n,t,r,i);return function D1(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,l,o,s),l}(e,t,n,r,i),function pk(){return z.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const s=function Ds(){const e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Wn(o,!0),o}let oL=class{},YD=class{};class sL{resolveComponentFactory(t){throw new b(917,!1)}}let Io=class{static NULL=new sL};class Nn{}let mn=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function aL(){const e=E(),n=Ct($().index,e);return(Re(n)?n:e)[W]}()})(),lL=(()=>{class e{static \u0275prov=S({token:e,providedIn:"root",factory:()=>null})}return e})();const wp={};class Mo{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const i=this.injector.get(t,wp,r);return i!==wp||n===wp?i:this.parentInjector.get(t,n,r)}}function Vc(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?o=a:1==o?i=af(i,a):2==o&&(r=af(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function C(e,t=0){const n=E();return null===n?O(e,t):rb($(),n,q(e),t)}function ZD(e,t,n,r,i){const o=null===r?null:{"":-1},s=i(e,n);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 mL(e,t,n,r,i,o,s){const a=r.length;let l=!1;for(let h=0;h<a;h++){const f=r[h];!l&&qt(f)&&(l=!0,pL(e,n,h)),ih(jl(n,t),e,f.type)}!function EL(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,a);for(let h=0;h<a;h++){const f=r[h];f.providersResolver&&f.providersResolver(f)}let c=!1,d=!1,u=js(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){const f=r[h];if(n.mergedAttrs=ao(n.mergedAttrs,f.hostAttrs),_L(e,n,t,u,f),bL(u,f,i),null!==s&&s.has(f)){const[m,_]=s.get(f);n.directiveToIndex.set(f.type,[u,m+n.directiveStart,_+n.directiveStart])}else(null===o||!o.has(f))&&n.directiveToIndex.set(f.type,u);null!==f.contentQueries&&(n.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(n.flags|=64);const p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),c=!0),!d&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),d=!0),u++}!function gL(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const i=e.data[r];if(null!==n&&n.has(i)){const o=n.get(i);XD(0,t,o,r),XD(1,t,o,r),ew(t,r,!0)}else QD(0,t,i,r),QD(1,t,i,r),ew(t,r,!1)}}(e,n,o)}(e,t,n,a,o,l,c)}null!==o&&null!==r&&function hL(e,t,n){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new b(-301,!1);r.push(t[i],o)}}(n,r,o)}function pL(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function QD(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){let s;s=0===e?t.inputs??={}:t.outputs??={},s[o]??=[],s[o].push(r),JD(t,o)}}function XD(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){const s=i[o];let a;a=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),JD(t,s)}}function JD(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function ew(e,t,n){const{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(null===r||!n&&null===i||n&&null===o||Hh(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(!n&&i.hasOwnProperty(l)){const c=i[l];for(const d of c)if(d===t){s??=[],s.push(l,r[a+1]);break}}else if(n&&o.hasOwnProperty(l)){const c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===t){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 _L(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=Gr(i.type)),s=new xs(o,qt(i),C,null);e.blueprint[r]=s,n[r]=s,function yL(e,t,n,r,i){const o=i.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~t.index;(function vL(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,o)}}(e,t,r,js(e,n,i.hostVars,ae),i)}function bL(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qt(t)&&(n[""]=e)}}function Cp(e,t,n,r,i,o,s,a){const l=t[1],c=l.consts,u=ci(l,e,n,r,gt(c,s));return o&&ZD(l,t,u,gt(c,a),i),u.mergedAttrs=ao(u.mergedAttrs,u.attrs),null!==u.attrs&&Vc(u,u.attrs,!1),null!==u.mergedAttrs&&Vc(u,u.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,u),u}function Sp(e,t){Gv(e,t),Oy(t)&&e.queries.elementEnd(t)}function Bc(e){return!!function Ip(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Se(e,t,n){return n!==ae&&(!Object.is(e[t],n)&&(e[t]=n,!0))}function na(e,t,n){return function r(i){wo(zn(e)?Ct(e.index,t):t,5);const s=t[8];let a=nw(t,s,n,i),l=r.__ngNextListenerFn__;for(;l;)a=nw(t,s,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function nw(e,t,n,r){const i=U(null);try{return de(6,t,n),!1!==n(r)}catch(o){return function cp(e,t){const n=e[9];if(!n)return;let r;try{r=n.get(Zn,null)}catch{r=null}r?.(t)}(e,o),!1}finally{de(7,t,n),U(i)}}function iw(e,t,n,r,i,o,s){const a=t.firstCreatePass?zy(t):null,l=Uy(n),c=l.length;l.push(i,o),a&&a.push(r,e,c,(c+1)*(s?-1:1))}function Hc(e,t,n,r,i,o){const a=t[1],u=t[n][a.data[n].outputs[r]].subscribe(o);iw(e.index,a,t,i,o,u,!0)}const wr=Symbol("BINDING");class ow extends Io{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=oe(t);return new Uc(n,this.ngModule)}}class Uc extends YD{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function OL(e){return Object.keys(e).map(t=>{const[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:0!==(r&mc.SignalBased)};return i&&(o.transform=i),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function FL(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uP(e){return e.map(dP).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i,o,s){de(22);const a=U(null);try{const l=this.componentDef,c=function jL(e,t,n,r){const i=e?["ng-version","20.3.15"]:function fP(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!pn(i))break;i=o}r++}return n.length&&t.push(1,...n),t}(t.selectors[0]);let o=null,s=null,a=0;if(n)for(const d of n)a+=d[wr].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 h of u.bindings){a+=h[wr].requiredVars;const f=d+1;h.create&&(h.targetIdx=f,(o??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}const l=[t];if(r)for(const d of r){const h=Dt("function"==typeof d?d:d.type);l.push(h)}return Uh(0,null,function HL(e,t){return e||t?n=>{if(1&n&&e)for(const r of e)r.create();if(2&n&&t)for(const r of t)r.update()}:null}(o,s),1,a,l,null,null,null,[i],null)}(r,l,s,o),d=function PL(e,t,n){let r=t instanceof pt?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new Mo(n,r):n}(l,i||this.ngModule,t),u=function LL(e){const t=e.get(Nn,null);if(null===t)throw new b(407,!1);return{rendererFactory:t,sanitizer:e.get(lL,null),changeDetectionScheduler:e.get(gr,null),ngReflect:!1}}(d),h=u.rendererFactory.createRenderer(null,l),f=r?function jP(e,t,n,r){const o=r.get(kO,!1)||n===Xn.ShadowDom,s=e.selectRootElement(t,o);return function HP(e){cD(e)}(s),s}(h,r,l.encapsulation,d):function VL(e,t){const n=function BL(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return uc(t,n,"svg"===n?"svg":"math"===n?"math":null)}(l,h),p=s?.some(sw)||o?.some(v=>"function"!=typeof v&&v.bindings.some(sw)),m=pc(null,c,null,512|zh(l),null,null,u,h,d,null,null);m[P]=f,$f(m);let _=null;try{const v=Cp(P,m,2,"#host",()=>c.directiveRegistry,!0,0);SE(h,f,v),Pt(f,m),Dc(c,m,v),Rh(c,v,m),Sp(c,v),void 0!==n&&function zL(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o&&o.length?Array.from(o):null)}}(v,this.ngContentSelectors,n),_=Ct(v.index,m),m[8]=_[8],Tc(c,m,null)}catch(v){throw null!==_&&lh(_),lh(m),v}finally{de(23),Gf()}return new UL(this.componentType,m,!!p)}finally{U(a)}}}function sw(e){const t=e[wr].kind;return"input"===t||"twoWay"===t}class UL extends oL{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Xi(n[1],P),this.location=lo(this._tNode,n),this.instance=Ct(this._tNode.index,n)[8],this.hostView=this.changeDetectorRef=new Gs(n,void 0),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Ic(r,i[1],i,t,n),this.previousInputValues.set(t,n),wo(Ct(r.index,i),1)}get injector(){return new Le(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let gn=(()=>class e{static __NG_ELEMENT_ID__=$L})();function $L(){return cw($(),E())}const GL=gn,aw=class extends GL{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return lo(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const t=Hl(this._hostTNode,this._hostLView);if(th(t)){const n=Rs(t,this._hostLView),r=As(t);return new Le(n[1].data[r+8],n)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=lw(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=t.createEmbeddedViewImpl(n||{},o,null);return this.insertImpl(a,i,li(this._hostTNode,null)),a}createComponent(t,n,r,i,o,s,a){const l=t&&!function Ms(e){return"function"==typeof e}(t);let c;if(l)c=n;else{const _=n||{};c=_.index,r=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}const d=l?t:new Uc(oe(t)),u=r||this.parentInjector;if(!o&&null==d.ngModule){const v=(l?u:this.parentInjector).get(pt,null);v&&(o=v)}oe(d.componentType??{});const m=d.create(u,i,null,o,s,a);return this.insertImpl(m.hostView,c,li(this._hostTNode,null)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function lk(e){return wt(e[3])}(i)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const l=i[3],c=new aw(l,l[5],l[3]);c.detach(c.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;return Co(s,i,o,r),t.attachToViewContainerRef(),wy(Tp(s),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=lw(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=$s(this._lContainer,n);r&&(gl(Tp(this._lContainer),n),Us(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=$s(this._lContainer,n);return r&&null!=gl(Tp(this._lContainer),n)?new Gs(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function lw(e){return e[8]}function Tp(e){return e[8]||(e[8]=[])}function cw(e,t){let n;const r=t[e.index];return wt(r)?n=r:(n=ED(r,t,null,e),t[e.index]=n,$h(t,n)),dw(n,t,e,r),new aw(n,e,t)}let dw=function fw(e,t,n,r){if(e[7])return;let i;i=8&n.type?et(r):function WL(e,t){const n=e[W],r=n.createComment(""),i=Ue(t,e),o=n.parentNode(i);return oi(n,o,r,n.nextSibling(i),!1),r}(t,n),e[7]=i};class xp{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new xp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ap{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new Ap(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Fp(t,n).matches&&this.queries[n].setDirty()}}class hw{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function JL(e){return e.split(",").map(t=>t.trim())}(t):t}}class Rp{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new Rp(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class kp{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new kp(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,KL(n,o)),this.matchTNodeWithReadOption(t,n,Ul(n,t,o,!1,!1))}else r===kn?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ul(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===Ce||i===gn||i===kn&&4&n.type)this.addMatch(n.index,-2);else{const o=Ul(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function KL(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function QL(e,t,n,r){return-1===n?function ZL(e,t){return 11&e.type?lo(e,t):4&e.type?xc(e,t):null}(t,e):-2===n?function XL(e,t,n){return n===Ce?lo(t,e):n===kn?xc(t,e):n===gn?cw(t,e):void 0}(e,t,r):ks(e,e[1],n,t)}function pw(e,t,n,r){const i=t[18].queries[r];if(null===i.matches){const o=e.data,s=n.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:QL(t,o[c],s[l+1],n.metadata.read))}i.matches=a}return i.matches}function Np(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const s=pw(e,t,i,n);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=t[-l];for(let u=10;u<d.length;u++){const h=d[u];h[16]===h[3]&&Np(h[1],h,c,r)}if(null!==d[9]){const u=d[9];for(let h=0;h<u.length;h++){const f=u[h];Np(f[1],f,c,r)}}}}}return r}function Op(e,t){return e[18].queries[t].queryList}function mw(e,t,n){const r=new Gl(!(4&~n));return function ck(e,t,n,r){const i=Uy(t);i.push(n),e.firstCreatePass&&zy(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[18]??=new Ap).queries.push(new xp(r))-1}function gw(e,t,n){const r=Y();return r.firstCreatePass&&(yw(r,new hw(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),mw(r,E(),t)}function _w(e,t,n,r){const i=Y();if(i.firstCreatePass){const o=$();yw(i,new hw(t,n,r),o.index),function eV(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return mw(i,E(),n)}function yw(e,t,n){null===e.queries&&(e.queries=new Rp),e.queries.track(new kp(t,n))}function Fp(e,t){return e.queries.getByIndex(t)}function vw(e,t){const n=e[1],r=Fp(n,t);return r.crossesNgTemplate?Np(n,e,t,[]):pw(n,e,r,t)}function Pp(e,t,n){let r;const i=ty(()=>{r._dirtyCounter();const o=function nV(e,t){const n=e._lView,r=e._queryIndex;if(void 0===n||void 0===r||4&n[2])return t?void 0:he;const i=Op(n,r),o=vw(n,r);return i.reset(o,fb),t?i.first:i._changesDetected||void 0===e._flatValue?e._flatValue=i.toArray():e._flatValue}(r,e);if(t&&void 0===o)throw new b(-951,!1);return o});return r=i[Xe],r._dirtyCounter=Ot(0),r._flatValue=void 0,i}function bw(e){return Pp(!0,!1)}function Ew(e){return Pp(!0,!0)}function Dw(e,t){const n=e[Xe];n._lView=E(),n._queryIndex=t,n._queryList=Op(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}let Cr=class{},dV=class{};class Vp extends Cr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ow(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const o=function In(e){return e[gy]||null}(t);this._bootstrapComponents=function Rn(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=dv(t,n,[{provide:Cr,useValue:this},{provide:Io,useValue:this.componentFactoryResolver},...r],Rt(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Iw extends dV{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Vp(this.moduleType,t,[])}}class hV extends Cr{injector;componentFactoryResolver=new ow(this);instance=null;constructor(t){super();const n=new qr([...t.providers,{provide:Cr,useValue:this},{provide:Io,useValue:this.componentFactoryResolver}],t.parent||Dl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let pV=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Df(0,n.type),i=r.length>0?function Tw(e,t,n=null){return new hV({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=S({token:e,providedIn:"environment",factory:()=>new e(O(pt))})}return e})();function Kt(e){return Qn(()=>{const t=xw(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Wl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(pV).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Xn.Emulated,styles:e.styles||he,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&_t("NgStandalone"),Aw(n);const r=e.dependencies;return n.directiveDefs=zc(r,Mw),n.pipeDefs=zc(r,hn),n.id=function yV(e){let t=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("|"))t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function Mw(e){return oe(e)||Dt(e)}function Ie(e){return Qn(()=>({type:e.type,bootstrap:e.bootstrap||he,declarations:e.declarations||he,imports:e.imports||he,exports:e.exports||he,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function mV(e,t){if(null==e)return Sn;const n={};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=mc.None,l=null),n[o]=[r,a,l],t[o]=s}return n}function gV(e){if(null==e)return Sn;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function R(e){return Qn(()=>{const t=xw(e);return Aw(t),t})}function xw(e){const t={};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:t,inputConfig:e.inputs||Sn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||he,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:mV(e.inputs,t),outputs:gV(e.outputs),debugInfo:null}}function Aw(e){e.features?.forEach(t=>t(e))}function zc(e,t){return e?()=>{const n="function"==typeof e?e():e,r=[];for(const i of n){const o=t(i);null!==o&&r.push(o)}return r}:null}function le(e){let t=function Rw(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(qt(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const s=e;s.inputs=Bp(e.inputs),s.declaredInputs=Bp(e.declaredInputs),s.outputs=Bp(e.outputs);const a=i.hostBindings;a&&wV(e,a);const l=i.viewQuery,c=i.contentQueries;if(l&&EV(e,l),c&&DV(e,c),vV(e,i),wR(e.outputs,i.outputs),qt(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===le&&(n=!1)}}t=Object.getPrototypeOf(t)}!function bV(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=ao(i.hostAttrs,n=ao(n,i.hostAttrs))}}(r)}function vV(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Bp(e){return e===Sn?{}:e===he?[]:e}function EV(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function DV(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function wV(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function Pw(e,t,n,r,i,o,s,a){if(n.firstCreatePass){e.mergedAttrs=ao(e.mergedAttrs,e.attrs);const d=e.tView=Uh(2,e,i,o,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);null!==n.queries&&(n.queries.template(n,e),d.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Wn(e,!1);const l=Vw(n,t,e,r);xl()&&ip(n,t,l,e),Pt(l,t);const c=ED(l,t,l,e);t[r+P]=c,$h(t,c)}function fi(e,t,n,r,i,o,s,a,l,c,d){const u=n+P;let h;if(t.firstCreatePass){if(h=ci(t,u,4,s||null,a||null),null!=c){const f=gt(t.consts,c);h.localNames=[];for(let p=0;p<f.length;p+=2)h.localNames.push(f[p],-1)}}else h=t.data[u];return Pw(h,e,t,n,r,i,o,l),null!=c&&Eo(e,h,d),h}function Te(e,t,n,r,i,o,s,a){const l=E(),c=Y();return function AV(e,t,n,r,i,o,s,a,l,c,d){const u=n+P;let h;t.firstCreatePass?(h=ci(t,u,4,s||null,a||null),jf()&&ZD(t,e,h,gt(t.consts,c),lp),Gv(t,h)):h=t.data[u],Pw(h,e,t,n,r,i,o,l),Zi(h)&&Dc(t,e,h),null!=c&&Eo(e,h,d)}(l,c,e,t,n,r,i,gt(c.consts,o),void 0,s,a),Te}let Vw=function Bw(e,t,n,r){return ws(!0),t[W].createComment("")};const fC=new D(""),Qc=new D("");let Kp,qp=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(n,r,i){this._ngZone=n,this.registry=r,Af()&&(this._destroyRef=g(Mn,{optional:!0})??void 0),Kp||(function BB(e){Kp=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const n=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{n.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,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(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)(O(L),O(Yp),O(Qc))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})(),Yp=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Kp?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xc(e){return!!e&&"function"==typeof e.then}function hC(e){return!!e&&"function"==typeof e.subscribe}const pC=new D("");let mC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(pC,{optional:!0})??[];injector=g(ve);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=xf(this.injector,i);if(Xc(o))n.push(o);else if(hC(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const jB=new D("");function gC(e,t){return Array.isArray(t)?t.reduce(gC,e):{...e,...t}}let _n=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(Zn);afterRenderManager=g(Xh);zonelessEnabled=g(hv);rootEffectScheduler=g(gv);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new X;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Jr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(qe(n=>!n))}constructor(){g(yo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(pt);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,i=ve.NULL){return this._injector.get(L).run(()=>{de(10);const s=n instanceof YD;if(!this._injector.get(mC).done)throw new b(405,"");let l;l=s?n:this._injector.get(Io).resolveComponentFactory(n),this.componentTypes.push(l.componentType);const c=function UB(e){return e.isBoundToModule}(l)?void 0:this._injector.get(Cr),u=l.create(i,[],r||l.selector,c),h=u.location.nativeElement,f=u.injector.get(fC,null);return f?.registerApplication(h),u.onDestroy(()=>{this.detachView(u.hostView),Jc(this.components,u),f?.unregisterApplication(h)}),this._loadComponent(u),de(11,u),u})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){de(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(qh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new b(101,!1);const n=U(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,U(n),this.afterTick.next(),de(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Nn,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)de(14),this.synchronizeOnce(),de(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews)(r||Es(i))&&(Mc(i,r&&!this.zonelessEnabled?0:1),n=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Es(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Jc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(n),this._injector.get(jB,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Jc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Jc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function dt(e,t,n,r){const i=E();return Se(i,Nt(),t)&&(Y(),function qP(e,t,n,r,i,o){const s=Ue(e,t);!function wc(e,t,n,r,i,o,s){if(null==o)e.removeAttribute(t,i,n);else{const a=null==s?G(o):s(o,r||"",i);e.setAttribute(t,i,a,n)}}(t[W],s,o,e.value,n,r,i)}(Tn(),i,e,t,n,r)),dt}function Ye(e,t,n,r,i,o,s,a){_t("NgControlFlow");const l=E(),c=Y();return fi(l,c,e,t,n,r,i,gt(c.consts,o),256,s,a),lm}function lm(e,t,n,r,i,o,s,a){_t("NgControlFlow");const l=E(),c=Y();return fi(l,c,e,t,n,r,i,gt(c.consts,o),512,s,a),lm}function Ke(e,t){_t("NgControlFlow");const n=E(),r=Nt(),i=n[r]!==ae?n[r]:-1,o=-1!==i?ld(n,P+i):void 0;if(Se(n,r,e)){const a=U(null);try{if(void 0!==o&&function up(e,t){const n=$s(e,t);return void 0!==n&&Us(n[1],n),n}(o,0),-1!==e){const l=P+e,c=ld(n,l),d=function cm(e,t){return Xi(e,t)}(n[1],l),u=null;Co(c,Do(n,d,t,{dehydratedView:u}),0,li(d,u))}}finally{U(a)}}else if(void 0!==o){const a=function DD(e,t){const n=10+t;if(n<e.length)return e[n]}(o,0);void 0!==a&&(a[8]=t)}}function ld(e,t){return e[t]}function B(e,t,n){const r=E();return Se(r,Nt(),t)&&(Y(),sp(Tn(),r,e,t,r[W],n)),B}function dm(e,t,n,r,i){Ic(t,e,n,i?"class":"style",r)}function K(e,t,n,r){const i=E(),o=i[1],s=e+P,a=o.firstCreatePass?Cp(s,i,2,t,lp,jf(),n,r):o.data[s];if(Cc(a,i,e,t,um),Zi(a)){const l=i[1];Dc(l,i,a),Rh(l,a,i)}return null!=r&&Eo(i,a),K}function Z(){const e=Y(),n=Sc($());return e.firstCreatePass&&Sp(e,n),Wy(n)&&qy(),$y(),null!=n.classesWithoutHost&&function kN(e){return!!(8&e.flags)}(n)&&dm(e,n,E(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function NN(e){return!!(16&e.flags)}(n)&&dm(e,n,E(),n.stylesWithoutHost,!1),Z}function yt(e,t,n,r){return K(e,t,n,r),Z(),yt}function cd(e,t,n,r){const i=E(),o=i[1],s=e+P,a=o.firstCreatePass?function tw(e,t,n,r,i,o){const s=t.consts,l=ci(t,e,n,r,gt(s,i));if(l.mergedAttrs=ao(l.mergedAttrs,l.attrs),null!=o){const c=gt(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return null!==l.attrs&&Vc(l,l.attrs,!1),null!==l.mergedAttrs&&Vc(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,o,2,t,n,r):o.data[s];return Cc(a,i,e,t,um),null!=r&&Eo(i,a),cd}function dd(){return Wy(Sc($()))&&qy(),$y(),dd}function ud(e,t,n,r){return cd(e,t,n,r),dd(),ud}typeof document<"u"&&document;let um=(e,t,n,r,i)=>(ws(!0),uc(t[W],r,function Dk(){return z.lFrame.currentNamespace}()));function jt(e,t,n){const r=E(),i=r[1],o=e+P,s=i.firstCreatePass?Cp(o,r,8,"ng-container",lp,jf(),t,n):i.data[o];if(Cc(s,r,e,"ng-container",hm),Zi(s)){const a=r[1];Dc(a,r,s),Rh(a,s,r)}return null!=n&&Eo(r,s),jt}function It(){const e=Y(),n=Sc($());return e.firstCreatePass&&Sp(e,n),It}function Vo(e,t,n){return jt(e,t,n),It(),Vo}let hm=(e,t,n,r,i)=>(ws(!0),Bh(t[W],""));function er(){return E()}function ca(e,t,n){const r=E();return Se(r,Nt(),t)&&(Y(),ap(Tn(),r,e,t,r[W],n)),ca}const hd="en-US";let LC=hd;function xe(e,t,n){const r=E(),i=Y(),o=$();return gm(i,r,r[W],o,e,t,n),xe}function gm(e,t,n,r,i,o,s){let a=!0,l=null;if((3&r.type||s)&&(l??=na(r,t,o),function rw(e,t,n,r,i,o,s,a){const l=Zi(e);let c=!1,d=null;if(!r&&l&&(d=function IL(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const s=i[o];if(s===n&&i[o+1]===r){const a=t[7],l=i[o+2];return a&&a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,o,e.index)),null!==d)(d.__ngLastListenerFn__||d).__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0;else{const u=Ue(e,n),h=r?r(u):u,f=i.listen(h,o,a);(function SL(e){return e.startsWith("animation")||e.startsWith("transition")})(o)||iw(r?m=>r(et(m[e.index])):e.index,t,n,o,a,f,!1)}return c}(r,e,t,s,n,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 h=d[u],f=d[u+1];l??=na(r,t,o),Hc(r,t,h,f,i,l)}if(c&&c.length)for(const u of c)l??=na(r,t,o),Hc(r,t,u,i,i,l)}}function N(e=1){return function yk(e){return(z.lFrame.contextLView=function Hy(e,t){for(;e>0;)t=t[14],e--;return t}(e,z.lFrame.contextLView))[8]}(e)}function zj(e,t){let n=null;const r=function sP(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?kE(e,o,!0):cP(r,o))return i}else n=i}return n}function jo(e){const t=E()[15][5];if(!t.projection){const r=t.projection=function _l(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const s=e?zj(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function vt(e,t=0,n,r,i,o){const s=E(),a=Y(),l=r?e+1:null;null!==l&&fi(s,a,l,r,i,o,null,n);const c=ci(a,P+e,16,null,n||null);null===c.projection&&(c.projection=t),Zy();const u=!s[6]||Gy();null===s[15][5].projection[c.projection]&&null!==l?function $j(e,t,n){const r=P+n,i=t.data[r],o=e[r];Co(o,Do(e,i,void 0,{dehydratedView:null}),0,li(i,null))}(s,a,l):u&&!ec(c)&&function LP(e,t,n){aD(t[W],0,t,n,np(e,n,t),nD(n.parent||t[5],n,t))}(a,s,c)}function tr(e,t,n,r){_w(e,t,n,r)}function Mt(e,t,n){gw(e,t,n)}function ke(e){const t=E(),n=Y(),r=zf();Ml(r+1);const i=Fp(n,r);if(e.dirty&&function ak(e){return!(4&~e[2])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=vw(t,r);e.reset(o,fb),e.notifyOnChanges()}return!0}return!1}function Ne(){return Op(E(),zf())}function ma(e,t,n,r){Dw(e,gw(t,n,r))}function _m(e=1){Ml(zf()+e)}function ga(e){return function Qr(e,t){return e[t]}(function Qy(){return z.lFrame.contextLView}(),P+e)}function _d(e,t){return e<<17|t<<2}function bi(e){return e>>17&32767}function ym(e){return 2|e}function Ho(e){return(131068&e)>>2}function vm(e,t){return-131069&e|t<<2}function bm(e){return 1|e}function iS(e,t,n,r){const i=e[n+1],o=null===t;let s=r?bi(i):Ho(i),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];Zj(e[s],t)&&(a=!0,e[s+1]=r?bm(c):ym(c)),s=r?bi(c):Ho(c)}a&&(e[n+1]=r?ym(i):bm(i))}function Zj(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&gs(e,t)>=0}const Ze={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oS(e){return e.substring(Ze.key,Ze.keyEnd)}function sS(e,t){const n=Ze.textEnd;return n===t?-1:(t=Ze.keyEnd=function eH(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Ze.key=t,n),Uo(e,t,n))}function Uo(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ut(e,t){return function fS(e,t,n,r){const i=E(),o=Y(),s=Yn(2);o.firstUpdatePass&&mS(o,e,s,r),t!==ae&&Se(i,s,t)&&_S(o,o.data[st()],i,i[W],e,i[s+1]=function hH(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Rt(Yt(e)))),e}(t,n),r,s)}(e,t,null,!0),ut}function Em(e){!function hS(e,t,n,r){const i=Y(),o=Yn(2);i.firstUpdatePass&&mS(i,null,o,r);const s=E();if(n!==ae&&Se(s,o,n)){const a=i.data[st()];if(vS(a,r)&&!pS(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=af(l,n||"")),dm(i,a,s,n,r)}else!function fH(e,t,n,r,i,o,s,a){i===ae&&(i=he);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 h=l<i.length?i[l+1]:void 0,f=c<o.length?o[c+1]:void 0;let m,p=null;d===u?(l+=2,c+=2,h!==f&&(p=u,m=f)):null===u||null!==d&&d<u?(l+=2,p=d):(c+=2,p=u,m=f),null!==p&&_S(e,t,n,r,p,m,s,a),d=l<i.length?i[l]:null,u=c<o.length?o[c]:null}}(i,a,s,s[W],s[o+1],s[o+1]=function dH(e,t,n){if(null==n||""===n)return he;const r=[],i=Yt(n);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&&t(r,i);return r}(e,t,n),r,o)}}(uH,oH,e,!0)}function oH(e,t){for(let n=function Xj(e){return function lS(e){Ze.key=0,Ze.keyEnd=0,Ze.value=0,Ze.valueEnd=0,Ze.textEnd=e.length}(e),sS(e,Uo(e,0,Ze.textEnd))}(t);n>=0;n=sS(t,n))yl(e,oS(t),!0)}function pS(e,t){return t>=e.expandoStartIndex}function mS(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[st()],s=pS(e,n);vS(o,r)&&null===t&&!s&&(t=!1),t=function sH(e,t,n,r){const i=function Uf(e){const t=z.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=_a(n=Dm(null,e,t,n,r),t.attrs,r),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Dm(i,e,t,n,r),null===o){let l=function aH(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ho(r))return e[bi(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Dm(null,e,t,l[1],r),l=_a(l,t.attrs,r),function lH(e,t,n,r){e[bi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else o=function cH(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=_a(r,e[o].hostAttrs,n);return _a(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function Yj(e,t,n,r,i,o){let s=o?t.classBindings:t.styleBindings,a=bi(s),l=Ho(s);e[r]=n;let d,c=!1;if(Array.isArray(n)?(d=n[1],(null===d||gs(n,d)>0)&&(c=!0)):d=n,i)if(0!==l){const h=bi(e[a+1]);e[r+1]=_d(h,a),0!==h&&(e[h+1]=vm(e[h+1],r)),e[a+1]=function Wj(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=_d(a,0),0!==a&&(e[a+1]=vm(e[a+1],r)),a=r;else e[r+1]=_d(l,0),0===a?a=r:e[l+1]=vm(e[l+1],r),l=r;c&&(e[r+1]=ym(e[r+1])),iS(e,d,r,!0),iS(e,d,r,!1),function Kj(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&gs(o,t)>=0&&(n[r+1]=bm(n[r+1]))}(t,d,e,r,o),s=_d(a,l),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function Dm(e,t,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(o=t[a],r=_a(r,o.hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function _a(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),yl(e,s,!!n||t[++o]))}return void 0===e?null:e}function uH(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&yl(e,r,n)}function _S(e,t,n,r,i,o,s,a){if(!(3&t.type))return;const l=e.data,c=l[a+1],d=function qj(e){return!(1&~e)}(c)?yS(l,t,n,i,Ho(c),s):void 0;yd(d)||(yd(o)||function Gj(e){return!(2&~e)}(c)&&(o=yS(l,null,n,i,a,s)),function BP(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:Er.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Er.Important),e.setStyle(n,r,i,o))}}(r,s,Qi(st(),n),i,o))}function yS(e,t,n,r,i,o){const s=null===t;let a;for(;i>0;){const l=e[i],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=n[i+1];h===ae&&(h=u?he:void 0);let f=u?yf(h,r):d===r?h:void 0;if(c&&!yd(f)&&(f=yf(l,r)),yd(f)&&(a=f,s))return a;const p=e[i+1];i=s?bi(p):Ho(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=yf(l,r))}return a}function yd(e){return void 0!==e}function vS(e,t){return!!(e.flags&(t?8:16))}function yn(e,t=""){const n=E(),r=Y(),i=e+P,o=r.firstCreatePass?ci(r,i,1,t,null):r.data[i],s=bS(r,n,o,t,e);n[i]=s,xl()&&ip(r,n,s,o),Wn(o,!1)}let bS=(e,t,n,r,i)=>(ws(!0),function Vh(e,t){return e.createText(t)}(t[W],r));function DS(e,t,n,r=""){return Se(e,Nt(),n)?t+G(n)+r:ae}function wS(e,t,n,r,i,o=""){const a=function ui(e,t,n,r){const i=Se(e,t,n);return Se(e,t+1,r)||i}(e,function qn(){return z.lFrame.bindingIndex}(),n,i);return Yn(2),a?t+G(n)+r+G(i)+o:ae}function ya(e){return Ei("",e),ya}function Ei(e,t,n){const r=E(),i=DS(r,e,t,n);return i!==ae&&nr(r,st(),i),Ei}function wm(e,t,n,r,i){const o=E(),s=wS(o,e,t,n,r,i);return s!==ae&&nr(o,st(),s),wm}function nr(e,t,n){const r=Qi(t,e);!function EE(e,t,n){e.setValue(t,n)}(e[W],r,n)}function Cm(e,t,n){fv(t)&&(t=t());const r=E();return Se(r,Nt(),t)&&(Y(),sp(Tn(),r,e,t,r[W],n)),Cm}function Sm(e,t){const n=E(),r=Y(),i=$();return gm(r,n,n[W],i,e,t),Sm}function Im(e,t,n,r,i){if(e=q(e),Array.isArray(e))for(let o=0;o<e.length;o++)Im(e[o],t,n,r,i);else{const o=Y(),s=E(),a=$();let l=jn(e)?e:q(e.provide);const c=ky(e),d=1048575&a.providerIndexes,u=a.directiveStart,h=a.providerIndexes>>20;if(jn(e)||!e.multi){const f=new xs(c,i,C,null),p=Mm(l,t,i?d:d+h,u);-1===p?(ih(jl(a,s),o,l),Tm(o,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{const f=Mm(l,t,d+h,u),p=Mm(l,t,d,d+h),_=p>=0&&n[p];if(i&&!_||!i&&!(f>=0&&n[f])){ih(jl(a,s),o,l);const v=function AH(e,t,n,r,i){const s=new xs(e,n,C,null);return s.multi=[],s.index=t,s.componentProviders=0,HS(s,i,r&&!n),s}(i?xH:MH,n.length,i,r,c);!i&&_&&(n[p].providerFactory=v),Tm(o,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else Tm(o,e,f>-1?f:p,HS(n[i?p:f],c,!i&&r));!i&&r&&_&&n[p].componentProviders++}}}function Tm(e,t,n,r){const i=jn(t),o=function Ay(e){return!!e.useClass}(t);if(i||o){const l=(o?q(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const d=c.indexOf(n);-1===d?c.push(n,[r,l]):c[d+1].push(r,l)}else c.push(n,l)}}}function HS(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Mm(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function MH(e,t,n,r,i){return xm(this.multi,[])}function xH(e,t,n,r,i){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=ks(r,r[1],this.providerFactory.index,i);s=l.slice(0,a),xm(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],xm(o,s);return s}function xm(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function se(e,t=[]){return n=>{n.providersResolver=(r,i)=>function TH(e,t,n){const r=Y();if(r.firstCreatePass){const i=qt(e);Im(n,r.data,r.blueprint,i,!0),Im(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}function va(e,t,n,r){return function zS(e,t,n,r,i,o){const s=t+n;return Se(e,s,i)?function On(e,t,n){return e[t]=n}(e,s+1,o?r.call(o,i):r(i)):function ba(e,t){const n=e[t];return n===ae?void 0:n}(e,s+1)}(E(),function St(){const e=z.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function YS(e,t){return xc(e,t)}let SU=(()=>{class e{zone=g(L);changeDetectionScheduler=g(gr);applicationRef=g(_n);applicationErrorHandler=g(Zn);_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(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new L({...Om(),scheduleInRootZone:n}),[{provide:L,useFactory:e},{provide:Wr,multi:!0,useFactory:()=>{const r=g(SU,{optional:!0});return()=>r.initialize()}},{provide:Wr,multi:!0,useFactory:()=>{const r=g(TU);return()=>{r.initialize()}}},!0===t?{provide:pv,useValue:!0}:[],{provide:mv,useValue:n??jE},{provide:Zn,useFactory:()=>{const r=g(L),i=g(pt);let o;return s=>{r.runOutsideAngular(()=>{i.destroyed&&!o?setTimeout(()=>{throw s}):(o??=i.get(Kn),o.handleError(s))})}}}]}function Om(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let TU=(()=>{class e{subscription=new Ae;initialized=!1;zone=g(L);pendingTasks=g(Jr);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{L.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{L.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),mI=(()=>{class e{applicationErrorHandler=g(Zn);appRef=g(_n);taskService=g(Jr);ngZone=g(L);zonelessEnabled=g(hv);tracing=g(yo,{optional:!0});disableScheduling=g(pv,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ae;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(_c):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(mv,{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 Qh||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){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?UE:HE;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(_c+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 n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,UE(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Mr=new D("",{providedIn:"root",factory:()=>g(Mr,{optional:!0,skipSelf:!0})||function MU(){return typeof $localize<"u"&&$localize.locale||hd}()});class EI{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>function zl(e){return function VN(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(Kv(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}($(),e)}(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function DI(e,t){return bw()}new D("").__NG_ELEMENT_ID__=e=>{const t=$();if(null===t)throw new b(204,!1);if(2&t.type)return t.value;if(8&e)return null;throw new b(204,!1)};const Sd=(DI.required=function LU(e,t){return Ew()},DI);function wI(e,t){return bw()}const BU=(wI.required=function VU(e,t){return Ew()},wI),Id=new D(""),$U=new D("");function wa(e){return!e.moduleRef}let xI;function AI(){xI=GU}function GU(e,t){const n=e.injector.get(_n);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new b(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}let RI=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(n){this._injector=n}bootstrapModuleFactory(n,r){const i=r?.scheduleInRootZone,s=r?.ignoreChangesOutsideZone,a=[fI({ngZoneFactory:()=>function TP(e="zone.js",t){return"noop"===e?new Qh:"zone.js"===e?new L(t):e}(r?.ngZone,{...Om({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}),scheduleInRootZone:i}),ignoreChangesOutsideZone:s}),{provide:gr,useExisting:mI},Ck],l=function fV(e,t,n){return new Vp(e,t,n,!1)}(n.moduleType,this.injector,a);return AI(),function MI(e){const t=wa(e)?e.r3Injector:e.moduleRef.injector,n=t.get(L);return n.run(()=>{wa(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(Zn);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:r})}),wa(e)){const o=()=>t.destroy(),s=e.platformInjector.get(Id);s.add(o),t.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Id);s.add(o),e.moduleRef.onDestroy(()=>{Jc(e.allPlatformModules,e.moduleRef),i.unsubscribe(),s.delete(o)})}return function WU(e,t,n){try{const r=n();return Xc(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}(r,n,()=>{const o=t.get(Jr),s=o.add(),a=t.get(mC);return a.runInitializers(),a.donePromise.then(()=>{if(function sj(e){"string"==typeof e&&(LC=e.toLowerCase().replace(/_/g,"-"))}(t.get(Mr,hd)||hd),!t.get($U,!0))return wa(e)?t.get(_n):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(wa(e)){const d=t.get(_n);return void 0!==e.rootComponent&&d.bootstrap(e.rootComponent),d}return xI?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{o.remove(s)})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,r=[]){const i=gC({},r);return AI(),function jU(e,t,n){const r=new Iw(n);return Promise.resolve(r)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,i))}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Id,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(r){return new(r||e)(O(ve))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Go=null;function kI(e,t,n=[]){const r=`Platform: ${t}`,i=new D(r);return(o=[])=>{let s=Td();if(!s){const a=[...n,...o,{provide:i,useValue:!0}];s=e?.(a)??function qU(e){if(Td())throw new b(400,!1);(function HB(){!function sR(e){ny=e}(()=>{throw new b(600,"")})})(),Go=e;const t=e.get(RI);return function OI(e){const t=e.get(kb,null);xf(e,()=>{t?.forEach(n=>n())})}(e),t}(function NI(e=[],t){return ve.create({name:t,providers:[{provide:Sf,useValue:"platform"},{provide:Id,useValue:new Set([()=>Go=null])},...e]})}(a,r))}return function YU(){const t=Td();if(!t)throw new b(-401,!1);return t}()}}function Td(){return Go?.get(RI)??null}let wi=(()=>class e{static __NG_ELEMENT_ID__=ZU})();function ZU(e){return function QU(e,t,n){if(zn(e)&&!n){const r=Ct(e.index,t);return new Gs(r,r)}return 175&e.type?new Gs(t[15],t):null}($(),E(),!(16&~e))}class PI{constructor(){}supports(t){return Bc(t)}create(t){return new JU(t)}}const XU=(e,t)=>t;class JU{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(t){this._trackByFn=t||XU}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const s=!r||n&&n.currentIndex<VI(r,i,o)?n:r,a=VI(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)i++;else{o||(o=[]);const c=a-i,d=l-i;if(c!=d){for(let h=0;h<c;h++){const f=h<o.length?o[h]:o[h]=0,p=f+h;d<=p&&p<c&&(o[h]=f+1)}o[s.previousIndex]=d-c}}a!==l&&t(s,a,l)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Bc(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)o=t[a],s=this._trackByFn(a,o),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,o,s,a)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,s,a),r=!0),n=n._next}else i=0,function wL(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(i,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,i)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new ez(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new LI),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new LI),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}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(t,n){this.item=t,this.trackById=n}}class tz{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class LI{map=new Map;put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new tz,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function VI(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}function jI(){return new Bm([new PI])}let Bm=(()=>{class e{factories;static \u0275prov=S({token:e,providedIn:"root",factory:jI});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{const r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||jI())}}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new b(901,!1)}}return e})();const sz=kI(null,"core",[]);let az=(()=>{class e{constructor(n){}static \u0275fac=function(r){return new(r||e)(O(_n))};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();function Qe(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function JI(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}const Hm=Symbol("NOT_SET"),nT=new Set,Rz={...oy,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Hm,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!==Hm&&!ol(this))return this.signal;try{for(const i of this.cleanup??nT)i()}finally{this.cleanup?.clear()}const t=[];void 0!==e&&t.push(e),t.push(this.registerCleanupFn);const n=Hi(this);let r;try{r=this.userFn.apply(null,t)}finally{os(this,n)}return(this.value===Hm||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}};class kz extends YE{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,i,o,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,o.get(Mn),s),this.scheduler=i;for(const a of WE){const l=n[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=()=>(rl(c),c.value),c.signal[Xe]=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 t of this.nodes)if(t)try{for(const n of t.cleanup??nT)n()}finally{ss(t)}}}function rT(e,t){const n=oe(e),r=t.elementInjector||Dl();return new Uc(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}const Bz={...ji,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};function ze(e){return function Vz(e){const t=U(null);try{return e()}finally{U(t)}}(e)}function Ut(e,t){return ty(e,t?.equal)}class Hz{[Xe];constructor(t){this[Xe]=t}destroy(){this[Xe].destroy()}}function Nd(e,t){const n=t?.injector??g(ve);let i,r=!0!==t?.manualCleanup?n.get(Mn):null;const o=n.get(Al,null,{optional:!0}),s=n.get(gr);return null!==o?(i=function $z(e,t,n){const r=Object.create(zz);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=sT(r,n),e[23]??=new Set,e[23].add(r),r.consumerMarkedDirty(r),r}(o.view,s,e),r instanceof uv&&r._lView===o.view&&(r=null)):i=function Gz(e,t,n){const r=Object.create(Uz);return r.fn=sT(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}(e,n.get(gv),s),i.injector=n,null!==r&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Hz(i)}const oT={...Bz,cleanupFns:void 0,zone:null,onDestroyFn:Cs,run(){const e=Tl(!1);try{!function jz(e){if(e.dirty=!1,e.version>0&&!ol(e))return;e.version++;const t=Hi(e);try{e.cleanup(),e.fn()}finally{os(e,t)}}(this)}finally{Tl(e)}},cleanup(){if(!this.cleanupFns?.length)return;const e=U(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],U(e)}}},Uz={...oT,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){ss(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},zz={...oT,consumerMarkedDirty(){this.view[2]|=8192,Ji(this.view),this.notifier.notify(13)},destroy(){ss(this),this.onDestroyFn(),this.cleanup(),this.view[23]?.delete(this)}};function sT(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}Error,Error;const Xm=/\s+/,vT=[];let bT=(()=>{class e{_ngEl;_renderer;initialClasses=vT;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=null!=n?n.trim().split(Xm):vT}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Xm):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const i=this.stateMap.get(n);void 0!==i?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],i=n[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(n,r){(n=n.trim()).length>0&&n.split(Xm).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)(C(Ce),C(mn))};static \u0275dir=R({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class V${$implicit;ngForOf;index;count;constructor(t,n,r,i){this.$implicit=t,this.ngForOf=n,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 DT=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,i){this._viewContainer=n,this._template=r,this._differs=i}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new V$(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),wT(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}n.forEachIdentityChange(i=>{wT(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(C(gn),C(kn),C(Bm))};static \u0275dir=R({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function wT(e,t){e.context.$implicit=t.item}let CT=(()=>{class e{_viewContainer;_context=new B$;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){ST(n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){ST(n),this._elseTemplateRef=n,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(n,r){return!0}static \u0275fac=function(r){return new(r||e)(C(gn),C(kn))};static \u0275dir=R({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class B${$implicit=null;ngIf=null}function ST(e,t){if(e&&!e.createEmbeddedView)throw new b(2020,!1)}let tg=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){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(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,i)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,i),get:(n,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||e)(C(gn))};static \u0275dir=R({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[on]})}return e})(),ig=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();class MT{_doc;constructor(t){this._doc=t}manager}let og=(()=>{class e extends MT{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,i,o){return n.addEventListener(r,i,o),()=>this.removeEventListener(n,r,i,o)}removeEventListener(n,r,i,o){return n.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||e)(O(we))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const sg=new D("");let xT=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});const i=n.filter(s=>!(s instanceof og));this._plugins=i.slice().reverse();const o=n.find(s=>s instanceof og);o&&this._plugins.push(o)}addEventListener(n,r,i,o){return this._findPluginFor(r).addEventListener(n,r,i,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(o=>o.supports(n)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(O(sg),O(L))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const ag="ng-app-id";function AT(e){for(const t of e)t.remove()}function RT(e,t){const n=t.createElement("style");return n.textContent=e,n}function lg(e,t){const n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}let kT=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,i,o={}){this.doc=n,this.appId=r,this.nonce=i,function f3(e,t,n,r){const i=e.head?.querySelectorAll(`style[${ag}="${t}"],link[${ag}="${t}"]`);if(i)for(const o of i)o.removeAttribute(ag),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&n.set(o.textContent,{usage:0,elements:[o]})}(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(const i of n)this.addUsage(i,this.inline,RT);r?.forEach(i=>this.addUsage(i,this.external,lg))}removeStyles(n,r){for(const i of n)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(n,r,i){const o=r.get(n);o?o.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(n,this.doc)))})}removeUsage(n,r){const i=r.get(n);i&&(i.usage--,i.usage<=0&&(AT(i.elements),r.delete(n)))}ngOnDestroy(){for(const[,{elements:n}]of[...this.inline,...this.external])AT(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(const[r,{elements:i}]of this.inline)i.push(this.addElement(n,RT(r,this.doc)));for(const[r,{elements:i}]of this.external)i.push(this.addElement(n,lg(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(O(we),O(co),O(fh,8),O(Kl))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const cg={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"},dg=/%COMP%/g,y3=new D("",{providedIn:"root",factory:()=>!0});function OT(e,t){return t.map(n=>n.replace(dg,e))}let ug=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,i,o,s,a,l=null,c=null){this.eventManager=n,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(n,s,a,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;const i=this.getOrCreateRenderer(n,r);return i instanceof PT?i.applyToHost(n):i instanceof hg&&i.applyStyles(),i}getOrCreateRenderer(n,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,h=this.tracingService;switch(r.encapsulation){case Xn.Emulated:o=new PT(l,c,r,this.appId,d,s,a,u,h);break;case Xn.ShadowDom:return new D3(l,c,n,r,s,a,this.nonce,u,h);default:o=new hg(l,c,r,d,s,a,u,h)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(O(xT),O(kT),O(co),O(y3),O(we),O(L),O(fh),O(yo,8))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class fg{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,i,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(cg[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(FT(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(FT(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new b(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,i){if(i){n=i+":"+n;const o=cg[i];o?t.setAttributeNS(o,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const i=cg[r];i?t.removeAttributeNS(i,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,i){i&(Er.DashCase|Er.Important)?t.style.setProperty(n,r,i&Er.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Er.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){null!=t&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,i){if("string"==typeof t&&!(t=_r().getGlobalEventTarget(this.doc,t)))throw new b(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(t,n,o)),this.eventManager.addEventListener(t,n,o,i)}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&n.preventDefault()}}}function FT(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class D3 extends fg{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,i,o,s,a,l,c){super(t,o,s,l,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=i.styles;d=OT(i.id,d);for(const h of d){const f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}const u=i.getExternalStyles?.();if(u)for(const h of u){const f=lg(h,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class hg extends fg{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,i,o,s,a,l,c){super(t,o,s,a,l),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=c?OT(c,d):d,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===si.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class PT extends hg{contentAttr;hostAttr;constructor(t,n,r,i,o,s,a,l,c){const d=i+"-"+r.id;super(t,n,r,o,s,a,l,c,d),this.contentAttr=function v3(e){return"_ngcontent-%COMP%".replace(dg,e)}(d),this.hostAttr=function b3(e){return"_nghost-%COMP%".replace(dg,e)}(d)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class pg extends xk{supportsDOMEvents=!0;static makeCurrent(){!function Mk(e){_v??=e}(new pg)}onAndCancel(t,n,r,i){return t.addEventListener(n,r,i),()=>{t.removeEventListener(n,r,i)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function w3(){return Ia=Ia||document.head.querySelector("base"),Ia?Ia.getAttribute("href"):null}();return null==n?null:function C3(e){return new URL(e,document.baseURI).pathname}(n)}resetBaseElement(){Ia=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return wv(document.cookie,t)}}let Ia=null,I3=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const LT=["alt","control","meta","shift"],T3={"\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"},M3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let x3=(()=>{class e extends MT{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,i,o){const s=e.parseEventName(r),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_r().onAndCancel(n,s.domEventName,a,o))}static parseEventName(n){const r=n.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."),LT.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(n,r){let i=T3[n.key]||n.key,o="";return r.indexOf("code.")>-1&&(i=n.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),LT.forEach(s=>{s!==i&&(0,M3[s])(n)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(n,r,i){return o=>{e.matchEventFullKeyCode(o,n)&&i.runGuarded(()=>r(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}static \u0275fac=function(r){return new(r||e)(O(we))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const N3=kI(sz,"browser",[{provide:Kl,useValue:Sv},{provide:kb,useValue:function A3(){pg.makeCurrent()},multi:!0},{provide:we,useFactory:function k3(){return function wO(e){uh=e}(document),document}}]),jT=[{provide:Qc,useClass:class S3{addToWindow(t){Fe.getAngularTestability=(r,i=!0)=>{const o=t.findTestabilityInTree(r,i);if(null==o)throw new b(5103,!1);return o},Fe.getAllAngularTestabilities=()=>t.getAllTestabilities(),Fe.getAllAngularRootElements=()=>t.getAllRootElements(),Fe.frameworkStabilizers||(Fe.frameworkStabilizers=[]),Fe.frameworkStabilizers.push(r=>{const i=Fe.getAllAngularTestabilities();let o=i.length;const s=function(){o--,0==o&&r()};i.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?_r().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}}},{provide:fC,useClass:qp,deps:[L,Yp,Qc]},{provide:qp,useClass:qp,deps:[L,Yp,Qc]}],HT=[{provide:Sf,useValue:"root"},{provide:Kn,useFactory:function R3(){return new Kn}},{provide:sg,useClass:og,multi:!0,deps:[we]},{provide:sg,useClass:x3,multi:!0,deps:[we]},ug,kT,xT,{provide:Nn,useExisting:ug},{provide:Cv,useClass:I3},[]];let UT=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[...HT,...jT],imports:[ig,az]})}return e})();function xr(e){return this instanceof xr?(this.v=e,this):new xr(e)}function WT(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function yg(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[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)})}}}"function"==typeof SuppressedError&&SuppressedError;const qT=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function YT(e){return Ee(e?.then)}function KT(e){return Ee(e[sf])}function ZT(e){return Symbol.asyncIterator&&Ee(e?.[Symbol.asyncIterator])}function QT(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 XT=function s8(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function JT(e){return Ee(e?.[XT])}function eM(e){return function GT(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(f){return function(p){return Promise.resolve(p).then(f,u)}}),i[Symbol.asyncIterator]=function(){return this},i;function a(f,p){r[f]&&(i[f]=function(m){return new Promise(function(_,v){o.push([f,m,_,v])>1||l(f,m)})},p&&(i[f]=p(i[f])))}function l(f,p){try{!function c(f){f.value instanceof xr?Promise.resolve(f.value.v).then(d,u):h(o[0][2],f)}(r[f](p))}catch(m){h(o[0][3],m)}}function d(f){l("next",f)}function u(f){l("throw",f)}function h(f,p){f(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield xr(n.read());if(i)return yield xr(void 0);yield yield xr(r)}}finally{n.releaseLock()}})}function tM(e){return Ee(e?.getReader)}function zt(e){if(e instanceof De)return e;if(null!=e){if(KT(e))return function a8(e){return new De(t=>{const n=e[sf]();if(Ee(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(qT(e))return function l8(e){return new De(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(YT(e))return function c8(e){return new De(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,dy)})}(e);if(ZT(e))return nM(e);if(JT(e))return function d8(e){return new De(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(tM(e))return function u8(e){return nM(eM(e))}(e)}throw QT(e)}function nM(e){return new De(t=>{(function f8(e,t){var n,r,i,o;return function zT(e,t,n,r){return new(n||(n=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 n?o:new n(function(s){s(o)})}(d.value).then(a,l)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=WT(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function ir(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function Gd(e,t,n=1/0){return Ee(t)?Gd((r,i)=>qe((o,s)=>t(r,o,i,s))(zt(e(r,i))),n):("number"==typeof t&&(n=t),at((r,i)=>function h8(e,t,n,r,i,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&t.complete()},f=m=>c<r?p(m):l.push(m),p=m=>{o&&t.next(m),c++;let _=!1;zt(n(m,d++)).subscribe(tt(t,v=>{i?.(v),o?f(v):t.next(v)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<r;){const v=l.shift();s?ir(t,s,()=>p(v)):p(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(tt(t,f,()=>{u=!0,h()})),()=>{a?.()}}(r,i,e,n)))}function or(e,t){return at((n,r)=>{let i=0;n.subscribe(tt(r,o=>e.call(t,o,i++)&&r.next(o)))})}function bg(e){return at((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Wd(e,t){return at((n,r)=>{let i=null,o=0,s=!1;const a=()=>s&&!i&&r.complete();n.subscribe(tt(r,l=>{i?.unsubscribe();let c=0;const d=o++;zt(e(l,d)).subscribe(i=tt(r,u=>r.next(t?t(l,u,d,c++):u),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function rM(e){return e&&Ee(e.schedule)}function Eg(e){return e[e.length-1]}function iM(e){return Ee(Eg(e))?e.pop():void 0}function Ta(e){return rM(Eg(e))?e.pop():void 0}function oM(e,t=0){return at((n,r)=>{n.subscribe(tt(r,i=>ir(r,e,()=>r.next(i),t),()=>ir(r,e,()=>r.complete(),t),i=>ir(r,e,()=>r.error(i),t)))})}function sM(e,t=0){return at((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function aM(e,t){if(!e)throw new Error("Iterable cannot be null");return new De(n=>{ir(n,t,()=>{const r=e[Symbol.asyncIterator]();ir(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ar(e,t){return t?function E8(e,t){if(null!=e){if(KT(e))return function g8(e,t){return zt(e).pipe(sM(t),oM(t))}(e,t);if(qT(e))return function y8(e,t){return new De(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(YT(e))return function _8(e,t){return zt(e).pipe(sM(t),oM(t))}(e,t);if(ZT(e))return aM(e,t);if(JT(e))return function v8(e,t){return new De(n=>{let r;return ir(n,t,()=>{r=e[XT](),ir(n,t,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void n.error(s)}o?n.complete():n.next(i)},0,!0)}),()=>Ee(r?.return)&&r.return()})}(e,t);if(tM(e))return function b8(e,t){return aM(eM(e),t)}(e,t)}throw QT(e)}(e,t):zt(e)}function Fn(...e){return Ar(e,Ta(e))}class qd{}class Yd{}class En{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const i=n.slice(0,r),o=n.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof En?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new En;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof En?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const i=("a"===t.op?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":const o=t.value;if(o){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}addHeaderEntry(t,n){const r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class D8{encodeKey(t){return lM(t)}encodeValue(t){return lM(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const C8=/%(\d[a-f0-9])/gi,S8={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function lM(e){return encodeURIComponent(e).replace(C8,(t,n)=>S8[n]??t)}function Kd(e){return`${e}`}class Rr{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new D8,t.fromString){if(t.fromObject)throw new b(2805,!1);this.map=function w8(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[t.decodeKey(i),""]:[t.decodeKey(i.slice(0,o)),t.decodeValue(i.slice(o+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],i=Array.isArray(r)?r.map(Kd):[Kd(r)];this.map.set(n,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const i=t[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new Rr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Kd(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const i=r.indexOf(Kd(t.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class I8{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function cM(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function dM(e){return typeof Blob<"u"&&e instanceof Blob}function uM(e){return typeof FormData<"u"&&e instanceof FormData}const Ma="Content-Type",Dg="X-Request-URL",fM="text/plain",hM="application/json",pM=`${hM}, ${fM}, */*`;class xa{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(t,n,r,i){let o;if(this.url=n,this.method=t.toUpperCase(),function T8(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 b(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 En,this.context??=new I8,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new Rr,this.urlWithParams=n}serializeBody(){return null===this.body?null:"string"==typeof this.body||cM(this.body)||dM(this.body)||uM(this.body)||function M8(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Rr?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||uM(this.body)?null:dM(this.body)?this.body.type||null:cM(this.body)?null:"string"==typeof this.body?fM:this.body instanceof Rr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?hM:null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,c=t.redirect||this.redirect,d=t.credentials||this.credentials,u=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,p=t.timeout??this.timeout,m=void 0!==t.body?t.body:this.body,_=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress;let y=t.headers||this.headers,I=t.params||this.params;const T=t.context??this.context;return void 0!==t.setHeaders&&(y=Object.keys(t.setHeaders).reduce((k,Q)=>k.set(Q,t.setHeaders[Q]),y)),t.setParams&&(I=Object.keys(t.setParams).reduce((k,Q)=>k.set(Q,t.setParams[Q]),I)),new xa(n,r,m,{params:I,headers:y,context:T,reportProgress:v,responseType:i,withCredentials:_,transferCache:f,keepalive:o,cache:a,priority:s,timeout:p,mode:l,redirect:c,credentials:d,referrer:u,integrity:h})}}var kr=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}(kr||{});class wg{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new En,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}}class Qd extends wg{constructor(t={}){super(t)}type=kr.ResponseHeader;clone(t={}){return new Qd({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Aa extends wg{body;constructor(t={}){super(t),this.body=void 0!==t.body?t.body:null}type=kr.Response;clone(t={}){return new Aa({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}}class Ci extends wg{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Cg(e,t){return{body:t,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 Sg=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,i={}){let o;if(n instanceof xa)o=n;else{let l,c;l=i.headers instanceof En?i.headers:new En(i.headers),i.params&&(c=i.params instanceof Rr?i.params:new Rr({fromObject:i.params})),o=new xa(n,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=Fn(o).pipe(function p8(e,t){return Ee(t)?Gd(e,t,1):Gd(e,1)}(l=>this.handler.handle(l)));if(n instanceof xa||"events"===i.observe)return s;const a=s.pipe(or(l=>l instanceof Aa));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new b(2806,!1);return l.body}));case"blob":return a.pipe(qe(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new b(2807,!1);return l.body}));case"text":return a.pipe(qe(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new b(2808,!1);return l.body}));default:return a.pipe(qe(l=>l.body))}case"response":return a;default:throw new b(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Rr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,i={}){return this.request("PATCH",n,Cg(i,r))}post(n,r,i={}){return this.request("POST",n,Cg(i,r))}put(n,r,i={}){return this.request("PUT",n,Cg(i,r))}static \u0275fac=function(r){return new(r||e)(O(qd))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const _M=new D("");function yM(e,t){return t(e)}function O8(e,t){return(n,r)=>t.intercept(n,{handle:i=>e(i,r)})}const P8=new D(""),Ra=new D(""),L8=new D(""),vM=new D("",{providedIn:"root",factory:()=>!0});function V8(){let e=null;return(t,n)=>{null===e&&(e=(g(P8,{optional:!0})??[]).reduceRight(O8,yM));const r=g(Rl);if(g(vM)){const o=r.add();return e(t,n).pipe(bg(o))}return e(t,n)}}let bM=(()=>{class e extends qd{backend;injector;chain=null;pendingTasks=g(Rl);contributeToStability=g(vM);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Ra),...this.injector.get(L8,[])]));this.chain=r.reduceRight((i,o)=>function F8(e,t,n){return(r,i)=>xf(n,()=>t(r,o=>e(o,i)))}(i,o,this.injector),yM)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(bg(r))}return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(O(Yd),O(pt))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const U8=/^\)\]\}',?\n/,z8=RegExp(`^${Dg}:`,"m");let DM=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new b(-2800,!1);const r=this.xhrFactory;return Fn(null).pipe(Wd(()=>new De(o=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((_,v)=>s.setRequestHeader(_,v.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept",pM),!n.headers.has(Ma)){const _=n.detectContentTypeHeader();null!==_&&s.setRequestHeader(Ma,_)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){const _=n.responseType.toLowerCase();s.responseType="json"!==_?_:"text"}const a=n.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const _=s.statusText||"OK",v=new En(s.getAllResponseHeaders()),y=function $8(e){return"responseURL"in e&&e.responseURL?e.responseURL:z8.test(e.getAllResponseHeaders())?e.getResponseHeader(Dg):null}(s)||n.url;return l=new Qd({headers:v,status:s.status,statusText:_,url:y}),l},d=()=>{let{headers:_,status:v,statusText:y,url:I}=c(),T=null;204!==v&&(T=typeof s.response>"u"?s.responseText:s.response),0===v&&(v=T?200:0);let k=v>=200&&v<300;if("json"===n.responseType&&"string"==typeof T){const Q=T;T=T.replace(U8,"");try{T=""!==T?JSON.parse(T):null}catch(ie){T=Q,k&&(k=!1,T={error:ie,text:T})}}k?(o.next(new Aa({body:T,headers:_,status:v,statusText:y,url:I||void 0})),o.complete()):o.error(new Ci({error:T,headers:_,status:v,statusText:y,url:I||void 0}))},u=_=>{const{url:v}=c(),y=new Ci({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});o.error(y)};let h=u;n.timeout&&(h=_=>{const{url:v}=c(),y=new Ci({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});o.error(y)});let f=!1;const p=_=>{f||(o.next(c()),f=!0);let v={type:kr.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(v.total=_.total),"text"===n.responseType&&s.responseText&&(v.partialText=s.responseText),o.next(v)},m=_=>{let v={type:kr.UploadProgress,loaded:_.loaded};_.lengthComputable&&(v.total=_.total),o.next(v)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",h),s.addEventListener("abort",u),n.reportProgress&&(s.addEventListener("progress",p),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),o.next({type:kr.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",h),n.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)(O(Cv))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Mg=new D(""),wM=new D("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),CM=new D("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class SM{}let q8=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=wv(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(O(we),O(wM))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();const Y8=/^(?:https?:)?\/\//i;function K8(e,t){if(!g(Mg)||"GET"===e.method||"HEAD"===e.method||Y8.test(e.url))return t(e);const n=g(SM).getToken(),r=g(CM);return null!=n&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}var Nr=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}(Nr||{});function Z8(...e){const t=[Sg,DM,bM,{provide:qd,useExisting:bM},{provide:Yd,useFactory:()=>g(_M,{optional:!0})??g(DM)},{provide:Ra,useValue:K8,multi:!0},{provide:Mg,useValue:!0},{provide:SM,useClass:q8}];for(const n of e)t.push(...n.\u0275providers);return function Ef(e){return{\u0275providers:e}}(t)}const IM=new D("");function Q8(){return function Si(e,t){return{\u0275kind:e,\u0275providers:t}}(Nr.LegacyInterceptors,[{provide:IM,useFactory:V8},{provide:Ra,useExisting:IM,multi:!0}])}let X8=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[Z8(Q8())]})}return e})();const{isArray:J8}=Array,{getPrototypeOf:e5,prototype:t5,keys:n5}=Object;function TM(e){if(1===e.length){const t=e[0];if(J8(t))return{args:t,keys:null};if(function r5(e){return e&&"object"==typeof e&&e5(e)===t5}(t)){const n=n5(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:i5}=Array;function MM(e){return qe(t=>function o5(e,t){return i5(t)?e(...t):e(t)}(e,t))}function xM(e,t){return e.reduce((n,r,i)=>(n[r]=t[i],n),{})}function AM(...e){const t=iM(e),{args:n,keys:r}=TM(e),i=new De(o=>{const{length:s}=n;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;zt(n[d]).subscribe(tt(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(r?xM(r,a):a),o.complete())}))}});return t?i.pipe(MM(t)):i}let RM=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(C(mn),C(Ce))};static \u0275dir=R({type:e})}return e})(),Ii=(()=>{class e extends RM{static \u0275fac=(()=>{let n;return function(i){return(n||(n=nt(e)))(i||e)}})();static \u0275dir=R({type:e,features:[le]})}return e})();const Dn=new D(""),a5={provide:Dn,useExisting:_e(()=>Xd),multi:!0},c5=new D("");let Xd=(()=>{class e extends RM{_compositionMode;_composing=!1;constructor(n,r,i){super(n,r),this._compositionMode=i,null==this._compositionMode&&(this._compositionMode=!function l5(){const e=_r()?_r().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(C(mn),C(Ce),C(c5,8))};static \u0275dir=R({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&&xe("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:[se([a5]),le]})}return e})();function xg(e){return null==e||0===Ag(e)}function Ag(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}const bt=new D(""),Or=new D(""),d5=/^(?=.{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 NM{static min(t){return function OM(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function FM(e){return t=>{if(null==t.value||null==e)return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function PM(e){return xg(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function LM(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function VM(e){return xg(e.value)||d5.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function BM(e){return t=>{const n=t.value?.length??Ag(t.value);return null===n||0===n?null:n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}(t)}static maxLength(t){return function jM(e){return t=>{const n=t.value?.length??Ag(t.value);return null!==n&&n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}(t)}static pattern(t){return function HM(e){if(!e)return Jd;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(xg(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return qM(t)}static composeAsync(t){return YM(t)}}function Jd(e){return null}function UM(e){return null!=e}function zM(e){return Xc(e)?Ar(e):e}function $M(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function GM(e,t){return t.map(n=>n(e))}function WM(e){return e.map(t=>function u5(e){return!e.validate}(t)?t:n=>t.validate(n))}function qM(e){if(!e)return null;const t=e.filter(UM);return 0==t.length?null:function(n){return $M(GM(n,t))}}function Rg(e){return null!=e?qM(WM(e)):null}function YM(e){if(!e)return null;const t=e.filter(UM);return 0==t.length?null:function(n){return AM(GM(n,t).map(zM)).pipe(qe($M))}}function kg(e){return null!=e?YM(WM(e)):null}function KM(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function ZM(e){return e._rawValidators}function QM(e){return e._rawAsyncValidators}function Ng(e){return e?Array.isArray(e)?e:[e]:[]}function eu(e,t){return Array.isArray(e)?e.includes(t):e===t}function XM(e,t){const n=Ng(t);return Ng(e).forEach(i=>{eu(n,i)||n.push(i)}),n}function JM(e,t){return Ng(t).filter(n=>!eu(e,n))}class ex{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(t){this._rawValidators=t||[],this._composedValidatorFn=Rg(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=kg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class At extends ex{name;get formDirective(){return null}get path(){return null}}class Pn extends ex{_parent=null;name=null;valueAccessor=null}class tx{_cd;constructor(t){this._cd=t}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 nx=(()=>{class e extends tx{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(C(Pn,2))};static \u0275dir=R({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){2&r&&ut("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:[le]})}return e})();const ka="VALID",nu="INVALID",qo="PENDING",Na="DISABLED";class Yo{}class ix extends Yo{value;source;constructor(t,n){super(),this.value=t,this.source=n}}class Pg extends Yo{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}}class Lg extends Yo{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}}class ru extends Yo{status;source;constructor(t,n){super(),this.status=t,this.source=n}}class ox extends Yo{source;constructor(t){super(),this.source=t}}class Vg extends Yo{source;constructor(t){super(),this.source=t}}function Bg(e){return(iu(e)?e.validators:e)||null}function jg(e,t){return(iu(t)?t.asyncValidators:e)||null}function iu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Hg{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return ze(this.statusReactive)}set status(t){ze(()=>this.statusReactive.set(t))}_status=Ut(()=>this.statusReactive());statusReactive=Ot(void 0);get valid(){return this.status===ka}get invalid(){return this.status===nu}get pending(){return this.status==qo}get disabled(){return this.status===Na}get enabled(){return this.status!==Na}errors;get pristine(){return ze(this.pristineReactive)}set pristine(t){ze(()=>this.pristineReactive.set(t))}_pristine=Ut(()=>this.pristineReactive());pristineReactive=Ot(!0);get dirty(){return!this.pristine}get touched(){return ze(this.touchedReactive)}set touched(t){ze(()=>this.touchedReactive.set(t))}_touched=Ut(()=>this.touchedReactive());touchedReactive=Ot(!1);get untouched(){return!this.touched}_events=new X;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(XM(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(XM(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(JM(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(JM(t,this._rawAsyncValidators))}hasValidator(t){return eu(this._rawValidators,t)}hasAsyncValidator(t){return eu(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){const n=!1===this.touched;this.touched=!0;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Lg(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=t.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&!1!==t.emitEvent&&this._events.next(new Lg(!1,r))}markAsDirty(t={}){const n=!0===this.pristine;this.pristine=!1;const r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty({...t,sourceControl:r}),n&&!1!==t.emitEvent&&this._events.next(new Pg(!1,r))}markAsPristine(t={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=t.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&!1!==t.emitEvent&&this._events.next(new Pg(!0,r))}markAsPending(t={}){this.status=qo;const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new ru(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending({...t,sourceControl:n})}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Na,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue();const r=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new ix(this.value,r)),this._events.next(new ru(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=ka,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ka||this.status===qo)&&this._runAsyncValidator(r,t.emitEvent)}const n=t.sourceControl??this;!1!==t.emitEvent&&(this._events.next(new ix(this.value,n)),this._events.next(new ru(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity({...t,sourceControl:n})}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Na:ka}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=qo,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n,shouldHaveEmitted:!1!==t};const r=zM(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new ru(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new ue,this.statusChanges=new ue}_calculateStatus(){return this._allControlsDisabled()?Na:this.errors?nu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qo)?qo:this._anyControlsHaveStatus(nu)?nu:ka}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){const r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),i&&this._events.next(new Pg(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new Lg(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){iu(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function v5(e){return Array.isArray(e)?Rg(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function b5(e){return Array.isArray(e)?kg(e):e||null}(this._rawAsyncValidators)}}class Ug extends Hg{constructor(t,n,r){super(Bg(n),jg(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function ax(e,t,n){e._forEachChild((r,i)=>{if(void 0===n[i])throw new b(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function sx(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new b(1e3,"");if(!r[n])throw new b(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,i)=>{r.reset(t?t[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),!1!==n?.emitEvent&&this._events.next(new Vg(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const Ko=new D("",{providedIn:"root",factory:()=>ou}),ou="always";function Oa(e,t,n=ou){zg(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function w5(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&lx(e,t)})}(e,t),function S5(e,t){const n=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function C5(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&lx(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function D5(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function au(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),cu(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function lu(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function zg(e,t){const n=ZM(e);null!==t.validator?e.setValidators(KM(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=QM(e);null!==t.asyncValidator?e.setAsyncValidators(KM(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();lu(t._rawValidators,i),lu(t._rawAsyncValidators,i)}function cu(e,t){let n=!1;if(null!==e){if(null!==t.validator){const i=ZM(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.validator);o.length!==i.length&&(n=!0,e.setValidators(o))}}if(null!==t.asyncValidator){const i=QM(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==t.asyncValidator);o.length!==i.length&&(n=!0,e.setAsyncValidators(o))}}}const r=()=>{};return lu(t._rawValidators,r),lu(t._rawAsyncValidators,r),n}function lx(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function cx(e,t){zg(e,t)}function dx(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const A5={provide:At,useExisting:_e(()=>Zo)},Fa=Promise.resolve();let Zo=(()=>{class e extends At{callSetDisabledState;get submitted(){return ze(this.submittedReactive)}_submitted=Ut(()=>this.submittedReactive());submittedReactive=Ot(!1);_directives=new Set;form;ngSubmit=new ue;options;constructor(n,r,i){super(),this.callSetDisabledState=i,this.form=new Ug({},Rg(n),kg(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Fa.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Oa(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Fa.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Fa.then(()=>{const r=this._findContainer(n.path),i=new Ug({});cx(i,n),r.registerControl(n.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Fa.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Fa.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submittedReactive.set(!0),dx(this.form,this._directives),this.ngSubmit.emit(n),this.form._events.next(new ox(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}static \u0275fac=function(r){return new(r||e)(C(bt,10),C(Or,10),C(Ko,8))};static \u0275dir=R({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){1&r&&xe("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:[se([A5]),le]})}return e})();function ux(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function fx(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const hx=class extends Hg{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(Bg(n),jg(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),iu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=fx(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1,!1!==n?.emitEvent&&this._events.next(new Vg(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ux(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ux(this._onDisabledChange,t)}_forEachChild(t){}_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(t){fx(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},F5={provide:Pn,useExisting:_e(()=>qg)},px=Promise.resolve();let qg=(()=>{class e extends Pn{_changeDetectorRef;callSetDisabledState;control=new hx;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new ue;constructor(n,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=n,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function Wg(e,t){if(!t)return null;let n,r,i;return Array.isArray(t),t.forEach(o=>{o.constructor===Xd?n=o:function M5(e){return Object.getPrototypeOf(e.constructor)===Ii}(o)?r=o:i=o}),i||r||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Gg(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){Oa(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(n){px.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,i=0!==r&&Qe(r);px.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function su(e,t){return[...t.path,e]}(n,this._parent):[n]}static \u0275fac=function(r){return new(r||e)(C(At,9),C(bt,10),C(Or,10),C(Dn,10),C(wi,8),C(Ko,8))};static \u0275dir=R({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:[se([F5]),le,on]})}return e})();const U5={provide:At,useExisting:_e(()=>Qo)};let Qo=(()=>{class e extends At{callSetDisabledState;get submitted(){return ze(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=Ut(()=>this._submittedReactive());_submittedReactive=Ot(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new ue;constructor(n,r,i){super(),this.callSetDisabledState=i,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(cu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Oa(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){au(n.control||null,n,!1),function x5(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),dx(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new ox(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,i=this.form.get(n.path);r!==i&&(au(r||null,n),(e=>e instanceof hx)(i)&&(Oa(i,n,this.callSetDisabledState),n.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);cx(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function I5(e,t){return cu(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){zg(this.form,this),this._oldForm&&cu(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(C(bt,10),C(Or,10),C(Ko,8))};static \u0275dir=R({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,i){1&r&&xe("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:[se([U5]),le,on]})}return e})(),sG=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})(),Nx=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Ko,useValue:n.callSetDisabledState??ou}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[sG]})}return e})(),lG=(()=>{class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),cG=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[lG]})}return e})();const Qg={};let Xo=(()=>{class e{_appId=g(co);getId(n){return"ng"!==this._appId&&(n+=this._appId),Qg.hasOwnProperty(n)||(Qg[n]=0),`${n}${Qg[n]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const dG=new D("cdk-dir-doc",{providedIn:"root",factory:function uG(){return g(we)}}),fG=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Xg,hu=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Ot("ltr");change=new ue;constructor(){const n=g(dG,{optional:!0});n&&this.valueSignal.set(function hG(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?fG.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function pu(e){return null!=e&&"false"!=`${e}`}try{Xg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xg=!1}let wn=(()=>{class e{_platformId=g(Kl);isBrowser=this._platformId?Iv(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&&!Xg)&&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=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ox(e=1/0){return Gd(ls,e)}const mu=new De(e=>e.complete());function La(...e){const t=Ta(e),n=function m8(e,t){return"number"==typeof Eg(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?zt(r[0]):Ox(n)(Ar(r,t)):mu}function Jg(...e){return function mG(){return Ox(1)}()(Ar(e,Ta(e)))}function gu(...e){const t=Ta(e);return at((n,r)=>{(t?Jg(e,n,t):Jg(e,n)).subscribe(r)})}function Fr(e){return at((t,n)=>{zt(e).subscribe(tt(n,()=>n.complete(),Ju)),!n.closed&&t.subscribe(n)})}const e_={now:()=>(e_.delegate||Date).now(),delegate:void 0};class Fx extends X{constructor(t=1/0,n=1/0,r=e_){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;n||(r.push(t),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!t.closed;s+=r?1:2)t.next(o[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){const s=n.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 Px(e={}){const{connector:t=()=>new X,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=l=void 0,d=u=!1},p=()=>{const m=s;f(),m?.unsubscribe()};return at((m,_)=>{c++,!u&&!d&&h();const v=l=l??t();_.add(()=>{c--,0===c&&!u&&!d&&(a=t_(p,i))}),v.subscribe(_),!s&&c>0&&(s=new as({next:y=>v.next(y),error:y=>{u=!0,h(),a=t_(f,n,y),v.error(y)},complete:()=>{d=!0,h(),a=t_(f,r),v.complete()}}),zt(m).subscribe(s))})(o)}}function t_(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new as({next:()=>{r.unsubscribe(),e()}});return zt(t(...n)).subscribe(r)}class yG{_box;_destroyed=new X;_resizeSubject=new X;_resizeObserver;_elementObservables=new Map;constructor(t){this._box=t,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new De(n=>{const r=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(t,{box:this._box}),()=>{this._resizeObserver?.unobserve(t),r.unsubscribe(),this._elementObservables.delete(t)}}).pipe(or(n=>n.some(r=>r.target===t)),function _G(e,t,n){let r,i=!1;return e&&"object"==typeof e?({bufferSize:r=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:n}=e):r=e??1/0,Px({connector:()=>new Fx(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}({bufferSize:1,refCount:!0}),Fr(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let vG=(()=>{class e{_cleanupErrorListener;_observers=new Map;_ngZone=g(L);constructor(){}ngOnDestroy(){for(const[,n]of this._observers)n.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(n,r){const i=r?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new yG(i)),this._observers.get(i).observe(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lx(e,t,n){e?ir(n,e,t):t()}function Va(e){return e<=0?()=>mu:at((t,n)=>{let r=0;t.subscribe(tt(n,i=>{++r<=e&&(n.next(i),e<=r&&n.complete())}))})}class wG extends Ae{constructor(t,n){super()}schedule(t,n=0){return this}}const _u={setInterval(e,t,...n){const{delegate:r}=_u;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=_u;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class n_ extends wG{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return _u.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;null!=n&&_u.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let i,r=!1;try{this.work(t)}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:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,al(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}class Ba{constructor(t,n=Ba.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Ba.now=e_.now;class r_ extends Ba{constructor(t,n=Ba.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}const i_=new r_(n_),CG=i_;function o_(e,t=i_){return at((n,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=t.now();if(d<c)return i=this.schedule(void 0,c-d),void r.add(i);a()}n.subscribe(tt(r,c=>{o=c,s=t.now(),i||(i=t.schedule(l,e),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function yu(e){return Array.isArray(e)?e:[e]}const Vx=new Set;let Mi,Bx=(()=>{class e{_platform=g(wn);_nonce=g(fh,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IG}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&function SG(e,t){if(!Vx.has(e))try{Mi||(Mi=document.createElement("style"),t&&Mi.setAttribute("nonce",t),Mi.setAttribute("type","text/css"),document.head.appendChild(Mi)),Mi.sheet&&(Mi.sheet.insertRule(`@media ${e} {body{ }}`,0),Vx.add(e))}catch(n){console.error(n)}}(n,this._nonce),this._matchMedia(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function IG(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let TG=(()=>{class e{_mediaMatcher=g(Bx);_zone=g(L);_queries=new Map;_destroySubject=new X;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return jx(yu(n)).some(i=>this._registerQuery(i).mql.matches)}observe(n){let o=function bG(...e){const t=Ta(e),n=iM(e),{args:r,keys:i}=TM(e);if(0===r.length)return Ar([],t);const o=new De(function EG(e,t,n=ls){return r=>{Lx(t,()=>{const{length:i}=e,o=new Array(i);let s=i,a=i;for(let l=0;l<i;l++)Lx(t,()=>{const c=Ar(e[l],t);let d=!1;c.subscribe(tt(r,u=>{o[l]=u,d||(d=!0,a--),a||r.next(n(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,i?s=>xM(i,s):ls));return n?o.pipe(MM(n)):o}(jx(yu(n)).map(s=>this._registerQuery(s).observable));return o=Jg(o.pipe(Va(1)),o.pipe(function DG(e){return or((t,n)=>e<=n)}(1),o_(0))),o.pipe(qe(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);const r=this._mediaMatcher.matchMedia(n),o={observable:new De(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(gu(r),qe(({matches:s})=>({query:n,matches:s})),Fr(this._destroySubject)),mql:r};return this._queries.set(n,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jx(e){return e.map(t=>t.split(",")).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}const MG=new D("MATERIAL_ANIMATIONS");let Hx=null;function vu(){return"enabled"!==function xG(){return g(MG,{optional:!0})?.animationsDisabled||"NoopAnimations"===g(Zl,{optional:!0})?"di-disabled":(Hx??=g(Bx).matchMedia("(prefers-reduced-motion)").matches,Hx?"reduced-motion":"enabled")}()}const AG=["notch"],RG=["matFormFieldNotchedOutline",""],kG=["*"],Ux=["iconPrefixContainer"],zx=["textPrefixContainer"],$x=["iconSuffixContainer"],Gx=["textSuffixContainer"],NG=["textField"],OG=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],FG=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function PG(e,t){1&e&&yt(0,"span",21)}function LG(e,t){if(1&e&&(K(0,"label",20),vt(1,1),Ye(2,PG,1,0,"span",21),Z()),2&e){const n=N(2);B("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),dt("for",n._control.disableAutomaticLabeling?null:n._control.id),x(2),Ke(!n.hideRequiredMarker&&n._control.required?2:-1)}}function VG(e,t){1&e&&Ye(0,LG,3,5,"label",20),2&e&&Ke(N()._hasFloatingLabel()?0:-1)}function BG(e,t){1&e&&yt(0,"div",7)}function jG(e,t){}function HG(e,t){1&e&&Te(0,jG,0,0,"ng-template",13),2&e&&(N(2),B("ngTemplateOutlet",ga(1)))}function UG(e,t){if(1&e&&(K(0,"div",9),Ye(1,HG,1,1,null,13),Z()),2&e){const n=N();B("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),x(),Ke(n._forceDisplayInfixLabel()?-1:1)}}function zG(e,t){1&e&&(K(0,"div",10,2),vt(2,2),Z())}function $G(e,t){1&e&&(K(0,"div",11,3),vt(2,3),Z())}function GG(e,t){}function WG(e,t){1&e&&Te(0,GG,0,0,"ng-template",13),2&e&&(N(),B("ngTemplateOutlet",ga(1)))}function qG(e,t){1&e&&(K(0,"div",14,4),vt(2,4),Z())}function YG(e,t){1&e&&(K(0,"div",15,5),vt(2,5),Z())}function KG(e,t){1&e&&yt(0,"div",16)}function ZG(e,t){1&e&&(K(0,"div",18),vt(1,6),Z())}function QG(e,t){if(1&e&&(K(0,"mat-hint",22),yn(1),Z()),2&e){const n=N(2);B("id",n._hintLabelId),x(),ya(n.hintLabel)}}function XG(e,t){if(1&e&&(K(0,"div",19),Ye(1,QG,2,2,"mat-hint",22),vt(2,7),yt(3,"div",23),vt(4,8),Z()),2&e){const n=N();x(),Ke(n.hintLabel?1:-1)}}let Wx=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["mat-label"]]})}return e})();const JG=new D("MatError");let qx=(()=>{class e{align="start";id=g(Xo).getId("mat-mdc-hint-");static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({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&&(ca("id",i.id),dt("align",null),ut("mat-mdc-form-field-hint-end","end"===i.align))},inputs:{align:"align",id:"id"}})}return e})();const Yx=new D("MatPrefix");let eW=(()=>{class e{set _isTextSelector(n){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[se([{provide:Yx,useExisting:e}])]})}return e})();const Kx=new D("MatSuffix");let tW=(()=>{class e{set _isTextSelector(n){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[se([{provide:Kx,useExisting:e}])]})}return e})();const Zx=new D("FloatingLabelParent");let Qx=(()=>{class e{_elementRef=g(Ce);get floating(){return this._floating}set floating(n){this._floating=n,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(n){this._monitorResize=n,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=g(vG);_ngZone=g(L);_parent=g(Zx);_resizeSubscription=new Ae;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function nW(e){if(null!==e.offsetParent)return e.scrollWidth;const n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);const r=n.scrollWidth;return n.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=R({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,i){2&r&&ut("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return e})();const Xx="mdc-line-ripple--active",bu="mdc-line-ripple--deactivating";let Jx=(()=>{class e{_elementRef=g(Ce);_cleanupTransitionEnd;constructor(){const n=g(L),r=g(mn);n.runOutsideAngular(()=>{this._cleanupTransitionEnd=r.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const n=this._elementRef.nativeElement.classList;n.remove(bu),n.add(Xx)}deactivate(){this._elementRef.nativeElement.classList.add(bu)}_handleTransitionEnd=n=>{const r=this._elementRef.nativeElement.classList,i=r.contains(bu);"opacity"===n.propertyName&&i&&r.remove(Xx,bu)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return e})(),e0=(()=>{class e{_elementRef=g(Ce);_ngZone=g(L);open=!1;_notch;ngAfterViewInit(){const n=this._elementRef.nativeElement,r=n.querySelector(".mdc-floating-label");r?(n.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(r.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>r.style.transitionDuration="")}))):n.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(n){this._notch.nativeElement.style.width=this.open&&n?`calc(${n}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}_setMaxWidth(n){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${n}px)`)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,i){if(1&r&&Mt(AG,5),2&r){let o;ke(o=Ne())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,i){2&r&&ut("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:RG,ngContentSelectors:kG,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&&(jo(),ud(0,"div",1),cd(1,"div",2,0),vt(3),dd(),ud(4,"div",3))},encapsulation:2,changeDetection:0})}return e})(),s_=(()=>{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=R({type:e})}return e})();const a_=new D("MatFormField"),rW=new D("MAT_FORM_FIELD_DEFAULT_OPTIONS");let r0=(()=>{class e{_elementRef=g(Ce);_changeDetectorRef=g(wi);_platform=g(wn);_idGenerator=g(Xo);_ngZone=g(L);_defaults=g(rW,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Sd("iconPrefixContainer");_textPrefixContainerSignal=Sd("textPrefixContainer");_iconSuffixContainerSignal=Sd("iconSuffixContainer");_textSuffixContainerSignal=Sd("textSuffixContainer");_prefixSuffixContainers=Ut(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(n=>n?.nativeElement).filter(n=>void 0!==n));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=BU(Wx);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(n){this._hideRequiredMarker=pu(n)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(n){this._appearanceSignal.set(n||this._defaults?.appearance||"fill")}_appearanceSignal=Ot("fill");get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(n){this._subscriptSizing=n||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(n){this._hintLabel=n,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(n){this._explicitFormFieldControl=n}_destroyed=new X;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=vu();constructor(){const n=this._defaults,r=g(hu);n&&(n.appearance&&(this.appearance=n.appearance),this._hideRequiredMarker=!!n?.hideRequiredMarker,n.color&&(this.color=n.color)),Nd(()=>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=Ut(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(n){const r=this._control,i="mat-mdc-form-field-type-";n&&this._elementRef.nativeElement.classList.remove(i+n.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(gu([void 0,void 0]),qe(()=>[r.errorState,r.userAriaDescribedBy]),function gG(){return at((e,t)=>{let n,r=!1;e.subscribe(tt(t,i=>{const o=n;n=i,r&&t.next([o,i]),r=!0}))})}(),or(([[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(Fr(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(n=>!n._isText),this._hasTextPrefix=!!this._prefixChildren.find(n=>n._isText),this._hasIconSuffix=!!this._suffixChildren.find(n=>!n._isText),this._hasTextSuffix=!!this._suffixChildren.find(n=>n._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),La(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 n=this._control.focused;n&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!n&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",n),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",n)}_syncOutlineLabelOffset(){!function Nz(e,t){const n=t?.injector??g(ve),r=n.get(gr),i=n.get(Xh),o=n.get(yo,null,{optional:!0});i.impl??=n.get(qE);let s=e;"function"==typeof s&&(s={mixedReadWrite:e});const a=n.get(Al,null,{optional:!0}),l=new kz(i.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,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 n of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(n,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:n=>this._writeOutlinedLabelStyles(n())})}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ut(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(n){const r=this._control?this._control.ngControl:null;return r&&r[n]}_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 n=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&n.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?n.push(o.id):this._hintLabel&&n.push(this._hintLabelId),s&&n.push(s.id)}else this._errorChildren&&n.push(...this._errorChildren.map(o=>o.id));const r=this._control.describedByIds;let i;if(r){const o=this._describedByIds||n;i=n.concat(r.filter(s=>s&&!o.includes(s)))}else i=n;this._control.setDescribedByIds(i),this._describedByIds=n}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;const n=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,i=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=n?.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(n){if(null!==n){const[r,i]=n;this._floatingLabel&&(this._floatingLabel.element.style.transform=r),null!==i&&this._notchedOutline?._setMaxWidth(i)}}_isAttachedToDom(){const n=this._elementRef.nativeElement;if(n.getRootNode){const r=n.getRootNode();return r&&r!==n}return document.documentElement.contains(n)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["mat-form-field"]],contentQueries:function(r,i,o){if(1&r&&(function rS(e,t,n,r,i){Dw(t,_w(e,n,r,i))}(o,i._labelChild,Wx,5),tr(o,s_,5),tr(o,Yx,5),tr(o,Kx,5),tr(o,JG,5),tr(o,qx,5)),2&r){let s;_m(),ke(s=Ne())&&(i._formFieldControl=s.first),ke(s=Ne())&&(i._prefixChildren=s),ke(s=Ne())&&(i._suffixChildren=s),ke(s=Ne())&&(i._errorChildren=s),ke(s=Ne())&&(i._hintChildren=s)}},viewQuery:function(r,i){if(1&r&&(ma(i._iconPrefixContainerSignal,Ux,5),ma(i._textPrefixContainerSignal,zx,5),ma(i._iconSuffixContainerSignal,$x,5),ma(i._textSuffixContainerSignal,Gx,5),Mt(NG,5),Mt(Ux,5),Mt(zx,5),Mt($x,5),Mt(Gx,5),Mt(Qx,5),Mt(e0,5),Mt(Jx,5)),2&r){let o;_m(4),ke(o=Ne())&&(i._textField=o.first),ke(o=Ne())&&(i._iconPrefixContainer=o.first),ke(o=Ne())&&(i._textPrefixContainer=o.first),ke(o=Ne())&&(i._iconSuffixContainer=o.first),ke(o=Ne())&&(i._textSuffixContainer=o.first),ke(o=Ne())&&(i._floatingLabel=o.first),ke(o=Ne())&&(i._notchedOutline=o.first),ke(o=Ne())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(r,i){2&r&&ut("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:[se([{provide:a_,useExisting:e},{provide:Zx,useExisting:e}])],ngContentSelectors:FG,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=er();jo(OG),Te(0,VG,1,1,"ng-template",null,0,YS),K(2,"div",6,1),xe("click",function(a){return it(o),ot(i._control.onContainerClick(a))}),Ye(4,BG,1,0,"div",7),K(5,"div",8),Ye(6,UG,2,2,"div",9),Ye(7,zG,3,0,"div",10),Ye(8,$G,3,0,"div",11),K(9,"div",12),Ye(10,WG,1,1,null,13),vt(11),Z(),Ye(12,qG,3,0,"div",14),Ye(13,YG,3,0,"div",15),Z(),Ye(14,KG,1,0,"div",16),Z(),K(15,"div",17),Ye(16,ZG,2,0,"div",18)(17,XG,5,1,"div",19),Z()}if(2&r){let o;x(2),ut("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),x(2),Ke(i._hasOutline()||i._control.disabled?-1:4),x(2),Ke(i._hasOutline()?6:-1),x(),Ke(i._hasIconPrefix?7:-1),x(),Ke(i._hasTextPrefix?8:-1),x(2),Ke(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),x(2),Ke(i._hasTextSuffix?12:-1),x(),Ke(i._hasIconSuffix?13:-1),x(),Ke(i._hasOutline()?-1:14),x(),ut("mat-mdc-form-field-subscript-dynamic-size","dynamic"===i.subscriptSizing);const s=i._getSubscriptMessageType();x(),Ke("error"===(o=s)?16:"hint"===o?17:-1)}},dependencies:[Qx,e0,tg,Jx,qx],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 fW=new D("liveAnnouncerElement",{providedIn:"root",factory:function hW(){return null}}),pW=new D("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let mW=0,gW=(()=>{class e{_ngZone=g(L);_defaultOptions=g(pW,{optional:!0});_liveElement;_document=g(we);_previousTimeout;_currentPromise;_currentResolve;constructor(){const n=g(fW,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...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=n,"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 n="cdk-live-announcer-element",r=this._document.getElementsByClassName(n),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(n),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id="cdk-live-announcer-"+mW++,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(n){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(n)&&o.setAttribute("aria-owns",s+" "+n):o.setAttribute("aria-owns",n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var xi=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}(xi||{});const s0="cdk-high-contrast-black-on-white",a0="cdk-high-contrast-white-on-black",l_="cdk-high-contrast-active";let Eu,_W=(()=>{class e{_platform=g(wn);_hasCheckedHighContrastMode;_document=g(we);_breakpointSubscription;constructor(){this._breakpointSubscription=g(TG).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return xi.NONE;const n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(n):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(n.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return xi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return xi.BLACK_ON_WHITE}return xi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const n=this._document.body.classList;n.remove(l_,s0,a0),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();r===xi.BLACK_ON_WHITE?n.add(l_,s0):r===xi.WHITE_ON_BLACK&&n.add(l_,a0)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ja=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})(),$t=(()=>{class e{constructor(){g(_W)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[ja,ja]})}return e})(),Ha=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,cG,r0,$t]})}return e})(),c_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:function(r){let i=null;return i=r?new(r||e):O(EW),i},providedIn:"root"})}return e})(),EW=(()=>{class e extends c_{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(null==r)return null;switch(n){case lt.NONE:return r;case lt.HTML:return An(r,"HTML")?Yt(r):vE(this._doc,String(r)).toString();case lt.STYLE:return An(r,"Style")?Yt(r):r;case lt.SCRIPT:if(An(r,"Script"))return Yt(r);throw new b(5200,!1);case lt.URL:return An(r,"URL")?Yt(r):cc(String(r));case lt.RESOURCE_URL:if(An(r,"ResourceURL"))return Yt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(n){return function gF(e){return new dF(e)}(n)}bypassSecurityTrustStyle(n){return function _F(e){return new uF(e)}(n)}bypassSecurityTrustScript(n){return function yF(e){return new fF(e)}(n)}bypassSecurityTrustUrl(n){return function vF(e){return new hF(e)}(n)}bypassSecurityTrustResourceUrl(n){return function bF(e){return new pF(e)}(n)}static \u0275fac=function(r){return new(r||e)(O(we))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function za(e,t,n){const r=Ee(e)||t||n?{next:e,error:t,complete:n}:e;return r?at((i,o)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;i.subscribe(tt(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)}))}):ls}function d0(e){return at((t,n)=>{let o,r=null,i=!1;r=t.subscribe(tt(n,void 0,void 0,s=>{o=zt(e(s,d0(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function $a(e){return function wW(){if(void 0===Eu&&(Eu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Eu=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return Eu}()?.createHTML(e)||e}function u0(e){return Error(`Unable to find icon with the name "${e}"`)}function f0(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function h0(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Ai{url;svgText;options;svgElement;constructor(t,n,r){this.url=t,this.svgText=n,this.options=r}}let Du=(()=>{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(n,r,i,o){this._httpClient=n,this._sanitizer=r,this._errorHandler=o,this._document=i}addSvgIcon(n,r,i){return this.addSvgIconInNamespace("",n,r,i)}addSvgIconLiteral(n,r,i){return this.addSvgIconLiteralInNamespace("",n,r,i)}addSvgIconInNamespace(n,r,i,o){return this._addSvgIconConfig(n,r,new Ai(i,null,o))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,r,i,o){const s=this._sanitizer.sanitize(lt.HTML,i);if(!s)throw h0(i);const a=$a(s);return this._addSvgIconConfig(n,r,new Ai("",a,o))}addSvgIconSet(n,r){return this.addSvgIconSetInNamespace("",n,r)}addSvgIconSetLiteral(n,r){return this.addSvgIconSetLiteralInNamespace("",n,r)}addSvgIconSetInNamespace(n,r,i){return this._addSvgIconSetConfig(n,new Ai(r,null,i))}addSvgIconSetLiteralInNamespace(n,r,i){const o=this._sanitizer.sanitize(lt.HTML,r);if(!o)throw h0(r);const s=$a(o);return this._addSvgIconSetConfig(n,new Ai("",s,i))}registerFontClassAlias(n,r=n){return this._fontCssClassesByAlias.set(n,r),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){const r=this._sanitizer.sanitize(lt.RESOURCE_URL,n);if(!r)throw f0(n);const i=this._cachedIconsByUrl.get(r);return i?Fn(wu(i)):this._loadSvgIconFromConfig(new Ai(n,null)).pipe(za(o=>this._cachedIconsByUrl.set(r,o)),qe(o=>wu(o)))}getNamedSvgIcon(n,r=""){const i=p0(r,n);let o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,n),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(n,s):function DW(e,t){const n=Ee(e)?e:()=>e,r=i=>i.error(n());return new De(t?i=>t.schedule(r,0,i):r)}(u0(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?Fn(wu(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(qe(r=>wu(r)))}_getSvgFromIconSetConfigs(n,r){const i=this._extractIconWithNameFromAnySet(n,r);return i?Fn(i):AM(r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(d0(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(lt.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),Fn(null)})))).pipe(qe(()=>{const s=this._extractIconWithNameFromAnySet(n,r);if(!s)throw u0(n);return s}))}_extractIconWithNameFromAnySet(n,r){for(let i=r.length-1;i>=0;i--){const o=r[i];if(o.svgText&&o.svgText.toString().indexOf(n)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,n,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(za(r=>n.svgText=r),qe(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?Fn(null):this._fetchIcon(n).pipe(za(r=>n.svgText=r))}_extractSvgIconFromSet(n,r,i){const o=n.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($a("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(n){const r=this._document.createElement("DIV");r.innerHTML=n;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(n){const r=this._svgElementFromString($a("<svg></svg>")),i=n.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<n.childNodes.length;o++)n.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(n.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(n,r){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),r&&r.viewBox&&n.setAttribute("viewBox",r.viewBox),n}_fetchIcon(n){const{url:r,options:i}=n,o=i?.withCredentials??!1;if(!this._httpClient)throw function CW(){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(lt.RESOURCE_URL,r);if(!s)throw f0(r);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(qe(c=>$a(c)),bg(()=>this._inProgressUrlFetches.delete(s)),Px());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(n,r,i){return this._svgIconConfigs.set(p0(n,r),i),this}_addSvgIconSetConfig(n,r){const i=this._iconSetConfigs.get(n);return i?i.push(r):this._iconSetConfigs.set(n,[r]),this}_svgElementFromConfig(n){if(!n.svgElement){const r=this._svgElementFromString(n.svgText);this._setSvgAttributes(r,n.options),n.svgElement=r}return n.svgElement}_getIconConfigFromResolvers(n,r){for(let i=0;i<this._resolvers.length;i++){const o=this._resolvers[i](r,n);if(o)return IW(o)?new Ai(o.url,null,o.options):new Ai(o,null)}}static \u0275fac=function(r){return new(r||e)(O(Sg,8),O(c_),O(we,8),O(Kn))};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wu(e){return e.cloneNode(!0)}function p0(e,t){return e+":"+t}function IW(e){return!(!e.url||!e.options)}const TW=["*"],MW=new D("MAT_ICON_DEFAULT_OPTIONS"),xW=new D("mat-icon-location",{providedIn:"root",factory:function AW(){const e=g(we),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),m0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],RW=m0.map(e=>`[${e}]`).join(", "),kW=/^url\(['"]?#(.*?)['"]?\)$/;let Jo,NW=(()=>{class e{_elementRef=g(Ce);_iconRegistry=g(Du);_location=g(xW);_errorHandler=g(Kn);_defaultColor;get color(){return this._color||this._defaultColor}set color(n){this._color=n}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(n){const r=this._cleanupFontValue(n);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(n){const r=this._cleanupFontValue(n);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ae.EMPTY;constructor(){const n=g(new EI("aria-hidden"),{optional:!0}),r=g(MW,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),n||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];const r=n.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const n=this._elementsWithExternalReferences;if(n&&n.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(n){this._clearSvgElement();const r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){const n=this._elementRef.nativeElement;let r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=n.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const n=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>n.classList.remove(i)),r.forEach(i=>n.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return"string"==typeof n?n.trim().split(" ")[0]:n}_prependPathToReferences(n){const r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${n}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(n){const r=n.querySelectorAll(RW),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)m0.forEach(s=>{const a=r[o],l=a.getAttribute(s),c=l?l.match(kW):null;if(c){let d=i.get(a);d||(d=[],i.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){const[r,i]=this._splitIconName(n);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(Va(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=Kt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,i){2&r&&(dt("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),Em(i.color?"mat-"+i.color:""),ut("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",Qe],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:TW,decls:1,vars:0,template:function(r,i){1&r&&(jo(),vt(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})(),g0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,$t]})}return e})();const _0=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function y0(){if(Jo)return Jo;if("object"!=typeof document||!document)return Jo=new Set(_0),Jo;let e=document.createElement("input");return Jo=new Set(_0.filter(t=>(e.setAttribute("type",t),e.type===t))),Jo}const Cu=new WeakMap;let Ga=(()=>{class e{_appRef;_injector=g(ve);_environmentInjector=g(pt);load(n){const r=this._appRef=this._appRef||this._injector.get(_n);let i=Cu.get(r);i||(i={loaders:new Set,refs:[]},Cu.set(r,i),r.onDestroy(()=>{Cu.get(r)?.refs.forEach(o=>o.destroy()),Cu.delete(r)})),i.loaders.has(n)||(i.loaders.add(n),i.refs.push(rT(n,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wa(e){return e instanceof Ce?e.nativeElement:e}let FW=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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 PW={passive:!0};let LW=(()=>{class e{_platform=g(wn);_ngZone=g(L);_renderer=g(Nn).createRenderer(null,null);_styleLoader=g(Ga);_monitoredElements=new Map;constructor(){}monitor(n){if(!this._platform.isBrowser)return mu;this._styleLoader.load(FW);const r=Wa(n),i=this._monitoredElements.get(r);if(i)return i.subject;const o=new X,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,PW)));return this._monitoredElements.set(r,{subject:o,unlisten:l}),o}stopMonitoring(n){const r=Wa(n),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((n,r)=>this.stopMonitoring(r))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),VW=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();const BW=new D("MAT_INPUT_VALUE_ACCESSOR");let v0=(()=>{class e{isErrorState(n,r){return!!(n&&n.invalid&&(n.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class b0{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(t,n,r,i,o){this._defaultMatcher=t,this.ngControl=n,this._parentFormGroup=r,this._parentForm=i,this._stateChanges=o}updateErrorState(){const t=this.errorState,n=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=r?.isErrorState(i,n)??!1;o!==t&&(this.errorState=o,this._stateChanges.next())}}const jW=["button","checkbox","file","hidden","image","radio","range","reset","submit"],HW=new D("MAT_INPUT_CONFIG");let UW=(()=>{class e{_elementRef=g(Ce);_platform=g(wn);ngControl=g(Pn,{optional:!0,self:!0});_autofillMonitor=g(LW);_ngZone=g(L);_formField=g(a_,{optional:!0});_renderer=g(mn);_uid=g(Xo).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=g(HW,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new X;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(n){this._disabled=pu(n),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(n){this._id=n||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(NM.required)??!1}set required(n){this._required=pu(n)}_required;get type(){return this._type}set type(n){this._type=n||"text",this._validateType(),!this._isTextarea&&y0().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(n){n!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(n):this._inputValueAccessor.value=n,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(n){this._readonly=pu(n)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(n=>y0().has(n));constructor(){const n=g(Zo,{optional:!0}),r=g(Qo,{optional:!0}),i=g(v0),o=g(BW,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?to(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 b0(i,this.ngControl,r,n,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&&Nd(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(n=>{this.autofilled=n.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(n){this._elementRef.nativeElement.focus(n)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(n){if(n!==this.focused){if(!this._isNativeSelect&&n&&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=n,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const n=this._elementRef.nativeElement.value;this._previousNativeValue!==n&&(this._previousNativeValue=n,this.stateChanges.next())}_dirtyCheckPlaceholder(){const n=this._getPlaceholder();if(n!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=n,n?r.setAttribute("placeholder",n):r.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){jW.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let n=this._elementRef.nativeElement.validity;return n&&n.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const n=this._elementRef.nativeElement,r=n.options[0];return this.focused||n.multiple||!this.empty||!!(n.selectedIndex>-1&&r&&r.label)}return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(n){const r=this._elementRef.nativeElement;n.length?r.setAttribute("aria-describedby",n.join(" ")):r.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const n=this._elementRef.nativeElement;return this._isNativeSelect&&(n.multiple||n.size>1)}_iOSKeyupListener=n=>{const r=n.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=R({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&&xe("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&r&&(ca("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),dt("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),ut("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",Qe]},exportAs:["matInput"],features:[se([{provide:s_,useExisting:e}]),on]})}return e})(),E0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,Ha,Ha,VW,$t]})}return e})();function Su(e){return e.composedPath?e.composedPath()[0]:e.target}function D0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function We(e){return null==e?"":"string"==typeof e?e:`${e}px`}const qa={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=qa;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const i=t(o=>{n=void 0,e(o)});return new Ae(()=>n?.(i))},requestAnimationFrame(...e){const{delegate:t}=qa;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=qa;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class GW extends r_{flush(t){let n;this._active=!0,t?n=t.id:(n=this._scheduled,this._scheduled=void 0);const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw i}}}(class $W extends n_{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=qa.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:o}=t;null!=n&&n===t._scheduled&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(qa.cancelAnimationFrame(n),t._scheduled=void 0)}});let u_,qW=1;const Iu={};function w0(e){return e in Iu&&(delete Iu[e],!0)}const YW={setImmediate(e){const t=qW++;return Iu[t]=!0,u_||(u_=Promise.resolve()),u_.then(()=>w0(t)&&e()),t},clearImmediate(e){w0(e)}},{setImmediate:KW,clearImmediate:ZW}=YW,Tu={setImmediate(...e){const{delegate:t}=Tu;return(t?.setImmediate||KW)(...e)},clearImmediate(e){const{delegate:t}=Tu;return(t?.clearImmediate||ZW)(e)},delegate:void 0};new class XW extends r_{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:r}=this;let i;t=t||r.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,i){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw i}}}(class QW extends n_{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return null!==r&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Tu.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var i;if(null!=r?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);const{actions:o}=t;null!=n&&(null===(i=o[o.length-1])||void 0===i?void 0:i.id)!==n&&(Tu.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}});function C0(e,t=i_){return function e4(e){return at((t,n)=>{let r=!1,i=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;const c=i;i=null,n.next(c)}s&&n.complete()},l=()=>{o=null,s&&n.complete()};t.subscribe(tt(n,c=>{r=!0,i=c,o||zt(e(c)).subscribe(o=tt(n,a,l))},()=>{s=!0,(!r||!o||o.closed)&&n.complete()}))})}(()=>function n4(e=0,t,n=CG){let r=-1;return null!=t&&(rM(t)?n=t:r=t),new De(i=>{let o=function t4(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}(e,t))}let S0=(()=>{class e{_ngZone=g(L);_platform=g(wn);_renderer=g(Nn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new X;_scrolledCount=0;scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new De(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const i=n>0?this._scrolled.pipe(C0(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Fn()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){const i=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(or(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(n){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,n)&&r.push(o)}),r}_scrollableContainsElement(n,r){let i=Wa(r),o=n.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ya=(()=>{class e{_platform=g(wn);_listeners;_viewportSize;_change=new X;_document=g(we);constructor(){const n=g(L),r=g(Nn).createRenderer(null,null);n.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(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+i,right:n.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,r=this._getWindow(),i=n.documentElement,o=i.getBoundingClientRect();return{top:-o.top||n.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||n.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(C0(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f_=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})(),I0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[ja,f_,ja,f_]})}return e})();class h_{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o4 extends h_{component;viewContainerRef;injector;projectableNodes;constructor(t,n,r,i){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.projectableNodes=i}}class T0 extends h_{templateRef;viewContainerRef;context;injector;constructor(t,n,r,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class s4 extends h_{element;constructor(t){super(),this.element=t instanceof Ce?t.nativeElement:t}}class a4{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof o4?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof T0?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof s4?(this._attachedPortal=t,this.attachDomPortal(t)):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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class l4 extends a4{outletElement;_appRef;_defaultInjector;constructor(t,n,r){super(),this.outletElement=t,this._appRef=n,this._defaultInjector=r}attachComponentPortal(t){let n;if(t.viewContainerRef){const r=t.injector||t.viewContainerRef.injector,i=r.get(Cr,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>n.destroy())}else{const r=this._appRef,i=t.injector||this._defaultInjector||ve.NULL,o=i.get(pt,r.injector);n=rT(t.component,{elementInjector:i,environmentInjector:o,projectableNodes:t.projectableNodes||void 0}),r.attachView(n.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(r);-1!==i&&n.remove(i)}),this._attachedPortal=t,r}attachDomPortal=t=>{const n=t.element,r=this.outletElement.ownerDocument.createComment("dom-portal");n.parentNode.insertBefore(r,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Ri,c4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({})}return e})();function d4(){if(null==Ri){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ri=!1,Ri;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)Ri=!0;else{const e=Element.prototype.scrollTo;Ri=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Ri}function es(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const k0=d4();class E4{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,n){this._viewportRuler=t,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=We(-this._previousScrollPosition.left),t.style.top=We(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,r=t.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,t.classList.remove("cdk-global-scrollblock"),k0&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),k0&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.documentElement,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}}class w4{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,n,r,i){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=i}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0).pipe(or(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.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 y_{enable(){}disable(){}attach(){}}function v_(e,t){return t.some(n=>e.bottom<n.top||e.top>n.bottom||e.right<n.left||e.left>n.right)}function N0(e,t){return t.some(n=>e.top<n.top||e.bottom>n.bottom||e.left<n.left||e.right>n.right)}function Za(e,t){return new C4(e.get(S0),e.get(Ya),e.get(L),t)}class C4{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,n,r,i){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=i}attach(t){this._overlayRef=t}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 n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();v_(n,[{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 S4=(()=>{class e{_injector=g(ve);constructor(){}noop=()=>new y_;close=n=>function D4(e,t){return new w4(e.get(S0),e.get(L),e.get(Ya),t)}(this._injector,n);block=()=>function b4(e){return new E4(e.get(Ya),e.get(we))}(this._injector);reposition=n=>Za(this._injector,n);static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class O0{positionStrategy;scrollStrategy=new y_;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){const n=Object.keys(t);for(const r of n)void 0!==t[r]&&(this[r]=t[r])}}}class I4{connectionPair;scrollableViewProperties;constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let F0=(()=>{class e{_attachedOverlays=[];_document=g(we);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),T4=(()=>{class e extends F0{_ngZone=g(L);_renderer=g(Nn).createRenderer(null,null);_cleanupKeydown;add(n){super.add(n),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=n=>{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(n));break}};static \u0275fac=(()=>{let n;return function(i){return(n||(n=nt(e)))(i||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),M4=(()=>{class e extends F0{_platform=g(wn);_ngZone=g(L);_renderer=g(Nn).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(n){if(super.add(n),!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(n=>n()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=n=>{this._pointerDownEventTarget=Su(n)};_clickListener=n=>{const r=Su(n),i="click"===n.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(P0(a.overlayElement,r)||P0(a.overlayElement,i))break;const l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(n)):l.next(n)}};static \u0275fac=(()=>{let n;return function(i){return(n||(n=nt(e)))(i||e)}})();static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function P0(e,t){const n=typeof ShadowRoot<"u"&&ShadowRoot;let r=t;for(;r;){if(r===e)return!0;r=n&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}let L0=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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})(),V0=(()=>{class e{_platform=g(wn);_containerElement;_document=g(we);_styleLoader=g(Ga);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||D0()){const i=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}const r=this._document.createElement("div");r.classList.add(n),D0()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(L0)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class x4{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,n,r,i){this._renderer=n,this._ngZone=r,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=n.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{const t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.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 A4{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new X;_attachments=new X;_detachments=new X;_positionStrategy;_scrollStrategy;_locationChanges=Ae.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new X;_outsidePointerEvents=new X;_afterNextRenderRef;constructor(t,n,r,i,o,s,a,l,c,d=!1,u,h){this._portalOutlet=t,this._host=n,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=h,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(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=vo(()=>{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 n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=We(this._config.width),t.height=We(this._config.height),t.minWidth=We(this._config.minWidth),t.minHeight=We(this._config.minHeight),t.maxWidth=We(this._config.maxWidth),t.maxHeight=We(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new x4(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n)}),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(t))}):this._backdropRef.element.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(t,n,r){const i=yu(n||[]).filter(o=>!!o);i.length&&(r?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=vo(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(n){if(t)throw n;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 t=this._scrollStrategy;t?.disable(),t?.detach?.()}}const B0="cdk-overlay-connected-position-bounding-box",R4=/([A-Za-z%]+)$/;function j0(e,t){return new k4(t,e.get(Ya),e.get(we),e.get(wn),e.get(V0))}class k4{_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 X;_resizeSubscription=Ae.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,n,r,i,o){this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=o,this.setOrigin(t)}attach(t){this._validatePositions(),t.hostElement.classList.add(B0),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,n=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(l,n,a),d=this._getOverlayFit(c,n,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:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:n})}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&&ki(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(B0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,r){let i,o;if("center"==r.originX)i=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i="start"==r.originX?s:a}return n.left<0&&(i-=n.left),o="center"==r.originY?t.top+t.height/2:"top"==r.originY?t.top:t.bottom,n.top<0&&(o-=n.top),{x:i,y:o}}_getOverlayPoint(t,n,r){let i,o;return i="center"==r.overlayX?-n.width/2:"start"===r.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,o="center"==r.overlayY?-n.height/2:"top"==r.overlayY?0:-n.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,n,r,i){const o=U0(n);let{x:s,y:a}=t,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-r.height,p=this._subtractOverflows(o.width,0-s,s+o.width-r.width),m=this._subtractOverflows(o.height,h,f),_=p*m;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:m===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){const i=r.bottom-n.y,o=r.right-n.x,s=H0(this._overlayRef.getConfig().minHeight),a=H0(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=s&&s<=i)&&(t.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=U0(n),o=this._viewportRect,s=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),l=Math.max(o.top-r.top-t.y,0),c=Math.max(o.left-r.left-t.x,0);let d=0,u=0;return d=i.width<=o.width?c||-s:t.x<this._viewportMargin?o.left-r.left-t.x:0,u=i.height<=o.height?l||-a:t.y<this._viewportMargin?o.top-r.top-t.y:0,this._previousPushAmount={x:d,y:u},{x:t.x+d,y:t.y+u}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){const r=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!function N4(e,t){return e===t||e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}(this._lastScrollVisibility,r)){const i=new I4(t,r);this._positionChanges.next(i)}this._lastScrollVisibility=r}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const n=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=t.overlayY;r="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(t,n){const r=this._viewportRect,i=this._isRtl();let o,s,a,d,u,h;if("top"===n.overlayY)s=t.y,o=r.height-s+this._viewportMargin;else if("bottom"===n.overlayY)a=r.height-t.y+2*this._viewportMargin,o=r.height-a+this._viewportMargin;else{const f=Math.min(r.bottom-t.y+r.top,t.y),p=this._lastBoundingBoxSize.height;o=2*f,s=t.y-f,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!i||"start"===n.overlayX&&i)h=r.width-t.x+2*this._viewportMargin,d=t.x-this._viewportMargin;else if("start"===n.overlayX&&!i||"end"===n.overlayX&&i)u=t.x,d=r.right-t.x;else{const f=Math.min(r.right-t.x+r.left,t.x),p=this._lastBoundingBoxSize.width;d=2*f,u=t.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=t.x-p/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(t,n){const r=this._calculateBoundingBoxRect(t,n);!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=We(r.height),i.top=We(r.top),i.bottom=We(r.bottom),i.width=We(r.width),i.left=We(r.left),i.right=We(r.right),i.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",i.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=We(o)),s&&(i.maxWidth=We(s))}this._lastBoundingBoxSize=r,ki(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ki(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ki(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const d=this._viewportRuler.getViewportScrollPosition();ki(r,this._getExactOverlayY(n,t,d)),ki(r,this._getExactOverlayX(n,t,d))}else r.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=We(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=We(s.maxWidth):o&&(r.maxWidth="")),ki(this._pane.style,r)}_getExactOverlayY(t,n,r){let i={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=We(o.y),i}_getExactOverlayX(t,n,r){let s,i={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=We(o.x),i}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:N0(t,r),isOriginOutsideView:v_(t,r),isOverlayClipped:N0(n,r),isOverlayOutsideView:v_(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,i)=>r-Math.max(i,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+t-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&yu(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Ce)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}}function ki(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function H0(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(R4);return n&&"px"!==n?null:parseFloat(t)}return e||null}function U0(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 z0="cdk-global-overlay-wrapper";class F4{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(z0),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=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,h="rtl"===this._overlayRef.getConfig().direction;let f="",p="",m="";l?m="flex-start":"center"===d?(m="center",h?p=u:f=u):h?"left"===d||"end"===d?(m="flex-end",f=u):("right"===d||"start"===d)&&(m="flex-start",p=u):"left"===d||"start"===d?(m="flex-start",f=u):("right"===d||"end"===d)&&(m="flex-end",p=u),t.position=this._cssPosition,t.marginLeft=l?"0":f,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,n.justifyContent=m,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(z0),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let P4=(()=>{class e{_injector=g(ve);constructor(){}global(){return function O4(){return new F4}()}flexibleConnectedTo(n){return j0(this._injector,n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $0(e,t){e.get(Ga).load(L0);const n=e.get(V0),r=e.get(we),i=e.get(Xo),o=e.get(_n),s=e.get(hu),a=r.createElement("div"),l=r.createElement("div");l.id=i.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),n.getContainerElement().appendChild(a);const c=new l4(l,o,e),d=new O0(t),u=e.get(mn,null,{optional:!0})||e.get(Nn).createRenderer(null,null);return d.direction=d.direction||s.value,new A4(c,a,l,d,e.get(L),e.get(T4),r,e.get(Ev),e.get(M4),t?.disableAnimations??"NoopAnimations"===e.get(Zl,null,{optional:!0}),e.get(pt),u)}let L4=(()=>{class e{scrollStrategies=g(S4);_positionBuilder=g(P4);_injector=g(ve);constructor(){}create(n){return $0(this._injector,n)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const V4=[{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"}],G0=new D("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(ve);return()=>Za(e)}});let xu=(()=>{class e{elementRef=g(Ce);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),W0=(()=>{class e{_dir=g(hu,{optional:!0});_injector=g(ve);_overlayRef;_templatePortal;_backdropSubscription=Ae.EMPTY;_attachSubscription=Ae.EMPTY;_detachSubscription=Ae.EMPTY;_positionSubscription=Ae.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=g(G0);_disposeOnNavigation=!1;_ngZone=g(L);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,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(n){this._disposeOnNavigation=n}backdropClick=new ue;positionChange=new ue;attach=new ue;detach=new ue;overlayKeydown=new ue;overlayOutsideClick=new ue;constructor(){const n=g(kn),r=g(gn);this._templatePortal=new T0(n,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(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=V4);const n=this._overlayRef=$0(this._injector,this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!es(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{const i=this._getOriginElement(),o=Su(r);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(r)})}_buildConfig(){const n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new O0({direction:this._dir||"ltr",positionStrategy:n,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(n){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 n.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 n=j0(this._injector,this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof xu?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof xu?this.origin.elementRef.nativeElement:this.origin instanceof Ce?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(n=>{this.backdropClick.emit(n)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function u4(e,t=!1){return at((n,r)=>{let i=0;n.subscribe(tt(r,o=>{const s=e(o,i++);(s||t)&&r.next(o),!s&&r.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(n=>{this._ngZone.run(()=>this.positionChange.emit(n)),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=R({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",Qe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",Qe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",Qe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",Qe],push:[2,"cdkConnectedOverlayPush","push",Qe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",Qe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[on]})}return e})();const j4={provide:G0,useFactory:function B4(e){const t=g(ve);return()=>Za(t)}};let Qa,H4=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[L4,j4],imports:[ja,c4,I0,I0]})}return e})();class Y0{_letterKeyStream=new X;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new X;selectedItem=this._selectedItem;constructor(t,n){const r="number"==typeof n?.debounceInterval?n.debounceInterval:200;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){const n=t.keyCode;t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(za(n=>this._pressedLetters.push(n)),o_(t),or(()=>this._pressedLetters.length>0),qe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(n=>{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(n)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}function J0(e,t,n){const r=eA(e,t);n=n.trim();const i=r.filter(o=>o!==n);i.length?e.setAttribute(t,i.join(" ")):e.removeAttribute(t)}function eA(e,t){return e.getAttribute(t)?.match(/\S+/g)??[]}class K4{_items;_activeItemIndex=Ot(-1);_activeItem=Ot(null);_wrap=!1;_typeaheadSubscription=Ae.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,n){this._items=t,t instanceof Gl?this._itemChangesSubscription=t.changes.subscribe(r=>this._itemsChanged(r.toArray())):to(t)&&(this._effectRef=Nd(()=>this._itemsChanged(t()),{injector:n}))}tabOut=new X;change=new X;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();const n=this._getItemsArray();return this._typeahead=new Y0(n,{debounceInterval:"number"==typeof t?t: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(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){const n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex())}onKeydown(t){const n=t.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!t[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){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||es(t,"shiftKey"))&&this._typeahead?.handleKey(t))}this._typeahead?.reset(),t.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(t){const n=this._getItemsArray(),r="number"==typeof t?t:n.indexOf(t);this._activeItem.set(n[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(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const n=this._getItemsArray();for(let r=1;r<=n.length;r++){const i=(this._activeItemIndex()+t*r+n.length)%n.length;if(!this._skipPredicateFn(n[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,n){const r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(!r[t+=n])return;this.setActiveItem(t)}}_getItemsArray(){return to(this._items)?this._items():this._items instanceof Gl?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);const n=this._activeItem();if(n){const r=t.indexOf(n);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}}class Z4 extends K4{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Q4{_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 X;constructor(t=!1,n,r=!0,i){this._multiple=t,this._emitChanges=r,this.compareWith=i,n&&n.length&&(t?n.forEach(o=>this._markSelected(o)):this._markSelected(n[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(r=>this._markSelected(r));const n=this._hasQueuedChanges();return this._emitChangeEvent(),n}deselect(...t){this._verifyValueAssignment(t),t.forEach(r=>this._unmarkSelected(r));const n=this._hasQueuedChanges();return this._emitChangeEvent(),n}setSelection(...t){this._verifyValueAssignment(t);const n=this.selected,r=new Set(t.map(o=>this._getConcreteValue(o)));t.forEach(o=>this._markSelected(o)),n.filter(o=>!r.has(this._getConcreteValue(o,r))).forEach(o=>this._unmarkSelected(o));const i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();const n=this._hasQueuedChanges();return t&&this._emitChangeEvent(),n}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}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(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(t,n){if(this.compareWith){n=n??this._selection;for(let r of n)if(this.compareWith(t,r))return r;return t}return t}}function tA(e){return function J4(){if(null==Qa&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Qa=!0}))}finally{Qa=Qa||!1}return Qa}()?e:!!e.capture}var cn=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}(cn||{});class nq{_renderer;element;config;_animationForciblyDisabledThroughCss;state=cn.HIDDEN;constructor(t,n,r,i=!1){this._renderer=t,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}}const nA=tA({passive:!0,capture:!0});class rq{_events=new Map;addHandler(t,n,r,i){const o=this._events.get(n);if(o){const s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(n,new Map([[r,new Set([i])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,nA)})}removeHandler(t,n,r){const i=this._events.get(t);if(!i)return;const o=i.get(n);o&&(o.delete(r),0===o.size&&i.delete(n),0===i.size&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,nA)))}_delegateEventHandler=t=>{const n=Su(t);n&&this._events.get(t.type)?.forEach((r,i)=>{(i===n||i.contains(n))&&r.forEach(o=>o.handleEvent(t))})}}const rA={enterDuration:225,exitDuration:150},iA=tA({passive:!0,capture:!0}),oA=["mousedown","touchstart"],sA=["mouseup","mouseleave","touchend","touchcancel"];let oq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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 Au{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new rq;constructor(t,n,r,i,o){this._target=t,this._ngZone=n,this._platform=i,i.isBrowser&&(this._containerElement=Wa(r)),o&&o.get(Ga).load(oq)}fadeInRipple(t,n,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...rA,...r.animation};r.centered&&(t=i.left+i.width/2,n=i.top+i.height/2);const s=r.radius||function sq(e,t,n){const r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(t,n,i),a=t-i.left,l=n-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),f=u.transitionDuration,p="none"===u.transitionProperty||"0s"===f||"0s, 0s"===f||0===i.width&&0===i.height,m=new nq(this,d,r,p);d.style.transform="scale3d(1, 1, 1)",m.state=cn.FADING_IN,r.persistent||(this._mostRecentTransientRipple=m);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const v=()=>{_&&(_.fallbackTimer=null),clearTimeout(I),this._finishRippleTransition(m)},y=()=>this._destroyRipple(m),I=setTimeout(y,c+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",y),_={onTransitionEnd:v,onTransitionCancel:y,fallbackTimer:I}}),this._activeRipples.set(m,_),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(t){if(t.state===cn.FADING_OUT||t.state===cn.HIDDEN)return;const n=t.element,r={...rA,...t.config.animation};n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",t.state=cn.FADING_OUT,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){const n=Wa(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,oA.forEach(r=>{Au._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{sA.forEach(n=>{this._triggerElement.addEventListener(n,this,iA)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===cn.FADING_IN?this._startFadeOutTransition(t):t.state===cn.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){const n=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=cn.VISIBLE,!r&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){const n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=cn.HIDDEN,null!==n&&(t.element.removeEventListener("transitionend",n.onTransitionEnd),t.element.removeEventListener("transitioncancel",n.onTransitionCancel),null!==n.fallbackTimer&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){const n=function eq(e){return 0===e.buttons||0===e.detail}(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!function tq(e){const t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const n=t.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{!t.config.persistent&&(t.state===cn.VISIBLE||t.config.terminateOnPointerUp&&t.state===cn.FADING_IN)&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const t=this._triggerElement;t&&(oA.forEach(n=>Au._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(sA.forEach(n=>t.removeEventListener(n,this,iA)),this._pointerUpEventsRegistered=!1))}}const aq=new D("mat-ripple-global-options");let lq=(()=>{class e{_elementRef=g(Ce);_animationsDisabled=vu();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const n=g(L),r=g(wn),i=g(aq,{optional:!0}),o=g(ve);this._globalOptions=i||{},this._rippleRenderer=new Au(this,n,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(n,r=0,i){return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,r,{...this.rippleConfig,...i}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...n})}static \u0275fac=function(r){return new(r||e)};static \u0275dir=R({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){2&r&&ut("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})(),cq=(()=>{class e{_animationsDisabled=vu();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,i){2&r&&ut("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})(),dq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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})(),uq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({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 fq=["text"],hq=[[["mat-icon"]],"*"],pq=["mat-icon","*"];function mq(e,t){if(1&e&&yt(0,"mat-pseudo-checkbox",1),2&e){const n=N();B("disabled",n.disabled)("state",n.selected?"checked":"unchecked")}}function gq(e,t){1&e&&yt(0,"mat-pseudo-checkbox",3),2&e&&B("disabled",N().disabled)}function _q(e,t){if(1&e&&(K(0,"span",4),yn(1),Z()),2&e){const n=N();x(),Ei("(",n.group.label,")")}}const aA=new D("MAT_OPTION_PARENT_COMPONENT"),lA=new D("MatOptgroup");class yq{source;isUserInput;constructor(t,n=!1){this.source=t,this.isUserInput=n}}let b_=(()=>{class e{_element=g(Ce);_changeDetectorRef=g(wi);_parent=g(aA,{optional:!0});group=g(lA,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=g(Xo).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(n){this._disabled.set(n)}_disabled=Ot(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new ue;_text;_stateChanges=new X;constructor(){const n=g(Ga);n.load(dq),n.load(uq),this._signalDisableRipple=!!this._parent&&to(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,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(n){(13===n.keyCode||32===n.keyCode)&&!es(n)&&(this._selectViaInteraction(),n.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 n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new yq(this,n))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Kt({type:e,selectors:[["mat-option"]],viewQuery:function(r,i){if(1&r&&Mt(fq,7),2&r){let o;ke(o=Ne())&&(i._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(r,i){1&r&&xe("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&r&&(ca("id",i.id),dt("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),ut("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",Qe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:pq,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&&(jo(hq),Ye(0,mq,1,2,"mat-pseudo-checkbox",1),vt(1),K(2,"span",2,0),vt(4,1),Z(),Ye(5,gq,1,1,"mat-pseudo-checkbox",3),Ye(6,_q,2,1,"span",4),yt(7,"div",5)),2&r&&(Ke(i.multiple?0:-1),x(5),Ke(i.multiple||!i.selected||i.hideSingleSelectionIndicator?-1:5),x(),Ke(i.group&&i.group._inert?6:-1),x(),B("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[cq,lq],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})(),cA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,$t]})}return e})(),Eq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t]})}return e})(),dA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[cA,$t,Eq,b_]})}return e})();const Dq=["trigger"],wq=["panel"],Cq=[[["mat-select-trigger"]],"*"],Sq=["mat-select-trigger","*"];function Iq(e,t){if(1&e&&(K(0,"span",4),yn(1),Z()),2&e){const n=N();x(),ya(n.placeholder)}}function Tq(e,t){1&e&&vt(0)}function Mq(e,t){if(1&e&&(K(0,"span",11),yn(1),Z()),2&e){const n=N(2);x(),ya(n.triggerValue)}}function xq(e,t){if(1&e&&(K(0,"span",5),Ye(1,Tq,1,0)(2,Mq,2,1,"span",11),Z()),2&e){const n=N();x(),Ke(n.customTrigger?1:2)}}function Aq(e,t){if(1&e){const n=er();K(0,"div",12,1),xe("keydown",function(i){return it(n),ot(N()._handleKeydown(i))}),vt(2,1),Z()}if(2&e){const n=N();Em(function jS(e,t,n=""){return DS(E(),e,t,n)}("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme())),ut("mat-select-panel-animations-enabled",!n._animationsDisabled),B("ngClass",n.panelClass),dt("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}const uA=new D("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(ve);return()=>Za(e)}}),kq=new D("MAT_SELECT_CONFIG"),Nq={provide:uA,deps:[],useFactory:function Rq(e){const t=g(ve);return()=>Za(t)}},Oq=new D("MatSelectTrigger");class Fq{source;value;constructor(t,n){this.source=t,this.value=n}}let Pq=(()=>{class e{_viewportRuler=g(Ya);_changeDetectorRef=g(wi);_elementRef=g(Ce);_dir=g(hu,{optional:!0});_idGenerator=g(Xo);_renderer=g(mn);_parentFormField=g(a_,{optional:!0});ngControl=g(Pn,{self:!0,optional:!0});_liveAnnouncer=g(gW);_defaultOptions=g(kq,{optional:!0});_animationsDisabled=vu();_initialized=new X;_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(n){const r=this.options.toArray()[n];if(r){const i=this.panel.nativeElement,o=function vq(e,t,n){if(n.length){let r=t.toArray(),i=n.toArray(),o=0;for(let s=0;s<e+1;s++)r[s].group&&r[s].group===i[o]&&o++;return o}return 0}(n,this.options,this.optionGroups),s=r._getHostElement();i.scrollTop=0===n&&1===o?0:function bq(e,t,n,r){return e<n?e:e+t>n+r?Math.max(0,e-r+t):n}(s.offsetTop,s.offsetHeight,i.scrollTop,i.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(n){return new Fq(this,n)}_scrollStrategyFactory=g(uA);_panelOpen=!1;_compareWith=(n,r)=>n===r;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new X;_errorStateTracker;stateChanges=new X;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(n){this._disableRipple.set(n)}_disableRipple=Ot(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(n){this._hideSingleSelectionIndicator=n,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(n){this._placeholder=n,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(NM.required)??!1}set required(n){this._required=n,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(n){this._multiple=n}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(n){this._assignValue(n)&&this._onChange(n)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(n){this._errorStateTracker.matcher=n}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(n){this._id=n||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(n){this._errorStateTracker.errorState=n}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=function X4(e){return new De(t=>{zt(e()).subscribe(t)})}(()=>{const n=this.options;return n?n.changes.pipe(gu(n),Wd(()=>La(...n.map(r=>r.onSelectionChange)))):this._initialized.pipe(Wd(()=>this.optionSelectionChanges))});openedChange=new ue;_openedStream=this.openedChange.pipe(or(n=>n),qe(()=>{}));_closedStream=this.openedChange.pipe(or(n=>!n),qe(()=>{}));selectionChange=new ue;valueChange=new ue;constructor(){const n=g(v0),r=g(Zo,{optional:!0}),i=g(Qo,{optional:!0}),o=g(new EI("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new b0(n,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 Q4(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Fr(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(Fr(this._destroy)).subscribe(n=>{n.added.forEach(r=>r.select()),n.removed.forEach(r=>r.deselect())}),this.options.changes.pipe(gu(null),Fr(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const n=this._getTriggerAriaLabelledby(),r=this.ngControl;if(n!==this._triggerAriaLabelledBy){const i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=n,n?i.setAttribute("aria-labelledby",n):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(n){(n.disabled||n.userAriaDescribedBy)&&this.stateChanges.next(),n.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(Va(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 n=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!n)return;const r=`${this.id}-panel`;this._trackedModal&&J0(this._trackedModal,"aria-owns",r),function $4(e,t,n){const r=eA(e,t);n=n.trim(),!r.some(i=>i.trim()===n)&&(r.push(n),e.setAttribute(t,r.join(" ")))}(n,"aria-owns",r),this._trackedModal=n}_clearFromModal(){this._trackedModal&&(J0(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 n=this.panel.nativeElement,r=this._renderer.listen(n,"animationend",o=>{"_mat-select-exit"===o.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);n.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(n){this._assignValue(n)}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n,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 n=this._selectionModel.selected.map(r=>r.viewValue);return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))}_handleClosedKeydown(n){const r=n.keyCode,i=40===r||38===r||37===r||39===r,o=13===r||32===r,s=this._keyManager;if(!s.isTyping()&&o&&!es(n)||(this.multiple||n.altKey)&&i)n.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(n);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(n){const r=this._keyManager,i=n.keyCode,o=40===i||38===i,s=r.isTyping();if(o&&n.altKey)n.preventDefault(),this.close();else if(s||13!==i&&32!==i||!r.activeItem||es(n))if(!s&&this._multiple&&65===i&&n.ctrlKey){n.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(n),this._multiple&&o&&n.shiftKey&&r.activeItem&&r.activeItemIndex!==a&&r.activeItem._selectViaInteraction()}else n.preventDefault(),r.activeItem._selectViaInteraction()}_handleOverlayKeydown(n){27===n.keyCode&&!es(n)&&(n.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(n){if(this.options.forEach(r=>r.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&n)Array.isArray(n),n.forEach(r=>this._selectOptionByValue(r)),this._sortValues();else{const r=this._selectOptionByValue(n);r?this._keyManager.updateActiveItem(r):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(n){const r=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return(null!=i.value||this.canSelectNullableOptions)&&this._compareWith(i.value,n)}catch{return!1}});return r&&this._selectionModel.select(r),r}_assignValue(n){return!!(n!==this._value||this._multiple&&Array.isArray(n))&&(this.options&&this._setSelectionByValue(n),this._value=n,!0)}_skipPredicate=n=>!this.panelOpen&&n.disabled;_getOverlayWidth(n){return"auto"===this.panelWidth?(n instanceof xu?n.elementRef:n||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const n of this.options)n._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Z4(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 n=La(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Fr(n)).subscribe(r=>{this._onSelect(r.source,r.isUserInput),r.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),La(...this.options.map(r=>r._stateChanges)).pipe(Fr(n)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(n,r){const i=this._selectionModel.isSelected(n);this.canSelectNullableOptions||null!=n.value||this._multiple?(i!==n.selected&&(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n)),r&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),r&&this.focus())):(n.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(n.value)),i!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const n=this.options.toArray();this._selectionModel.sort((r,i)=>this.sortComparator?this.sortComparator(r,i,n):n.indexOf(r)-n.indexOf(i)),this.stateChanges.next()}}_propagateChanges(n){let r;r=this.multiple?this.selected.map(i=>i.value):this.selected?this.selected.value:n,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 n=-1;for(let r=0;r<this.options.length;r++)if(!this.options.get(r).disabled){n=r;break}this._keyManager.setActiveItem(n)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(n){this._elementRef.nativeElement.focus(n)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const n=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(n?n+" ":"")+this.ariaLabelledby:n}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let n=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n||(n=this._valueId),n}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(n){n.length?this._elementRef.nativeElement.setAttribute("aria-describedby",n.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=Kt({type:e,selectors:[["mat-select"]],contentQueries:function(r,i,o){if(1&r&&(tr(o,Oq,5),tr(o,b_,5),tr(o,lA,5)),2&r){let s;ke(s=Ne())&&(i.customTrigger=s.first),ke(s=Ne())&&(i.options=s),ke(s=Ne())&&(i.optionGroups=s)}},viewQuery:function(r,i){if(1&r&&(Mt(Dq,5),Mt(wq,5),Mt(W0,5)),2&r){let o;ke(o=Ne())&&(i.trigger=o.first),ke(o=Ne())&&(i.panel=o.first),ke(o=Ne())&&(i._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(r,i){1&r&&xe("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&r&&(dt("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()),ut("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",Qe],disableRipple:[2,"disableRipple","disableRipple",Qe],tabIndex:[2,"tabIndex","tabIndex",n=>null==n?0:JI(n)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",Qe],placeholder:"placeholder",required:[2,"required","required",Qe],multiple:[2,"multiple","multiple",Qe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",Qe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",JI],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",Qe]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[se([{provide:s_,useExisting:e},{provide:aA,useExisting:e}]),on],ngContentSelectors:Sq,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=er();jo(Cq),K(0,"div",2,0),xe("click",function(){return it(o),ot(i.open())}),K(3,"div",3),Ye(4,Iq,2,1,"span",4)(5,xq,3,1,"span",5),Z(),K(6,"div",6)(7,"div",7),function av(){z.lFrame.currentNamespace="svg"}(),K(8,"svg",8),yt(9,"path",9),Z()()()(),Te(10,Aq,3,10,"ng-template",10),xe("detach",function(){return it(o),ot(i.close())})("backdropClick",function(){return it(o),ot(i.close())})("overlayKeydown",function(a){return it(o),ot(i._handleOverlayKeydown(a))})}if(2&r){const o=ga(1);x(3),dt("id",i._valueId),x(),Ke(i.empty?4:5),x(6),B("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[xu,W0,bT],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})(),fA=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:[Nq],imports:[H4,dA,$t,f_,Ha,dA,$t]})}return e})(),Vq=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({imports:[$t,cA,$t]})}return e})();const Bq={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)}};let E_;function Wq(e,t,n){let r=n;return function Hq(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((i,o)=>!("*"===i||!function Uq(e,t){if(!E_){const n=Element.prototype;E_=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&E_.call(e,t)}(e,i)||(r=o,0))),r}class Yq{componentFactory;inputMap=new Map;constructor(t,n){this.componentFactory=n.get(Io).resolveComponentFactory(t);for(const r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(t){return new Kq(this.componentFactory,t,this.inputMap)}}class Kq{componentFactory;injector;inputMap;eventEmitters=new Fx(1);events=this.eventEmitters.pipe(Wd(t=>La(...t)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(t,n,r){this.componentFactory=t,this.injector=n,this.inputMap=r,this.ngZone=this.injector.get(L),this.appRef=this.injector.get(_n),this.cdScheduler=n.get(gr),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Bq.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(t)??t,n),function f1(e){return Es(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function h1(e){Ff(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(t,n)}initializeComponent(t){const n=ve.create({providers:[],parent:this.injector}),r=function Gq(e,t){const n=e.childNodes,r=t.map(()=>[]);let i=-1;t.some((o,s)=>"*"===o&&(i=s,!0));for(let o=0,s=n.length;o<s;++o){const a=n[o],l=Wq(a,t,i);-1!==l&&r[l].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[t,n]of this.initialInputValues)this.setInputValue(t,n);this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:i})=>{const o=t.instance[r];return new De(s=>{const a=o.subscribe(l=>s.next({name:i,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(n)}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class Zq extends HTMLElement{ngElementEventsSubscription=null}const Jq=new D("Search_Service_Token"),n6=[];let s6=(()=>{var e;class t{adapt(r){const i=r.recentSearchApiRequestWithPromise;return{searchApiRequest:(o,s)=>Ar(r.searchApiRequestWithPromise(o,s)),...i&&{recentSearchApiRequest:()=>Ar(i())}}}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)},this.\u0275prov=S({token:t,factory:t.\u0275fac,providedIn:"root"}))}return e(),t})();const a6=["searchInput"],Ru=e=>({$implicit:e});function l6(e,t){if(1&e){const n=er();K(0,"mat-icon",13),xe("click",function(){return it(n),ot(N(3).resetInput())}),Z()}2&e&&B("className",N(3).config.crossIconClass)}function c6(e,t){if(1&e&&(K(0,"mat-option",14),yn(1),Z()),2&e){const n=t.$implicit;B("value",n.name),x(),Ei(" ",n.displayName," ")}}function d6(e,t){if(1&e){const n=er();K(0,"div",5)(1,"mat-form-field",6)(2,"input",7,0),xe("focus",function(){return it(n),ot(N(2).showSuggestions())})("blur",function(){return it(n),ot(N(2).hideSuggestions())}),Sm("ngModelChange",function(i){it(n);const o=N(2);return function LS(e,t){const n=fv(e);return n&&e.set(t),n}(o.searchBoxInput,i)||(o.searchBoxInput=i),ot(i)}),xe("keyup",function(i){return it(n),ot(N(2).hitSearchApi(i))})("ngModelChange",function(){it(n);const i=N(2);return ot(i.onChange(i.searchBoxInput))}),Z(),yt(4,"mat-icon",8),Te(5,l6,1,1,"mat-icon",9),Z(),K(6,"mat-form-field",10)(7,"mat-select",11),xe("selectionChange",function(i){return it(n),ot(N(2).setCategory(i.value))}),Te(8,c6,2,2,"mat-option",12),Z()()()}if(2&e){const n=ga(3),r=N(2);x(2),B("placeholder",r.config.placeholderFunction?r.config.placeholderFunction(n.value,r.category):r.config.placeholder||"Search"),Cm("ngModel",r.searchBoxInput),B("disabled",r.disabled),x(2),B("className",r.config.searchIconClass),x(),B("ngIf",r.searchBoxInput),x(2),B("value",r.category),x(),B("ngForOf",r.config.models)}}function u6(e,t){if(1&e&&(jt(0),Te(1,d6,9,7,"div",4),It()),2&e){const n=N();x(),B("ngIf",n.config)}}function f6(e,t){1&e&&(jt(0),yn(1," searching... "),It())}function h6(e,t){if(1&e&&(jt(0),yn(1),It()),2&e){const n=N(4);x(),Ei(" ",n.config.noResultMessage," ")}}function p6(e,t){if(1&e&&(K(0,"span",17),Te(1,f6,2,0,"ng-container",1)(2,h6,2,1,"ng-container",1),Z()),2&e){const n=N(3);x(),B("ngIf",n.searching),x(),B("ngIf",!n.searching)}}function m6(e,t){if(1&e&&yt(0,"img",23),2&e){const n=N().$implicit;B("src",n.model.imageUrl,fc)("alt",n.model.displayName)}}function g6(e,t){1&e&&Vo(0)}function _6(e,t){if(1&e&&(jt(0),Te(1,g6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(5);x(),B("ngTemplateOutlet",r.subtitleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function y6(e,t){if(1&e&&yt(0,"p",27),2&e){const n=N().$implicit,r=N(5);B("innerHTML",r.boldString(n[r.config.displayPropertyName],r.searchBoxInput),jh)}}function v6(e,t){1&e&&Vo(0)}function b6(e,t){if(1&e&&(jt(0),Te(1,v6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(5);x(),B("ngTemplateOutlet",r.titleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function E6(e,t){if(1&e){const n=er();K(0,"li",24),xe("mousedown",function(i){const o=it(n).$implicit;return ot(N(5).populateValue(o,i))}),Te(1,_6,2,4,"ng-container",1)(2,y6,1,1,"p",25)(3,b6,2,4,"ng-container",1),Z()}if(2&e){const n=N(5);x(),B("ngIf",n.subtitleTemplate),x(),B("ngIf",!n.titleTemplate),x(),B("ngIf",n.titleTemplate)}}function D6(e,t){if(1&e&&(K(0,"div",19)(1,"h3",20),Te(2,m6,1,2,"img",21),yn(3),Z(),K(4,"ul"),Te(5,E6,4,3,"li",22),Z()()),2&e){const n=t.$implicit;x(2),B("ngIf",n.model.imageUrl),x(),wm(" ",n.model.displayName," (",n.items.length,") "),x(2),B("ngForOf",n.items)}}function w6(e,t){if(1&e&&(jt(0),Te(1,D6,6,4,"div",18),It()),2&e){const n=N(3);x(),B("ngForOf",n.getModelsWithSuggestions())}}function C6(e,t){if(1&e&&yt(0,"img",31),2&e){const n=N().$implicit;B("src",N(4).fetchModelImageUrlFromSuggestion(n),fc)}}function S6(e,t){1&e&&Vo(0)}function I6(e,t){if(1&e&&(jt(0),Te(1,S6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(4);x(),B("ngTemplateOutlet",r.subtitleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function T6(e,t){if(1&e&&yt(0,"p",27),2&e){const n=N().$implicit,r=N(4);B("innerHTML",r.boldString(n[r.config.displayPropertyName],r.searchBoxInput),jh)}}function M6(e,t){1&e&&Vo(0)}function x6(e,t){if(1&e&&(jt(0),Te(1,M6,1,0,"ng-container",26),It()),2&e){const n=N().$implicit,r=N(4);x(),B("ngTemplateOutlet",r.titleTemplate)("ngTemplateOutletContext",va(2,Ru,n))}}function A6(e,t){if(1&e){const n=er();K(0,"li",29),xe("mousedown",function(i){const o=it(n).$implicit;return ot(N(4).populateValue(o,i))}),Te(1,C6,1,1,"img",30)(2,I6,2,4,"ng-container",1)(3,T6,1,1,"p",25)(4,x6,2,4,"ng-container",1),Z()}if(2&e){const n=t.$implicit,r=N(4);x(),B("ngIf",!r.titleTemplate&&r.fetchModelImageUrlFromSuggestion(n)),x(),B("ngIf",r.subtitleTemplate),x(),B("ngIf",!r.titleTemplate),x(),B("ngIf",r.titleTemplate)}}function R6(e,t){if(1&e&&(jt(0),K(1,"div",19)(2,"ul"),Te(3,A6,5,4,"li",28),Z()(),It()),2&e){const n=N(3);x(3),B("ngForOf",n.suggestions)}}function k6(e,t){if(1&e&&(jt(0),Te(1,p6,3,2,"span",16)(2,w6,2,1,"ng-container",1)(3,R6,4,1,"ng-container",1),It()),2&e){const n=N(2);x(),B("ngIf",0===n.suggestions.length),x(),B("ngIf",n.config.categorizeResults&&n.suggestions.length),x(),B("ngIf",!n.config.categorizeResults)}}function N6(e,t){if(1&e){const n=er();K(0,"li",24),xe("mousedown",function(i){const o=it(n).$implicit;return ot(N(3).populateValueRecentSearch(o,i))}),yt(1,"mat-icon",8),K(2,"span"),yn(3),Z()()}if(2&e){const n=t.$implicit,r=N(3);x(),B("className",r.config.recentSearchIconClass),x(2),Ei("\xa0",n.match)}}function O6(e,t){if(1&e&&(jt(0),K(1,"div",32)(2,"h3",20),yn(3,"Recent Searches"),Z(),K(4,"ul"),Te(5,N6,4,2,"li",22),Z()(),It()),2&e){const n=N(2);x(5),B("ngForOf",n.recentSearches)}}function F6(e,t){if(1&e&&(K(0,"div",15),Te(1,k6,4,3,"ng-container",1)(2,O6,6,1,"ng-container",1),Z()),2&e){const n=N();x(),B("ngIf",n.searchBoxInput),x(),B("ngIf",!n.config.hideRecentSearch&&n.recentSearches.length>0)}}const Ni="All";let hA=(()=>{var e;class t{get config(){return this._config}set config(r){this._config=r,r&&r.models?r.models.unshift({name:Ni,displayName:this.customAllLabel??Ni}):r&&!r.models&&(r.models=[{name:Ni,displayName:this.customAllLabel??Ni}])}set searchProvider(r){(function Xq(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=Ni,this.searchRequest$=new X,this.customAllLabel=Ni,this.showOnlySearchResultOverlay=!1,this.customSearchEvent={searchValue:"",modelName:this.customAllLabel},this.clicked=new ue,this.searched=new ue,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1}ngOnInit(){this.searchRequest$.pipe(za(r=>this.suggestions=[]),o_(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??n6).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(){Iv(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[Ni,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||t)(C(Jq,8),C(Kl),C(wi),C(s6))},this.\u0275cmp=Kt({type:t,selectors:[["sourceloop-search"]],viewQuery:function(i,o){if(1&i&&Mt(a6,5),2&i){let s;ke(s=Ne())&&(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:[se([{provide:Dn,useExisting:t,multi:!0}]),on],decls:3,vars:2,consts:[["searchInput",""],[4,"ngIf"],[1,"search-container"],["class","search-popup",4,"ngIf"],["class","toolbar-search",4,"ngIf"],[1,"toolbar-search"],["appearance","outline",1,"toolbar-search-input"],["matInput","","autocomplete","off","type","text","name","searchInput",3,"focus","blur","ngModelChange","keyup","placeholder","ngModel","disabled"],["matPrefix","",3,"className"],["matSuffix","",3,"className","click",4,"ngIf"],["appearance","outline",1,"toolbar-search-select"],["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"],["class","inline-display",3,"innerHTML",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"inline-display",3,"innerHTML"],[3,"mousedown",4,"ngFor","ngForOf"],[3,"mousedown"],["class","suggestions-categorize-false suggestion-image","alt","Img",3,"src",4,"ngIf"],["alt","Img",1,"suggestions-categorize-false","suggestion-image",3,"src"],[1,"recent-searches"]],template:function(i,o){1&i&&(Te(0,u6,2,1,"ng-container",1),K(1,"div",2),Te(2,F6,3,2,"div",3),Z()),2&i&&(B("ngIf",!o.showOnlySearchResultOverlay),x(2),B("ngIf",o.suggestionsDisplay&&(o.recentSearches.length||o.suggestions.length)))},dependencies:[ig,DT,CT,tg,Nx,Xd,nx,qg,g0,NW,fA,r0,eW,tW,Pq,b_,Ha,E0,UW],styles:["[_nghost-%COMP%]{--search-background: #f7f7f7;--search-input-background: #f1f3f4;--search-input-text-color: #6b6b6b;--search-border-hover: #90003b;--search-border-focus: #90003b;--search-dropdown-background: #90003b;--search-dropdown-text-color: #fff;--search-highlight-bg: #fee8e8;--search-heading-color: #9c9c9c;--search-text-color: #333;--search-icon-color: rgba(51, 51, 51, .5019607843)}[_nghost-%COMP%] .mat-mdc-form-field{padding:0;margin:0!important}[_nghost-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-icon-prefix{padding:0 .5rem 0 .75rem}[_nghost-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-icon-suffix{padding:0 .75rem 0 .5rem}[_nghost-%COMP%] .mat-mdc-form-field .mat-mdc-form-field-subscript-wrapper{display:none}.toolbar-search[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;max-width:32rem;background-color:var(--search-background)!important;border-radius:0 0 .25rem .25rem;gap:0}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field .mat-mdc-text-field-wrapper{height:2.5rem;align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:2.25rem;padding:.5rem 0}.toolbar-search-input[_ngcontent-%COMP%]{width:78%;flex:1 1 auto;margin-right:0!important;font-size:.75rem}.toolbar-search-input[_ngcontent-%COMP%] input{margin:0;color:var(--search-input-text-color)!important}.toolbar-search-input[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{background-color:var(--search-input-background)!important}.toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__leading, .toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__notch, .toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border:none!important;background-color:transparent!important}.toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__leading{border-radius:.25rem 0 0 .25rem}.toolbar-search-input[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border-radius:0}.icomoon.Search[_ngcontent-%COMP%], .icomoon.close[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;color:var(--search-icon-color);padding-bottom:.25rem}.icomoon.close[_ngcontent-%COMP%]{cursor:pointer}.toolbar-search-select[_ngcontent-%COMP%]{flex:1 1 auto;margin-left:0!important;min-width:0;width:22%}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-value-text{font-size:.75rem;line-height:normal;white-space:nowrap;overflow:hidden;display:flex;max-width:100%;align-items:center}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select{max-width:100%;padding-left:0;padding-right:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-value{display:flex;align-items:center;min-width:0;flex:1 1 auto}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-form-field-text-suffix{display:flex;align-items:center;margin-left:.375rem;flex-shrink:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper{width:1rem;flex-shrink:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-arrow{transform:rotate(0) scale(1.3)!important}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-select-arrow svg{fill:none!important;stroke:var(--search-icon-color);stroke-width:1}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{background-color:var(--search-input-background)!important}.toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__leading, .toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__notch, .toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border:none!important;background-color:transparent!important}.toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__leading{border-radius:0}.toolbar-search-select[_ngcontent-%COMP%] .mdc-notched-outline__trailing{border-radius:0 .25rem .25rem 0}.toolbar-search-select[_ngcontent-%COMP%] .mat-mdc-form-field-infix{-webkit-padding-before:.7em;min-height:2.25rem;display:flex;align-items:center;padding:.375rem .25rem} .search-select.mat-mdc-select-panel{margin-top:1.875rem;margin-left:.625rem}.search-container[_ngcontent-%COMP%]{position:relative;width:100%;max-width:32.1875rem}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%]{padding:0 .9375rem .9375rem;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 .3125rem .25rem #0003;border-radius:0 0 .25rem .25rem}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:0;border-top:.0625rem solid #ebebeb;margin:0;position:sticky;top:0;padding-bottom:.9375rem;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:1rem;padding-top:.75rem}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-item-info[_ngcontent-%COMP%]{color:#91263b;text-align:center;font-size:.75rem;margin-bottom:.9375rem;padding-top:.75rem}.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:var(--search-text-color)}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{font-size:.9375rem;line-height:2.25rem;padding:0 .9375rem 0 2.75rem;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:var(--search-highlight-bg)} .toolbar-search input{line-height:.875rem;color:var(--search-input-text-color)!important} .toolbar-search input::placeholder{color:var(--search-input-text-color);opacity:.6} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border:.0625rem solid var(--search-border-hover)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-right:none!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-right:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) input{color:var(--search-input-text-color)!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{background:var(--search-dropdown-background)!important;border-radius:.25rem!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-left:.0625rem solid var(--search-border-hover)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-right:none!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.0625rem solid var(--search-border-hover)!important;border-bottom:.0625rem solid var(--search-border-hover)!important;border-right:.0625rem solid var(--search-border-hover)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select, .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-value{color:var(--search-dropdown-text-color)!important} .toolbar-search:hover:not(:focus-within) .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-arrow svg{fill:none!important;stroke:var(--search-dropdown-text-color)!important;stroke-width:1} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border:.125rem solid var(--search-border-focus)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-right:none!important} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-right:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:focus-within .toolbar-search-input.mat-mdc-form-field:not(.mat-form-field-disabled) input{color:var(--search-input-text-color)!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{background:var(--search-dropdown-background)!important;border-radius:.25rem!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__leading{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-left:.125rem solid var(--search-border-focus)!important;border-right:none!important;border-radius:.25rem 0 0 .25rem!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__notch{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-right:none!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mdc-notched-outline__trailing{border-top:.125rem solid var(--search-border-focus)!important;border-bottom:.125rem solid var(--search-border-focus)!important;border-right:.125rem solid var(--search-border-focus)!important;border-left:none!important;border-radius:0 .25rem .25rem 0!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select, .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-value{color:var(--search-dropdown-text-color)!important} .toolbar-search:focus-within .toolbar-search-select.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-select-arrow svg{fill:none!important;stroke:var(--search-dropdown-text-color)!important;stroke-width:1}"]}))}return e(),t})();var H=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}(H||{});const sr="*";function pA(e){return{type:H.Style,styles:e,offset:null}}class Xa{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(t=0,n=0){this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class mA{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(t){this.players=t;let n=0,r=0,i=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==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(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const n=t*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){const t=this.players.reduce((n,r)=>null===n||r.totalTime>n.totalTime?r:n,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}function gA(e){return new b(3e3,!1)}function W6(e){return new b(3002,!1)}function Lr(e){switch(e.length){case 0:return new Xa;case 1:return e[0];default:return new mA(e)}}function _A(e,t,n=new Map,r=new Map){const i=[],o=[];let s=-1,a=null;if(t.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,i),m){case"!":m=n.get(f);break;case sr:m=r.get(f);break;default:m=e.normalizeStyleValue(f,p,m,i)}u.set(p,m)}),d||o.push(u),a=u,s=c}),i.length)throw function r9(){return new b(3502,!1)}();return o}function w_(e,t,n,r){switch(t){case"start":e.onStart(()=>r(n&&C_(n,"start",e)));break;case"done":e.onDone(()=>r(n&&C_(n,"done",e)));break;case"destroy":e.onDestroy(()=>r(n&&C_(n,"destroy",e)))}}function C_(e,t,n){const o=S_(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n.totalTime??e.totalTime,!!n.disabled),s=e._data;return null!=s&&(o._data=s),o}function S_(e,t,n,r,i="",o=0,s){return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Qt(e,t,n){let r=e.get(t);return r||e.set(t,r=n),r}function yA(e){const t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}const m9=typeof document>"u"?null:document.documentElement;function I_(e){const t=e.parentNode||e.host||null;return t===m9?null:t}let Oi=null,vA=!1;function bA(e,t){for(;t;){if(t===e)return!0;t=I_(t)}return!1}function EA(e,t,n){if(n)return Array.from(e.querySelectorAll(t));const r=e.querySelector(t);return r?[r]:[]}const wA="ng-enter",T_="ng-leave",ku="ng-trigger",Nu=".ng-trigger",CA="ng-animating",M_=".ng-animating";function ar(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:x_(parseFloat(t[1]),t[2])}function x_(e,t){return"s"===t?1e3*e:e}function Ou(e,t,n){return e.hasOwnProperty("duration")?e:function D9(e,t,n){let r,i=0,o="";if("string"==typeof e){const s=e.match(E9);if(null===s)return t.push(gA()),{duration:0,delay:0,easing:""};r=x_(parseFloat(s[1]),s[2]);const a=s[3];null!=a&&(i=x_(parseFloat(a),s[4]));const l=s[5];l&&(o=l)}else r=e;if(!n){let s=!1,a=t.length;r<0&&(t.push(function L6(){return new b(3100,!1)}()),s=!0),i<0&&(t.push(function V6(){return new b(3101,!1)}()),s=!0),s&&t.splice(a,0,gA())}return{duration:r,delay:i,easing:o}}(e,t,n)}const E9=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Ln(e,t,n){t.forEach((r,i)=>{const o=R_(i);n&&!n.has(i)&&n.set(i,e.style[o]),e.style[o]=r})}function Fi(e,t){t.forEach((n,r)=>{const i=R_(r);e.style[i]=""})}function Ja(e){return Array.isArray(e)?1==e.length?e[0]:function P6(e,t=null){return{type:H.Sequence,steps:e,options:t}}(e):e}const A_=new RegExp("{{\\s*(.+?)\\s*}}","g");function SA(e){let t=[];if("string"==typeof e){let n;for(;n=A_.exec(e);)t.push(n[1]);A_.lastIndex=0}return t}function el(e,t,n){const r=`${e}`,i=r.replace(A_,(o,s)=>{let a=t[s];return null==a&&(n.push(function j6(){return new b(3003,!1)}()),a=""),a.toString()});return i==r?e:i}const S9=/-+([a-z0-9])/g;function R_(e){return e.replace(S9,(...t)=>t[1].toUpperCase())}function Xt(e,t,n){switch(t.type){case H.Trigger:return e.visitTrigger(t,n);case H.State:return e.visitState(t,n);case H.Transition:return e.visitTransition(t,n);case H.Sequence:return e.visitSequence(t,n);case H.Group:return e.visitGroup(t,n);case H.Animate:return e.visitAnimate(t,n);case H.Keyframes:return e.visitKeyframes(t,n);case H.Style:return e.visitStyle(t,n);case H.Reference:return e.visitReference(t,n);case H.AnimateChild:return e.visitAnimateChild(t,n);case H.AnimateRef:return e.visitAnimateRef(t,n);case H.Query:return e.visitQuery(t,n);case H.Stagger:return e.visitStagger(t,n);default:throw function H6(){return new b(3004,!1)}()}}function k_(e,t){return window.getComputedStyle(e)[t]}let N_=(()=>{class e{validateStyleProperty(n){return function _9(e){Oi||(Oi=function y9(){return typeof document<"u"?document.body:null}()||{},vA=!!Oi.style&&"WebkitAppearance"in Oi.style);let t=!0;return Oi.style&&!function g9(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Oi.style,!t&&vA&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Oi.style)),t}(n)}containsElement(n,r){return bA(n,r)}getParentElement(n){return I_(n)}query(n,r,i){return EA(n,r,i)}computeStyle(n,r,i){return i||""}animate(n,r,i,o,s,a=[],l){return new Xa(i,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})();class O_{static NOOP=new N_}class F_{}const x9=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 IA extends F_{normalizePropertyName(t,n){return R_(t)}normalizeStyleValue(t,n,r,i){let o="";const s=r.toString().trim();if(x9.has(n)&&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 U6(){return new b(3005,!1)}())}return s+o}}const Pu=new Set(["true","1"]),Lu=new Set(["false","0"]);function TA(e,t){const n=Pu.has(e)||Lu.has(e),r=Pu.has(t)||Lu.has(t);return(i,o)=>{let s="*"==e||e==i,a="*"==t||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?Pu.has(e):Lu.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?Pu.has(t):Lu.has(t)),s&&a}}const N9=new RegExp("s*:selfs*,?","g");function L_(e,t,n,r){return new O9(e).build(t,n,r)}class O9{_driver;constructor(t){this._driver=t}build(t,n,r){const i=new L9(n);return this._resetContextStyleTimingState(i),Xt(this,Ja(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,n){let r=n.queryCount=0,i=n.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&n.errors.push(function z6(){return new b(3006,!1)}()),t.definitions.forEach(a=>{if(this._resetContextStyleTimingState(n),a.type==H.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,n))}),l.name=c}else if(a.type==H.Transition){const l=this.visitTransition(a,n);r+=l.queryCount,i+=l.depCount,s.push(l)}else n.errors.push(function $6(){return new b(3007,!1)}())}),{type:H.Trigger,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(t,n){const r=this.visitStyle(t.styles,n),i=t.options&&t.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{SA(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&n.errors.push(function G6(){return new b(3008,!1)}(0,o.values()))}return{type:H.State,name:t.name,style:r,options:i?{params:i}:null}}visitTransition(t,n){n.queryCount=0,n.depCount=0;const r=Xt(this,Ja(t.animation),n),i=function A9(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(r=>function R9(e,t,n){if(":"==e[0]){const l=function k9(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return t.push(function t9(){return new b(3016,!1)}()),"* => *"}}(e,n);if("function"==typeof l)return void t.push(l);e=l}const r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(function e9(){return new b(3015,!1)}()),t;const i=r[1],o=r[2],s=r[3];t.push(TA(i,s)),"<"==o[0]&&("*"!=i||"*"!=s)&&t.push(TA(s,i))}(r,n,t)):n.push(e),n}(t.expr,n.errors);return{type:H.Transition,matchers:i,animation:r,queryCount:n.queryCount,depCount:n.depCount,options:Pi(t.options)}}visitSequence(t,n){return{type:H.Sequence,steps:t.steps.map(r=>Xt(this,r,n)),options:Pi(t.options)}}visitGroup(t,n){const r=n.currentTime;let i=0;const o=t.steps.map(s=>{n.currentTime=r;const a=Xt(this,s,n);return i=Math.max(i,n.currentTime),a});return n.currentTime=i,{type:H.Group,steps:o,options:Pi(t.options)}}visitAnimate(t,n){const r=function B9(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return V_(Ou(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=V_(0,0,"");return o.dynamic=!0,o.strValue=n,o}const i=Ou(n,t);return V_(i.duration,i.delay,i.easing)}(t.timings,n.errors);n.currentAnimateTimings=r;let i,o=t.styles?t.styles:pA({});if(o.type==H.Keyframes)i=this.visitKeyframes(o,n);else{let s=t.styles,a=!1;if(!s){a=!0;const c={};r.easing&&(c.easing=r.easing),s=pA(c)}n.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,n);l.isEmptyStep=a,i=l}return n.currentAnimateTimings=null,{type:H.Animate,timings:r,style:i,options:null}}visitStyle(t,n){const r=this._makeStyleAst(t,n);return this._validateStyleAst(r,n),r}_makeStyleAst(t,n){const r=[],i=Array.isArray(t.styles)?t.styles:[t.styles];for(let a of i)"string"==typeof a?a===sr?r.push(a):n.errors.push(W6()):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:H.Style,styles:r,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(t,n){const r=n.currentAnimateTimings;let i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=n.collectedStyles.get(n.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(n.errors.push(function q6(){return new b(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),n.options&&function C9(e,t,n){const r=t.params||{},i=SA(e);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(function B6(){return new b(3001,!1)}())})}(a,n.options,n.errors)})})}visitKeyframes(t,n){const r={type:H.Keyframes,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(function Y6(){return new b(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,c=0;const d=t.steps.map(v=>{const y=this._makeStyleAst(v,n);let I=null!=y.offset?y.offset:function V9(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){const r=n;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}(y.styles),T=0;return null!=I&&(o++,T=y.offset=I),l=l||T<0||T>1,a=a||T<c,c=T,s.push(T),y});l&&n.errors.push(function K6(){return new b(3012,!1)}()),a&&n.errors.push(function Z6(){return new b(3200,!1)}());const u=t.steps.length;let h=0;o>0&&o<u?n.errors.push(function Q6(){return new b(3202,!1)}()):0==o&&(h=1/(u-1));const f=u-1,p=n.currentTime,m=n.currentAnimateTimings,_=m.duration;return d.forEach((v,y)=>{const I=h>0?y==f?1:h*y:s[y],T=I*_;n.currentTime=p+m.delay+T,m.duration=T,this._validateStyleAst(v,n),v.offset=I,r.styles.push(v)}),r}visitReference(t,n){return{type:H.Reference,animation:Xt(this,Ja(t.animation),n),options:Pi(t.options)}}visitAnimateChild(t,n){return n.depCount++,{type:H.AnimateChild,options:Pi(t.options)}}visitAnimateRef(t,n){return{type:H.AnimateRef,animation:this.visitReference(t.animation,n),options:Pi(t.options)}}visitQuery(t,n){const r=n.currentQuerySelector,i=t.options||{};n.queryCount++,n.currentQuery=t;const[o,s]=function F9(e){const t=!!e.split(/\s*,\s*/).find(n=>":self"==n);return t&&(e=e.replace(N9,"")),e=e.replace(/@\*/g,Nu).replace(/@\w+/g,n=>Nu+"-"+n.slice(1)).replace(/:animating/g,M_),[e,t]}(t.selector);n.currentQuerySelector=r.length?r+" "+o:o,Qt(n.collectedStyles,n.currentQuerySelector,new Map);const a=Xt(this,Ja(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:H.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:Pi(t.options)}}visitStagger(t,n){n.currentQuery||n.errors.push(function X6(){return new b(3013,!1)}());const r="full"===t.timings?{duration:0,delay:0,easing:"full"}:Ou(t.timings,n.errors,!0);return{type:H.Stagger,animation:Xt(this,Ja(t.animation),n),timings:r,options:null}}}class L9{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(t){this.errors=t}}function Pi(e){return e?(e={...e}).params&&(e.params=function P9(e){return e?{...e}:null}(e.params)):e={},e}function V_(e,t,n){return{duration:e,delay:t,easing:n}}function B_(e,t,n,r,i,o,s=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Vu{_map=new Map;get(t){return this._map.get(t)||[]}append(t,n){let r=this._map.get(t);r||this._map.set(t,r=[]),r.push(...n)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const U9=new RegExp(":enter","g"),$9=new RegExp(":leave","g");function j_(e,t,n,r,i,o=new Map,s=new Map,a,l,c=[]){return(new G9).buildKeyframes(e,t,n,r,i,o,s,a,l,c)}class G9{buildKeyframes(t,n,r,i,o,s,a,l,c,d=[]){c=c||new Vu;const u=new H_(t,n,c,i,o,d,[]);u.options=l;const h=l.delay?ar(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),Xt(this,r,u);const f=u.timelines.filter(p=>p.containsAnimation());if(f.length&&a.size){let p;for(let m=f.length-1;m>=0;m--){const _=f[m];if(_.element===n){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[B_(n,[],[],[],0,h,"",!1)]}visitTrigger(t,n){}visitState(t,n){}visitTransition(t,n){}visitAnimateChild(t,n){const r=n.subInstructions.get(n.element);if(r){const i=n.createSubContext(t.options),o=n.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&n.transformIntoNewTimeline(s)}n.previousNode=t}visitAnimateRef(t,n){const r=n.createSubContext(t.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],n,r),this.visitReference(t.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=t}_applyAnimationRefDelays(t,n,r){for(const i of t){const o=i?.delay;if(o){const s="number"==typeof o?o:ar(el(o,i?.params??{},n.errors));r.delayNextStep(s)}}}_visitSubInstructions(t,n,r){let o=n.currentTimeline.currentTime;const s=null!=r.duration?ar(r.duration):null,a=null!=r.delay?ar(r.delay):null;return 0!==s&&t.forEach(l=>{const c=n.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(t,n){n.updateOptions(t.options,!0),Xt(this,t.animation,n),n.previousNode=t}visitSequence(t,n){const r=n.subContextCount;let i=n;const o=t.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){i.previousNode.type==H.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Bu);const s=ar(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(s=>Xt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=t}visitGroup(t,n){const r=[];let i=n.currentTimeline.currentTime;const o=t.options&&t.options.delay?ar(t.options.delay):0;t.steps.forEach(s=>{const a=n.createSubContext(t.options);o&&a.delayNextStep(o),Xt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>n.currentTimeline.mergeTimelineCollectedStyles(s)),n.transformIntoNewTimeline(i),n.previousNode=t}_visitTiming(t,n){if(t.dynamic){const r=t.strValue;return Ou(n.params?el(r,n.params,n.errors):r,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,n){const r=n.currentAnimateTimings=this._visitTiming(t.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());const o=t.style;o.type==H.Keyframes?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}visitStyle(t,n){const r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||t.easing;t.isEmptyStep?r.applyEmptyStep(o):r.setStyles(t.styles,o,n.errors,n.options),n.previousNode=t}visitKeyframes(t,n){const r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,a=n.createSubContext().currentTimeline;a.easing=r.easing,t.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,n.errors,n.options),a.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(a),n.transformIntoNewTimeline(i+o),n.previousNode=t}visitQuery(t,n){const r=n.currentTimeline.currentTime,i=t.options||{},o=i.delay?ar(i.delay):0;o&&(n.previousNode.type===H.Style||0==r&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Bu);let s=r;const a=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{n.currentQueryIndex=d;const u=n.createSubContext(t.options,c);o&&u.delayNextStep(o),c===n.element&&(l=u.currentTimeline),Xt(this,t.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(s),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}visitStagger(t,n){const r=n.parentContext,i=n.currentTimeline,o=t.timings,s=Math.abs(o.duration),a=s*(n.currentQueryTotal-1);let l=s*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const d=n.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;Xt(this,t.animation,n),n.previousNode=t,r.currentStaggerTime=i.currentTime-u+(i.startTime-r.currentTimeline.startTime)}}const Bu={};class H_{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Bu;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(t,n,r,i,o,s,a,l){this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new ju(this._driver,n,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;const r=t;let i=this.options;null!=r.duration&&(i.duration=ar(r.duration)),null!=r.delay&&(i.delay=ar(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!n||!s.hasOwnProperty(a))&&(s[a]=el(o[a],s,this.errors))})}}_copyOptions(){const t={};if(this.options){const n=this.options.params;if(n){const r=t.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return t}createSubContext(t=null,n,r){const i=n||this.element,o=new H_(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(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Bu,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,r){const i={duration:n??t.duration,delay:this.currentTimeline.currentTime+(r??0)+t.delay,easing:""},o=new W9(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,r,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(U9,"."+this._enterClassName)).replace($9,"."+this._leaveClassName);let c=this._driver.query(this.element,t,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 J6(){return new b(3014,!1)}()),a}}class ju{_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(t,n,r,i){this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,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(t){const n=1===this._keyframes.size&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new ju(this._driver,t,n||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(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||sr),this._currentKeyframe.set(n,sr);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,r,i){n&&this._previousKeyframe.set("easing",n);const o=i&&i.params||{},s=function q9(e,t){const n=new Map;let r;return e.forEach(i=>{if("*"===i){r??=t.keys();for(let o of r)n.set(o,sr)}else for(let[o,s]of i)n.set(o,s)}),n}(t,this._globalTimelineStyles);for(let[a,l]of s){const c=el(l,o,r);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??sr),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,r)=>{const i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,n=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?t.add(u):d===sr&&n.add(u)}),r||c.set("offset",l/this.duration),i.push(c)});const o=[...t.values()],s=[...n.values()];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return B_(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class W9 extends ju{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(t,n,r,i,o,s,a=!1){super(t,n,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 t=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){const o=[],s=r+n,a=n/s,l=new Map(t[0]);l.set("offset",0),o.push(l);const c=new Map(t[0]);c.set("offset",AA(a)),o.push(c);const d=t.length-1;for(let u=1;u<=d;u++){let h=new Map(t[u]);const f=h.get("offset");h.set("offset",AA((n+f*r)/s)),o.push(h)}r=s,n=0,i="",t=o}return B_(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}function AA(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}function RA(e,t,n,r,i,o,s,a,l,c,d,u,h){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const U_={};class kA{_triggerName;ast;_stateStyles;constructor(t,n,r){this._triggerName=t,this.ast=n,this._stateStyles=r}match(t,n,r,i){return function Y9(e,t,n,r,i){return e.some(o=>o(t,n,r,i))}(this.ast.matchers,t,n,r,i)}buildStyles(t,n,r){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(n,r):new Map}build(t,n,r,i,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||U_,p=this.buildStyles(r,a&&a.params||U_,u),m=l&&l.params||U_,_=this.buildStyles(i,m,u),v=new Set,y=new Map,I=new Map,T="void"===i,k={params:NA(m,h),delay:this.ast.options?.delay},Q=d?[]:j_(t,n,this.ast.animation,o,s,p,_,k,c,u);let ie=0;return Q.forEach(ge=>{ie=Math.max(ge.duration+ge.delay,ie)}),u.length?RA(n,this._triggerName,r,i,T,p,_,[],[],y,I,ie,u):(Q.forEach(ge=>{const un=ge.element,lr=Qt(y,un,new Set);ge.preStyleProps.forEach(Li=>lr.add(Li));const YA=Qt(I,un,new Set);ge.postStyleProps.forEach(Li=>YA.add(Li)),un!==n&&v.add(un)}),RA(n,this._triggerName,r,i,T,p,_,Q,[...v.values()],y,I,ie))}}function NA(e,t){const n={...t};return Object.entries(e).forEach(([r,i])=>{null!=i&&(n[r]=i)}),n}class K9{styles;defaultParams;normalizer;constructor(t,n,r){this.styles=t,this.defaultParams=n,this.normalizer=r}buildStyles(t,n){const r=new Map,i=NA(t,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=el(s,i,n));const l=this.normalizer.normalizePropertyName(a,n);s=this.normalizer.normalizeStyleValue(a,l,s,n),r.set(a,s)})}),r}}class Q9{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(t,n,r){this.name=t,this.ast=n,this._normalizer=r,n.states.forEach(i=>{this.states.set(i.name,new K9(i.style,i.options&&i.options.params||{},r))}),OA(this.states,"true","1"),OA(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new kA(t,i,this.states))}),this.fallbackTransition=function X9(e,t){return new kA(e,{type:H.Transition,animation:{type:H.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},t)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,n,r,i){return this.transitionFactories.find(s=>s.match(t,n,r,i))||null}matchStyles(t,n,r){return this.fallbackTransition.buildStyles(t,n,r)}}function OA(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}const J9=new Vu;class eY{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(t,n,r){this.bodyNode=t,this._driver=n,this._normalizer=r}register(t,n){const r=[],o=L_(this._driver,n,r,[]);if(r.length)throw function i9(){return new b(3503,!1)}();this._animations.set(t,o)}_buildPlayer(t,n,r){const i=t.element,o=_A(this._normalizer,t.keyframes,n,r);return this._driver.animate(i,o,t.duration,t.delay,t.easing,[],!0)}create(t,n,r={}){const i=[],o=this._animations.get(t);let s;const a=new Map;if(o?(s=j_(this._driver,n,o,wA,T_,new Map,new Map,r,J9,i),s.forEach(d=>{const u=Qt(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(i.push(function o9(){return new b(3300,!1)}()),s=[]),i.length)throw function s9(){return new b(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,sr))})});const c=Lr(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(t,c),c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const n=this._getPlayer(t);n.destroy(),this._playersById.delete(t);const r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(t){const n=this._playersById.get(t);if(!n)throw function a9(){return new b(3301,!1)}();return n}listen(t,n,r,i){const o=S_(n,"","","");return w_(this._getPlayer(t),r,o,i),()=>{}}command(t,n,r,i){if("register"==r)return void this.register(t,i[0]);if("create"==r)return void this.create(t,n,i[0]||{});const o=this._getPlayer(t);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(t)}}}const FA="ng-animate-queued",z_="ng-animate-disabled",oY=[],PA={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},sY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Cn="__ng_removed";class $_{namespaceId;value;options;get params(){return this.options.params}constructor(t,n=""){this.namespaceId=n;const r=t&&t.hasOwnProperty("value");if(this.value=function dY(e){return e??null}(r?t.value:t),r){const{value:o,...s}=t;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(t){const n=t.params;if(n){const r=this.options.params;Object.keys(n).forEach(i=>{null==r[i]&&(r[i]=n[i])})}}}const tl="void",G_=new $_(tl);class aY{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(t,n,r){this.id=t,this.hostElement=n,this._engine=r,this._hostClassName="ng-tns-"+t,dn(n,this._hostClassName)}listen(t,n,r,i){if(!this._triggers.has(n))throw function l9(){return new b(3302,!1)}();if(null==r||0==r.length)throw function c9(){return new b(3303,!1)}();if(!function uY(e){return"start"==e||"done"==e}(r))throw function d9(){return new b(3400,!1)}();const o=Qt(this._elementListeners,t,[]),s={name:n,phase:r,callback:i};o.push(s);const a=Qt(this._engine.statesByElement,t,new Map);return a.has(n)||(dn(t,ku),dn(t,ku+"-"+n),a.set(n,G_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(n)||a.delete(n)})}}register(t,n){return!this._triggers.has(t)&&(this._triggers.set(t,n),!0)}_getTrigger(t){const n=this._triggers.get(t);if(!n)throw function u9(){return new b(3401,!1)}();return n}trigger(t,n,r,i=!0){const o=this._getTrigger(n),s=new W_(this.id,n,t);let a=this._engine.statesByElement.get(t);a||(dn(t,ku),dn(t,ku+"-"+n),this._engine.statesByElement.set(t,a=new Map));let l=a.get(n);const c=new $_(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(n,c),l||(l=G_),c.value!==tl&&l.value===c.value){if(!function pY(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){const o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,c.params)){const m=[],_=o.matchStyles(l.value,l.params,m),v=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Fi(t,_),Ln(t,v)})}return}const h=Qt(this._engine.playersByElement,t,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==n&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,t,c.params),p=!1;if(!f){if(!i)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(dn(t,FA),s.onStart(()=>{ts(t,FA)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(t);if(_){let v=_.indexOf(s);v>=0&&_.splice(v,1)}}),this.players.push(s),h.push(s),s}deregister(t){this._triggers.delete(t),this._engine.statesByElement.forEach(n=>n.delete(t)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const n=this._engine.playersByElement.get(t);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,n){const r=this._engine.driver.query(t,Nu,!0);r.forEach(i=>{if(i[Cn])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(t,n,r,i){const o=this._engine.statesByElement.get(t),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(t,c,tl,i);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,n,s),r&&Lr(a).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const n=this._elementListeners.get(t),r=this._engine.statesByElement.get(t);if(n&&r){const i=new Set;n.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)||G_,d=new $_(tl),u=new W_(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(t,n){const r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),this.triggerLeaveAnimation(t,n,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else{let s=t;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)r.markElementAsRemoved(this.id,t,!1,n);else{const o=t[Cn];(!o||o===PA)&&(r.afterFlush(()=>this.clearElementCache(t)),r.destroyInnerAnimations(t),r._onRemovalComplete(t,n))}}insertNode(t,n){dn(t,this._hostClassName)}drainQueuedTransitions(t){const n=[];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=S_(o,r.triggerName,r.fromState.value,r.toState.value);l._data=t,w_(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.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(t){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class lY{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=(t,n)=>{};_onRemovalComplete(t,n){this.onRemovalComplete(t,n)}constructor(t,n,r){this.bodyNode=t,this.driver=n,this._normalizer=r}get queuedPlayers(){const t=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&t.push(r)})}),t}createNamespace(t,n){const r=new aY(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[t]=r}_balanceNamespaceList(t,n){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(n);for(;a;){const l=i.get(a);if(l){const c=r.indexOf(l);r.splice(c+1,0,t),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(t)}else r.push(t);return i.set(n,t),t}register(t,n){let r=this._namespaceLookup[t];return r||(r=this.createNamespace(t,n)),r}registerTrigger(t,n,r){let i=this._namespaceLookup[t];i&&i.register(n,r)&&this.totalAnimations++}destroy(t,n){t&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const r=this._fetchNamespace(t);this.namespacesByHostElement.delete(r.hostElement);const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[t]}))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const n=new Set,r=this.statesByElement.get(t);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}return n}trigger(t,n,r,i){if(Hu(n)){const o=this._fetchNamespace(t);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(t,n,r,i){if(!Hu(n))return;const o=n[Cn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(n);s>=0&&this.collectedLeaveElements.splice(s,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),dn(t,z_)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),ts(t,z_))}removeNode(t,n,r){if(Hu(n)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(n,r):this.markElementAsRemoved(t,n,!1,r);const o=this.namespacesByHostElement.get(n);o&&o.id!==t&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(t,n,r,i,o){this.collectedLeaveElements.push(n),n[Cn]={namespaceId:t,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(t,n,r,i,o){return Hu(n)?this._fetchNamespace(t).listen(n,r,i,o):()=>{}}_buildInstruction(t,n,r,i,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,r,i,t.fromState.options,t.toState.options,n,o)}destroyInnerAnimations(t){let n=this.driver.query(t,Nu,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,M_,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(t){const n=this.playersByElement.get(t);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(t){const n=this.playersByQueriedElement.get(t);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Lr(this.players).onDone(()=>t());t()})}processLeaveNode(t){const n=t[Cn];if(n&&n.setForRemoval){if(t[Cn]=PA,n.namespaceId){this.destroyInnerAnimations(t);const r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}t.classList?.contains(z_)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(t=-1){let n=[];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++)dn(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const r=[];try{n=this._flushAnimations(r,t)}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=[],n.length?Lr(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(t){throw function f9(){return new b(3402,!1)}()}_flushAnimations(t,n){const r=new Vu,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(M=>{d.add(M);const F=this.driver.query(M,".ng-animate-queued",!0);for(let j=0;j<F.length;j++)d.add(F[j])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=BA(h,this.collectedEnterElements),p=new Map;let m=0;f.forEach((M,F)=>{const j=wA+m++;p.set(F,j),M.forEach(te=>dn(te,j))});const _=[],v=new Set,y=new Set;for(let M=0;M<this.collectedLeaveElements.length;M++){const F=this.collectedLeaveElements[M],j=F[Cn];j&&j.setForRemoval&&(_.push(F),v.add(F),j.hasAnimation?this.driver.query(F,".ng-star-inserted",!0).forEach(te=>v.add(te)):y.add(F))}const I=new Map,T=BA(h,Array.from(v));T.forEach((M,F)=>{const j=T_+m++;I.set(F,j),M.forEach(te=>dn(te,j))}),t.push(()=>{f.forEach((M,F)=>{const j=p.get(F);M.forEach(te=>ts(te,j))}),T.forEach((M,F)=>{const j=I.get(F);M.forEach(te=>ts(te,j))}),_.forEach(M=>{this.processLeaveNode(M)})});const k=[],Q=[];for(let M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(n).forEach(j=>{const te=j.player,rt=j.element;if(k.push(te),this.collectedEnterElements.length){const Et=rt[Cn];if(Et&&Et.setForMove){if(Et.previousTriggersValues&&Et.previousTriggersValues.has(j.triggerName)){const Vi=Et.previousTriggersValues.get(j.triggerName),fn=this.statesByElement.get(j.element);if(fn&&fn.has(j.triggerName)){const zu=fn.get(j.triggerName);zu.value=Vi,fn.set(j.triggerName,zu)}}return void te.destroy()}}const Vn=!u||!this.driver.containsElement(u,rt),Jt=I.get(rt),Vr=p.get(rt),Oe=this._buildInstruction(j,r,Vr,Jt,Vn);if(Oe.errors&&Oe.errors.length)return void Q.push(Oe);if(Vn)return te.onStart(()=>Fi(rt,Oe.fromStyles)),te.onDestroy(()=>Ln(rt,Oe.toStyles)),void i.push(te);if(j.isFallbackTransition)return te.onStart(()=>Fi(rt,Oe.fromStyles)),te.onDestroy(()=>Ln(rt,Oe.toStyles)),void i.push(te);const QA=[];Oe.timelines.forEach(Et=>{Et.stretchStartingKeyframe=!0,this.disabledNodes.has(Et.element)||QA.push(Et)}),Oe.timelines=QA,r.append(rt,Oe.timelines),s.push({instruction:Oe,player:te,element:rt}),Oe.queriedElements.forEach(Et=>Qt(a,Et,[]).push(te)),Oe.preStyleProps.forEach((Et,Vi)=>{if(Et.size){let fn=l.get(Vi);fn||l.set(Vi,fn=new Set),Et.forEach((zu,Z_)=>fn.add(Z_))}}),Oe.postStyleProps.forEach((Et,Vi)=>{let fn=c.get(Vi);fn||c.set(Vi,fn=new Set),Et.forEach((zu,Z_)=>fn.add(Z_))})});if(Q.length){const M=[];Q.forEach(F=>{M.push(function h9(){return new b(3505,!1)}())}),k.forEach(F=>F.destroy()),this.reportError(M)}const ie=new Map,ge=new Map;s.forEach(M=>{const F=M.element;r.has(F)&&(ge.set(F,F),this._beforeAnimationBuild(M.player.namespaceId,M.instruction,ie))}),i.forEach(M=>{const F=M.element;this._getPreviousPlayers(F,!1,M.namespaceId,M.triggerName,null).forEach(te=>{Qt(ie,F,[]).push(te),te.destroy()})});const un=_.filter(M=>HA(M,l,c)),lr=new Map;VA(lr,this.driver,y,c,sr).forEach(M=>{HA(M,l,c)&&un.push(M)});const Li=new Map;f.forEach((M,F)=>{VA(Li,this.driver,new Set(M),l,"!")}),un.forEach(M=>{const F=lr.get(M),j=Li.get(M);lr.set(M,new Map([...F?.entries()??[],...j?.entries()??[]]))});const K_=[],KA=[],ZA={};s.forEach(M=>{const{element:F,player:j,instruction:te}=M;if(r.has(F)){if(d.has(F))return j.onDestroy(()=>Ln(F,te.toStyles)),j.disabled=!0,j.overrideTotalTime(te.totalTime),void i.push(j);let rt=ZA;if(ge.size>1){let Jt=F;const Vr=[];for(;Jt=Jt.parentNode;){const Oe=ge.get(Jt);if(Oe){rt=Oe;break}Vr.push(Jt)}Vr.forEach(Oe=>ge.set(Oe,rt))}const Vn=this._buildAnimation(j.namespaceId,te,ie,o,Li,lr);if(j.setRealPlayer(Vn),rt===ZA)K_.push(j);else{const Jt=this.playersByElement.get(rt);Jt&&Jt.length&&(j.parentPlayer=Lr(Jt)),i.push(j)}}else Fi(F,te.fromStyles),j.onDestroy(()=>Ln(F,te.toStyles)),KA.push(j),d.has(F)&&i.push(j)}),KA.forEach(M=>{const F=o.get(M.element);if(F&&F.length){const j=Lr(F);M.setRealPlayer(j)}}),i.forEach(M=>{M.parentPlayer?M.syncPlayerEvents(M.parentPlayer):M.destroy()});for(let M=0;M<_.length;M++){const F=_[M],j=F[Cn];if(ts(F,T_),j&&j.hasAnimation)continue;let te=[];if(a.size){let Vn=a.get(F);Vn&&Vn.length&&te.push(...Vn);let Jt=this.driver.query(F,M_,!0);for(let Vr=0;Vr<Jt.length;Vr++){let Oe=a.get(Jt[Vr]);Oe&&Oe.length&&te.push(...Oe)}}const rt=te.filter(Vn=>!Vn.destroyed);rt.length?fY(this,F,rt):this.processLeaveNode(F)}return _.length=0,K_.forEach(M=>{this.players.push(M),M.onDone(()=>{M.destroy();const F=this.players.indexOf(M);this.players.splice(F,1)}),M.play()}),K_}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,n,r,i,o){let s=[];if(n){const a=this.playersByQueriedElement.get(t);a&&(s=a)}else{const a=this.playersByElement.get(t);if(a){const l=!o||o==tl;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(t,n,r){const o=n.element,s=n.isRemovalTransition?void 0:t,a=n.isRemovalTransition?void 0:n.triggerName;for(const l of n.timelines){const c=l.element,d=c!==o,u=Qt(r,c,[]);this._getPreviousPlayers(c,d,s,a,n.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}Fi(o,n.fromStyles)}_buildAnimation(t,n,r,i,o,s){const a=n.triggerName,l=n.element,c=[],d=new Set,u=new Set,h=n.timelines.map(p=>{const m=p.element;d.add(m);const _=m[Cn];if(_&&_.removedBeforeQueried)return new Xa(p.duration,p.delay);const v=m!==l,y=function hY(e){const t=[];return jA(e,t),t}((r.get(m)||oY).map(ie=>ie.getRealPlayer())).filter(ie=>!!ie.element&&ie.element===m),I=o.get(m),T=s.get(m),k=_A(this._normalizer,p.keyframes,I,T),Q=this._buildPlayer(p,k,y);if(p.subTimeline&&i&&u.add(m),v){const ie=new W_(t,a,m);ie.setRealPlayer(Q),c.push(ie)}return Q});c.forEach(p=>{Qt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function cY(e,t,n){let r=e.get(t);if(r){if(r.length){const i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}return r}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>dn(p,CA));const f=Lr(h);return f.onDestroy(()=>{d.forEach(p=>ts(p,CA)),Ln(l,n.toStyles)}),u.forEach(p=>{Qt(i,p,[]).push(f)}),f}_buildPlayer(t,n,r){return n.length>0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,r):new Xa(t.duration,t.delay)}}class W_{namespaceId;triggerName;element;_player=new Xa;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(t,n,r){this.namespaceId=t,this.triggerName=n,this.element=r}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>w_(t,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const n=this._player;n.triggerCallback&&t.onStart(()=>n.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,n){Qt(this._queuedCallbacks,t,[]).push(n)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const n=this._player;n.triggerCallback&&n.triggerCallback(t)}}function Hu(e){return e&&1===e.nodeType}function LA(e,t){const n=e.style.display;return e.style.display=t??"none",n}function VA(e,t,n,r,i){const o=[];n.forEach(l=>o.push(LA(l)));const s=[];r.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=t.computeStyle(c,u,i);d.set(u,h),(!h||0==h.length)&&(c[Cn]=sY,s.push(c))}),e.set(c,d)});let a=0;return n.forEach(l=>LA(l,o[a++])),s}function BA(e,t){const n=new Map;if(e.forEach(a=>n.set(a,[])),0==t.length)return n;const i=new Set(t),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=n.has(c)?c:i.has(c)?1:s(c),o.set(a,l),l}return t.forEach(a=>{const l=s(a);1!==l&&n.get(l).push(a)}),n}function dn(e,t){e.classList?.add(t)}function ts(e,t){e.classList?.remove(t)}function fY(e,t,n){Lr(n).onDone(()=>e.processLeaveNode(t))}function jA(e,t){for(let n=0;n<e.length;n++){const r=e[n];r instanceof mA?jA(r.players,t):t.push(r)}}function HA(e,t,n){const r=n.get(e);if(!r)return!1;let i=t.get(e);return i?r.forEach(o=>i.add(o)):t.set(e,r),n.delete(e),!0}class nl{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(t,n)=>{};constructor(t,n,r){this._driver=n,this._normalizer=r,this._transitionEngine=new lY(t.body,n,r),this._timelineEngine=new eY(t.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(t,n,r,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],d=L_(this._driver,o,l,[]);if(l.length)throw function n9(){return new b(3404,!1)}();a=function Z9(e,t,n){return new Q9(e,t,n)}(i,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(n,i,a)}register(t,n){this._transitionEngine.register(t,n)}destroy(t,n){this._transitionEngine.destroy(t,n)}onInsert(t,n,r,i){this._transitionEngine.insertNode(t,n,r,i)}onRemove(t,n,r){this._transitionEngine.removeNode(t,n,r)}disableAnimations(t,n){this._transitionEngine.markElementAsDisabled(t,n)}process(t,n,r,i){if("@"==r.charAt(0)){const[o,s]=yA(r);this._timelineEngine.command(o,n,s,i)}else this._transitionEngine.trigger(t,n,r,i)}listen(t,n,r,i,o){if("@"==r.charAt(0)){const[s,a]=yA(r);return this._timelineEngine.listen(s,n,a,o)}return this._transitionEngine.listen(t,n,r,i,o)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let gY=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(n,r,i){this._element=n,this._startStyles=r,this._endStyles=i;let o=e.initialStylesByElement.get(n);o||e.initialStylesByElement.set(n,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ln(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ln(this._element,this._initialStyles),this._endStyles&&(Ln(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Fi(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Fi(this._element,this._endStyles),this._endStyles=null),Ln(this._element,this._initialStyles),this._state=3)}}return e})();function q_(e){let t=null;return e.forEach((n,r)=>{(function _Y(e){return"display"===e||"position"===e})(r)&&(t=t||new Map,t.set(r,n))}),t}class UA{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(t,n,r,i){this.element=t,this.keyframes=n,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(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;const t=this.keyframes,n=this._triggerWebAnimation(this.element,t,this.options);if(!n)return this._onFinish(),null;this.domPlayer=n,this._finalKeyframe=t.length?t[t.length-1]:new Map;const r=()=>this._onFinish();return n.addEventListener("finish",r),this.onDestroy(()=>{n.removeEventListener("finish",r)}),n}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(t){const n=[];return t.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(t,n,r){const i=this._convertKeyframesToObject(n);try{return t.animate(i,r)}catch{return null}}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){const t=this._buildPlayer();t&&(this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),t.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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=t*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 t=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&t.set(i,this._finished?r:k_(this.element,i))}),this.currentSnapshot=t}triggerCallback(t){const n="start"===t?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}}class zA{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}containsElement(t,n){return bA(t,n)}getParentElement(t){return I_(t)}query(t,n,r){return EA(t,n,r)}computeStyle(t,n,r){return k_(t,n)}animate(t,n,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(f=>f instanceof UA);(function I9(e,t){return 0===e||0===t})(r,i)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function w9(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}(n).map(f=>new Map(f));u=function T9(e,t,n){if(n.size&&t.length){let r=t[0],i=[];if(n.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;o<t.length;o++){let s=t[o];i.forEach(a=>s.set(a,k_(e,a)))}}return t}(t,u,c);const h=function mY(e,t){let n=null,r=null;return Array.isArray(t)&&t.length?(n=q_(t[0]),t.length>1&&(r=q_(t[t.length-1]))):t instanceof Map&&(n=q_(t)),n||r?new gY(e,n,r):null}(t,u);return new UA(t,u,l,h)}}const $A="@.disabled";class GA{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(t,n,r,i){this.namespaceId=t,this.delegate=n,this.engine=r,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(t,n){return this.delegate.createElement(t,n)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,n){this.delegate.appendChild(t,n),this.engine.onInsert(this.namespaceId,n,t,!1)}insertBefore(t,n,r,i=!0){this.delegate.insertBefore(t,n,r),this.engine.onInsert(this.namespaceId,n,t,i)}removeChild(t,n,r,i){i?this.delegate.removeChild(t,n,r,i):this.parentNode(n)&&this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(t,n){return this.delegate.selectRootElement(t,n)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,n,r,i){this.delegate.setAttribute(t,n,r,i)}removeAttribute(t,n,r){this.delegate.removeAttribute(t,n,r)}addClass(t,n){this.delegate.addClass(t,n)}removeClass(t,n){this.delegate.removeClass(t,n)}setStyle(t,n,r,i){this.delegate.setStyle(t,n,r,i)}removeStyle(t,n,r){this.delegate.removeStyle(t,n,r)}setProperty(t,n,r){"@"==n.charAt(0)&&n==$A?this.disableAnimations(t,!!r):this.delegate.setProperty(t,n,r)}setValue(t,n){this.delegate.setValue(t,n)}listen(t,n,r,i){return this.delegate.listen(t,n,r,i)}disableAnimations(t,n){this.engine.disableAnimations(t,n)}}class yY extends GA{factory;constructor(t,n,r,i,o){super(n,r,i,o),this.factory=t,this.namespaceId=n}setProperty(t,n,r){"@"==n.charAt(0)?"."==n.charAt(1)&&n==$A?this.disableAnimations(t,r=void 0===r||!!r):this.engine.process(this.namespaceId,t,n.slice(1),r):this.delegate.setProperty(t,n,r)}listen(t,n,r,i){if("@"==n.charAt(0)){const o=function vY(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(t);let s=n.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function bY(e){const t=e.indexOf(".");return[e.substring(0,t),e.slice(t+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,r,l)})}return this.delegate.listen(t,n,r,i)}}class EY{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(t,n,r){this.delegate=t,this.engine=n,this._zone=r,n.onRemovalComplete=(i,o)=>{o?.removeChild(null,i)}}createRenderer(t,n){const i=this.delegate.createRenderer(t,n);if(!t||!n?.data?.animation){const c=this._rendererCache;let d=c.get(i);return d||(d=new GA("",i,this.engine,()=>c.delete(i)),c.set(i,d)),d}const o=n.id,s=n.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,t,c.name,c)};return n.data.animation.forEach(a),new yY(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(t,n,r){if(t>=0&&t<this._microtaskId)return void this._zone.run(()=>n(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([n,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(t){this.engine.flush(),this.delegate.componentReplaced?.(t)}}const WA=[{provide:F_,useFactory:function wY(){return new IA}},{provide:nl,useClass:(()=>{class e extends nl{constructor(n,r,i){super(n,r,i)}ngOnDestroy(){this.flush()}static \u0275fac=function(r){return new(r||e)(O(we),O(O_),O(F_))};static \u0275prov=S({token:e,factory:e.\u0275fac})}return e})()},{provide:Nn,useFactory:function CY(e,t,n){return new EY(e,t,n)},deps:[ug,nl,L]}],qA=[{provide:O_,useClass:N_},{provide:Zl,useValue:"NoopAnimations"},...WA],Y_=[{provide:O_,useFactory:()=>new zA},{provide:Zl,useFactory:()=>"BrowserAnimations"},...WA];let SY=(()=>{class e{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?qA:Y_}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Ie({type:e});static \u0275inj=ye({providers:Y_,imports:[UT]})}return e})();class IY{constructor(t){(function TY(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")})(t),this.displayPropertyName=t.displayPropertyName,this.models=t.models,this.limit=t.limit,this.limitByType=t.limitByType,this.order=t.order,this.offset=t.offset,this.saveInRecents=t.saveInRecents;const n=function MY(e){return{placeholder:e.placeholder??"Search",noResultMessage:e.noResultMessage??"No result found",placeholderFunction:e.placeholderFunction}}(t);this.noResultMessage=n.noResultMessage,this.placeholder=n.placeholder,this.placeholderFunction=n.placeholderFunction;const r=function xY(e){return{categorizeResults:e.categorizeResults??!0,hideRecentSearch:e.hideRecentSearch??!1,hideCategorizeButton:e.hideCategorizeButton??!1,saveInRecentsOnlyOnEnter:e.saveInRecentsOnlyOnEnter??!1,searchOnlyOnEnter:e.searchOnlyOnEnter??!1}}(t);this.categorizeResults=r.categorizeResults,this.hideRecentSearch=r.hideRecentSearch,this.hideCategorizeButton=r.hideCategorizeButton,this.saveInRecentsOnlyOnEnter=r.saveInRecentsOnlyOnEnter,this.searchOnlyOnEnter=r.searchOnlyOnEnter;const i=function AY(e){return{searchIconClass:e.searchIconClass??"icomoon Search",crossIconClass:e.crossIconClass??"icomoon close",dropDownButtonIconClass:e.dropDownButtonIconClass??"icomoon arrow_down",recentSearchIconClass:e.recentSearchIconClass??"icomoon Search"}}(t);this.searchIconClass=i.searchIconClass,this.crossIconClass=i.crossIconClass,this.dropDownButtonIconClass=i.dropDownButtonIconClass,this.recentSearchIconClass=i.recentSearchIconClass}}let RY=(()=>{var e;class t{constructor(r){this.injector=r}ngDoBootstrap(){const r=function Qq(e,t){const n=function $q(e,t){return t.get(Io).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Yq(e,t.injector),i=function zq(e){const t={};return e.forEach(({propName:n,templateName:r,transform:i})=>{t[function jq(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=[n,i]}),t}(n);class o extends Zq{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.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,h]=i[a];this.ngElementStrategy.setInputValue(u,c,h)}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 n.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}(hA,{injector:this.injector});customElements.define("sourceloop-search-element",r),Object.assign(window,{SearchConfiguration:IY})}static#e=e=()=>(this.\u0275fac=function(i){return new(i||t)(O(ve))},this.\u0275mod=Ie({type:t}),this.\u0275inj=ye({imports:[UT,SY,ig,Nx,X8,fA,Ha,g0,E0,Vq,hA]}))}return e(),t})();N3().bootstrapModule(RY).catch(e=>console.error(e))}},Bi=>{Bi(Bi.s=899)}]);