@sourceloop/search-element 8.0.0 → 8.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/search-element.js DELETED
@@ -1,3 +0,0 @@
1
- (()=>{"use strict";var e,_={},h={};function n(e){var a=h[e];if(void 0!==a)return a.exports;var r=h[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,v=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var b=o(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunksearch_element=self.webpackChunksearch_element||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
2
- "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[461],{20:(te,Q,ve)=>{ve(861)},861:()=>{const te=globalThis;function Q(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const Te=Object.getOwnPropertyDescriptor,Le=Object.defineProperty,Ie=Object.getPrototypeOf,_t=Object.create,Et=Array.prototype.slice,Me="addEventListener",Ze="removeEventListener",Ae=Q(Me),je=Q(Ze),ae="true",le="false",Pe=Q("");function He(e,r){return Zone.current.wrap(e,r)}function xe(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=Q,Ce=typeof window<"u",ge=Ce?window:void 0,$=Ce&&ge||globalThis;function Ve(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=He(e[c],r+"_"+c));return e}function We(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,De=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ge=!De&&!qe&&!(!Ce||!ge.HTMLElement),Xe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!qe&&!(!Ce||!ge.HTMLElement),Se={},mt=j("enable_beforeunload"),Ye=function(e){if(!(e=e||$.event))return;let r=Se[e.type];r||(r=Se[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ge&&c===ge&&"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&&$[mt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function $e(e,r,c){let t=Te(e,r);if(!t&&c&&Te(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 y=Se[T];y||(y=Se[T]=j("ON_PROPERTY"+T)),t.set=function(D){let d=this;!d&&e===$&&(d=$),d&&("function"==typeof d[y]&&d.removeEventListener(T,Ye),E&&E.call(d,null),d[y]=D,"function"==typeof D&&d.addEventListener(T,Ye,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const d=D[y];if(d)return d;if(u){let w=u.call(this);if(w)return t.set.call(this,w),"function"==typeof D.removeAttribute&&D.removeAttribute(r),w}return null},Le(e,r,t),e[i]=!0}function Ke(e,r,c){if(r)for(let t=0;t<r.length;t++)$e(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++)$e(e,t[i],c)}}const re=j("originalInstance");function we(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=Ve(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)}:Le($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=He(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=Ie(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],We(t&&Te(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function yt(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 y=c(E,T);return y.cbIdx>=0&&"function"==typeof T[y.cbIdx]?xe(y.name,T[y.cbIdx],y,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Je=!1,Be=!1;function kt(){if(Je)return Be;Je=!0;try{const e=ge.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Be=!0)}catch{}return Be}function Qe(e){return"function"==typeof e}function et(e){return"number"==typeof e}let me=!1;if(typeof window<"u")try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{me=!1}const vt={useG:!0},ne={},tt={},nt=new RegExp("^"+Pe+"(\\w+)(true|false)$"),rt=j("propagationStopped");function ot(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=Pe+c,u=Pe+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function bt(e,r,c,t){const i=t&&t.add||Me,u=t&&t.rm||Ze,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",y=j(i),D="."+i+":",d="prependListener",w="."+d+":",Z=function(k,h,H){if(k.isRemoved)return;const V=k.callback;let Y;"object"==typeof V&&V.handleEvent&&(k.callback=g=>V.handleEvent(g),k.originalDelegate=V);try{k.invoke(k,h,[H])}catch(g){Y=g}const G=k.options;return G&&"object"==typeof G&&G.once&&h[u].call(h,H.type,k.originalDelegate?k.originalDelegate:k.callback,G),Y};function x(k,h,H){if(!(h=h||e.event))return;const V=k||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const G=[];if(1===Y.length){const g=Z(Y[0],V,h);g&&G.push(g)}else{const g=Y.slice();for(let z=0;z<g.length&&(!h||!0!==h[rt]);z++){const O=Z(g[z],V,h);O&&G.push(O)}}if(1===G.length)throw G[0];for(let g=0;g<G.length;g++){const z=G[g];r.nativeScheduleMicroTask(()=>{throw z})}}}const U=function(k){return x(this,k,!1)},K=function(k){return x(this,k,!0)};function J(k,h){if(!k)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 G=!1;h&&void 0!==h.rt&&(G=h.rt);let g=k;for(;g&&!g.hasOwnProperty(i);)g=Ie(g);if(!g&&k[i]&&(g=k),!g||g[y])return!1;const z=h&&h.eventNameToString,O={},R=g[y]=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 R.call(O.target,O.eventName,O.capture?K:U,O.options)}:function(s){return R.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 m=0;m<C.length;m++)if(C[m]===s){C.splice(m,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:U,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h&&h.diff?h.diff:function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},de=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,m=!1,L=!1){return function(){const I=this||e;let M=arguments[0];h&&h.transferEventName&&(M=h.transferEventName(M));let B=arguments[1];if(!B)return s.apply(this,arguments);if(De&&"uncaughtException"===M)return s.apply(this,arguments);let F=!1;if("function"!=typeof B){if(!B.handleEvent)return s.apply(this,arguments);F=!0}if(V&&!V(s,B,I,arguments))return;const Ee=me&&!!oe&&-1!==oe.indexOf(M),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!me&&"object"==typeof s&&s?!!s.capture:me&&l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Ee)),pe=ie?.signal;if(pe?.aborted)return;if(de)for(let ce=0;ce<de.length;ce++)if(M===de[ce])return Ee?s.call(I,M,B,ie):s.apply(this,arguments);const Ue=!!ie&&("boolean"==typeof ie||ie.capture),lt=!(!ie||"object"!=typeof ie)&&ie.once,At=Zone.current;let ze=ne[M];ze||(ot(M,z),ze=ne[M]);const ut=ze[Ue?ae:le];let Ne,ke=I[ut],ft=!1;if(ke){if(ft=!0,Y)for(let ce=0;ce<ke.length;ce++)if(he(ke[ce],B))return}else ke=I[ut]=[];const ht=I.constructor.name,dt=tt[ht];dt&&(Ne=dt[M]),Ne||(Ne=ht+l+(z?z(M):M)),O.options=ie,lt&&(O.options.once=!1),O.target=I,O.capture=Ue,O.eventName=M,O.isExisting=ft;const Re=H?vt:void 0;Re&&(Re.taskData=O),pe&&(O.options.signal=void 0);const se=At.scheduleEventTask(Ne,B,Re,v,C);if(pe){O.options.signal=pe;const ce=()=>se.zone.cancelTask(se);s.call(pe,"abort",ce,{once:!0}),se.removeAbortListener=()=>pe.removeEventListener("abort",ce)}return O.target=null,Re&&(Re.taskData=null),lt&&(O.options.once=!0),!me&&"boolean"==typeof se.options||(se.options=ie),se.target=I,se.capture=Ue,se.eventName=M,F&&(se.originalDelegate=B),L?ke.unshift(se):ke.push(se),m?I:void 0}};return g[i]=a(R,D,q,A,G),W&&(g[d]=a(W,w,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,G,!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),m=arguments[1];if(!m)return b.apply(this,arguments);if(V&&!V(b,m,s,arguments))return;const L=ne[l];let I;L&&(I=L[C?ae:le]);const M=I&&s[I];if(M)for(let B=0;B<M.length;B++){const F=M[B];if(he(F,m))return M.splice(B,1),F.isRemoved=!0,0!==M.length||(F.allRemoved=!0,s[I]=null,C||"string"!=typeof l)||(s[Pe+"ON_PROPERTY"+l]=null),F.zone.cancelTask(F),G?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=st(s,z?z(l):l);for(let m=0;m<C.length;m++){const L=C[m];v.push(L.originalDelegate?L.originalDelegate:L.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 L=s[v[le]],I=s[v[ae]];if(L){const M=L.slice();for(let B=0;B<M.length;B++){const F=M[B];this[u].call(this,l,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(I){const M=I.slice();for(let B=0;B<M.length;B++){const F=M[B];this[u].call(this,l,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const L=nt.exec(v[C]);let I=L&&L[1];I&&"removeListener"!==I&&this[T].call(this,I)}this[T].call(this,"removeListener")}if(G)return this},fe(g[i],R),fe(g[u],b),ee&&fe(g[T],ee),S&&fe(g[E],S),!0}let X=[];for(let k=0;k<c.length;k++)X[k]=J(c[k],t);return X}function st(e,r){if(!r){const u=[];for(let E in e){const T=nt.exec(E);let y=T&&T[1];if(y&&(!r||y===r)){const D=e[E];if(D)for(let d=0;d<D.length;d++)u.push(D[d])}}return u}let c=ne[r];c||(ot(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 Pt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[rt]=!0,t&&t.apply(i,u)})}const Oe=j("zoneTask");function ye(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const d=D.data;d.args[0]=function(){return D.invoke.apply(this,arguments)};const w=i.apply(e,d.args);return et(w)?d.handleId=w:(d.handle=w,d.isRefreshable=Qe(w.refresh)),D}function y(D){const{handle:d,handleId:w}=D.data;return u.call(e,d??w)}i=ue(e,r+=t,D=>function(d,w){if(Qe(w[0])){const Z={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?w[1]||0:void 0,args:w},x=w[0];w[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:G}=Z;!Y&&!G&&(V?delete E[V]:H&&(H[Oe]=null))}};const U=xe(r,w[0],Z,T,y);if(!U)return U;const{handleId:K,handle:J,isRefreshable:X,isPeriodic:k}=U.data;if(K)E[K]=U;else if(J&&(J[Oe]=U,X&&!k)){const h=J.refresh;J.refresh=function(){const{zone:H,state:V}=U;return"notScheduled"===V?(U._state="scheduled",H._updateTaskCount(U,1)):"running"===V&&(U._state="scheduling"),h.call(this)}}return J??K??U}return D.apply(e,w)}),u=ue(e,c,D=>function(d,w){const Z=w[0];let x;et(Z)?(x=E[Z],delete E[Z]):(x=Z?.[Oe],x?Z[Oe]=null:x=Z),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,w)})}function it(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(!t||0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function ct(e,r,c,t){e&&Ke(e,it(e,r,c),t)}function Fe(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function It(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,y,D){return y&&y.prototype&&i.forEach(function(d){const w=`${c}.${t}::`+d,Z=y.prototype;try{if(Z.hasOwnProperty(d)){const x=e.ObjectGetOwnPropertyDescriptor(Z,d);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,w),e._redefineProperty(y.prototype,d,x)):Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}else Z[d]&&(Z[d]=e.wrapWithCurrentZone(Z[d],w))}catch{}}),E.call(r,T,y,D)},e.attachOriginToPatched(r[t],E)}const at=function be(){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 ve(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,_){e&&e.measure&&e.measure(N,_)}r("Zone");let t=(()=>{class N{static{this.__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,p=!1){if(O.hasOwnProperty(n)){const P=!0===te[Q("forceDuplicateZoneCheck")];if(!p&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,R),c(P,P)}}get parent(){return this._parent}get name(){return this._name}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 p=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(p,this,arguments,o)}}run(n,o,p,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,p,P)}finally{b=b.parent}}runGuarded(n,o=null,p,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,p,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,p){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:_e=!1}={}}=n;if(n.state===X&&(q===z||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const de=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!_e&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,p)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==z||A||_e&&oe===k)he&&P._transitionTo(h,H,k);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),_e&&(P._zoneDelegates=f)}b=b.parent,S=de}}scheduleTask(n){if(n.zone&&n.zone!==this){let p=this;for(;p;){if(p===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);p=p.parent}}n._transitionTo(k,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(p){throw n._transitionTo(Y,k,X),this._zoneDelegate.handleError(this,p),p}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==k&&n._transitionTo(h,k),n}scheduleMicroTask(n,o,p,P){return this.scheduleTask(new E(G,n,o,p,P,void 0))}scheduleMacroTask(n,o,p,P,q){return this.scheduleTask(new E(g,n,o,p,P,q))}scheduleEventTask(n,o,p,P,q){return this.scheduleTask(new E(z,n,o,p,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 p=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<p.length;P++)p[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,_,n,o)=>N.hasTask(n,o),onScheduleTask:(N,_,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,_,n,o,p,P)=>N.invokeTask(n,o,p,P),onCancelTask:(N,_,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}constructor(_,n,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=_,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 p=o&&o.onHasTask;(p||n&&n._hasTaskZS)&&(this._hasTaskZS=p?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(_,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,_,n):new t(_,n)}intercept(_,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,_,n,o):n}invoke(_,n,o,p,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,_,n,o,p,P):n.apply(o,p)}handleError(_,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,_,n)}scheduleTask(_,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,_,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=G)throw new Error("Task is missing scheduleFn.");U(n)}return o}invokeTask(_,n,o,p){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,_,n,o,p):n.callback.apply(o,p)}cancelTask(_,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,_,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(_,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,_,n)}catch(o){this.handleError(_,o)}}_updateTaskCount(_,n){const o=this._taskCounts,p=o[_],P=o[_]=p+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=p&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:_})}}class E{constructor(_,n,o,p,P,q){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=_,this.source=n,this.data=p,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=_===z&&p&&p.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(_,n,o){_||(_=this),ee++;try{return _.runCount++,_.zone.runTask(_,n,o)}finally{1==ee&&K(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,k)}_transitionTo(_,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${_}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=_,_==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const T=Q("setTimeout"),y=Q("Promise"),D=Q("then");let Z,d=[],w=!1;function x(N){if(Z||te[y]&&(Z=te[y].resolve(0)),Z){let _=Z[D];_||(_=Z.then),_.call(Z,N)}else te[T](N,0)}function U(N){0===ee&&0===d.length&&x(K),N&&d.push(N)}function K(){if(!w){for(w=!0;d.length;){const N=d;d=[];for(let _=0;_<N.length;_++){const n=N[_];try{n.zone.runTask(n,null,null)}catch(o){R.onUnhandledError(o)}}}R.microtaskDrainDone(),w=!1}}const J={name:"NO ZONE"},X="notScheduled",k="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",G="microTask",g="macroTask",z="eventTask",O={},R={symbol:Q,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:U,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 Zt(e){(function Nt(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,y=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=T("Promise"),w=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(;y.length;){const f=y.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){U(a)}}};const x=T("unhandledPromiseRejectionHandler");function U(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function K(f){return f&&f.then}function J(f){return f}function X(f){return A.reject(f)}const k=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),g=null,z=!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[k]===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(k)&&s.hasOwnProperty(h)&&s[k]!==g)n(s),N(f,s[k],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[k]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===z&&(f[k]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const m=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;m&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<C.length;)o(f,C[m++],C[m++],C[m++],C[m++]);if(0==C.length&&a==O){f[k]=0;let m=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(L){m=L}D&&(m.throwOriginal=!0),m.rejection=s,m.promise=f,m.zone=c.current,m.task=c.currentTask,y.push(m),t.scheduleMicroTask()}}}return f}const _=T("rejectionHandledHandler");function n(f){if(0===f[k]){try{const a=c[_];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[k]=O;for(let a=0;a<y.length;a++)f===y[a].promise&&y.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[k],m=C?"function"==typeof l?l:J:"function"==typeof v?v:X;a.scheduleMicroTask("Promise.then",()=>{try{const L=f[h],I=!!s&&H===s[H];I&&(s[V]=L,s[Y]=C);const M=a.run(m,void 0,I&&m!==X&&m!==J?[]:[L]);N(s,!0,M)}catch(L){N(s,!1,L)}},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),z,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 m of a)l++,s.push(A.resolve(m))}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((m,L)=>{for(let I=0;I<s.length;I++)s[I].then(M=>{v||(v=!0,m(M))},M=>{C.push(M),l--,0===l&&(v=!0,L(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((L,I)=>{s=L,l=I});function C(L){s(L)}function m(L){l(L)}for(let L of a)K(L)||(L=this.resolve(L)),L.then(C,m);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((M,B)=>{l=M,v=B}),m=2,L=0;const I=[];for(let M of a){K(M)||(M=this.resolve(M));const B=L;try{M.then(F=>{I[B]=s?s.thenCallback(F):F,m--,0===m&&l(I)},F=>{s?(I[B]=s.errorCallback(F),m--,0===m&&l(I)):v(F)})}catch(F){v(F)}m++,L++}return m-=2,0===m&&l(I),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[k]=g,s[h]=[];try{const l=S();a&&a(l(b(s,z)),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[k]==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[k]==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 _e=r[d]=r.Promise;r.Promise=A;const he=T("thenPatched");function de(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[w]=l,f.prototype.then=function(v,C){return new A((L,I)=>{l.call(this,L,I)}).then(v,C)},f[he]=!0}return t.patchThen=de,_e&&(de(_e),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]||de(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=y,A})})(e),function Lt(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 d=this[t];if(d)return"function"==typeof d?c.call(d):Object.prototype.toString.call(d);if(this===Promise){const w=r[i];if(w)return c.call(w)}if(this===Error){const w=r[u];if(w)return c.call(w)}}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 Mt(e){e.__load_patch("util",(r,c,t)=>{const i=Fe(r);t.patchOnProperties=Ke,t.patchMethod=ue,t.bindArguments=Ve,t.patchMacroTask=yt;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=Pt,t.patchEventTarget=bt,t.isIEOrEdge=kt,t.ObjectDefineProperty=Le,t.ObjectGetOwnPropertyDescriptor=Te,t.ObjectCreate=_t,t.ArraySlice=Et,t.patchClass=we,t.wrapWithCurrentZone=He,t.filterProperties=it,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=It,t.getGlobalObjects=()=>({globalSources:tt,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ge,isMix:Xe,isNode:De,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:Pe,ADD_EVENT_LISTENER_STR:Me,REMOVE_EVENT_LISTENER_STR:Ze})})}(e)})(at),function Ot(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";ye(r,c,t,"Timeout"),ye(r,c,t,"Interval"),ye(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ye(r,"request","cancel","AnimationFrame"),ye(r,"mozRequest","mozCancel","AnimationFrame"),ye(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,y)=>function(D,d){return c.current.run(E,r,d,y)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function Dt(e,r){r.patchEventPrototype(e,r)})(r,t),function Ct(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let y=0;y<c.length;y++){const D=c[y],Z=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=Z,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)=>{we("MutationObserver"),we("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{we("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{we("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function St(e,r){if(De&&!Xe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ge){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=function pt(){try{const e=ge.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:i,ignoreProperties:["error"]}]:[];ct(i,Fe(i),c&&c.concat(u),Ie(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&&u.prototype&&ct(u.prototype,Fe(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Rt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(d){const w=d.XMLHttpRequest;if(!w)return;const Z=w.prototype;let U=Z[Ae],K=Z[je];if(!U){const R=d.XMLHttpRequestEventTarget;if(R){const b=R.prototype;U=b[Ae],K=b[je]}}const J="readystatechange",X="scheduled";function k(R){const b=R.data,S=b.target;S[E]=!1,S[y]=!1;const ee=S[u];U||(U=S[Ae],K=S[je]),ee&&K.call(S,J,ee);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&R.state===X){const _=S[c.__symbol__("loadfalse")];if(0!==S.status&&_&&_.length>0){const n=R.invoke;R.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let p=0;p<o.length;p++)o[p]===R&&o.splice(p,1);!b.aborted&&R.state===X&&n.call(R)},_.push(R)}else R.invoke()}else!b.aborted&&!1===S[E]&&(S[y]=!0)};return U.call(S,J,W),S[t]||(S[t]=R),z.apply(S,b.args),S[E]=!0,R}function h(){}function H(R){const b=R.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(Z,"open",()=>function(R,b){return R[i]=0==b[2],R[T]=b[1],V.apply(R,b)}),G=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),z=ue(Z,"send",()=>function(R,b){if(!0===c.current[g]||R[i])return z.apply(R,b);{const S={target:R,url:R[T],isPeriodic:!1,args:b,aborted:!1},ee=xe("XMLHttpRequest.send",h,S,k,H);R&&!0===R[y]&&!S.aborted&&ee.state===X&&ee.invoke()}}),O=ue(Z,"abort",()=>function(R,b){const S=function x(R){return R[t]}(R);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[G])return O.apply(R,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),y=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function gt(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(!We(Te(e,i)))continue;e[i]=(T=>{const y=function(){return T.apply(this,Ve(arguments,c+"."+i))};return fe(y,T),y})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){st(r,i).forEach(T=>{const y=r.PromiseRejectionEvent;if(y){const D=new y(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 wt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(at)}},te=>{te(te.s=20)}]);
3
- "use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[792],{674:()=>{function kl(e,n){return Object.is(e,n)}let Ke=null,Os=!1,sf=1;const mt=Symbol("SIGNAL");function Z(e){const n=Ke;return Ke=e,n}const to={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rl(e){if(Os)throw new Error("");if(null===Ke)return;Ke.consumerOnSignalRead(e);const n=Ke.nextProducerIndex++;Vl(Ke),n<Ke.producerNode.length&&Ke.producerNode[n]!==e&&Ls(Ke)&&Ll(Ke.producerNode[n],Ke.producerIndexOfThis[n]),Ke.producerNode[n]!==e&&(Ke.producerNode[n]=e,Ke.producerIndexOfThis[n]=Ls(Ke)?h_(e,Ke,n):0),Ke.producerLastReadVersion[n]=e.version}function Ns(e){if((!Ls(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==sf)){if(!e.producerMustRecompute(e)&&!Nl(e))return void Ol(e);e.producerRecomputeValue(e),Ol(e)}}function u_(e){if(void 0===e.liveConsumerNode)return;const n=Os;Os=!0;try{for(const t of e.liveConsumerNode)t.dirty||uF(t)}finally{Os=n}}function f_(){return!1!==Ke?.consumerAllowSignalWrites}function uF(e){e.dirty=!0,u_(e),e.consumerMarkedDirty?.(e)}function Ol(e){e.dirty=!1,e.lastCleanEpoch=sf}function no(e){return e&&(e.nextProducerIndex=0),Z(e)}function Ps(e,n){if(Z(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ls(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Ll(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Nl(e){Vl(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Ns(t),i!==t.version))return!0}return!1}function Pl(e){if(Vl(e),Ls(e))for(let n=0;n<e.producerNode.length;n++)Ll(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function h_(e,n,t){if(p_(e),0===e.liveConsumerNode.length&&m_(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=h_(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Ll(e,n){if(p_(e),1===e.liveConsumerNode.length&&m_(e))for(let i=0;i<e.producerNode.length;i++)Ll(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];Vl(r),r.producerIndexOfThis[i]=n}}function Ls(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Vl(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function p_(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function m_(e){return void 0!==e.producerNode}function g_(e,n){const t=Object.create(fF);t.computation=e,void 0!==n&&(t.equal=n);const i=()=>{if(Ns(t),Rl(t),t.value===Ni)throw t.error;return t.value};return i[mt]=t,i}const ar=Symbol("UNSET"),io=Symbol("COMPUTING"),Ni=Symbol("ERRORED"),fF={...to,value:ar,dirty:!0,error:null,equal:kl,kind:"computed",producerMustRecompute:e=>e.value===ar||e.value===io,producerRecomputeValue(e){if(e.value===io)throw new Error("Detected cycle in computations.");const n=e.value;e.value=io;const t=no(e);let i,r=!1;try{i=e.computation(),Z(null),r=n!==ar&&n!==Ni&&i!==Ni&&e.equal(n,i)}catch(o){i=Ni,e.error=o}finally{Ps(e,t)}r?e.value=n:(e.value=i,e.version++)}};let y_=function hF(){throw new Error};function __(e){y_(e)}function lf(e,n){f_()||__(e),e.equal(e.value,n)||(e.value=n,function gF(e){e.version++,function dF(){sf++}(),u_(e)}(e))}const b_={...to,equal:kl,value:void 0,kind:"signal"};let cf;function jl(){return cf}function Pi(e){const n=cf;return cf=e,n}const df=Symbol("NotFound");function Ee(e){return"function"==typeof e}function w_(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}Error;const uf=w_(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Hl(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class Ae{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Ee(i))try{i()}catch(o){n=o instanceof uf?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{E_(o)}catch(s){n=n??[],s instanceof uf?n=[...n,...s.errors]:n.push(s)}}if(n)throw new uf(n)}}add(n){var t;if(n&&n!==this)if(this.closed)E_(n);else{if(n instanceof Ae){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Hl(t,n)}remove(n){const{_finalizers:t}=this;t&&Hl(t,n),n instanceof Ae&&n._removeParent(this)}}Ae.EMPTY=(()=>{const e=new Ae;return e.closed=!0,e})();const C_=Ae.EMPTY;function D_(e){return e instanceof Ae||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function E_(e){Ee(e)?e():e.unsubscribe()}const lr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},zl={setTimeout(e,n,...t){const{delegate:i}=zl;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=zl;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function S_(e){zl.setTimeout(()=>{const{onUnhandledError:n}=lr;if(!n)throw e;n(e)})}function ff(){}const wF=hf("C",void 0,void 0);function hf(e,n,t){return{kind:e,value:n,error:t}}let cr=null;function Ul(e){if(lr.useDeprecatedSynchronousErrorHandling){const n=!cr;if(n&&(cr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=cr;if(cr=null,t)throw i}}else e()}class pf extends Ae{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,D_(n)&&n.add(this)):this.destination=AF}static create(n,t,i){return new Vs(n,t,i)}next(n){this.isStopped?gf(function DF(e){return hf("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?gf(function CF(e){return hf("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?gf(wF,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const SF=Function.prototype.bind;function mf(e,n){return SF.call(e,n)}class MF{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){Gl(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){Gl(i)}else Gl(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Gl(t)}}}class Vs extends pf{constructor(n,t,i){let r;if(super(),Ee(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&lr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&mf(n.next,o),error:n.error&&mf(n.error,o),complete:n.complete&&mf(n.complete,o)}):r=n}this.destination=new MF(r)}}function Gl(e){lr.useDeprecatedSynchronousErrorHandling?function EF(e){lr.useDeprecatedSynchronousErrorHandling&&cr&&(cr.errorThrown=!0,cr.error=e)}(e):S_(e)}function gf(e,n){const{onStoppedNotification:t}=lr;t&&zl.setTimeout(()=>t(e,n))}const AF={closed:!0,next:ff,error:function IF(e){throw e},complete:ff},yf="function"==typeof Symbol&&Symbol.observable||"@@observable";function Bs(e){return e}let Se=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const o=function FF(e){return e&&e instanceof pf||function TF(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(e)&&D_(e)}(t)?t:new Vs(t,i,r);return Ul(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=I_(i))((r,o)=>{const s=new Vs({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[yf](){return this}pipe(...t){return function M_(e){return 0===e.length?Bs:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=I_(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function I_(e){var n;return null!==(n=e??lr.Promise)&&void 0!==n?n:Promise}const kF=w_(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let J=(()=>{class e extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new A_(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new kF}next(t){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){Ul(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:o}=this;return i||r?C_:(this.currentObservers=null,o.push(t),new Ae(()=>{this.currentObservers=null,Hl(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Se;return t.source=this,t}}return e.create=(n,t)=>new A_(n,t),e})();class A_ extends J{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:C_}}class T_ extends J{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function gt(e){return n=>{if(function RF(e){return Ee(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ct(e,n,t,i,r){return new OF(e,n,t,i,r)}class OF extends pf{constructor(n,t,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function tt(e,n){return gt((t,i)=>{let r=0;t.subscribe(ct(i,o=>{i.next(e.call(n,o,r++))}))})}const F_="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class w extends Error{code;constructor(n,t){super(function hi(e,n){return`${function NF(e){return`NG0${Math.abs(e)}`}(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function pi(e){return{toString:e}.toString()}const oo="__parameters__";function ao(e,n,t){return pi(()=>{const i=function _f(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(oo)?l[oo]:Object.defineProperty(l,oo,{value:[]})[oo];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const He=globalThis;function pe(e){for(let n in e)if(e[n]===pe)return n;throw Error("Could not find renamed property on target object.")}function PF(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function nt(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(nt).join(", ")}]`;if(null==e)return""+e;const n=e.overriddenName||e.name;if(n)return`${n}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return i>=0?t.slice(0,i):t}function vf(e,n){return e?n?`${e} ${n}`:e:n||""}const LF=pe({__forward_ref__:pe});function we(e){return e.__forward_ref__=we,e.toString=function(){return nt(this())},e}function W(e){return Wl(e)?e():e}function Wl(e){return"function"==typeof e&&e.hasOwnProperty(LF)&&e.__forward_ref__===we}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function le(e){return{providers:e.providers||[],imports:e.imports||[]}}function ql(e){return N_(e,Yl)||N_(e,P_)}function N_(e,n){return e.hasOwnProperty(n)?e[n]:null}function Kl(e){return e&&(e.hasOwnProperty(bf)||e.hasOwnProperty(zF))?e[bf]:null}const Yl=pe({\u0275prov:pe}),bf=pe({\u0275inj:pe}),P_=pe({ngInjectableDef:pe}),zF=pe({ngInjectorDef:pe});class C{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=D({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Cf(e){return e&&!!e.\u0275providers}const lo=pe({\u0275cmp:pe}),Df=pe({\u0275dir:pe}),Ef=pe({\u0275pipe:pe}),V_=pe({\u0275mod:pe}),mi=pe({\u0275fac:pe}),js=pe({__NG_ELEMENT_ID__:pe}),B_=pe({__NG_ENV_ID__:pe});function Y(e){return"string"==typeof e?e:null==e?"":String(e)}function j_(e,n){throw new w(-200,e)}function Sf(e,n){throw new w(-201,!1)}var ie=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ie||{});let Mf;function H_(){return Mf}function jt(e){const n=Mf;return Mf=e,n}function z_(e,n,t){const i=ql(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ie.Optional?null:void 0!==n?n:void Sf()}const ur={},If="__NG_DI_FLAG__";class U_{injector;constructor(n){this.injector=n}retrieve(n,t){return this.injector.get(n,t.optional?df:ur,t)}}const Xl="ngTempTokenPath",qF=/\n/gm,G_="__source";function YF(e,n=ie.Default){if(void 0===jl())throw new w(-203,!1);if(null===jl())return z_(e,void 0,n);{const t=jl();let i;return i=t instanceof U_?t.injector:t,i.get(e,n&ie.Optional?null:void 0,n)}}function I(e,n=ie.Default){return(H_()||YF)(W(e),n)}function g(e,n=ie.Default){return I(e,Jl(n))}function Jl(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Af(e){const n=[];for(let t=0;t<e.length;t++){const i=W(e[t]);if(Array.isArray(i)){if(0===i.length)throw new w(900,!1);let r,o=ie.Default;for(let s=0;s<i.length;s++){const a=i[s],l=QF(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(I(r,o))}else n.push(I(i))}return n}function Hs(e,n){return e[If]=n,e.prototype[If]=n,e}function QF(e){return e[If]}const co=Hs(ao("Optional"),8),ec=Hs(ao("SkipSelf"),4);function fr(e,n){return e.hasOwnProperty(mi)?e[mi]:null}function uo(e,n){e.forEach(t=>Array.isArray(t)?uo(t,n):n(t))}function W_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function tc(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function en(e,n,t){let i=zs(e,n);return i>=0?e[1|i]=t:(i=~i,function K_(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function Tf(e,n){const t=zs(e,n);if(t>=0)return e[1|t]}function zs(e,n){return function ik(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<t];if(n===s)return o<<t;s>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const Sn={},ae=[],Mn=new C(""),Y_=new C("",-1),Ff=new C("");class ic{get(n,t=ur){if(t===ur){const i=new Error(`NullInjectorError: No provider for ${nt(n)}!`);throw i.name="NullInjectorError",i}return t}}function re(e){return e[lo]||null}function nn(e){return e[Ef]||null}function rk(...e){return{\u0275providers:kf(0,e),\u0275fromNgModule:!0}}function kf(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return uo(n,s=>{const a=s;rc(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Q_(r,o),t}function Q_(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];Rf(r,o=>{n(o,i)})}}function rc(e,n,t,i){if(!(e=W(e)))return!1;let r=null,o=Kl(e);const s=!o&&re(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Kl(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)rc(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{uo(o.imports,d=>{rc(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Q_(c,n)}if(!a){const c=fr(r)||(()=>new r);n({provide:r,useFactory:c,deps:ae},r),n({provide:Ff,useValue:r,multi:!0},r),n({provide:Mn,useValue:()=>I(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Rf(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function Rf(e,n){for(let t of e)Cf(t)&&(t=t.\u0275providers),Array.isArray(t)?Rf(t,n):n(t)}const ok=pe({provide:String,useValue:pe});function Of(e){return null!==e&&"object"==typeof e&&ok in e}function hr(e){return"function"==typeof e}const Nf=new C(""),oc={},J_={};let Pf;function sc(){return void 0===Pf&&(Pf=new ic),Pf}class Mt{}class pr extends Mt{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,Vf(n,s=>this.processProvider(s)),this.records.set(Y_,ho(void 0,this)),r.has("environment")&&this.records.set(Mt,ho(void 0,this));const o=this.records.get(Nf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ff,ae,ie.Self))}retrieve(n,t){return this.get(n,t.optional?df:ur,t)}destroy(){Us(this),this._destroyed=!0;const n=Z(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Z(n)}}onDestroy(n){return Us(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Us(this);const t=Pi(this),i=jt(void 0);try{return n()}finally{Pi(t),jt(i)}}get(n,t=ur,i=ie.Default){if(Us(this),n.hasOwnProperty(B_))return n[B_](this);i=Jl(i);const o=Pi(this),s=jt(void 0);try{if(!(i&ie.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function uk(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&ql(n);l=c&&this.injectableDefInScope(c)?ho(Lf(n),oc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l,i)}return(i&ie.Self?sc():this.parent).get(n,t=i&ie.Optional&&t===ur?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Xl]=a[Xl]||[]).unshift(nt(n)),o)throw a;return function ZF(e,n,t,i){const r=e[Xl];throw n[G_]&&r.unshift(n[G_]),e.message=function XF(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=nt(n);if(Array.isArray(n))r=n.map(nt).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):nt(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(qF,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Xl]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{jt(s),Pi(o)}}resolveInjectorInitializers(){const n=Z(null),t=Pi(this),i=jt(void 0);try{const o=this.get(Mn,ae,ie.Self);for(const s of o)s()}finally{Pi(t),jt(i),Z(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(nt(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let t=hr(n=W(n))?n:W(n&&n.provide);const i=function lk(e){return Of(e)?ho(void 0,e.useValue):ho(ev(e),oc)}(n);if(!hr(n)&&!0===n.multi){let r=this.records.get(t);r||(r=ho(void 0,oc,!0),r.factory=()=>Af(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t,i){const r=Z(null);try{return t.value===J_?j_(nt(n)):t.value===oc&&(t.value=J_,t.value=t.factory(void 0,i)),"object"==typeof t.value&&t.value&&function dk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Z(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=W(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Lf(e){const n=ql(e),t=null!==n?n.factory:fr(e);if(null!==t)return t;if(e instanceof C)throw new w(204,!1);if(e instanceof Function)return function ak(e){if(e.length>0)throw new w(204,!1);const t=function HF(e){return e&&(e[Yl]||e[P_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new w(204,!1)}function ev(e,n,t){let i;if(hr(e)){const r=W(e);return fr(r)||Lf(r)}if(Of(e))i=()=>W(e.useValue);else if(function X_(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Af(e.deps||[]));else if(function Z_(e){return!(!e||!e.useExisting)}(e))i=(r,o)=>I(W(e.useExisting),void 0!==o&&o&ie.Optional?ie.Optional:void 0);else{const r=W(e&&(e.useClass||e.provide));if(!function ck(e){return!!e.deps}(e))return fr(r)||Lf(r);i=()=>new r(...Af(e.deps))}return i}function Us(e){if(e.destroyed)throw new w(205,!1)}function ho(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Vf(e,n){for(const t of e)Array.isArray(t)?Vf(t,n):t&&Cf(t)?Vf(t.\u0275providers,n):n(t)}function Bf(e,n){let t;e instanceof pr?(Us(e),t=e):t=new U_(e);const r=Pi(t),o=jt(void 0);try{return n()}finally{Pi(r),jt(o)}}function jf(){return void 0!==H_()||null!=jl()}function po(e){if(!jf())throw new w(-203,!1)}const H=11,T=26;function ze(e){return Array.isArray(e)&&"object"==typeof e[1]}function rt(e){return Array.isArray(e)&&!0===e[1]}function Uf(e){return!!(4&e.flags)}function An(e){return e.componentOffset>-1}function uc(e){return!(1&~e.flags)}function on(e){return!!e.template}function yi(e){return!!(512&e[2])}function _i(e){return!(256&~e[2])}class Ck{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function lv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}const zt=(()=>{const e=()=>cv;return e.ngInherit=!0,e})();function cv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ek),Dk}function Dk(){const e=uv(this),n=e?.current;if(n){const t=e.previous;if(t===Sn)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function Ek(e,n,t,i,r){const o=this.declaredInputs[i],s=uv(e)||function Sk(e,n){return e[dv]=n}(e,{previous:Sn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Ck(c&&c.currentValue,t,l===Sn),lv(e,n,r,t)}const dv="__ngSimpleChanges__";function uv(e){return e[dv]||null}function oe(e){for(;Array.isArray(e);)e=e[0];return e}function xo(e,n){return oe(n[e])}function At(e,n){return oe(n[e.index])}function _r(e,n){return e.data[n]}function Tt(e,n){const t=n[e];return ze(t)?t:t[0]}function qf(e){return!(128&~e[2])}function pn(e,n){return null==n?null:e[n]}function pv(e){e[17]=0}function Kf(e){1024&e[2]||(e[2]|=1024,qf(e)&&wo(e))}function Ws(e){return!!(9216&e[2]||e[24]?.dirty)}function Yf(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Ws(e)&&wo(e)}function wo(e){e[10].changeDetectionScheduler?.notify(0);let n=vi(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,qf(n));)n=vi(n)}function hc(e,n){if(_i(e))throw new w(911,!1);null===e[21]&&(e[21]=[]),e[21].push(n)}function vi(e){const n=e[3];return rt(n)?n[3]:n}function Zf(e){return e[7]??=[]}function Xf(e){return e.cleanup??=[]}const q={lFrame:Dv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let eh=!1;function th(){return q.bindingsEnabled}function br(){return null!==q.skipHydrationRootTNode}function x(){return q.lFrame.lView}function z(){return q.lFrame.tView}function _t(e){return q.lFrame.contextLView=e,e[8]}function vt(e){return q.lFrame.contextLView=null,e}function ee(){let e=gv();for(;null!==e&&64===e.type;)e=e.parent;return e}function gv(){return q.lFrame.currentTNode}function Tn(e,n){const t=q.lFrame;t.currentTNode=e,t.isParent=n}function nh(){return q.lFrame.isParent}function ih(){q.lFrame.isParent=!1}function vv(){return eh}function mc(e){const n=eh;return eh=e,n}function mn(){return q.lFrame.bindingIndex++}function xi(e){const n=q.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Hk(e,n){const t=q.lFrame;t.bindingIndex=t.bindingRootIndex=e,rh(n)}function rh(e){q.lFrame.currentDirectiveIndex=e}function sh(){return q.lFrame.currentQueryIndex}function gc(e){q.lFrame.currentQueryIndex=e}function Uk(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function wv(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=Uk(o),null===r||(o=o[14],10&r.type))););if(null===r)return!1;n=r,e=o}const i=q.lFrame=Cv();return i.currentTNode=n,i.lView=e,!0}function ah(e){const n=Cv(),t=e[1];q.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Cv(){const e=q.lFrame,n=null===e?null:e.child;return null===n?Dv(e):n}function Dv(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Ev(){const e=q.lFrame;return q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Sv=Ev;function lh(){const e=Ev();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 bt(){return q.lFrame.selectedIndex}function xr(e){q.lFrame.selectedIndex=e}function ye(){const e=q.lFrame;return _r(e.tView,e.selectedIndex)}let Av=!0;function Ks(){return Av}function Yn(e){Av=e}function ch(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),l&&(e.viewHooks??=[]).push(-t,l),c&&((e.viewHooks??=[]).push(t,c),(e.viewCheckHooks??=[]).push(t,c)),null!=d&&(e.destroyHooks??=[]).push(t,d)}}function yc(e,n,t){Tv(e,n,3,t)}function _c(e,n,t,i){(3&e[2])===t&&Tv(e,n,t,i)}function dh(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function Tv(e,n,t,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[17]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[17]+=65536),(a<o||-1==o)&&(Yk(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function Fv(e,n){const t=Z(null);try{n.call(e)}finally{Z(t)}}function Yk(e,n,t,i){const r=t[i]<0,o=t[i+1],a=e[r?-t[i]:t[i]];r?e[2]>>14<e[17]>>16&&(3&e[2])===n&&(e[2]+=16384,Fv(a,o)):Fv(a,o)}class Ys{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=i}}function kv(e){return 3===e||4===e||6===e}function Rv(e){return 64===e.charCodeAt(0)}function Do(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||Ov(e,t,r,0,-1===t||2===t?n[++i]:null)}}return e}function Ov(e,n,t,i,r){let o=0,s=e.length;if(-1===n)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===t)return void(null!==r&&(e[o+1]=r));o++,null!==r&&o++}-1!==s&&(e.splice(s,0,n),o=s+1),e.splice(o++,0,t),null!==r&&e.splice(o++,0,r)}function hh(e){return-1!==e}function Qs(e){return 32767&e}function Zs(e,n){let t=function eR(e){return e>>16}(e),i=n;for(;t>0;)i=i[14],t--;return i}let ph=!0;function vc(e){const n=ph;return ph=e,n}let tR=0;const Qn={};function bc(e,n){const t=Lv(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,mh(i.data,e),mh(n,null),mh(i.blueprint,null));const r=xc(e,n),o=e.injectorIndex;if(hh(r)){const s=Qs(r),a=Zs(r,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function mh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Lv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function xc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=Gv(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function gh(e,n,t){!function nR(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(js)&&(i=t[js]),null==i&&(i=t[js]=tR++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function Vv(e,n,t){if(t&ie.Optional||void 0!==e)return e;Sf()}function Bv(e,n,t,i){if(t&ie.Optional&&void 0===i&&(i=null),!(t&(ie.Self|ie.Host))){const r=e[9],o=jt(void 0);try{return r?r.get(n,i,t&ie.Optional):z_(n,i,t&ie.Optional)}finally{jt(o)}}return Vv(i,0,t)}function jv(e,n,t,i=ie.Default,r){if(null!==e){if(2048&n[2]&&!(i&ie.Self)){const s=function aR(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[2]&&!yi(s);){const a=Hv(o,s,t,i|ie.Self,Qn);if(a!==Qn)return a;let l=o.parent;if(!l){const c=s[20];if(c){const d=c.get(t,Qn,i);if(d!==Qn)return d}l=Gv(s),s=s[14]}o=l}return r}(e,n,t,i,Qn);if(s!==Qn)return s}const o=Hv(e,n,t,i,Qn);if(o!==Qn)return o}return Bv(n,t,i,r)}function Hv(e,n,t,i,r){const o=function oR(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(js)?e[js]:void 0;return"number"==typeof n?n>=0?255&n:sR:n}(t);if("function"==typeof o){if(!wv(n,e,i))return i&ie.Host?Vv(r,0,i):Bv(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;Sf()}finally{Sv()}}else if("number"==typeof o){let s=null,a=Lv(e,n),l=-1,c=i&ie.Host?n[15][5]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?xc(e,n):n[a+8],-1!==l&&Uv(i,!1)?(s=n[1],a=Qs(l),n=Zs(l,n)):a=-1);-1!==a;){const d=n[1];if(zv(o,a,d.data)){const u=rR(a,n,t,s,i,c);if(u!==Qn)return u}l=n[a+8],-1!==l&&Uv(i,n[1].data[a+8]===c)&&zv(o,a,n)?(s=d,a=Qs(l),n=Zs(l,n)):a=-1}}return r}function rR(e,n,t,i,r,o){const s=n[1],a=s.data[e+8],d=wc(a,s,t,null==i?An(a)&&ph:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==d?Xs(n,s,d,a,r):Qn}function wc(e,n,t,i,r){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,d=o>>20,h=r?a+d:e.directiveEnd;for(let f=i?a:a+d;f<h;f++){const p=s[f];if(f<l&&t===p||f>=l&&p.type===t)return f}if(r){const f=s[l];if(f&&on(f)&&f.type===t)return l}return null}function Xs(e,n,t,i,r){let o=e[t];const s=n.data;if(o instanceof Ys){const a=o;a.resolving&&j_(function ce(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Y(e)}(s[t]));const l=vc(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?jt(a.injectImpl):null;wv(e,i,ie.Default);try{o=e[t]=a.factory(void 0,r,s,e,i),n.firstCreatePass&&t>=i.directiveStart&&function Kk(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=cv(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,s[t],n)}finally{null!==d&&jt(d),vc(l),a.resolving=!1,Sv()}}return o}function zv(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function Uv(e,n){return!(e&ie.Self||e&ie.Host&&n)}class Ue{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return jv(this._tNode,this._lView,n,Jl(i),t)}}function sR(){return new Ue(ee(),x())}function O(e){return pi(()=>{const n=e.prototype.constructor,t=n[mi]||yh(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[mi]||yh(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function yh(e){return Wl(e)?()=>{const n=yh(W(e));return n&&n()}:fr(e)}function Gv(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function Yv(e,n=null,t=null,i){const r=Qv(e,n,t,i);return r.resolveInjectorInitializers(),r}function Qv(e,n=null,t=null,i,r=new Set){const o=[t||ae,rk(e)];return i=i||("object"==typeof e?void 0:nt(e)),new pr(o,n||sc(),i||null,r)}class ke{static THROW_IF_NOT_FOUND=ur;static NULL=new ic;static create(n,t){if(Array.isArray(n))return Yv({name:""},t,n,"");{const i=n.name??"";return Yv({name:i},n.parent,n.providers,i)}}static \u0275prov=D({token:ke,providedIn:"any",factory:()=>I(Y_)});static __NG_ELEMENT_ID__=-1}class Zv{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>function Cc(e){return function iR(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(kv(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===n)return t[r+1];r+=2}}}return null}(ee(),e)}(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}new C("").__NG_ELEMENT_ID__=e=>{const n=ee();if(null===n)throw new w(204,!1);if(2&n.type)return n.value;if(e&ie.Optional)return null;throw new w(204,!1)};const Xv=!1;let Zn=(()=>class e{static __NG_ELEMENT_ID__=gR;static __NG_ENV_ID__=t=>t})();class Jv extends Zn{_lView;constructor(n){super(),this._lView=n}onDestroy(n){const t=this._lView;return _i(t)?(n(),()=>{}):(hc(t,n),()=>function Qf(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(t,n))}}function gR(){return new Jv(x())}class Xn{}const Js=new C("",{providedIn:"root",factory:()=>!1}),eb=new C(""),vh=new C("");let ji=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new T_(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();const _e=class yR extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,jf()&&(this.destroyRef=g(Zn,{optional:!0})??void 0,this.pendingTasks=g(ji,{optional:!0})??void 0)}emit(n){const t=Z(null);try{super.next(n)}finally{Z(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Ae&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{void 0!==i&&this.pendingTasks?.remove(i)}})}}};function ea(...e){}function nb(e){let n,t;function i(){e=ea;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function ib(e){return queueMicrotask(()=>e()),()=>{e=ea}}const bh="isAngularZone",Ec=bh+"_ID";let _R=0;class B{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Xv}=n;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&i,s.shouldCoalesceRunChangeDetection=r,s.callbackScheduled=!1,s.scheduleInRootZone=o,function xR(e){const n=()=>{!function bR(e){function n(){nb(()=>{e.callbackScheduled=!1,wh(e),e.isCheckStableRunning=!0,xh(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),wh(e))}(e)},t=_R++;e._inner=e._inner.fork({name:"angular",properties:{[bh]:!0,[Ec]:t,[Ec+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function wR(e){return sb(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return rb(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),ob(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return rb(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function CR(e){return sb(e,"__scheduler_tick__")}(l)&&n(),ob(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,wh(e),xh(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(i,r,o,s)=>(i.handleError(o,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(bh)}static assertInAngularZone(){if(!B.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(B.isInAngularZone())throw new w(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,vR,ea,ea);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const vR={};function xh(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 wh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function rb(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ob(e){e._nesting--,xh(e)}class Ch{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function sb(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class Ut{_console=console;handleError(n){this._console.error("ERROR",n)}}const ER=new C("",{providedIn:"root",factory:()=>{const e=g(B),n=g(Ut);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function SR(){return Eo(ee(),x())}function Eo(e,n){return new U(At(e,n))}let U=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=SR})();function lb(e){return e instanceof U?e.nativeElement:e}function So(e){return"function"==typeof e&&void 0!==e[mt]}function Fn(e,n){const t=function mF(e,n){const t=Object.create(b_);t.value=e,void 0!==n&&(t.equal=n);const i=()=>(Rl(t),t.value);return i[mt]=t,i}(e,n?.equal),i=t[mt];return t.set=r=>lf(i,r),t.update=r=>function v_(e,n){f_()||__(e),lf(e,n(e.value))}(i,r),t.asReadonly=Sc.bind(t),t}function Sc(){const e=this[mt];if(void 0===e.readonlyFn){const n=()=>this();n[mt]=e,e.readonlyFn=n}return e.readonlyFn}function cb(e){return So(e)&&"function"==typeof e.set}function MR(){return this._results[Symbol.iterator]()}class Mc{_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 J}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;const i=function Ht(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function nk(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=MR}function na(e){return!(128&~e.flags)}var Ic=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Ic||{});const Ac=new Map;let AR=0;function Eh(e){Ac.delete(e[19])}const Mh="__ngContext__";function $t(e,n){ze(n)?(e[Mh]=n[19],function FR(e){Ac.set(e[19],e)}(n)):e[Mh]=n}function _b(e){return bb(e[12])}function vb(e){return bb(e[4])}function bb(e){for(;null!==e&&!rt(e);)e=e[4];return e}let Ah;function Jn(){if(void 0!==Ah)return Ah;if(typeof document<"u")return document;throw new w(210,!1)}const ei=new C("",{providedIn:"root",factory:()=>QR}),QR="ng",Th=new C(""),sn=new C("",{providedIn:"platform",factory:()=>"unknown"}),Cr=new C(""),Fh=new C("",{providedIn:"root",factory:()=>Jn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Tb=new C("",{providedIn:"root",factory:()=>!1});var zh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(zh||{});const Io=new C(""),Ob=new Set;function an(e){Ob.has(e)||(Ob.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Nc=(()=>class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=tO})();function tO(){return new Nc(x(),ee())}var Ao=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ao||{});let Uh=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();const Nb=[Ao.EarlyRead,Ao.Write,Ao.MixedReadWrite,Ao.Read];let Pb=(()=>{class e{ngZone=g(B);scheduler=g(Xn);errorHandler=g(Ut,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Io,{optional:!0})}execute(){this.executing=!0;for(const i of Nb)for(const r of this.sequences)if(!r.erroredOrDestroyed&&r.hooks[i])try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,r.hooks[i])(r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(const i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(const i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){const{view:i}=t;void 0!==i?((i[25]??=[]).push(t),wo(i),i[2]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,i){return i?i.run(zh.AFTER_NEXT_RENDER,t):t()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();class Lb{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,i,r,o,s=null){this.impl=n,this.hooks=t,this.view=i,this.once=r,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const n=this.view?.[25];n&&(this.view[25]=n.filter(t=>t!==this))}}function Pc(e,n){!n?.injector&&po();const t=n?.injector??g(ke);return an("NgAfterRender"),Vb(e,t,n,!1)}function Vb(e,n,t,i){const r=n.get(Uh);r.impl??=n.get(Pb);const o=n.get(Io,null,{optional:!0}),s=t?.phase??Ao.MixedReadWrite,a=!0!==t?.manualCleanup?n.get(Zn):null,l=n.get(Nc,null,{optional:!0}),c=new Lb(r.impl,function nO(e,n){if(e instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[n]=e,t}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,s),l?.view,i,a,o?.snapshot(null));return r.impl.register(c),c}function dx(e,n){const t=e.contentQueries;if(null!==t){const i=Z(null);try{for(let r=0;r<t.length;r+=2){const s=t[r+1];if(-1!==s){const a=e.data[s];gc(t[r]),a.contentQueries(2,n[s],s)}}}finally{Z(i)}}}function ip(e,n,t){gc(0);const i=Z(null);try{n(e,t)}finally{Z(i)}}function rp(e,n,t){if(Uf(n)){const i=Z(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;s<o;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{Z(i)}}}var gn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(gn||{});let Kc,Yc;function Lo(e){return function px(){if(void 0===Kc&&(Kc=null,He.trustedTypes))try{Kc=He.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Kc}()?.createHTML(e)||e}function mx(e){return function ap(){if(void 0===Yc&&(Yc=null,He.trustedTypes))try{Yc=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yc}()?.createHTML(e)||e}class Sr{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${F_})`}}class GO extends Sr{getTypeName(){return"HTML"}}class $O extends Sr{getTypeName(){return"Style"}}class WO extends Sr{getTypeName(){return"Script"}}class qO extends Sr{getTypeName(){return"URL"}}class KO extends Sr{getTypeName(){return"ResourceURL"}}function ln(e){return e instanceof Sr?e.changingThisBreaksApplicationSecurity:e}function ti(e,n){const t=function YO(e){return e instanceof Sr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${F_})`)}return t===n}class tN{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Lo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class nN{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Lo(n),t}}const rN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Qc(e){return(e=String(e)).match(rN)?e:"unsafe:"+e}function Di(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function ma(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const vx=Di("area,br,col,hr,img,wbr"),bx=Di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xx=Di("rp,rt"),lp=ma(vx,ma(bx,Di("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")),ma(xx,Di("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")),ma(xx,bx)),cp=Di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),wx=ma(cp,Di("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"),Di("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")),oN=Di("script,style,template");class sN{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=cN(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=lN(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=Cx(n).toLowerCase();if(!lp.hasOwnProperty(t))return this.sanitizedSomething=!0,!oN.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!wx.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;cp[a]&&(l=Qc(l)),this.buf.push(" ",s,'="',Ex(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=Cx(n).toLowerCase();lp.hasOwnProperty(t)&&!vx.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Ex(n))}}function lN(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Dx(n);return n}function cN(e){const n=e.firstChild;if(n&&function aN(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Dx(n);return n}function Cx(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Dx(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const dN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uN=/([^\#-~ |!])/g;function Ex(e){return e.replace(/&/g,"&amp;").replace(dN,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(uN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Zc;function Sx(e,n){let t=null;try{Zc=Zc||function _x(e){const n=new nN(e);return function iN(){try{return!!(new window.DOMParser).parseFromString(Lo(""),"text/html")}catch{return!1}}()?new tN(n):n}(e);let i=n?String(n):"";t=Zc.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Zc.getInertBodyElement(i)}while(i!==o);return Lo((new sN).sanitizeChildren(dp(t)||t))}finally{if(t){const i=dp(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function dp(e){return"content"in e&&function fN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const hN=/^>|^->|<!--|-->|--!>|<!-$/g,pN=/(<|>)/g;function fp(e,n){return e.createComment(function Mx(e){return e.replace(hN,n=>n.replace(pN,"\u200b$1\u200b"))}(n))}function Xc(e,n,t){return e.createElement(n,t)}function Mr(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Ax(e,n,t){e.appendChild(n,t)}function Tx(e,n,t,i,r){null!==i?Mr(e,n,t,i,r):Ax(e,n,t)}function kx(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&function Jk(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,o)}else{const o=r,s=t[++i];Rv(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}}(e,n,i),null!==r&&function yN(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}(e,n,r),null!==o&&function gN(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}var ft=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}(ft||{});function hp(e){const n=ya();return n?mx(n.sanitize(ft.HTML,e)||""):ti(e,"HTML")?mx(ln(e)):Sx(Jn(),Y(e))}function Jc(e){const n=ya();return n?n.sanitize(ft.URL,e)||"":ti(e,"URL")?ln(e):Qc(Y(e))}function ya(){const e=x();return e&&e[10].sanitizer}function ON(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}const Vx="ng-template";function NN(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==ON(n[r+1].toLowerCase(),t,0))return!0}else if(pp(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function pp(e){return 4===e.type&&e.value!==Vx}function PN(e,n,t){return n===(4!==e.type||t?e.value:Vx)}function LN(e,n,t){let i=4;const r=e.attrs,o=null!==r?function jN(e){for(let n=0;n<e.length;n++)if(kv(e[n]))return n;return e.length}(r):0;let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!PN(e,l,t)||""===l&&1===n.length){if(kn(i))return!1;s=!0}}else if(8&i){if(null===r||!NN(e,r,l,t)){if(kn(i))return!1;s=!0}}else{const c=n[++a],d=VN(l,r,pp(e),t);if(-1===d){if(kn(i))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":r[d+1].toLowerCase(),2&i&&c!==u){if(kn(i))return!1;s=!0}}}}else{if(!s&&!kn(i)&&!kn(l))return!1;if(s&&kn(l))continue;s=!1,i=l|1&i}}return kn(i)||s}function kn(e){return!(1&e)}function VN(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const s=n[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function HN(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function Bx(e,n,t=!1){for(let i=0;i<n.length;i++)if(LN(e,n[i],t))return!0;return!1}function zN(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function jx(e,n){return e?":not("+n.trim()+")":n}function UN(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!kn(s)&&(n+=jx(o,r),r=""),i=s,o=o||!kn(i);t++}return""!==r&&(n+=jx(o,r)),n}const Q={};function mp(e,n,t,i,r,o,s,a,l,c,d){const u=T+i,h=u+r,f=function WN(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:Q);return t}(u,h),p="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,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 td(e,n,t,i,r,o,s,a,l,c,d){const u=n.blueprint.slice();return u[0]=r,u[2]=1228|i,(null!==c||e&&2048&e[2])&&(u[2]|=2048),pv(u),u[3]=u[14]=e,u[8]=t,u[10]=s||e&&e[10],u[H]=a||e&&e[H],u[9]=l||e&&e[9]||null,u[5]=o,u[19]=function TR(){return AR++}(),u[6]=d,u[20]=c,u[15]=2==n.type?e[15]:u,u}function gp(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function _a(e,n,t,i){if(0===t)return-1;const r=n.length;for(let o=0;o<t;o++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function yp(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function F(e=1){zx(z(),x(),bt()+e,!1)}function zx(e,n,t,i){if(!i)if(3&~n[2]){const o=e.preOrderHooks;null!==o&&_c(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&yc(n,o,t)}xr(t)}var nd=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(nd||{});function _p(e,n,t,i){const r=Z(null);try{const[o,s,a]=e.inputs[t];let l=null;!!(s&nd.SignalBased)&&(l=n[o][mt]),null!==l&&void 0!==l.transformFn?i=l.transformFn(i):null!==a&&(i=a.call(n,i)),null!==e.setInput?e.setInput(n,l,i,t,o):lv(n,l,o,i)}finally{Z(r)}}function Ux(e,n,t,i,r){const o=bt(),s=2&i;try{xr(-1),s&&n.length>T&&zx(e,n,T,!1),t(i,r)}finally{xr(o)}}function id(e,n,t){(function e1(e,n,t){const i=t.directiveStart,r=t.directiveEnd;An(t)&&function qN(e,n,t){const i=At(n,e),r=function Hx(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=mp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}(t),o=e[10].rendererFactory,s=yp(e,td(e,r,null,gp(t),i,n,null,o.createRenderer(i,t),null,null,null));e[n.index]=s}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||bc(t,n);const o=t.initialInputs;for(let s=i;s<r;s++){const a=e.data[s],l=Xs(n,e,s,t);$t(l,n),null!==o&&i1(0,s-i,l,a,0,o),on(a)&&(Tt(t.index,n)[8]=Xs(n,e,s,t))}})(e,n,t),!(64&~t.flags)&&function t1(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function zk(){return q.lFrame.currentDirectiveIndex}();try{xr(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];rh(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&n1(l,c)}}finally{xr(-1),rh(s)}}(e,n,t)}function vp(e,n,t=At){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?t(n,e):e[s];e[r++]=a}}}let Gx=()=>null;function Wt(e,n,t,i,r,o,s,a){if(a||!Cp(n,e,t,i,r)){if(3&n.type){const l=At(n,t);i=function XN(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r)}}else An(n)&&function JN(e,n){const t=Tt(n,e);16&t[2]||(t[2]|=64)}(t,n.index)}function n1(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function bp(e,n){const t=e.directiveRegistry;let i=null;if(t)for(let r=0;r<t.length;r++){const o=t[r];Bx(n,o.selectors,!1)&&(i??=[],on(o)?i.unshift(o):i.push(o))}return i}function ii(e,n,t,i,r,o){const s=At(e,n);!function xp(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Y(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function i1(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;a+=2)_p(i,t,s[a],s[a+1])}function Cp(e,n,t,i,r){const o=e.inputs?.[i],s=e.hostDirectiveInputs?.[i];let a=!1;if(s)for(let l=0;l<s.length;l+=2){const c=s[l];_p(n.data[c],t[c],s[l+1],r),a=!0}if(o)for(const l of o)_p(n.data[l],t[l],i,r),a=!0;return a}function r1(e,n){const t=Tt(n,e),i=t[1];!function o1(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[0];null!==r&&null===t[6]&&(t[6]=null),rd(i,t,t[8])}function rd(e,n,t){ah(n);try{const i=e.viewQuery;null!==i&&ip(1,i,t);const r=e.template;null!==r&&Ux(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[18]?.finishViewCreation(e),e.staticContentQueries&&dx(e,n),e.staticViewQueries&&ip(2,e.viewQuery,t);const o=e.components;null!==o&&function s1(e,n){for(let t=0;t<n.length;t++)r1(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[2]&=-5,lh()}}function Bo(e,n,t,i){const r=Z(null);try{const o=n.tView,l=td(e,o,t,4096&e[2]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[16]=e[n.index];const d=e[18];return null!==d&&(l[18]=d.createEmbeddedView(o)),rd(o,l,t),l}finally{Z(r)}}function Ir(e,n){return!n||null===n.firstChild||na(e)}function Ep(e,n){return undefined(e,n)}var zi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(zi||{});function Ui(e){return!(32&~e.flags)}function jo(e,n,t,i,r){if(null!=i){let o,s=!1;rt(i)?o=i:ze(i)&&(s=!0,i=i[0]);const a=oe(i);0===e&&null!==t?null==r?Ax(n,t,a):Mr(n,t,a,r||null,!0):1===e&&null!==t?Mr(n,t,a,r||null,!0):2===e?function ga(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function h1(e,n,t,i,r){const o=t[7];o!==oe(t)&&jo(n,e,i,o,r);for(let a=10;a<t.length;a++){const l=t[a];sd(l[1],l,e,n,i,o)}}(n,e,o,t,r)}}function Kx(e,n){n[10].changeDetectionScheduler?.notify(9),sd(e,n,n[H],2,null,null)}function Sp(e,n){const t=e[9],i=t.indexOf(n);t.splice(i,1)}function va(e,n){if(_i(n))return;const t=n[H];t.destroyNode&&sd(e,n,t,3,null,null),function c1(e){let n=e[12];if(!n)return Mp(e[1],e);for(;n;){let t=null;if(ze(n))t=n[12];else{const i=n[10];i&&(t=i)}if(!t){for(;n&&!n[4]&&n!==e;)ze(n)&&Mp(n[1],n),n=n[3];null===n&&(n=e),ze(n)&&Mp(n[1],n),t=n&&n[4]}n=t}}(n)}function Mp(e,n){if(_i(n))return;const t=Z(null);try{n[2]&=-129,n[2]|=256,n[24]&&Pl(n[24]),function u1(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof Ys)){const o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(e,n),function d1(e,n){const t=e.cleanup,i=n[7];if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const a=t[s+3];a>=0?i[a]():i[-a].unsubscribe(),s+=2}else t[s].call(i[t[s+1]]);null!==i&&(n[7]=null);const r=n[21];if(null!==r){n[21]=null;for(let s=0;s<r.length;s++)(0,r[s])()}const o=n[23];if(null!==o){n[23]=null;for(const s of o)s.destroy()}}(e,n),1===n[1].type&&n[H].destroy();const i=n[16];if(null!==i&&rt(n[3])){i!==n[3]&&Sp(i,n);const r=n[18];null!==r&&r.detachView(e)}Eh(n)}finally{Z(t)}}function Ip(e,n,t){return function Yx(e,n,t){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return t[0];if(An(i)){const{encapsulation:r}=e.data[i.directiveStart+i.componentOffset];if(r===gn.None||r===gn.Emulated)return null}return At(i,t)}(e,n.parent,t)}function Qx(e,n,t){return Xx(e,n,t)}let Xx=function Zx(e,n,t){return 40&e.type?At(e,t):null};function od(e,n,t,i){const r=Ip(e,i,n),o=n[H],a=Qx(i.parent||n[5],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)Tx(o,r,t[l],a,!1);else Tx(o,r,t,a,!1)}function Ar(e,n){if(null!==n){const t=n.type;if(3&t)return At(n,e);if(4&t)return Tp(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Ar(e,i);{const r=e[n.index];return rt(r)?Tp(-1,r):oe(r)}}if(128&t)return Ar(e,n.next);if(32&t)return Ep(n,e)()||oe(e[n.index]);{const i=ew(e,n);return null!==i?Array.isArray(i)?i[0]:Ar(vi(e[15]),i):Ar(e,n.next)}}return null}function ew(e,n){return null!==n?e[15][5].projection[n.projection]:null}function Tp(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return Ar(i,r)}return n[7]}function Fp(e,n,t,i,r,o,s){for(;null!=t;){if(128===t.type){t=t.next;continue}const a=i[t.index],l=t.type;if(s&&0===n&&(a&&$t(oe(a),i),t.flags|=2),!Ui(t))if(8&l)Fp(e,n,t.child,i,r,o,!1),jo(n,e,r,a,o);else if(32&l){const c=Ep(t,i);let d;for(;d=c();)jo(n,e,r,d,o);jo(n,e,r,a,o)}else 16&l?tw(e,n,i,t,r,o):jo(n,e,r,a,o);t=s?t.projectionNext:t.next}}function sd(e,n,t,i,r,o){Fp(t,i,e.firstChild,n,r,o,!1)}function tw(e,n,t,i,r,o){const s=t[15],l=s[5].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)jo(n,e,r,l[c],o);else{let c=l;const d=s[3];na(i)&&(c.flags|=128),Fp(e,n,c,d,r,o,!0)}}function Ho(e,n,t,i,r=!1){for(;null!==t;){if(128===t.type){t=r?t.projectionNext:t.next;continue}const o=n[t.index];null!==o&&i.push(oe(o)),rt(o)&&kp(o,i);const s=t.type;if(8&s)Ho(e,n,t.child,i);else if(32&s){const a=Ep(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=ew(n,t);if(Array.isArray(a))i.push(...a);else{const l=vi(n[15]);Ho(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function kp(e,n){for(let t=10;t<e.length;t++){const i=e[t],r=i[1].firstChild;null!==r&&Ho(i[1],i,r,n)}e[7]!==e[0]&&n.push(e[7])}function nw(e){if(null!==e[25]){for(const n of e[25])n.impl.addSequence(n);e[25].length=0}}let iw=[];const _1={...to,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{wo(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},b1={...to,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=vi(e.lView);for(;n&&!rw(n[1]);)n=vi(n);n&&Kf(n)},consumerOnSignalRead(){this.lView[24]=this}};function rw(e){return 2!==e.type}function ow(e){if(null===e[23])return;let n=!0;for(;n;){let t=!1;for(const i of e[23])i.dirty&&(t=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=t&&!!(8192&e[2])}}function ad(e,n=!0,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function w1(e,n){const t=vv();try{mc(!0),Rp(e,n);let i=0;for(;Ws(e);){if(100===i)throw new w(103,!1);i++,Rp(e,1)}}finally{mc(t)}}(e,t)}catch(s){throw n&&function wp(e,n){const t=e[9],i=t?t.get(Ut,null):null;i&&i.handleError(n)}(e,s),s}finally{r.end?.()}}function aw(e,n,t,i){if(_i(n))return;const r=n[2];ah(n);let a=!0,l=null,c=null;rw(e)?(c=function m1(e){return e[24]??function g1(e){const n=iw.pop()??Object.create(_1);return n.lView=e,n}(e)}(n),l=no(c)):null===function af(){return Ke}()?(a=!1,c=function v1(e){const n=e[24]??Object.create(b1);return n.lView=e,n}(n),l=no(c)):n[24]&&(Pl(n[24]),n[24]=null);try{pv(n),function bv(e){return q.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Ux(e,n,t,2,i);const d=!(3&~r);if(d){const f=e.preOrderCheckHooks;null!==f&&yc(n,f,null)}else{const f=e.preOrderHooks;null!==f&&_c(n,f,0,null),dh(n,0)}if(function C1(e){for(let n=_b(e);null!==n;n=vb(n)){if(!(2&n[2]))continue;const t=n[9];for(let i=0;i<t.length;i++)Kf(t[i])}}(n),ow(n),lw(n,0),null!==e.contentQueries&&dx(e,n),d){const f=e.contentCheckHooks;null!==f&&yc(n,f)}else{const f=e.contentHooks;null!==f&&_c(n,f,1),dh(n,1)}!function E1(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)xr(~r);else{const o=r,s=t[++i],a=t[++i];Hk(s,o);const l=n[o];a(2,l)}}}finally{xr(-1)}}(e,n);const u=e.components;null!==u&&dw(n,u,0);const h=e.viewQuery;if(null!==h&&ip(2,h,i),d){const f=e.viewCheckHooks;null!==f&&yc(n,f)}else{const f=e.viewHooks;null!==f&&_c(n,f,2),dh(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const f of n[22])f();n[22]=null}nw(n),n[2]&=-73}catch(d){throw wo(n),d}finally{null!==c&&(Ps(c,l),a&&function y1(e){e.lView[24]!==e&&(e.lView=null,iw.push(e))}(c)),lh()}}function lw(e,n){for(let t=_b(e);null!==t;t=vb(t))for(let i=10;i<t.length;i++)cw(t[i],n)}function D1(e,n,t){const i=Tt(n,e);cw(i,t)}function cw(e,n){qf(e)&&Rp(e,n)}function Rp(e,n){const i=e[1],r=e[2],o=e[24];let s=!!(0===n&&16&r);if(s||=!!(64&r&&0===n),s||=!!(1024&r),s||=!(!o?.dirty||!Nl(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)aw(i,e,i.template,e[8]);else if(8192&r){ow(e),lw(e,1);const a=i.components;null!==a&&dw(e,a,1),nw(e)}}function dw(e,n,t){for(let i=0;i<n.length;i++)D1(e,n[i],t)}function ba(e,n){const t=vv()?64:1088;for(e[10].changeDetectionScheduler?.notify(n);e;){e[2]|=t;const i=vi(e);if(yi(e)&&!i)return e;e=i}return null}function uw(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function zo(e,n,t,i=!0){const r=n[1];if(function S1(e,n,t,i){const r=10+i,o=t.length;i>0&&(t[r-1][4]=n),i<o-10?(n[4]=t[r],W_(t,10+i,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[16];null!==s&&t!==s&&hw(s,n);const a=n[18];null!==a&&a.insertView(e),Yf(n),n[2]|=128}(r,n,e,t),i){const s=Tp(t,e),a=n[H],l=a.parentNode(e[7]);null!==l&&function l1(e,n,t,i,r,o){i[0]=r,i[5]=n,sd(e,i,t,1,r,o)}(r,e[5],a,n,l,s)}const o=n[6];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function xa(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[16];null!==r&&r!==e&&Sp(r,i),n>0&&(e[t-1][4]=i[4]);const o=tc(e,10+n);!function qx(e,n){Kx(e,n),n[0]=null,n[5]=null}(i[1],i);const s=o[18];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function hw(e,n){const t=e[9],i=n[3];(ze(i)||n[15]!==i[3][15])&&(e[2]|=2),null===t?e[9]=[n]:t.push(n)}let wa=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const n=this._lView,t=n[1];return Ho(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i}get context(){return this._lView[8]}set context(n){this._lView[8]=n}get destroyed(){return _i(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[3];if(rt(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(xa(n,i),tc(t,i))}this._attachedToViewContainer=!1}va(this._lView[1],this._lView)}onDestroy(n){hc(this._lView,n)}markForCheck(){ba(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Yf(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,ad(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=yi(this._lView),t=this._lView[16];null!==t&&!n&&Sp(t,this._lView),Kx(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n;const t=yi(this._lView),i=this._lView[16];null!==i&&!t&&hw(i,this._lView),Yf(this._lView)}},ri=(()=>class e{static __NG_ELEMENT_ID__=F1})();const A1=ri,T1=class extends A1{_declarationLView;_declarationTContainer;elementRef;constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=Bo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new wa(r)}};function F1(){return ld(ee(),x())}function ld(e,n){return 4&e.type?new T1(n,e,Eo(e,n)):null}function Uo(e,n,t,i,r){let o=e.data[n];if(null===o)o=function Vp(e,n,t,i,r){const o=gv(),s=nh(),l=e.data[n]=function H1(e,n,t,i,r,o){let s=n?n.injectorIndex:-1,a=0;return br()&&(a|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,i,r);return function j1(e,n,t,i){null===e.firstChild&&(e.firstChild=n),null!==t&&(i?null==t.child&&null!==n.parent&&(t.child=n):null===t.next&&(t.next=n,n.prev=t))}(e,l,o,s),l}(e,n,t,i,r),function jk(){return q.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=function qs(){const e=q.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Tn(o,!0),o}let MP=class{},Pw=class{};class IP{resolveComponentFactory(n){throw Error(`No component factory found for ${nt(n)}.`)}}let Wo=class{static NULL=new IP};class oi{}let yn=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function AP(){const e=x(),t=Tt(ee().index,e);return(ze(t)?t:e)[H]}()})(),TP=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>null})}return e})();const qp={};class Ko{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Jl(i);const r=this.injector.get(n,qp,i);return r!==qp||t===qp?r:this.parentInjector.get(n,t,i)}}function Kp(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=vf(r,a):2==o&&(i=vf(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}function y(e,n=ie.Default){const t=x();return null===t?I(e,n):jv(ee(),t,W(e),n)}function Yp(e,n,t,i,r){const o=null===i?null:{"":-1},s=r(e,t);if(null!==s){let a,l=null,c=null;const d=function PP(e){let n=null,t=!1;for(let s=0;s<e.length;s++){const a=e[s];if(0===s&&on(a)&&(n=a),null!==a.findHostDirectiveDefs){t=!0;break}}if(!t)return null;let i=null,r=null,o=null;for(const s of e)null!==s.findHostDirectiveDefs&&(i??=[],r??=new Map,o??=new Map,LP(s,i,o,r)),s===n&&(i??=[],i.push(s));return null!==i?(i.push(...null===n?e:e.slice(1)),[i,r,o]):null}(s);null===d?a=s:[a,l,c]=d,function BP(e,n,t,i,r,o,s){const a=i.length;let l=!1;for(let h=0;h<a;h++){const f=i[h];!l&&on(f)&&(l=!0,VP(e,t,h)),gh(bc(t,n),e,f.type)}!function $P(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,a);for(let h=0;h<a;h++){const f=i[h];f.providersResolver&&f.providersResolver(f)}let c=!1,d=!1,u=_a(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){const f=i[h];if(t.mergedAttrs=Do(t.mergedAttrs,f.hostAttrs),HP(e,t,n,u,f),GP(u,f,r),null!==s&&s.has(f)){const[m,_]=s.get(f);t.directiveToIndex.set(f.type,[u,m+t.directiveStart,_+t.directiveStart])}else(null===o||!o.has(f))&&t.directiveToIndex.set(f.type,u);null!==f.contentQueries&&(t.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(t.flags|=64);const p=f.type.prototype;!c&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),c=!0),!d&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),d=!0),u++}!function jP(e,n,t){for(let i=n.directiveStart;i<n.directiveEnd;i++){const r=e.data[i];if(null!==t&&t.has(r)){const o=t.get(r);Bw(0,n,o,i),Bw(1,n,o,i),Hw(n,i,!0)}else Vw(0,n,r,i),Vw(1,n,r,i),Hw(n,i,!1)}}(e,t,o)}(e,n,t,a,o,l,c)}null!==o&&null!==i&&function NP(e,n,t){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const o=t[n[r+1]];if(null==o)throw new w(-301,!1);i.push(n[r],o)}}(t,i,o)}function LP(e,n,t,i){const r=n.length;e.findHostDirectiveDefs(e,n,i),t.set(e,[r,n.length-1])}function VP(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function Vw(e,n,t,i){const r=0===e?t.inputs:t.outputs;for(const o in r)if(r.hasOwnProperty(o)){let s;s=0===e?n.inputs??={}:n.outputs??={},s[o]??=[],s[o].push(i),jw(n,o)}}function Bw(e,n,t,i){const r=0===e?t.inputs:t.outputs;for(const o in r)if(r.hasOwnProperty(o)){const s=r[o];let a;a=0===e?n.hostDirectiveInputs??={}:n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(i,o),jw(n,s)}}function jw(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function Hw(e,n,t){const{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(null===i||!t&&null===r||t&&null===o||pp(e))return e.initialInputs??=[],void e.initialInputs.push(null);let s=null,a=0;for(;a<i.length;){const l=i[a];if(0!==l)if(5!==l){if("number"==typeof l)break;if(!t&&r.hasOwnProperty(l)){const c=r[l];for(const d of c)if(d===n){s??=[],s.push(l,i[a+1]);break}}else if(t&&o.hasOwnProperty(l)){const c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],i[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(s)}function HP(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=fr(r.type)),s=new Ys(o,on(r),y);e.blueprint[i]=s,t[i]=s,function zP(e,n,t,i,r){const o=r.hostBindings;if(o){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function UP(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(e,n,i,_a(e,t,r.hostVars,Q),r)}function GP(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;on(n)&&(t[""]=e)}}function zw(e,n,t,i,r,o,s,a){const l=n.consts,d=Uo(n,e,2,i,pn(l,s));return o&&Yp(n,t,d,pn(l,a),r),d.mergedAttrs=Do(d.mergedAttrs,d.attrs),null!==d.attrs&&Kp(d,d.attrs,!1),null!==d.mergedAttrs&&Kp(d,d.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,d),d}function Uw(e,n){ch(e,n),Uf(n)&&e.queries.elementEnd(n)}class Gw extends Wo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=re(n);return new ka(t,this.ngModule)}}class ka extends Pw{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function WP(e){return Object.keys(e).map(n=>{const[t,i,r]=e[n],o={propName:t,templateName:n,isSignal:!!(i&nd.SignalBased)};return r&&(o.transform=r),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function qP(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function GN(e){return e.map(UN).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,i,r){const o=Z(null);try{const s=this.componentDef,a=i?["ng-version","19.2.17"]:function $N(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let o=e[i];if("string"==typeof o)2===r?""!==o&&n.push(o,e[++i]):8===r&&t.push(o);else{if(!kn(r))break;r=o}i++}return t.length&&n.push(1,...t),n}(this.componentDef.selectors[0]),l=mp(0,null,null,1,0,null,null,null,null,[a],null),c=function KP(e,n,t){let i=n instanceof Mt?n:n?.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new Ko(t,i):t}(s,r||this.ngModule,n),d=function YP(e){const n=e.get(oi,null);if(null===n)throw new w(407,!1);return{rendererFactory:n,sanitizer:e.get(TP,null),changeDetectionScheduler:e.get(Xn,null)}}(c),u=d.rendererFactory.createRenderer(null,s),h=i?function KN(e,n,t,i){const o=i.get(Tb,!1)||t===gn.ShadowDom,s=e.selectRootElement(n,o);return function YN(e){Gx(e)}(s),s}(u,i,s.encapsulation,c):function QP(e,n){const t=(e.selectors[0][0]||"div").toLowerCase();return Xc(n,t,"svg"===t?"svg":"math"===t?"math":null)}(s,u),f=td(null,l,null,512|gp(s),null,null,d,u,c,null,null);f[T]=h,ah(f);let p=null;try{const m=zw(T,l,f,"#host",()=>[this.componentDef],!0,0);h&&(kx(u,h,m),$t(h,f)),id(l,f,m),rp(l,m,f),Uw(l,m),void 0!==t&&function XP(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const o=t[r];i.push(null!=o&&o.length?Array.from(o):null)}}(m,this.ngContentSelectors,t),p=Tt(m.index,f),f[8]=p[8],rd(l,f,null)}catch(m){throw null!==p&&Eh(p),Eh(f),m}finally{lh()}return new ZP(this.componentType,f)}finally{Z(o)}}}class ZP extends MP{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t){super(),this._rootLView=t,this._tNode=_r(t[1],T),this.location=Eo(this._tNode,t),this.instance=Tt(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new wa(t,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const r=this._rootLView;Cp(i,r[1],r,n,t),this.previousInputValues.set(n,t),ba(Tt(i.index,r),1)}get injector(){return new Ue(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}let Rn=(()=>class e{static __NG_ELEMENT_ID__=JP})();function JP(){return qw(ee(),x())}const eL=Rn,$w=class extends eL{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Eo(this._hostTNode,this._hostLView)}get injector(){return new Ue(this._hostTNode,this._hostLView)}get parentInjector(){const n=xc(this._hostTNode,this._hostLView);if(hh(n)){const t=Zs(n,this._hostLView),i=Qs(n);return new Ue(t[1].data[i+8],t)}return new Ue(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ww(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,r,Ir(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function Gs(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const p=t||{};a=p.index,i=p.injector,r=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}const l=s?n:new ka(re(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(Mt,null);m&&(o=m)}re(l.componentType??{});const f=l.create(c,r,null,o);return this.insertImpl(f.hostView,a,Ir(this._hostTNode,null)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function Tk(e){return rt(e[3])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[3],c=new $w(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return zo(s,r,o,i),n.attachToViewContainerRef(),W_(Qp(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Ww(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=xa(this._lContainer,t);i&&(tc(Qp(this._lContainer),t),va(i[1],i))}detach(n){const t=this._adjustIndex(n,-1),i=xa(this._lContainer,t);return i&&null!=tc(Qp(this._lContainer),t)?new wa(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Ww(e){return e[8]}function Qp(e){return e[8]||(e[8]=[])}function qw(e,n){let t;const i=n[e.index];return rt(i)?t=i:(t=uw(i,n,null,e),n[e.index]=t,yp(n,t)),Kw(t,n,e,i),new $w(t,e,n)}let Kw=function Qw(e,n,t,i){if(e[7])return;let r;r=8&t.type?oe(i):function tL(e,n){const t=e[H],i=t.createComment(""),r=At(n,e),o=t.parentNode(r);return Mr(t,o,i,t.nextSibling(r),!1),i}(n,t),e[7]=r};class Xp{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new Xp(this.queryList)}setDirty(){this.queryList.setDirty()}}class Jp{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const s=t.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new Jp(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==rm(n,t).matches&&this.queries[t].setDirty()}}class Zw{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function cL(e){return e.split(",").map(n=>n.trim())}(n):n}}class em{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new em(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class tm{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new tm(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,t,oL(t,o)),this.matchTNodeWithReadOption(n,t,wc(t,n,o,!1,!1))}else i===ri?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,wc(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===U||r===Rn||r===ri&&4&t.type)this.addMatch(t.index,-2);else{const o=wc(t,n,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function oL(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function aL(e,n,t,i){return-1===t?function sL(e,n){return 11&e.type?Eo(e,n):4&e.type?ld(e,n):null}(n,e):-2===t?function lL(e,n,t){return t===U?Eo(n,e):t===ri?ld(n,e):t===Rn?qw(n,e):void 0}(e,n,i):Xs(e,e[1],t,n)}function Xw(e,n,t,i){const r=n[18].queries[i];if(null===r.matches){const o=e.data,s=t.matches,a=[];for(let l=0;null!==s&&l<s.length;l+=2){const c=s[l];a.push(c<0?null:aL(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function nm(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=Xw(e,n,r,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=n[-l];for(let u=10;u<d.length;u++){const h=d[u];h[16]===h[3]&&nm(h[1],h,c,i)}if(null!==d[9]){const u=d[9];for(let h=0;h<u.length;h++){const f=u[h];nm(f[1],f,c,i)}}}}}return i}function im(e,n){return e[18].queries[n].queryList}function Jw(e,n,t){const i=new Mc(!(4&~t));return function Fk(e,n,t,i){const r=Zf(n);r.push(t),e.firstCreatePass&&Xf(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[18]??=new Jp).queries.push(new Xp(i))-1}function tC(e,n,t,i){const r=z();if(r.firstCreatePass){const o=ee();nC(r,new Zw(n,t,i),o.index),function dL(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return Jw(r,x(),t)}function nC(e,n,t){null===e.queries&&(e.queries=new em),e.queries.track(new tm(n,t))}function rm(e,n){return e.queries.getByIndex(n)}function iC(e,n){const t=e[1],i=rm(t,n);return i.crossesNgTemplate?nm(t,e,n,[]):Xw(t,e,i,n)}function om(e,n,t){let i;const r=g_(()=>{i._dirtyCounter();const o=function uL(e,n){const t=e._lView,i=e._queryIndex;if(void 0===t||void 0===i||4&t[2])return n?void 0:ae;const r=im(t,i),o=iC(t,i);return r.reset(o,lb),n?r.first:r._changesDetected||void 0===e._flatValue?e._flatValue=r.toArray():e._flatValue}(i,e);if(n&&void 0===o)throw new w(-951,!1);return o});return i=r[mt],i._dirtyCounter=Fn(0),i._flatValue=void 0,r}function lC(e,n){return function rC(e){return om(!0,!1)}()}const hL=(lC.required=function fL(e,n){return function oC(e){return om(!0,!0)}()},lC);let $i=class{},xL=class{};class am extends $i{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Gw(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;const o=function tn(e,n){const t=e[V_]||null;if(!t&&!0===n)throw new Error(`Type ${nt(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function ni(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=Qv(n,t,[{provide:$i,useValue:this},{provide:Wo,useValue:this.componentFactoryResolver},...i],nt(n),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class lm extends xL{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new am(this.moduleType,n,[])}}class mC extends $i{injector;componentFactoryResolver=new Gw(this);instance=null;constructor(n){super();const t=new pr([...n.providers,{provide:$i,useValue:this},{provide:Wo,useValue:this.componentFactoryResolver}],n.parent||sc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let DL=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=kf(0,t.type),r=i.length>0?function gC(e,n,t=null){return new mC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(I(Mt))})}return e})();function cn(e){return pi(()=>{const n=yC(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ic.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(DL).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gn.Emulated,styles:e.styles||ae,_:null,schemas:e.schemas||null,tView:null,id:""};n.standalone&&an("NgStandalone"),_C(t);const i=e.dependencies;return t.directiveDefs=gd(i,!1),t.pipeDefs=gd(i,!0),t.id=function TL(e){let n=0;const i=[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 i.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function EL(e){return re(e)||function yt(e){return e[Df]||null}(e)}function SL(e){return null!==e}function fe(e){return pi(()=>({type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ML(e,n){if(null==e)return Sn;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,s,a,l;Array.isArray(r)?(a=r[0],o=r[1],s=r[2]??o,l=r[3]||null):(o=r,s=r,a=nd.None,l=null),t[o]=[i,a,l],n[o]=s}return t}function IL(e){if(null==e)return Sn;const n={};for(const t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function S(e){return pi(()=>{const n=yC(e);return _C(n),n})}function yC(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Sn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ML(e.inputs,n),outputs:IL(e.outputs),debugInfo:null}}function _C(e){e.features?.forEach(n=>n(e))}function gd(e,n){if(!e)return null;const t=n?nn:EL;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(SL)}function A(e){let n=function vC(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(on(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const s=e;s.inputs=cm(e.inputs),s.declaredInputs=cm(e.declaredInputs),s.outputs=cm(e.outputs);const a=r.hostBindings;a&&NL(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&RL(e,l),c&&OL(e,c),FL(e,r),PF(e.outputs,r.outputs),on(r)&&r.data.animation){const d=e.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(e),a===A&&(t=!1)}}n=Object.getPrototypeOf(n)}!function kL(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=Do(r.hostAttrs,t=Do(t,r.hostAttrs))}}(i)}function FL(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t])}}function cm(e){return e===Sn?{}:e===ae?[]:e}function RL(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function OL(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function NL(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function yd(e){return!!function um(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Ge(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Na(e,n,t,i,r,o,s,a,l,c){const d=t+T,u=n.firstCreatePass?function GL(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Uo(n,e,4,s||null,a||null);th()&&Yp(n,t,d,pn(c,l),bp),d.mergedAttrs=Do(d.mergedAttrs,d.attrs),ch(n,d);const u=d.tView=mp(2,d,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,d),u.queries=n.queries.embeddedTView(d)),d}(d,n,e,i,r,o,s,a,l):n.data[d];Tn(u,!1);const h=DC(n,e,u,t);Ks()&&od(n,e,h,u),$t(h,e);const f=uw(h,e,h,u);return e[d]=f,yp(e,f),uc(u)&&id(n,e,u),null!=l&&vp(e,u,c),u}function te(e,n,t,i,r,o,s,a){const l=x(),c=z();return Na(l,c,e,n,t,i,r,pn(c.consts,o),s,a),te}let DC=function EC(e,n,t,i){return Yn(!0),n[H].createComment("")};const BC=new C(""),wd=new C("");let vm,ym=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,i,r){this._ngZone=t,this.registry=i,jf()&&(this._destroyRef=g(Zn,{optional:!0})??void 0),vm||(function zV(e){vm=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t()},i)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:r})}whenStable(t,i,r){if(r&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static \u0275fac=function(i){return new(i||e)(I(B),I(_m),I(wd))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),_m=(()=>{class e{_applications=new Map;registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){return vm?.findTestabilityInTree(this,t,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),jC=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>new UV})}return e})();class UV{queuedEffectCount=0;queues=new Map;schedule(n){this.enqueue(n)}remove(n){const i=this.queues.get(n.zone);i.has(n)&&(i.delete(n),this.queuedEffectCount--)}enqueue(n){const t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);const i=this.queues.get(t);i.has(n)||(this.queuedEffectCount++,i.add(n))}flush(){for(;this.queuedEffectCount>0;)for(const[n,t]of this.queues)null===n?this.flushQueue(t):n.run(()=>this.flushQueue(t))}flushQueue(n){for(const t of n)n.delete(t),this.queuedEffectCount--,t.run()}}function Cd(e){return!!e&&"function"==typeof e.then}function HC(e){return!!e&&"function"==typeof e.subscribe}const zC=new C("");let UC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=g(zC,{optional:!0})??[];injector=g(ke);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=Bf(this.injector,r);if(Cd(o))t.push(o);else if(HC(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const La=new C("");function $C(e,n){return Array.isArray(n)?n.reduce($C,e):{...e,...n}}let Rt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(ER);afterRenderManager=g(Uh);zonelessEnabled=g(Js);rootEffectScheduler=g(jC);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new J;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=g(ji).hasPendingTasks.pipe(tt(t=>!t));constructor(){g(Io,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=g(Mt);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,i){return this.bootstrapImpl(t,i)}bootstrapImpl(t,i,r=ke.NULL){const o=t instanceof Pw;if(!this._injector.get(UC).done)throw new w(405,"");let a;a=o?t:this._injector.get(Wo).resolveComponentFactory(t),this.componentTypes.push(a.componentType);const l=function GV(e){return e.isBoundToModule}(a)?void 0:this._injector.get($i),d=a.create(r,[],i||a.selector,l),u=d.location.nativeElement,h=d.injector.get(BC,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Dd(this.components,d),h?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){null!==this.tracingSnapshot?this.tracingSnapshot.run(zh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);const t=Z(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Z(t),this.afterTick.next()}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(oi,null,{optional:!0}));let t=0;for(;0!==this.dirtyFlags&&t++<10;)this.synchronizeOnce()}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i,notifyErrorHandler:r}of this.allViews)WV(i,r,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:t})=>Ws(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Dd(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(La,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Dd(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new w(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dd(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function WV(e,n,t,i){(t||Ws(e))&&ad(e,n,t&&!i?0:1)}function xt(e,n,t,i){const r=x();return Ge(r,mn(),n)&&(z(),ii(ye(),r,e,n,t,i)),xt}function Jo(e,n,t,i){return Ge(e,mn(),t)?n+Y(t)+i:Q}function es(e,n,t,i,r,o){const a=function Fr(e,n,t,i){const r=Ge(e,n,t);return Ge(e,n+1,i)||r}(e,function bi(){return q.lFrame.bindingIndex}(),t,r);return xi(2),a?n+Y(t)+i+Y(r)+o:Q}function Ed(e,n){return e<<17|n<<2}function Rr(e){return e>>17&32767}function Dm(e){return 2|e}function as(e){return(131068&e)>>2}function Em(e,n){return-131069&e|n<<2}function Sm(e){return 1|e}function cD(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Rr(r):as(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];kB(e[s],n)&&(a=!0,e[s+1]=i?Sm(c):Dm(c)),s=i?Rr(c):as(c)}a&&(e[t+1]=i?Dm(r):Sm(r))}function kB(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&zs(e,n)>=0}const ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function dD(e){return e.substring(ot.key,ot.keyEnd)}function uD(e,n){const t=ot.textEnd;return t===n?-1:(n=ot.keyEnd=function PB(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,ot.key=n,t),ls(e,n,t))}function ls(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function j(e,n,t){const i=x();return Ge(i,mn(),n)&&Wt(z(),ye(),i,e,n,i[H],t,!1),j}function Mm(e,n,t,i,r){Cp(n,e,t,r?"class":"style",i)}function ht(e,n){return function On(e,n,t,i){const r=x(),o=z(),s=xi(2);o.firstUpdatePass&&vD(o,e,s,i),n!==Q&&Ge(r,s,n)&&xD(o,o.data[bt()],r,r[H],e,r[s+1]=function qB(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=nt(ln(e)))),e}(n,t),i,s)}(e,n,null,!0),ht}function li(e,n){for(let t=function OB(e){return function hD(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}(e),uD(e,ls(e,0,ot.textEnd))}(n);t>=0;t=uD(n,t))en(e,dD(n),!0)}function Nn(e,n,t,i){const r=z(),o=xi(2);r.firstUpdatePass&&vD(r,null,o,i);const s=x();if(t!==Q&&Ge(s,o,t)){const a=r.data[bt()];if(CD(a,i)&&!_D(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=vf(l,t||"")),Mm(r,a,s,t,i)}else!function WB(e,n,t,i,r,o,s,a){r===Q&&(r=ae);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const h=l<r.length?r[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&&xD(e,n,t,i,p,m,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}(r,a,s,s[H],s[o+1],s[o+1]=function GB(e,n,t){if(null==t||""===t)return ae;const i=[],r=ln(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)e(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,o)}}function _D(e,n){return n>=e.expandoStartIndex}function vD(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[bt()],s=_D(e,t);CD(o,i)&&null===n&&!s&&(n=!1),n=function jB(e,n,t,i){const r=function oh(e){const n=q.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=Ba(t=Im(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Im(r,e,n,t,i),null===o){let l=function HB(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==as(i))return e[Rr(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Im(null,e,n,l[1],i),l=Ba(l,n.attrs,i),function zB(e,n,t,i){e[Rr(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function UB(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Ba(i,e[o].hostAttrs,t);return Ba(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function TB(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Rr(s),l=as(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||zs(t,d)>0)&&(c=!0)):d=t,r)if(0!==l){const h=Rr(e[a+1]);e[i+1]=Ed(h,a),0!==h&&(e[h+1]=Em(e[h+1],i)),e[a+1]=function IB(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Ed(a,0),0!==a&&(e[a+1]=Em(e[a+1],i)),a=i;else e[i+1]=Ed(l,0),0===a?a=i:e[l+1]=Em(e[l+1],i),l=i;c&&(e[i+1]=Dm(e[i+1])),cD(e,d,i,!0),cD(e,d,i,!1),function FB(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&zs(o,n)>=0&&(t[i+1]=Sm(t[i+1]))}(n,d,e,i,o),s=Ed(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Im(e,n,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=n[a],i=Ba(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function Ba(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),en(e,s,!!t||n[++o]))}return void 0===e?null:e}function $B(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&en(e,i,t)}function xD(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function AB(e){return!(1&~e)}(c)?wD(l,n,t,r,as(c),s):void 0;Sd(d)||(Sd(o)||function MB(e){return!(2&~e)}(c)&&(o=wD(l,null,t,r,a,s)),function p1(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:zi.DashCase;null==r?e.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=zi.Important),e.setStyle(t,i,r,o))}}(i,s,xo(bt(),t),r,o))}function wD(e,n,t,i,r,o){const s=null===n;let a;for(;r>0;){const l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=t[r+1];h===Q&&(h=u?ae:void 0);let f=u?Tf(h,i):d===i?h:void 0;if(c&&!Sd(f)&&(f=Tf(l,i)),Sd(f)&&(a=f,s))return a;const p=e[r+1];r=s?Rr(p):as(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=Tf(l,i))}return a}function Sd(e){return void 0!==e}function CD(e,n){return!!(e.flags&(n?8:16))}function st(e,n){an("NgControlFlow");const t=x(),i=mn(),r=t[i]!==Q?t[i]:-1,o=-1!==r?Md(t,T+r):void 0;if(Ge(t,i,e)){const a=Z(null);try{if(void 0!==o&&function Op(e,n){const t=xa(e,n);return void 0!==t&&va(t[1],t),t}(o,0),-1!==e){const l=T+e,c=Md(t,l),d=function Fm(e,n){return _r(e,n)}(t[1],l),u=null;zo(c,Bo(t,d,n,{dehydratedView:u}),0,Ir(d,u))}}finally{Z(a)}}else if(void 0!==o){const a=function fw(e,n){const t=10+n;if(t<e.length)return e[t]}(o,0);void 0!==a&&(a[8]=n)}}function Md(e,n){return e[n]}function X(e,n,t,i){const r=x(),o=z(),s=T+e,a=r[H],l=o.firstCreatePass?zw(s,o,r,n,bp,th(),t,i):o.data[s],c=ID(o,r,l,a,n,e);r[s]=c;const d=uc(l);return Tn(l,!0),kx(a,c,l),!Ui(l)&&Ks()&&od(o,r,c,l),(0===function kk(){return q.lFrame.elementDepthCount}()||d)&&$t(c,r),function Rk(){q.lFrame.elementDepthCount++}(),d&&(id(o,r,l),rp(o,l,r)),null!==i&&vp(r,l),X}function ne(){let e=ee();nh()?ih():(e=e.parent,Tn(e,!1));const n=e;(function Nk(e){return q.skipHydrationRootTNode===e})(n)&&function Bk(){q.skipHydrationRootTNode=null}(),function Ok(){q.lFrame.elementDepthCount--}();const t=z();return t.firstCreatePass&&Uw(t,n),null!=n.classesWithoutHost&&function Zk(e){return!!(8&e.flags)}(n)&&Mm(t,n,x(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Xk(e){return!!(16&e.flags)}(n)&&Mm(t,n,x(),n.stylesWithoutHost,!1),ne}function at(e,n,t,i){return X(e,n,t,i),ne(),at}let ID=(e,n,t,i,r,o)=>(Yn(!0),Xc(i,r,function Iv(){return q.lFrame.currentNamespace}()));function Kt(e,n,t){const i=x(),r=z(),o=e+T,s=r.firstCreatePass?function g2(e,n,t,i,r){const o=n.consts,s=pn(o,i),a=Uo(n,e,8,"ng-container",s);null!==s&&Kp(a,s,!0);const l=pn(o,r);return th()&&Yp(n,t,a,l,bp),a.mergedAttrs=Do(a.mergedAttrs,a.attrs),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Tn(s,!0);const a=AD(r,i,s,e);return i[o]=a,Ks()&&od(r,i,a,s),$t(a,i),uc(s)&&(id(r,i,s),rp(r,s,i)),null!=t&&vp(i,s),Kt}function Yt(){let e=ee();const n=z();return nh()?ih():(e=e.parent,Tn(e,!1)),n.firstCreatePass&&(ch(n,e),Uf(e)&&n.queries.elementEnd(e)),Yt}function cs(e,n,t){return Kt(e,n,t),Yt(),cs}let AD=(e,n,t,i)=>(Yn(!0),fp(n[H],""));function Ei(){return x()}function ja(e,n,t){const i=x();return Ge(i,mn(),n)&&Wt(z(),ye(),i,e,n,i[H],t,!0),ja}const Id="en-US";let RD=Id;function ZD(e,n,t){return function i(r){if(r===Function)return t;ba(An(e)?Tt(e.index,n):n,5);const s=n[8];let a=XD(n,s,t,r),l=i.__ngNextListenerFn__;for(;l;)a=XD(n,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function XD(e,n,t,i){const r=Z(null);try{return!1!==t(i)}catch(o){return function cj(e,n){const t=e[9],i=t?t.get(Ut,null):null;i&&i.handleError(n)}(e,o),!1}finally{Z(r)}}function JD(e,n,t,i,r,o){const a=n[1],d=n[t][a.data[t].outputs[i]],u=a.firstCreatePass?Xf(a):null,h=Zf(n),f=d.subscribe(o),p=h.length;h.push(o,f),u&&u.push(r,e.index,p,-(p+1))}function Me(e,n,t,i){const r=x(),o=z(),s=ee();return Om(o,r,r[H],s,e,n,i),Me}function Om(e,n,t,i,r,o,s){const a=uc(i),c=e.firstCreatePass?Xf(e):null,d=Zf(n);let u=!0;if(3&i.type||s){const h=At(i,n),f=s?s(h):h,p=d.length,m=s?b=>s(oe(b[i.index])):i.index;let _=null;if(!s&&a&&(_=function dj(e,n,t,i){const r=e.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===t&&r[o+1]===i){const a=n[7],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,r,i.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=o,_.__ngLastListenerFn__=o,u=!1;else{o=ZD(i,n,o);const b=t.listen(f,r,o);d.push(o,b),c&&c.push(r,m,p,p+1)}}else o=ZD(i,n,o);if(u){const h=i.outputs?.[r],f=i.hostDirectiveOutputs?.[r];if(f&&f.length)for(let p=0;p<f.length;p+=2)JD(i,n,f[p],f[p+1],r,o);if(h&&h.length)for(const p of h)JD(i,n,p,r,r,o)}}function N(e=1){return function Gk(e){return(q.lFrame.contextLView=function mv(e,n){for(;e>0;)n=n[14],e--;return n}(e,q.lFrame.contextLView))[8]}(e)}function uj(e,n){let t=null;const i=function BN(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?Bx(e,o,!0):zN(i,o))return r}else t=r}return t}function us(e){const n=x()[15][5];if(!n.projection){const i=n.projection=function nc(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){if(128!==o.type){const s=e?uj(o,e):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o)}o=o.next}}}function Ct(e,n=0,t,i,r,o){const s=x(),a=z(),l=i?e+1:null;null!==l&&Na(s,a,l,i,r,o,null,t);const c=Uo(a,T+e,16,null,t||null);null===c.projection&&(c.projection=n),ih();const u=!s[6]||br();null===s[15][5].projection[c.projection]&&null!==l?function fj(e,n,t){const i=T+t,r=n.data[i],o=e[i];zo(o,Bo(e,r,void 0,{dehydratedView:null}),0,Ir(r,null))}(s,a,l):u&&!Ui(c)&&function f1(e,n,t){tw(n[H],0,n,t,Ip(e,t,n),Qx(t.parent||n[5],t,n))}(a,s,c)}function Si(e,n,t,i){tC(e,n,t,i)}function Nt(e,n,t){!function eC(e,n,t){const i=z();return i.firstCreatePass&&(nC(i,new Zw(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Jw(i,x(),n)}(e,n,t)}function Le(e){const n=x(),t=z(),i=sh();gc(i+1);const r=rm(t,i);if(e.dirty&&function Ak(e){return!(4&~e[2])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=iC(n,i);e.reset(o,lb),e.notifyOnChanges()}return!0}return!1}function Ve(){return im(x(),sh())}function dE(e,n,t,i,r){!function aC(e,n){const t=e[mt];t._lView=x(),t._queryIndex=n,t._queryList=im(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(i=>i+1))}(n,tC(e,t,i,r))}function Wa(e){return function vr(e,n){return e[n]}(function yv(){return q.lFrame.contextLView}(),T+e)}function Pn(e,n=""){const t=x(),i=z(),r=e+T,o=i.firstCreatePass?Uo(i,r,1,n,null):i.data[r],s=xE(i,t,o,n,e);t[r]=s,Ks()&&od(i,t,s,o),Tn(o,!1)}let xE=(e,n,t,i,r)=>(Yn(!0),function up(e,n){return e.createText(n)}(n[H],i));function qa(e){return Nr("",e,""),qa}function Nr(e,n,t){const i=x(),r=Jo(i,e,n,t);return r!==Q&&Mi(i,bt(),r),Nr}function Pm(e,n,t,i,r){const o=x(),s=es(o,e,n,t,i,r);return s!==Q&&Mi(o,bt(),s),Pm}function Mi(e,n,t){const i=xo(n,e);!function Ix(e,n,t){e.setValue(n,t)}(e[H],i,t)}function Lm(e,n,t){cb(n)&&(n=n());const i=x();return Ge(i,mn(),n)&&Wt(z(),ye(),i,e,n,i[H],t,!1),Lm}function Vm(e,n){const t=x(),i=z(),r=ee();return Om(i,t,t[H],r,e,n),Vm}const TE={};function Bm(e){const n=z(),t=x(),i=e+T;return Tn(Uo(n,i,128,null,null),!1),function Wf(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(n,t,i,TE),Bm}function jm(e,n,t,i,r){if(e=W(e),Array.isArray(e))for(let o=0;o<e.length;o++)jm(e[o],n,t,i,r);else{const o=z(),s=x(),a=ee();let l=hr(e)?e:W(e.provide);const c=ev(e),d=1048575&a.providerIndexes,u=a.directiveStart,h=a.providerIndexes>>20;if(hr(e)||!e.multi){const f=new Ys(c,r,y),p=zm(l,n,r?d:d+h,u);-1===p?(gh(bc(a,s),o,l),Hm(o,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[p]=f,s[p]=f)}else{const f=zm(l,n,d+h,u),p=zm(l,n,d,d+h),_=p>=0&&t[p];if(r&&!_||!r&&!(f>=0&&t[f])){gh(bc(a,s),o,l);const b=function Fj(e,n,t,i,r){const o=new Ys(e,t,y);return o.multi=[],o.index=n,o.componentProviders=0,FE(o,r,i&&!t),o}(r?Tj:Aj,t.length,r,i,c);!r&&_&&(t[p].providerFactory=b),Hm(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else Hm(o,e,f>-1?f:p,FE(t[r?p:f],c,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function Hm(e,n,t,i){const r=hr(n),o=function sk(e){return!!e.useClass}(n);if(r||o){const l=(o?W(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function FE(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function zm(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function Aj(e,n,t,i,r){return Um(this.multi,[])}function Tj(e,n,t,i,r){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=Xs(i,i[1],this.providerFactory.index,r);s=l.slice(0,a),Um(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Um(o,s);return s}function Um(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function he(e,n=[]){return t=>{t.providersResolver=(i,r)=>function Ij(e,n,t){const i=z();if(i.firstCreatePass){const r=on(e);jm(t,i.data,i.blueprint,r,!0),jm(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Ka(e,n,t,i){return function RE(e,n,t,i,r,o){const s=n+t;return Ge(e,s,r)?function si(e,n,t){return e[n]=t}(e,s+1,o?i.call(o,r):i(r)):function Ya(e,n){const t=e[n];return t===Q?void 0:t}(e,s+1)}(x(),function Ft(){const e=q.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}(),e,n,t,i)}function VE(e,n){return ld(e,n)}class Xa{full;major;minor;patch;constructor(n){this.full=n;const t=n.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}const nS=new Xa("19.2.17");let MH=(()=>{class e{zone=g(B);changeDetectionScheduler=g(Xn);applicationRef=g(Rt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Km({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new B({...Ym(),scheduleInRootZone:t}),[{provide:B,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{const i=g(MH,{optional:!0});return()=>i.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{const i=g(AH);return()=>{i.initialize()}}},!0===n?{provide:eb,useValue:!0}:[],{provide:vh,useValue:t??Xv}]}function Ym(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let AH=(()=>{class e{subscription=new Ae;initialized=!1;zone=g(B);pendingTasks=g(ji);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{B.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{B.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ja=(()=>{class e{appRef=g(Rt);taskService=g(ji);ngZone=g(B);zonelessEnabled=g(Js);tracing=g(Io,{optional:!0});disableScheduling=g(eb,{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(Ec):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(vh,{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 Ch||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;let i=!1;switch(t){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,i=!0;break;case 12:this.appRef.dirtyFlags|=16,i=!0;break;case 11:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const r=this.useMicrotaskScheduler?ib:nb;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ec+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(t),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ib(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yi=new C("",{providedIn:"root",factory:()=>g(Yi,ie.Optional|ie.SkipSelf)||function TH(){return typeof $localize<"u"&&$localize.locale||Id}()}),Nd=new C(""),PH=new C("");function el(e){return!e.moduleRef}let lS=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[Km({ngZoneFactory:()=>function DR(e="zone.js",n){return"noop"===e?new Ch:"zone.js"===e?new B(n):e}(i?.ngZone,{...Ym({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:Xn,useExisting:Ja}],l=function CL(e,n,t){return new am(e,n,t,!1)}(t.moduleType,this.injector,a);return function aS(e){const n=el(e)?e.r3Injector:e.moduleRef.injector,t=n.get(B);return t.run(()=>{el(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(Ut,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),el(e)){const o=()=>n.destroy(),s=e.platformInjector.get(Nd);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Nd);s.add(o),e.moduleRef.onDestroy(()=>{Dd(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function VH(e,n,t){try{const i=t();return Cd(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(i,t,()=>{const o=n.get(UC);return o.runInitializers(),o.donePromise.then(()=>{if(function E2(e){"string"==typeof e&&(RD=e.toLowerCase().replace(/_/g,"-"))}(n.get(Yi,Id)||Id),!n.get(PH,!0))return el(e)?n.get(Rt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(el(e)){const l=n.get(Rt);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return function LH(e,n){const t=e.injector.get(Rt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new w(-403,!1);e.instance.ngDoBootstrap(t)}n.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({moduleRef:l,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(t,i=[]){const r=$C({},i);return function SH(e,n,t){const i=new lm(t);return Promise.resolve(i)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,r))}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const t=this._injector.get(Nd,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static \u0275fac=function(i){return new(i||e)(I(ke))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),hs=null;function cS(e,n,t=[]){const i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let s=Pd();if(!s){const a=[...t,...o,{provide:r,useValue:!0}];s=e?.(a)??function BH(e){if(Pd())throw new w(400,!1);(function GC(){!function pF(e){y_=e}(()=>{throw new w(600,!1)})})(),hs=e;const n=e.get(lS);return function uS(e){const n=e.get(Th,null);Bf(e,()=>{n?.forEach(t=>t())})}(e),n}(function dS(e=[],n){return ke.create({name:n,providers:[{provide:Nf,useValue:"platform"},{provide:Nd,useValue:new Set([()=>hs=null])},...e]})}(a,i))}return function jH(){const n=Pd();if(!n)throw new w(401,!1);return n}()}}function Pd(){return hs?.get(lS)??null}let Pr=(()=>class e{static __NG_ELEMENT_ID__=zH})();function zH(e){return function UH(e,n,t){if(An(e)&&!t){const i=Tt(e.index,n);return new wa(i,i)}return 175&e.type?new wa(n[15],n):null}(ee(),x(),!(16&~e))}class gS{constructor(){}supports(n){return yd(n)}create(n){return new KH(n)}}const qH=(e,n)=>n;class KH{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||qH}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex<_S(i,r,o)?t:i,a=_S(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,d=l-r;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&&n(s,a,l)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!yd(n))throw new w(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),i=!0),t=t._next}else r=0,function zL(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,r)):n=this._addAfter(new YH(t,i),o,r),n}_verifyReinsertion(n,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new yS),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new yS),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class YH{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}}class QH{_head=null;_tail=null;add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class yS{map=new Map;put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new QH,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _S(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}function bS(){return new Bd([new gS])}let Bd=(()=>{class e{factories;static \u0275prov=D({token:e,providedIn:"root",factory:bS});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||bS()),deps:[[e,new ec,new co]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new w(901,!1)}}return e})();const tz=cS(null,"core",[]);let nz=(()=>{class e{constructor(t){}static \u0275fac=function(i){return new(i||e)(I(Rt))};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();function lt(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function RS(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function Qe(e){return function bF(e){const n=Z(null);try{return e()}finally{Z(n)}}(e)}function Ln(e,n){return g_(e,n?.equal)}class Iz{[mt];constructor(n){this[mt]=n}destroy(){this[mt].destroy()}}function Gd(e,n){!n?.injector&&po();const t=n?.injector??g(ke);let r,i=!0!==n?.manualCleanup?t.get(Zn):null;const o=t.get(Nc,null,{optional:!0}),s=t.get(Xn);return null===o||n?.forceRoot?r=function kz(e,n,t){const i=Object.create(Az);return i.fn=e,i.scheduler=n,i.notifier=t,i.zone=typeof Zone<"u"?Zone.current:null,i.scheduler.schedule(i),i.notifier.notify(12),i}(e,t.get(jC),s):(r=function Fz(e,n,t){const i=Object.create(Tz);return i.view=e,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=t,e[23]??=new Set,e[23].add(i),i.consumerMarkedDirty(i),i}(o.view,s,e),i instanceof Jv&&i._lView===o.view&&(i=null)),r.injector=t,null!==i&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new Iz(r)}const PS={...to,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:ea,run(){if(this.dirty=!1,this.hasRun&&!Nl(this))return;this.hasRun=!0;const e=i=>(this.cleanupFns??=[]).push(i),n=no(this),t=mc(!1);try{this.maybeCleanup(),this.fn(e)}finally{mc(t),Ps(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},Az={...PS,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Pl(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}},Tz={...PS,consumerMarkedDirty(){this.view[2]|=8192,wo(this.view),this.notifier.notify(13)},destroy(){Pl(this),this.onDestroyFn(),this.maybeCleanup(),this.view[23]?.delete(this)}};function HS(e,n){const t=re(e),i=n.elementInjector||sc();return new ka(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}const be=new C("");let zS=null;function Qi(){return zS}class $z{}let US=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:()=>g(Wz),providedIn:"platform"})}return e})(),Wz=(()=>{class e extends US{_location;_history;_doc=g(be);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Qi().getBaseHref(this._doc)}onPopState(t){const i=Qi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=Qi().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function GS(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function $S(e){const n=e.search(/#|\?|$/);return"/"===e[n-1]?e.slice(0,n-1)+e.slice(n):e}function Vr(e){return e&&"?"!==e[0]?`?${e}`:e}let ig=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:()=>g(Kz),providedIn:"root"})}return e})();const qz=new C("");let Kz=(()=>{class e extends ig{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(be).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return GS(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Vr(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+Vr(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+Vr(o));this._platformLocation.replaceState(t,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(i){return new(i||e)(I(US),I(qz,8))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WS=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function Zz(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}($S(qS(i))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Vr(i))}normalize(t){return e.stripTrailingSlash(function Qz(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,qS(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vr(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vr(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i??void 0,complete:r??void 0})}static normalizeQueryParams=Vr;static joinWithSlash=GS;static stripTrailingSlash=$S;static \u0275fac=function(i){return new(i||e)(I(ig))};static \u0275prov=D({token:e,factory:()=>function Yz(){return new WS(I(ig))}(),providedIn:"root"})}return e})();function qS(e){return e.replace(/\/index.html$/,"")}function KS(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}const YS="browser";function Zi(e){return e===YS}function Xi(e){return"server"===e}class QS{}const hg=/\s+/,oM=[];let nu=(()=>{class e{_ngEl;_renderer;initialClasses=oM;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=null!=t?t.trim().split(hg):oM}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(hg):t}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const i of t)this._updateState(i,!0);else if(null!=t)for(const i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){const r=this.stateMap.get(t);void 0!==r?(r.enabled!==i&&(r.changed=!0,r.enabled=i),r.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const i=t[0],r=t[1];r.changed?(this._toggleClass(i,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),r.touched=!1}}_toggleClass(t,i){(t=t.trim()).length>0&&t.split(hg).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(i){return new(i||e)(y(U),y(yn))};static \u0275dir=S({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class LU{$implicit;ngForOf;index;count;constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}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 aM=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const i=this._viewContainer;t.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new LU(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),lM(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{lM(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(y(Rn),y(ri),y(Bd))};static \u0275dir=S({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function lM(e,n){e.context.$implicit=n.item}let cM=(()=>{class e{_viewContainer;_context=new VU;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,i){this._viewContainer=t,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){dM(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){dM(t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(y(Rn),y(ri))};static \u0275dir=S({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class VU{$implicit=null;ngIf=null}function dM(e,n){if(e&&!e.createEmbeddedView)throw new w(2020,!1)}let yg=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static \u0275fac=function(i){return new(i||e)(y(Rn))};static \u0275dir=S({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[zt]})}return e})(),bg=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();const xg=new C("");let hM=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,i){this._zone=i,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r,o){return this._findPluginFor(i).addEventListener(t,i,r,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(o=>o.supports(t)),!i)throw new w(5101,!1);return this._eventNameToPlugin.set(t,i),i}static \u0275fac=function(i){return new(i||e)(I(xg),I(B))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();class pM{_doc;constructor(n){this._doc=n}manager}const iu="ng-app-id";function mM(e){for(const n of e)n.remove()}function gM(e,n){const t=n.createElement("style");return t.textContent=e,t}function wg(e,n){const t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}let yM=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(t,i,r,o={}){this.doc=t,this.appId=i,this.nonce=r,this.isServer=Xi(o),function dG(e,n,t,i){const r=e.head?.querySelectorAll(`style[${iu}="${n}"],link[${iu}="${n}"]`);if(r)for(const o of r)o.removeAttribute(iu),o instanceof HTMLLinkElement?i.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}(t,i,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,i){for(const r of t)this.addUsage(r,this.inline,gM);i?.forEach(r=>this.addUsage(r,this.external,wg))}removeStyles(t,i){for(const r of t)this.removeUsage(r,this.inline);i?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,i,r){const o=i.get(t);o?o.usage++:i.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,r(t,this.doc)))})}removeUsage(t,i){const r=i.get(t);r&&(r.usage--,r.usage<=0&&(mM(r.elements),i.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])mM(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[i,{elements:r}]of this.inline)r.push(this.addElement(t,gM(i,this.doc)));for(const[i,{elements:r}]of this.external)r.push(this.addElement(t,wg(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(iu,this.appId),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(I(be),I(ei),I(Fh,8),I(sn))};static \u0275prov=D({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,gG=new C("",{providedIn:"root",factory:()=>!0});function vM(e,n){return n.map(t=>t.replace(Dg,e))}let Eg=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,i,r,o,s,a,l,c=null,d=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.tracingService=d,this.platformIsServer=Xi(a),this.defaultRenderer=new Sg(t,s,l,this.platformIsServer,this.tracingService)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===gn.ShadowDom&&(i={...i,encapsulation:gn.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof xM?r.applyToHost(t):r instanceof Mg&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let o=r.get(i.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(i.encapsulation){case gn.Emulated:o=new xM(l,c,i,this.appId,d,s,a,u,h);break;case gn.ShadowDom:return new bG(l,c,t,i,s,a,this.nonce,u,h);default:o=new Mg(l,c,i,d,s,a,u,h)}r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(i){return new(i||e)(I(hM),I(yM),I(ei),I(gG),I(be),I(sn),I(B),I(Fh),I(Io,8))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();class Sg{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,i,r,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Cg[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(bM(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(bM(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){t.remove()}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new w(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const o=Cg[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Cg[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(zi.DashCase|zi.Important)?n.style.setProperty(t,i,r&zi.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&zi.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i,r){if("string"==typeof n&&!(n=Qi().getGlobalEventTarget(this.doc,n)))throw new w(5102,!1);let o=this.decoratePreventDefault(i);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,t,o)),this.eventManager.addEventListener(n,t,o,r)}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function bM(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class bG extends Sg{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,i,r,o,s,a,l,c){super(n,o,s,l,c),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=vM(r.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=r.getExternalStyles?.();if(u)for(const h of u){const f=wg(h,o);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Mg extends Sg{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,i,r,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let d=i.styles;this.styles=c?vM(c,d):d,this.styleUrls=i.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class xM extends Mg{contentAttr;hostAttr;constructor(n,t,i,r,o,s,a,l,c){const d=r+"-"+i.id;super(n,t,i,o,s,a,l,c,d),this.contentAttr=function yG(e){return"_ngcontent-%COMP%".replace(Dg,e)}(d),this.hostAttr=function _G(e){return"_nghost-%COMP%".replace(Dg,e)}(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}class Ig extends $z{supportsDOMEvents=!0;static makeCurrent(){!function Gz(e){zS??=e}(new Ig)}onAndCancel(n,t,i,r){return n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function xG(){return il=il||document.head.querySelector("base"),il?il.getAttribute("href"):null}();return null==t?null:function wG(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){il=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return KS(document.cookie,n)}}let il=null,DG=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),EG=(()=>{class e extends pM{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r,o){return t.addEventListener(i,r,o),()=>this.removeEventListener(t,i,r,o)}removeEventListener(t,i,r,o){return t.removeEventListener(i,r,o)}static \u0275fac=function(i){return new(i||e)(I(be))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const wM=["alt","control","meta","shift"],SG={"\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"},MG={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let IG=(()=>{class e extends pM{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r,o){const s=e.parseEventName(i),a=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Qi().onAndCancel(t,s.domEventName,a,o))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),wM.forEach(c=>{const d=i.indexOf(c);d>-1&&(i.splice(d,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let r=SG[t.key]||t.key,o="";return i.indexOf("code.")>-1&&(r=t.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),wM.forEach(s=>{s!==r&&(0,MG[s])(t)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(t,i,r){return o=>{e.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>i(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}static \u0275fac=function(i){return new(i||e)(I(be))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const kG=cS(tz,"browser",[{provide:sn,useValue:YS},{provide:Th,useValue:function AG(){Ig.makeCurrent()},multi:!0},{provide:be,useFactory:function FG(){return function YR(e){Ah=e}(document),document}}]),EM=[{provide:wd,useClass:class CG{addToWindow(n){He.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new w(5103,!1);return o},He.getAllAngularTestabilities=()=>n.getAllTestabilities(),He.getAllAngularRootElements=()=>n.getAllRootElements(),He.frameworkStabilizers||(He.frameworkStabilizers=[]),He.frameworkStabilizers.push(i=>{const r=He.getAllAngularTestabilities();let o=r.length;const s=function(){o--,0==o&&i()};r.forEach(a=>{a.whenStable(s)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?Qi().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}}},{provide:BC,useClass:ym,deps:[B,_m,wd]},{provide:ym,useClass:ym,deps:[B,_m,wd]}],SM=[{provide:Nf,useValue:"root"},{provide:Ut,useFactory:function TG(){return new Ut}},{provide:xg,useClass:EG,multi:!0,deps:[be]},{provide:xg,useClass:IG,multi:!0,deps:[be]},Eg,yM,hM,{provide:oi,useExisting:Eg},{provide:QS,useClass:DG},[]];let MM=(()=>{class e{constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[...SM,...EM],imports:[bg,nz]})}return e})();function Br(e){return this instanceof Br?(this.v=e,this):new Br(e)}function PG(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function TM(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}const FM=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function kM(e){return Ee(e?.then)}function RM(e){return Ee(e[yf])}function OM(e){return Symbol.asyncIterator&&Ee(e?.[Symbol.asyncIterator])}function NM(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 PM=function VG(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function LM(e){return Ee(e?.[PM])}function VM(e){return function NG(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(f){return new Promise(function(p,m){o.push([h,f,p,m])>1||a(h,f)})})}function a(h,f){try{!function l(h){h.value instanceof Br?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](f))}catch(p){u(o[0][3],p)}}function c(h){a("next",h)}function d(h){a("throw",h)}function u(h,f){h(f),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield Br(t.read());if(r)return yield Br(void 0);yield yield Br(i)}}finally{t.releaseLock()}})}function BM(e){return Ee(e?.getReader)}function Zt(e){if(e instanceof Se)return e;if(null!=e){if(RM(e))return function BG(e){return new Se(n=>{const t=e[yf]();if(Ee(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(FM(e))return function jG(e){return new Se(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(kM(e))return function HG(e){return new Se(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,S_)})}(e);if(OM(e))return jM(e);if(LM(e))return function zG(e){return new Se(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(BM(e))return function UG(e){return jM(VM(e))}(e)}throw NM(e)}function jM(e){return new Se(n=>{(function GG(e,n){var t,i,r,o;return function RG(e,n,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=PG(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Ai(e,n,t,i=0,r=!1){const o=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function ru(e,n,t=1/0){return Ee(n)?ru((i,r)=>tt((o,s)=>n(i,o,r,s))(Zt(e(i,r))),t):("number"==typeof n&&(t=n),gt((i,r)=>function $G(e,n,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&n.complete()},f=m=>c<i?p(m):l.push(m),p=m=>{o&&n.next(m),c++;let _=!1;Zt(t(m,d++)).subscribe(ct(n,b=>{r?.(b),o?f(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const b=l.shift();s?Ai(n,s,()=>p(b)):p(b)}h()}catch(b){n.error(b)}}))};return e.subscribe(ct(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,r,e,t)))}function xn(e,n){return gt((t,i)=>{let r=0;t.subscribe(ct(i,o=>e.call(n,o,r++)&&i.next(o)))})}function Tg(e){return gt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function ou(e,n){return gt((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(ct(i,l=>{r?.unsubscribe();let c=0;const d=o++;Zt(e(l,d)).subscribe(r=ct(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function HM(e){return e&&Ee(e.schedule)}function Fg(e){return e[e.length-1]}function zM(e){return Ee(Fg(e))?e.pop():void 0}function rl(e){return HM(Fg(e))?e.pop():void 0}function UM(e,n=0){return gt((t,i)=>{t.subscribe(ct(i,r=>Ai(i,e,()=>i.next(r),n),()=>Ai(i,e,()=>i.complete(),n),r=>Ai(i,e,()=>i.error(r),n)))})}function GM(e,n=0){return gt((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function $M(e,n){if(!e)throw new Error("Iterable cannot be null");return new Se(t=>{Ai(t,n,()=>{const i=e[Symbol.asyncIterator]();Ai(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function Ti(e,n){return n?function JG(e,n){if(null!=e){if(RM(e))return function KG(e,n){return Zt(e).pipe(GM(n),UM(n))}(e,n);if(FM(e))return function QG(e,n){return new Se(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(kM(e))return function YG(e,n){return Zt(e).pipe(GM(n),UM(n))}(e,n);if(OM(e))return $M(e,n);if(LM(e))return function ZG(e,n){return new Se(t=>{let i;return Ai(t,n,()=>{i=e[PM](),Ai(t,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>Ee(i?.return)&&i.return()})}(e,n);if(BM(e))return function XG(e,n){return $M(VM(e),n)}(e,n)}throw NM(e)}(e,n):Zt(e)}function ci(...e){return Ti(e,rl(e))}class su{}class au{}class jn{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=t.slice(i+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.addHeaderEntry(i,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,i])=>{this.setHeaderEntries(t,i)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof jn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new jn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof jn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,t);const r=("a"===n.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(n,t){const i=n.toLowerCase();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(t):this.headers.set(i,[t])}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=n.toLowerCase();this.headers.set(r,i),this.maybeSetNormalizedName(n,r)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class e${encodeKey(n){return WM(n)}encodeValue(n){return WM(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const n$=/%(\d[a-f0-9])/gi,i$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function WM(e){return encodeURIComponent(e).replace(n$,(n,t)=>i$[t]??n)}function lu(e){return`${e}`}class Ji{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new e$,n.fromString){if(n.fromObject)throw new w(2805,!1);this.map=function t$(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const i=n.fromObject[t],r=Array.isArray(i)?i.map(lu):[lu(i)];this.map.set(t,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new Ji({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(lu(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(lu(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class r${map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function qM(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function KM(e){return typeof Blob<"u"&&e instanceof Blob}function YM(e){return typeof FormData<"u"&&e instanceof FormData}const ol="Content-Type",kg="X-Request-URL",QM="text/plain",ZM="application/json",XM=`${ZM}, ${QM}, */*`;class sl{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(n,t,i,r){let o;if(this.url=t,this.method=n.toUpperCase(),function o$(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new jn,this.context??=new r$,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+s}}else this.params=new Ji,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||qM(this.body)||KM(this.body)||YM(this.body)||function s$(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof Ji?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||YM(this.body)?null:KM(this.body)?this.body.type||null:qM(this.body)?null:"string"==typeof this.body?QM:this.body instanceof Ji?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?ZM:null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=n.transferCache??this.transferCache,s=void 0!==n.body?n.body:this.body,a=n.withCredentials??this.withCredentials,l=n.reportProgress??this.reportProgress;let c=n.headers||this.headers,d=n.params||this.params;const u=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((h,f)=>h.set(f,n.setHeaders[f]),c)),n.setParams&&(d=Object.keys(n.setParams).reduce((h,f)=>h.set(f,n.setParams[f]),d)),new sl(t,i,s,{params:d,headers:c,context:u,reportProgress:l,responseType:r,withCredentials:a,transferCache:o})}}var er=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}(er||{});class Rg{headers;status;statusText;url;ok;type;constructor(n,t=200,i="OK"){this.headers=n.headers||new jn,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class du extends Rg{constructor(n={}){super(n)}type=er.ResponseHeader;clone(n={}){return new du({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class al extends Rg{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=er.Response;clone(n={}){return new al({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class gs extends Rg{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Og(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}let Ng=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof sl)o=t;else{let l,c;l=r.headers instanceof jn?r.headers:new jn(r.headers),r.params&&(c=r.params instanceof Ji?r.params:new Ji({fromObject:r.params})),o=new sl(t,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache})}const s=ci(o).pipe(function WG(e,n){return Ee(n)?ru(e,n,1):ru(e,1)}(l=>this.handler.handle(l)));if(t instanceof sl||"events"===r.observe)return s;const a=s.pipe(xn(l=>l instanceof al));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(tt(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new w(2806,!1);return l.body}));case"blob":return a.pipe(tt(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new w(2807,!1);return l.body}));case"text":return a.pipe(tt(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new w(2808,!1);return l.body}));default:return a.pipe(tt(l=>l.body))}case"response":return a;default:throw new w(2809,!1)}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:(new Ji).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,r={}){return this.request("PATCH",t,Og(r,i))}post(t,i,r={}){return this.request("POST",t,Og(r,i))}put(t,i,r={}){return this.request("PUT",t,Og(r,i))}static \u0275fac=function(i){return new(i||e)(I(su))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const tI=new C("");function nI(e,n){return n(e)}function f$(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const p$=new C(""),ll=new C(""),m$=new C(""),iI=new C("",{providedIn:"root",factory:()=>!0});function g$(){let e=null;return(n,t)=>{null===e&&(e=(g(p$,{optional:!0})??[]).reduceRight(f$,nI));const i=g(ji);if(g(iI)){const o=i.add();return e(n,t).pipe(Tg(()=>i.remove(o)))}return e(n,t)}}let rI=(()=>{class e extends su{backend;injector;chain=null;pendingTasks=g(ji);contributeToStability=g(iI);constructor(t,i){super(),this.backend=t,this.injector=i}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(ll),...this.injector.get(m$,[])]));this.chain=i.reduceRight((r,o)=>function h$(e,n,t){return(i,r)=>Bf(t,()=>n(i,o=>e(o,r)))}(r,o,this.injector),nI)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Tg(()=>this.pendingTasks.remove(i)))}return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(I(au),I(Mt))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const b$=/^\)\]\}',?\n/,x$=RegExp(`^${kg}:`,"m");let sI=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new w(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Ti(i.\u0275loadImpl()):ci(null)).pipe(ou(()=>new Se(o=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((m,_)=>s.setRequestHeader(m,_.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept",XM),!t.headers.has(ol)){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader(ol,m)}if(t.responseType){const m=t.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const m=s.statusText||"OK",_=new jn(s.getAllResponseHeaders()),b=function w$(e){return"responseURL"in e&&e.responseURL?e.responseURL:x$.test(e.getAllResponseHeaders())?e.getResponseHeader(kg):null}(s)||t.url;return l=new du({headers:_,status:s.status,statusText:m,url:b}),l},d=()=>{let{headers:m,status:_,statusText:b,url:v}=c(),M=null;204!==_&&(M=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=M?200:0);let R=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof M){const K=M;M=M.replace(b$,"");try{M=""!==M?JSON.parse(M):null}catch(qe){M=K,R&&(R=!1,M={error:qe,text:M})}}R?(o.next(new al({body:M,headers:m,status:_,statusText:b,url:v||void 0})),o.complete()):o.error(new gs({error:M,headers:m,status:_,statusText:b,url:v||void 0}))},u=m=>{const{url:_}=c(),b=new gs({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});o.error(b)};let h=!1;const f=m=>{h||(o.next(c()),h=!0);let _={type:er.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),"text"===t.responseType&&s.responseText&&(_.partialText=s.responseText),o.next(_)},p=m=>{let _={type:er.UploadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),o.next(_)};return s.addEventListener("load",d),s.addEventListener("error",u),s.addEventListener("timeout",u),s.addEventListener("abort",u),t.reportProgress&&(s.addEventListener("progress",f),null!==a&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),o.next({type:er.Sent}),()=>{s.removeEventListener("error",u),s.removeEventListener("abort",u),s.removeEventListener("load",d),s.removeEventListener("timeout",u),t.reportProgress&&(s.removeEventListener("progress",f),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(i){return new(i||e)(I(QS))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const Vg=new C(""),aI=new C("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),lI=new C("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class cI{}let E$=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,i){this.doc=t,this.cookieName=i}getToken(){const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=KS(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(I(be),I(aI))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const S$=/^(?:https?:)?\/\//i;function M$(e,n){if(!g(Vg)||"GET"===e.method||"HEAD"===e.method||S$.test(e.url))return n(e);const t=g(cI).getToken(),i=g(lI);return null!=t&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,t)})),n(e)}var tr=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}(tr||{});function I$(...e){const n=[Ng,sI,rI,{provide:su,useExisting:rI},{provide:au,useFactory:()=>g(tI,{optional:!0})??g(sI)},{provide:ll,useValue:M$,multi:!0},{provide:Vg,useValue:!0},{provide:cI,useClass:E$}];for(const t of e)n.push(...t.\u0275providers);return function Li(e){return{\u0275providers:e}}(n)}const dI=new C("");function A$(){return function jr(e,n){return{\u0275kind:e,\u0275providers:n}}(tr.LegacyInterceptors,[{provide:dI,useFactory:g$},{provide:ll,useExisting:dI,multi:!0}])}let T$=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[I$(A$())]})}return e})();function uI(e=1/0){return ru(Bs,e)}const uu=new Se(e=>e.complete());function nr(...e){const n=rl(e),t=function qG(e,n){return"number"==typeof Fg(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Zt(i[0]):uI(t)(Ti(i,n)):uu}function ys(e,n,t){const i=Ee(e)||n||t?{next:e,error:n,complete:t}:e;return i?gt((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(ct(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):Bs}const N$={provide:La,useFactory:function O$(e,n){return()=>{if(Zi(n)){const t=Array.from(e.querySelectorAll(`[class*=${mI}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(r=>{r.classList.contains(`${mI}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[be,sn],multi:!0},mI="flex-layout-";let jg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({providers:[N$]}),e})();const Hg={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Hn=new C("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Hg}),_s=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),zg=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function wn(e){return null!=e&&"false"!=`${e}`}function Dt(e){return gt((n,t)=>{Zt(e).subscribe(ct(t,()=>t.complete(),ff)),!t.closed&&n.subscribe(t)})}EventTarget;let pu=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:function(i){let r=null;return r=i?new(i||e):I(a3),r},providedIn:"root"})}return e})(),a3=(()=>{class e extends pu{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case ft.NONE:return i;case ft.HTML:return ti(i,"HTML")?ln(i):Sx(this._doc,String(i)).toString();case ft.STYLE:return ti(i,"Style")?ln(i):i;case ft.SCRIPT:if(ti(i,"Script"))return ln(i);throw new w(5200,!1);case ft.URL:return ti(i,"URL")?ln(i):Qc(String(i));case ft.RESOURCE_URL:if(ti(i,"ResourceURL"))return ln(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(t){return function QO(e){return new GO(e)}(t)}bypassSecurityTrustStyle(t){return function ZO(e){return new $O(e)}(t)}bypassSecurityTrustScript(t){return function XO(e){return new WO(e)}(t)}bypassSecurityTrustUrl(t){return function JO(e){return new qO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function eN(e){return new KO(e)}(t)}static \u0275fac=function(i){return new(i||e)(I(be))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),PI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[jg]}),e})();const S3=new C("cdk-dir-doc",{providedIn:"root",factory:function M3(){return g(be)}}),I3=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let bs=(()=>{class e{value="ltr";change=new _e;constructor(){const t=g(S3,{optional:!0});t&&(this.value=function A3(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?I3.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xs=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})(),jI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[jg,xs]}),e})(),KI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[jg]}),e})(),eW=(()=>{class e{constructor(t,i){Xi(i)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,i=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:Hn,useValue:{...Hg,...t}},{provide:zg,useValue:i,multi:!0},{provide:_s,useValue:!0}]:[{provide:Hn,useValue:{...Hg,...t}},{provide:zg,useValue:i,multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(I(_s),I(sn))},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[jI,PI,KI,jI,PI,KI]}),e})();const{isArray:tW}=Array,{getPrototypeOf:nW,prototype:iW,keys:rW}=Object;function YI(e){if(1===e.length){const n=e[0];if(tW(n))return{args:n,keys:null};if(function oW(e){return e&&"object"==typeof e&&nW(e)===iW}(n)){const t=rW(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:sW}=Array;function QI(e){return tt(n=>function aW(e,n){return sW(n)?e(...n):e(n)}(e,n))}function ZI(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function XI(...e){const n=zM(e),{args:t,keys:i}=YI(e),r=new Se(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Zt(t[d]).subscribe(ct(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?ZI(i,a):a),o.complete())}))}});return n?r.pipe(QI(n)):r}let JI=(()=>{class e{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,i){this._renderer=t,this._elementRef=i}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(i){return new(i||e)(y(yn),y(U))};static \u0275dir=S({type:e})}return e})(),zr=(()=>{class e extends JI{static \u0275fac=(()=>{let t;return function(r){return(t||(t=O(e)))(r||e)}})();static \u0275dir=S({type:e,features:[A]})}return e})();const zn=new C(""),cW={provide:zn,useExisting:we(()=>gu),multi:!0},uW=new C("");let gu=(()=>{class e extends JI{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,null==this._compositionMode&&(this._compositionMode=!function dW(){const e=Qi()?Qi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(i){return new(i||e)(y(yn),y(U),y(uW,8))};static \u0275dir=S({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,r){1&i&&Me("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},standalone:!1,features:[he([cW]),A]})}return e})();function Wg(e){return null==e||0===qg(e)}function qg(e){return null==e?null:Array.isArray(e)||"string"==typeof e?e.length:e instanceof Set?e.size:null}const Et=new C(""),rr=new C(""),fW=/^(?=.{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 tA{static min(n){return function nA(e){return n=>{if(null==n.value||null==e)return null;const t=parseFloat(n.value);return!isNaN(t)&&t<e?{min:{min:e,actual:n.value}}:null}}(n)}static max(n){return function iA(e){return n=>{if(null==n.value||null==e)return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function rA(e){return Wg(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function oA(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function sA(e){return Wg(e.value)||fW.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function aA(e){return n=>{const t=n.value?.length??qg(n.value);return null===t||0===t?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}(n)}static maxLength(n){return function lA(e){return n=>{const t=n.value?.length??qg(n.value);return null!==t&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}(n)}static pattern(n){return function cA(e){if(!e)return yu;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),i=>{if(Wg(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}(n)}static nullValidator(n){return null}static compose(n){return mA(n)}static composeAsync(n){return gA(n)}}function yu(e){return null}function dA(e){return null!=e}function uA(e){return Cd(e)?Ti(e):e}function fA(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function hA(e,n){return n.map(t=>t(e))}function pA(e){return e.map(n=>function hW(e){return!e.validate}(n)?n:t=>n.validate(t))}function mA(e){if(!e)return null;const n=e.filter(dA);return 0==n.length?null:function(t){return fA(hA(t,n))}}function Kg(e){return null!=e?mA(pA(e)):null}function gA(e){if(!e)return null;const n=e.filter(dA);return 0==n.length?null:function(t){return XI(hA(t,n).map(uA)).pipe(tt(fA))}}function Yg(e){return null!=e?gA(pA(e)):null}function yA(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function _A(e){return e._rawValidators}function vA(e){return e._rawAsyncValidators}function Qg(e){return e?Array.isArray(e)?e:[e]:[]}function _u(e,n){return Array.isArray(e)?e.includes(n):e===n}function bA(e,n){const t=Qg(n);return Qg(e).forEach(r=>{_u(t,r)||t.push(r)}),t}function xA(e,n){return Qg(n).filter(t=>!_u(e,t))}class wA{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Kg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Yg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Vt extends wA{name;get formDirective(){return null}get path(){return null}}class di extends wA{_parent=null;name=null;valueAccessor=null}class CA{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let DA=(()=>{class e extends CA{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(y(di,2))};static \u0275dir=S({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&ht("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},standalone:!1,features:[A]})}return e})();const fl="VALID",bu="INVALID",ws="PENDING",hl="DISABLED";class Cs{}class SA extends Cs{value;source;constructor(n,t){super(),this.value=n,this.source=t}}class Jg extends Cs{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}}class ey extends Cs{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}}class xu extends Cs{status;source;constructor(n,t){super(),this.status=n,this.source=t}}class MA extends Cs{source;constructor(n){super(),this.source=n}}class IA extends Cs{source;constructor(n){super(),this.source=n}}function ty(e){return(wu(e)?e.validators:e)||null}function ny(e,n){return(wu(n)?n.asyncValidators:e)||null}function wu(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class iy{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,t){this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Qe(this.statusReactive)}set status(n){Qe(()=>this.statusReactive.set(n))}_status=Ln(()=>this.statusReactive());statusReactive=Fn(void 0);get valid(){return this.status===fl}get invalid(){return this.status===bu}get pending(){return this.status==ws}get disabled(){return this.status===hl}get enabled(){return this.status!==hl}errors;get pristine(){return Qe(this.pristineReactive)}set pristine(n){Qe(()=>this.pristineReactive.set(n))}_pristine=Ln(()=>this.pristineReactive());pristineReactive=Fn(!0);get dirty(){return!this.pristine}get touched(){return Qe(this.touchedReactive)}set touched(n){Qe(()=>this.touchedReactive.set(n))}_touched=Ln(()=>this.touchedReactive());touchedReactive=Fn(!1);get untouched(){return!this.touched}_events=new J;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(bA(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(bA(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(xA(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(xA(n,this._rawAsyncValidators))}hasValidator(n){return _u(this._rawValidators,n)}hasAsyncValidator(n){return _u(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){const t=!1===this.touched;this.touched=!0;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new ey(!0,i))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(n))}markAsUntouched(n={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:i})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,i),t&&!1!==n.emitEvent&&this._events.next(new ey(!1,i))}markAsDirty(n={}){const t=!0===this.pristine;this.pristine=!1;const i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty({...n,sourceControl:i}),t&&!1!==n.emitEvent&&this._events.next(new Jg(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new Jg(!0,i))}markAsPending(n={}){this.status=ws;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new xu(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending({...n,sourceControl:t})}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=hl,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new SA(this.value,i)),this._events.next(new xu(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=fl,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n,t){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fl||this.status===ws)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new SA(this.value,t)),this._events.next(new xu(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity({...n,sourceControl:t})}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hl:fl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=ws,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=uA(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,t,i){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||i)&&this._events.next(new xu(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new _e,this.statusChanges=new _e}_calculateStatus(){return this._allControlsDisabled()?hl:this.errors?bu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ws)?ws:this._anyControlsHaveStatus(bu)?bu:fl}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,t){const i=!this._anyControlsDirty(),r=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),r&&this._events.next(new Jg(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new ey(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){wu(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function xW(e){return Array.isArray(e)?Kg(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function wW(e){return Array.isArray(e)?Yg(e):e||null}(this._rawAsyncValidators)}}class ry extends iy{constructor(n,t,i){super(ty(t),ny(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,i={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){(function TA(e,n,t){e._forEachChild((i,r)=>{if(void 0===t[r])throw new w(1002,"")})})(this,0,n),Object.keys(n).forEach(i=>{(function AA(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new w(1e3,"");if(!i[t])throw new w(1001,"")})(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,r)=>{i.reset(n?n[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,i)=>(n[i]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&n(i,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const Ds=new C("",{providedIn:"root",factory:()=>Cu}),Cu="always";function pl(e,n,t=Cu){oy(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function EW(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&FA(e,n)})}(e,n),function MW(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function SW(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&FA(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function DW(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Eu(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Mu(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Su(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function oy(e,n){const t=_A(e);null!==n.validator?e.setValidators(yA(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=vA(e);null!==n.asyncValidator?e.setAsyncValidators(yA(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Su(n._rawValidators,r),Su(n._rawAsyncValidators,r)}function Mu(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=_A(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const r=vA(e);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(t=!0,e.setAsyncValidators(o))}}}const i=()=>{};return Su(n._rawValidators,i),Su(n._rawAsyncValidators,i),t}function FA(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function kA(e,n){oy(e,n)}function RA(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const kW={provide:Vt,useExisting:we(()=>Es)},ml=Promise.resolve();let Es=(()=>{class e extends Vt{callSetDisabledState;get submitted(){return Qe(this.submittedReactive)}_submitted=Ln(()=>this.submittedReactive());submittedReactive=Fn(!1);_directives=new Set;form;ngSubmit=new _e;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new ry({},Kg(t),Yg(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ml.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),pl(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ml.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){ml.then(()=>{const i=this._findContainer(t.path),r=new ry({});kA(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ml.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){ml.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),RA(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new MA(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new IA(this.form))}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(i){return new(i||e)(y(Et,10),y(rr,10),y(Ds,8))};static \u0275dir=S({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&Me("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[he([kW]),A]})}return e})();function OA(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function NA(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const PA=class extends iy{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,i){super(ty(t),ny(i,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),wu(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=NA(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){OA(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){OA(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){NA(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},LW={provide:di,useExisting:we(()=>cy)},LA=Promise.resolve();let cy=(()=>{class e extends di{_changeDetectorRef;callSetDisabledState;control=new PA;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new _e;constructor(t,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function ly(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===gu?t=o:function TW(e){return Object.getPrototypeOf(e.constructor)===zr}(o)?i=o:r=o}),r||i||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function ay(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){pl(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){LA.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&lt(i);LA.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Du(e,n){return[...n.path,e]}(t,this._parent):[t]}static \u0275fac=function(i){return new(i||e)(y(Vt,9),y(Et,10),y(rr,10),y(zn,10),y(Pr,8),y(Ds,8))};static \u0275dir=S({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[he([LW]),A,zt]})}return e})();const GW={provide:Vt,useExisting:we(()=>Ss)};let hy,Ss=(()=>{class e extends Vt{callSetDisabledState;get submitted(){return Qe(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=Ln(()=>this._submittedReactive());_submittedReactive=Fn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new _e;constructor(t,i,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Mu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const i=this.form.get(t.path);return pl(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Eu(t.control||null,t,!1),function FW(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){return this._submittedReactive.set(!0),RA(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new MA(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this._submittedReactive.set(!1),this.form._events.next(new IA(this.form))}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Eu(i||null,t),(e=>e instanceof PA)(r)&&(pl(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);kA(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function IW(e,n){return Mu(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){oy(this.form,this),this._oldForm&&Mu(this._oldForm,this)}static \u0275fac=function(i){return new(i||e)(y(Et,10),y(rr,10),y(Ds,8))};static \u0275dir=S({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&Me("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[he([GW]),A,zt]})}return e})(),l5=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})(),n0=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ds,useValue:t.callSetDisabledState??Cu}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[l5]})}return e})(),d5=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),u5=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[d5]})}return e})();try{hy=typeof Intl<"u"&&Intl.v8BreakIterator}catch{hy=!1}let Un=(()=>{class e{_platformId=g(sn);isBrowser=this._platformId?Zi(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&&!hy)&&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(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function r0(e,n,t){e?Ai(t,e,n):n()}function py(...e){return function p5(){return uI(1)}()(Ti(e,rl(e)))}function yl(e){return e<=0?()=>uu:gt((n,t)=>{let i=0;n.subscribe(ct(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}class g5 extends Ae{constructor(n,t){super()}schedule(n,t=0){return this}}const Fu={setInterval(e,n,...t){const{delegate:i}=Fu;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Fu;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class my extends g5{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(n,t,i=0){return Fu.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&Fu.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Hl(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const gy={now:()=>(gy.delegate||Date).now(),delegate:void 0};class _l{constructor(n,t=_l.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}_l.now=gy.now;class yy extends _l{constructor(n,t=_l.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}const _y=new yy(my),y5=_y;function vy(e,n=_y){return gt((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+e,d=n.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}t.subscribe(ct(i,c=>{o=c,s=n.now(),r||(r=n.schedule(l,e),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function ku(...e){const n=rl(e);return gt((t,i)=>{(n?py(e,t,n):py(e,t)).subscribe(i)})}function Ru(e){return Array.isArray(e)?e:[e]}const o0=new Set;let Gr,_5=(()=>{class e{_platform=g(Un);_nonce=g(Fh,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b5}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function v5(e,n){if(!o0.has(e))try{Gr||(Gr=document.createElement("style"),n&&Gr.setAttribute("nonce",n),Gr.setAttribute("type","text/css"),document.head.appendChild(Gr)),Gr.sheet&&(Gr.sheet.insertRule(`@media ${e} {body{ }}`,0),o0.add(e))}catch(t){console.error(t)}}(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function b5(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let x5=(()=>{class e{_mediaMatcher=g(_5);_zone=g(B);_queries=new Map;_destroySubject=new J;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return s0(Ru(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=function f5(...e){const n=rl(e),t=zM(e),{args:i,keys:r}=YI(e);if(0===i.length)return Ti([],n);const o=new Se(function h5(e,n,t=Bs){return i=>{r0(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)r0(n,()=>{const c=Ti(e[l],n);let d=!1;c.subscribe(ct(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>ZI(r,s):Bs));return t?o.pipe(QI(t)):o}(s0(Ru(t)).map(s=>this._registerQuery(s).observable));return o=py(o.pipe(yl(1)),o.pipe(function m5(e){return xn((n,t)=>e<=t)}(1),vy(0))),o.pipe(tt(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const i=this._mediaMatcher.matchMedia(t),o={observable:new Se(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ku(i),tt(({matches:s})=>({query:t,matches:s})),Dt(this._destroySubject)),mql:i};return this._queries.set(t,o),o}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function s0(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}const I5=new C("liveAnnouncerElement",{providedIn:"root",factory:function A5(){return null}}),T5=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let F5=0,k5=(()=>{class e{_ngZone=g(B);_defaultOptions=g(T5,{optional:!0});_liveElement;_document=g(be);_previousTimeout;_currentPromise;_currentResolve;constructor(){const t=g(I5,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(t),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id="cdk-live-announcer-"+F5++,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(t){const i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){const o=i[r],s=o.getAttribute("aria-owns");s?-1===s.indexOf(t)&&o.setAttribute("aria-owns",s+" "+t):o.setAttribute("aria-owns",t)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var $r=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}($r||{});const l0="cdk-high-contrast-black-on-white",c0="cdk-high-contrast-white-on-black",by="cdk-high-contrast-active";let Ou,R5=(()=>{class e{_platform=g(Un);_hasCheckedHighContrastMode;_document=g(be);_breakpointSubscription;constructor(){this._breakpointSubscription=g(x5).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return $r.NONE;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return $r.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return $r.BLACK_ON_WHITE}return $r.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(by,l0,c0),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===$r.BLACK_ON_WHITE?t.add(by,l0):i===$r.WHITE_ON_BLACK&&t.add(by,c0)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xt=(()=>{class e{constructor(){g(R5)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[xs,xs]})}return e})(),vl=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Xt,u5,Xt]})}return e})();function d0(e){return gt((n,t)=>{let o,i=null,r=!1;i=n.subscribe(ct(t,void 0,void 0,s=>{o=Zt(e(s,d0(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function u0(e={}){const{connector:n=()=>new J,resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!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 gt((m,_)=>{c++,!u&&!d&&h();const b=l=l??n();_.add(()=>{c--,0===c&&!u&&!d&&(a=xy(p,r))}),b.subscribe(_),!s&&c>0&&(s=new Vs({next:v=>b.next(v),error:v=>{u=!0,h(),a=xy(f,t,v),b.error(v)},complete:()=>{d=!0,h(),a=xy(f,i),b.complete()}}),Zt(m).subscribe(s))})(o)}}function xy(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Vs({next:()=>{i.unsubscribe(),e()}});return Zt(n(...t)).subscribe(i)}function bl(e){return function N5(){if(void 0===Ou&&(Ou=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Ou=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Ou}()?.createHTML(e)||e}function f0(e){return Error(`Unable to find icon with the name "${e}"`)}function h0(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function p0(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Wr{url;svgText;options;svgElement;constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let Nu=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,i,r,o){this._httpClient=t,this._sanitizer=i,this._errorHandler=o,this._document=r}addSvgIcon(t,i,r){return this.addSvgIconInNamespace("",t,i,r)}addSvgIconLiteral(t,i,r){return this.addSvgIconLiteralInNamespace("",t,i,r)}addSvgIconInNamespace(t,i,r,o){return this._addSvgIconConfig(t,i,new Wr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(ft.HTML,r);if(!s)throw p0(r);const a=bl(s);return this._addSvgIconConfig(t,i,new Wr("",a,o))}addSvgIconSet(t,i){return this.addSvgIconSetInNamespace("",t,i)}addSvgIconSetLiteral(t,i){return this.addSvgIconSetLiteralInNamespace("",t,i)}addSvgIconSetInNamespace(t,i,r){return this._addSvgIconSetConfig(t,new Wr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(ft.HTML,i);if(!o)throw p0(i);const s=bl(o);return this._addSvgIconSetConfig(t,new Wr("",s,r))}registerFontClassAlias(t,i=t){return this._fontCssClassesByAlias.set(t,i),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const i=this._sanitizer.sanitize(ft.RESOURCE_URL,t);if(!i)throw h0(t);const r=this._cachedIconsByUrl.get(i);return r?ci(Pu(r)):this._loadSvgIconFromConfig(new Wr(t,null)).pipe(ys(o=>this._cachedIconsByUrl.set(i,o)),tt(o=>Pu(o)))}getNamedSvgIcon(t,i=""){const r=m0(i,t);let o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(i,t),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);const s=this._iconSetConfigs.get(i);return s?this._getSvgFromIconSetConfigs(t,s):function O5(e,n){const t=Ee(e)?e:()=>e,i=r=>r.error(t());return new Se(n?r=>n.schedule(i,0,r):i)}(f0(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?ci(Pu(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(tt(i=>Pu(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?ci(r):XI(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(d0(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ft.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),ci(null)})))).pipe(tt(()=>{const s=this._extractIconWithNameFromAnySet(t,i);if(!s)throw f0(t);return s}))}_extractIconWithNameFromAnySet(t,i){for(let r=i.length-1;r>=0;r--){const o=i[r];if(o.svgText&&o.svgText.toString().indexOf(t)>-1){const s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,t,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(ys(i=>t.svgText=i),tt(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?ci(null):this._fetchIcon(t).pipe(ys(i=>t.svgText=i))}_extractSvgIconFromSet(t,i,r){const o=t.querySelector(`[id="${i}"]`);if(!o)return null;const s=o.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,r);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),r);const a=this._svgElementFromString(bl("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,r)}_svgElementFromString(t){const i=this._document.createElement("DIV");i.innerHTML=t;const r=i.querySelector("svg");if(!r)throw Error("<svg> tag not found");return r}_toSvgElement(t){const i=this._svgElementFromString(bl("<svg></svg>")),r=t.attributes;for(let o=0;o<r.length;o++){const{name:s,value:a}=r[o];"id"!==s&&i.setAttribute(s,a)}for(let o=0;o<t.childNodes.length;o++)t.childNodes[o].nodeType===this._document.ELEMENT_NODE&&i.appendChild(t.childNodes[o].cloneNode(!0));return i}_setSvgAttributes(t,i){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),i&&i.viewBox&&t.setAttribute("viewBox",i.viewBox),t}_fetchIcon(t){const{url:i,options:r}=t,o=r?.withCredentials??!1;if(!this._httpClient)throw function P5(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const s=this._sanitizer.sanitize(ft.RESOURCE_URL,i);if(!s)throw h0(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(tt(c=>bl(c)),Tg(()=>this._inProgressUrlFetches.delete(s)),u0());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(m0(t,i),r),this}_addSvgIconSetConfig(t,i){const r=this._iconSetConfigs.get(t);return r?r.push(i):this._iconSetConfigs.set(t,[i]),this}_svgElementFromConfig(t){if(!t.svgElement){const i=this._svgElementFromString(t.svgText);this._setSvgAttributes(i,t.options),t.svgElement=i}return t.svgElement}_getIconConfigFromResolvers(t,i){for(let r=0;r<this._resolvers.length;r++){const o=this._resolvers[r](i,t);if(o)return V5(o)?new Wr(o.url,null,o.options):new Wr(o,null)}}static \u0275fac=function(i){return new(i||e)(I(Ng,8),I(pu),I(be,8),I(Ut))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Pu(e){return e.cloneNode(!0)}function m0(e,n){return e+":"+n}function V5(e){return!(!e.url||!e.options)}const B5=["*"],j5=new C("MAT_ICON_DEFAULT_OPTIONS"),H5=new C("mat-icon-location",{providedIn:"root",factory:function z5(){const e=g(be),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),g0=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],U5=g0.map(e=>`[${e}]`).join(", "),G5=/^url\(['"]?#(.*?)['"]?\)$/;let Ms,$5=(()=>{class e{_elementRef=g(U);_iconRegistry=g(Nu);_location=g(H5);_errorHandler=g(Ut);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){const i=this._cleanupFontValue(t);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){const i=this._cleanupFontValue(t);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=Ae.EMPTY;constructor(){const t=g(new Zv("aria-hidden"),{optional:!0}),i=g(j5,{optional:!0});i&&(i.color&&(this.color=this._defaultColor=i.color),i.fontSet&&(this.fontSet=i.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];const i=t.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let i=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const r=t.childNodes[i];(1!==r.nodeType||"svg"===r.nodeName.toLowerCase())&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>t.classList.remove(r)),i.forEach(r=>t.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const i=this._elementsWithExternalReferences;i&&i.forEach((r,o)=>{r.forEach(s=>{o.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){const i=t.querySelectorAll(U5),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)g0.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(G5):null;if(c){let d=r.get(a);d||(d=[],r.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[i,r]=this._splitIconName(t);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(yl(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){2&i&&(xt("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),function yD(e){Nn($B,li,e,!0)}(r.color?"mat-"+r.color:""),ht("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:[2,"inline","inline",lt],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:B5,decls:1,vars:0,template:function(i,r){1&i&&(us(),Ct(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0})}return e})(),y0=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Xt,Xt]})}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 v0(){if(Ms)return Ms;if("object"!=typeof document||!document)return Ms=new Set(_0),Ms;let e=document.createElement("input");return Ms=new Set(_0.filter(n=>(e.setAttribute("type",n),e.type===n))),Ms}const Lu=new WeakMap;let xl=(()=>{class e{_appRef;_injector=g(ke);_environmentInjector=g(Mt);load(t){const i=this._appRef=this._appRef||this._injector.get(Rt);let r=Lu.get(i);r||(r={loaders:new Set,refs:[]},Lu.set(i,r),i.onDestroy(()=>{Lu.get(i)?.refs.forEach(o=>o.destroy()),Lu.delete(i)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(HS(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wl(e,n,t,i,r){const o=parseInt(nS.major),s=parseInt(nS.minor);return o>19||19===o&&s>0||0===o&&0===s?e.listen(n,t,i,r):(n.addEventListener(t,i,r),()=>{n.removeEventListener(t,i,r)})}function Cl(e){return e instanceof U?e.nativeElement:e}let q5=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,r){},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 K5={passive:!0};let Y5=(()=>{class e{_platform=g(Un);_ngZone=g(B);_renderer=g(oi).createRenderer(null,null);_styleLoader=g(xl);_monitoredElements=new Map;constructor(){}monitor(t){if(!this._platform.isBrowser)return uu;this._styleLoader.load(q5);const i=Cl(t),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new J,s="cdk-text-field-autofilled",a=c=>{"cdk-text-field-autofill-start"!==c.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===c.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0})))},l=this._ngZone.runOutsideAngular(()=>(i.classList.add("cdk-text-field-autofill-monitored"),wl(this._renderer,i,"animationstart",a,K5)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(t){const i=Cl(t),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((t,i)=>this.stopMonitoring(i))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Q5=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();const wy={};let Is=(()=>{class e{_appId=g(ei);getId(t){return"ng"!==this._appId&&(t+=this._appId),wy.hasOwnProperty(t)||(wy[t]=0),`${t}${wy[t]++}`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Z5=new C("MAT_INPUT_VALUE_ACCESSOR");class b0 extends J{constructor(n=1/0,t=1/0,i=gy){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!n.closed;s+=i?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){const{_bufferSize:n,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*n;if(n<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}class eq{_box;_destroyed=new J;_resizeSubject=new J;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Se(t=>{const i=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),i.unsubscribe(),this._elementObservables.delete(n)}}).pipe(xn(t=>t.some(i=>i.target===n)),function J5(e,n,t){let i,r=!1;return e&&"object"==typeof e?({bufferSize:i=1/0,windowTime:n=1/0,refCount:r=!1,scheduler:t}=e):i=e??1/0,u0({connector:()=>new b0(i,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}({bufferSize:1,refCount:!0}),Dt(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let tq=(()=>{class e{_cleanupErrorListener;_observers=new Map;_ngZone=g(B);constructor(){}ngOnDestroy(){for(const[,t]of this._observers)t.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(t,i){const r=i?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new eq(r)),this._observers.get(r).observe(t)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const nq=["notch"],iq=["matFormFieldNotchedOutline",""],rq=["*"],oq=["textField"],sq=["iconPrefixContainer"],aq=["textPrefixContainer"],lq=["iconSuffixContainer"],cq=["textSuffixContainer"],dq=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],uq=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function fq(e,n){1&e&&at(0,"span",20)}function hq(e,n){if(1&e&&(X(0,"label",19),Ct(1,1),te(2,fq,1,0,"span",20),ne()),2&e){const t=N(2);j("floating",t._shouldLabelFloat())("monitorResize",t._hasOutline())("id",t._labelId),xt("for",t._control.disableAutomaticLabeling?null:t._control.id),F(2),st(!t.hideRequiredMarker&&t._control.required?2:-1)}}function pq(e,n){1&e&&te(0,hq,3,5,"label",19),2&e&&st(N()._hasFloatingLabel()?0:-1)}function mq(e,n){1&e&&at(0,"div",7)}function gq(e,n){}function yq(e,n){1&e&&te(0,gq,0,0,"ng-template",13),2&e&&(N(2),j("ngTemplateOutlet",Wa(1)))}function _q(e,n){if(1&e&&(X(0,"div",9),te(1,yq,1,1,null,13),ne()),2&e){const t=N();j("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),F(),st(t._forceDisplayInfixLabel()?-1:1)}}function vq(e,n){1&e&&(X(0,"div",10,2),Ct(2,2),ne())}function bq(e,n){1&e&&(X(0,"div",11,3),Ct(2,3),ne())}function xq(e,n){}function wq(e,n){1&e&&te(0,xq,0,0,"ng-template",13),2&e&&(N(),j("ngTemplateOutlet",Wa(1)))}function Cq(e,n){1&e&&(X(0,"div",14,4),Ct(2,4),ne())}function Dq(e,n){1&e&&(X(0,"div",15,5),Ct(2,5),ne())}function Eq(e,n){1&e&&at(0,"div",16)}function Sq(e,n){1&e&&Ct(0,6)}function Mq(e,n){if(1&e&&(X(0,"mat-hint",21),Pn(1),ne()),2&e){const t=N(2);j("id",t._hintLabelId),F(),qa(t.hintLabel)}}function Iq(e,n){1&e&&(te(0,Mq,2,2,"mat-hint",21),Ct(1,7),at(2,"div",22),Ct(3,8)),2&e&&st(N().hintLabel?0:-1)}let x0=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["mat-label"]]})}return e})();const Aq=new C("MatError");let w0=(()=>{class e{align="start";id=g(Is).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,r){2&i&&(ja("id",r.id),xt("align",null),ht("mat-mdc-form-field-hint-end","end"===r.align))},inputs:{align:"align",id:"id"}})}return e})();const C0=new C("MatPrefix");let Tq=(()=>{class e{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[he([{provide:C0,useExisting:e}])]})}return e})();const D0=new C("MatSuffix");let Fq=(()=>{class e{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[he([{provide:D0,useExisting:e}])]})}return e})();const E0=new C("FloatingLabelParent");let S0=(()=>{class e{_elementRef=g(U);get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=g(tq);_ngZone=g(B);_parent=g(E0);_resizeSubscription=new Ae;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function kq(e){if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const i=t.scrollWidth;return t.remove(),i}(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(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){2&i&&ht("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return e})();const M0="mdc-line-ripple--active",Vu="mdc-line-ripple--deactivating";let I0=(()=>{class e{_elementRef=g(U);_cleanupTransitionEnd;constructor(){const t=g(B),i=g(yn);t.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){const t=this._elementRef.nativeElement.classList;t.remove(Vu),t.add(M0)}deactivate(){this._elementRef.nativeElement.classList.add(Vu)}_handleTransitionEnd=t=>{const i=this._elementRef.nativeElement.classList,r=i.contains(Vu);"opacity"===t.propertyName&&r&&i.remove(M0,Vu)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return e})(),A0=(()=>{class e{_elementRef=g(U);_ngZone=g(B);open=!1;_notch;constructor(){}ngAfterViewInit(){const t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){this._notch.nativeElement.style.width=this.open&&t?`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(1&i&&Nt(nq,5),2&i){let o;Le(o=Ve())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){2&i&&ht("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:iq,ngContentSelectors:rq,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(i,r){1&i&&(us(),at(0,"div",1),X(1,"div",2,0),Ct(3),ne(),at(4,"div",3))},encapsulation:2,changeDetection:0})}return e})(),Cy=(()=>{class e{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e})}return e})();const Dy=new C("MatFormField"),Rq=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Pq=(()=>{class e{_elementRef=g(U);_changeDetectorRef=g(Pr);_dir=g(bs);_platform=g(Un);_idGenerator=g(Is);_ngZone=g(B);_injector=g(ke);_defaults=g(Rq,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=hL(x0);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=wn(t)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearance}set appearance(t){const i=this._appearance;this._appearance=t||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}_appearance="fill";get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||"fixed"}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}_destroyed=new J;_isFocused=null;_explicitFormFieldControl;_needsOutlineLabelOffsetUpdate=!1;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_animationsDisabled;constructor(){const t=this._defaults;t&&(t.appearance&&(this.appearance=t.appearance),this._hideRequiredMarker=!!t?.hideRequiredMarker,t.color&&(this.color=t.color)),this._animationsDisabled="NoopAnimations"===g(Cr,{optional:!0})}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(),this._initializeOutlineLabelOffsetSubscriptions()}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._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ln(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(t){const i=this._control,r="mat-mdc-form-field-type-";t&&this._elementRef.nativeElement.classList.remove(r+t.controlType),i.controlType&&this._elementRef.nativeElement.classList.add(r+i.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=i.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=i.stateChanges.pipe(ku([void 0,void 0]),tt(()=>[i.errorState,i.userAriaDescribedBy]),function X5(){return gt((e,n)=>{let t,i=!1;e.subscribe(ct(n,r=>{const o=t;t=r,i&&n.next([o,r]),i=!0}))})}(),xn(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),i.ngControl&&i.ngControl.valueChanges&&(this._valueChanges=i.ngControl.valueChanges.pipe(Dt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),nr(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(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),Pc(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Dt(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ln(()=>!!this._labelChild());_shouldLabelFloat(){return!!this._hasFloatingLabel()&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_shouldForward(t){const i=this._control?this._control.ngControl:null;return i&&i[t]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getSubscriptMessageType()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),r&&t.push(r.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;const t=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(t.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdate=!0);const i=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,s=this._textSuffixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,l=r?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=s?.getBoundingClientRect().width??0;t.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${a+l}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`,this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${a+l+c+d}px)`)}_isAttachedToDom(){const t=this._elementRef.nativeElement;if(t.getRootNode){const i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(1&i&&(dE(o,r._labelChild,x0,5),Si(o,Cy,5),Si(o,C0,5),Si(o,D0,5),Si(o,Aq,5),Si(o,w0,5)),2&i){let s;(function uE(e=1){gc(sh()+e)})(),Le(s=Ve())&&(r._formFieldControl=s.first),Le(s=Ve())&&(r._prefixChildren=s),Le(s=Ve())&&(r._suffixChildren=s),Le(s=Ve())&&(r._errorChildren=s),Le(s=Ve())&&(r._hintChildren=s)}},viewQuery:function(i,r){if(1&i&&(Nt(oq,5),Nt(sq,5),Nt(aq,5),Nt(lq,5),Nt(cq,5),Nt(S0,5),Nt(A0,5),Nt(I0,5)),2&i){let o;Le(o=Ve())&&(r._textField=o.first),Le(o=Ve())&&(r._iconPrefixContainer=o.first),Le(o=Ve())&&(r._textPrefixContainer=o.first),Le(o=Ve())&&(r._iconSuffixContainer=o.first),Le(o=Ve())&&(r._textSuffixContainer=o.first),Le(o=Ve())&&(r._floatingLabel=o.first),Le(o=Ve())&&(r._notchedOutline=o.first),Le(o=Ve())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:40,hostBindings:function(i,r){2&i&&ht("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-appearance-fill","fill"==r.appearance)("mat-form-field-appearance-outline","outline"==r.appearance)("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary","accent"!==r.color&&"warn"!==r.color)("mat-accent","accent"===r.color)("mat-warn","warn"===r.color)("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[he([{provide:Dy,useExisting:e},{provide:E0,useExisting:e}])],ngContentSelectors:uq,decls:20,vars:25,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",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["aria-atomic","true","aria-live","polite"],["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(i,r){if(1&i){const o=Ei();us(dq),te(0,pq,1,1,"ng-template",null,0,VE),X(2,"div",6,1),Me("click",function(a){return _t(o),vt(r._control.onContainerClick(a))}),te(4,mq,1,0,"div",7),X(5,"div",8),te(6,_q,2,2,"div",9)(7,vq,3,0,"div",10)(8,bq,3,0,"div",11),X(9,"div",12),te(10,wq,1,1,null,13),Ct(11),ne(),te(12,Cq,3,0,"div",14)(13,Dq,3,0,"div",15),ne(),te(14,Eq,1,0,"div",16),ne(),X(15,"div",17),Bm(16),X(17,"div",18),te(18,Sq,1,0)(19,Iq,4,1),ne()()}if(2&i){let o;F(2),ht("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),F(2),st(r._hasOutline()||r._control.disabled?-1:4),F(2),st(r._hasOutline()?6:-1),F(),st(r._hasIconPrefix?7:-1),F(),st(r._hasTextPrefix?8:-1),F(2),st(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),F(2),st(r._hasTextSuffix?12:-1),F(),st(r._hasIconSuffix?13:-1),F(),st(r._hasOutline()?-1:14),F(),ht("mat-mdc-form-field-subscript-dynamic-size","dynamic"===r.subscriptSizing);const s=r._getSubscriptMessageType();F(2),ht("mat-mdc-form-field-error-wrapper","error"===s)("mat-mdc-form-field-hint-wrapper","hint"===s),F(),st("error"===(o=s)?18:"hint"===o?19:-1)}},dependencies:[S0,A0,yg,I0,w0],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{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(--mdc-filled-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-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__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-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(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-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(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-outline-color, var(--mat-sys-outline));border-width:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-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(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-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(--mdc-outlined-text-field-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-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%),100% - max(12px,var(--mdc-outlined-text-field-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;--mat-form-field-notch-max-width: 100%}[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(--mdc-filled-text-field-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-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(--mdc-filled-text-field-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-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(--mdc-filled-text-field-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})(),k0=(()=>{class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class R0{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,t,i,r,o){this._defaultMatcher=n,this.ngControl=t,this._parentFormGroup=i,this._parentForm=r,this._stateChanges=o}updateErrorState(){const n=this.errorState,t=this._parentFormGroup||this._parentForm,i=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=i?.isErrorState(r,t)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}}const Lq=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Vq=new C("MAT_INPUT_CONFIG");let Bq=(()=>{class e{_elementRef=g(U);_platform=g(Un);ngControl=g(di,{optional:!0,self:!0});_autofillMonitor=g(Y5);_ngZone=g(B);_formField=g(Dy,{optional:!0});_renderer=g(yn);_uid=g(Is).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=g(Vq,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_formFieldDescribedBy;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new J;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=wn(t),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(t){this._id=t||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(tA.required)??!1}set required(t){this._required=wn(t)}_required;get type(){return this._type}set type(t){const i=this._type;this._type=t||"text",this._validateType(),!this._isTextarea&&v0().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==i&&this._ensureWheelDefaultBehavior()}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(t){t!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(t):this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=wn(t)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>v0().has(t));constructor(){const t=g(Es,{optional:!0}),i=g(Ss,{optional:!0}),r=g(k0),o=g(Z5,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?So(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 R0(r,this.ngControl,i,t,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===a,this._isTextarea="textarea"===a,this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Gd(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){if(t!==this.focused){if(!this._isNativeSelect&&t&&this.disabled&&this.disabledInteractive){const i=this._elementRef.nativeElement;"number"===i.type?(i.type="text",i.setSelectionRange(0,0),i.type="number"):i.setSelectionRange(0,0)}this.focused=t,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){const t=this._getPlaceholder();if(t!==this._previousPlaceholder){const i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Lq.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}return this.focused&&!this.disabled||!this.empty}setDescribedByIds(t){const i=this._elementRef.nativeElement,r=i.getAttribute("aria-describedby");let o;if(r){const s=this._formFieldDescribedBy||t;o=t.concat(r.split(" ").filter(a=>a&&!s.includes(a)))}else o=t;this._formFieldDescribedBy=t,o.length?i.setAttribute("aria-describedby",o.join(" ")):i.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}_iOSKeyupListener=t=>{const i=t.target;!i.value&&0===i.selectionStart&&0===i.selectionEnd&&(i.setSelectionRange(1,1),i.setSelectionRange(0,0))};_webkitBlinkWheelListener=()=>{};_ensureWheelDefaultBehavior(){this._cleanupWebkitWheel?.(),"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,r){1&i&&Me("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&i&&(ja("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),xt("name",r.name||null)("readonly",r._getReadonlyAttribute())("aria-disabled",r.disabled&&r.disabledInteractive?"true":null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),ht("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mat-mdc-input-disabled-interactive",r.disabledInteractive)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._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",lt]},exportAs:["matInput"],features:[he([{provide:Cy,useExisting:e}]),zt]})}return e})(),O0=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Xt,vl,vl,Q5,Xt]})}return e})();function Bu(e){return e.composedPath?e.composedPath()[0]:e.target}function N0(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function et(e){return null==e?"":"string"==typeof e?e:`${e}px`}const Dl={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Dl;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=n(o=>{t=void 0,e(o)});return new Ae(()=>t?.(r))},requestAnimationFrame(...e){const{delegate:n}=Dl;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Dl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class Uq extends yy{flush(n){let t;this._active=!0,n?t=n.id:(t=this._scheduled,this._scheduled=void 0);const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class zq extends my{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Dl.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&t===n._scheduled&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Dl.cancelAnimationFrame(t),n._scheduled=void 0)}});let Sy,$q=1;const ju={};function P0(e){return e in ju&&(delete ju[e],!0)}const Wq={setImmediate(e){const n=$q++;return ju[n]=!0,Sy||(Sy=Promise.resolve()),Sy.then(()=>P0(n)&&e()),n},clearImmediate(e){P0(e)}},{setImmediate:qq,clearImmediate:Kq}=Wq,Hu={setImmediate(...e){const{delegate:n}=Hu;return(n?.setImmediate||qq)(...e)},clearImmediate(e){const{delegate:n}=Hu;return(n?.clearImmediate||Kq)(e)},delegate:void 0};new class Qq extends yy{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw r}}}(class Yq extends my{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,i=0){return null!==i&&i>0?super.requestAsyncId(n,t,i):(n.actions.push(this),n._scheduled||(n._scheduled=Hu.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:o}=n;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Hu.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function L0(e,n=_y){return function Xq(e){return gt((n,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};n.subscribe(ct(t,c=>{i=!0,r=c,o||Zt(e(c)).subscribe(o=ct(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function e6(e=0,n,t=y5){let i=-1;return null!=n&&(HM(n)?t=n:i=n),new Se(r=>{let o=function Jq(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,n))}let qr,n6=(()=>{class e{_ngZone=g(B);_platform=g(Un);_renderer=g(oi).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new J;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Se(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const r=t>0?this._scrolled.pipe(L0(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ci()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){const r=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(xn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&i.push(o)}),i}_scrollableContainsElement(t,i){let r=Cl(i),o=t.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),My=(()=>{class e{_platform=g(Un);_listeners;_viewportSize;_change=new J;_document=g(be,{optional:!0});constructor(){const t=g(B),i=g(oi).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){const r=o=>this._change.next(o);this._listeners=[i.listen("window","resize",r),i.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,i=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||t.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(L0(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Iy=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})(),V0=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[xs,Iy,xs,Iy]})}return e})();function r6(){if(null==qr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return qr=!1,qr;if("scrollBehavior"in document.documentElement.style)qr=!0;else{const e=Element.prototype.scrollTo;qr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return qr}class Ay{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class o6 extends Ay{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(n,t,i,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=i,this.projectableNodes=o}}class B0 extends Ay{templateRef;viewContainerRef;context;injector;constructor(n,t,i,r){super(),this.templateRef=n,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class s6 extends Ay{element;constructor(n){super(),this.element=n instanceof U?n.nativeElement:n}}class a6{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof o6?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof B0?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof s6?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class l6 extends a6{outletElement;_appRef;_defaultInjector;_document;constructor(n,t,i,r,o){super(),this.outletElement=n,this._appRef=i,this._defaultInjector=r,this._document=o}attachComponentPortal(n){let t;if(n.viewContainerRef){const i=n.injector||n.viewContainerRef.injector,r=i.get($i,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:i,ngModuleRef:r,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{const i=this._appRef,r=n.injector||this._defaultInjector||ke.NULL,o=r.get(Mt,i.injector);t=HS(n.component,{elementInjector:r,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),i.attachView(t.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,i=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=n,i}attachDomPortal=n=>{const t=n.element,i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let c6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();function As(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const G0=r6();class _6{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=et(-this._previousScrollPosition.left),n.style.top=et(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),G0&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),G0&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.documentElement,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class v6{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,i,r){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=i,this._config=r}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(xn(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}class $0{enable(){}disable(){}attach(){}}function Oy(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function W0(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class b6{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,i,r){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=i,this._config=r}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Oy(t,[{width:i,height:r,bottom:r,right:i,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 x6=(()=>{class e{_scrollDispatcher=g(n6);_viewportRuler=g(My);_ngZone=g(B);_document=g(be);constructor(){}noop=()=>new $0;close=t=>new v6(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new _6(this._viewportRuler,this._document);reposition=t=>new b6(this._scrollDispatcher,this._viewportRuler,this._ngZone,t);static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class q0{positionStrategy;scrollStrategy=new $0;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){const t=Object.keys(n);for(const i of t)void 0!==n[i]&&(this[i]=n[i])}}}class w6{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let K0=(()=>{class e{_attachedOverlays=[];_document=g(be);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),C6=(()=>{class e extends K0{_ngZone=g(B);_renderer=g(oi).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{const i=this._attachedOverlays;for(let r=i.length-1;r>-1;r--)if(i[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[r]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=O(e)))(r||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),D6=(()=>{class e extends K0{_platform=g(Un);_ngZone=g(B);_renderer=g(oi).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){const i=this._document.body,r={capture:!0};this._cleanups=this._ngZone.runOutsideAngular(()=>[wl(this._renderer,i,"pointerdown",this._pointerDownListener,r),wl(this._renderer,i,"click",this._clickListener,r),wl(this._renderer,i,"auxclick",this._clickListener,r),wl(this._renderer,i,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=Bu(t)};_clickListener=t=>{const i=Bu(t),r="click"===t.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;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(Y0(a.overlayElement,i)||Y0(a.overlayElement,r))break;const l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=O(e)))(r||e)}})();static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Y0(e,n){const t=typeof ShadowRoot<"u"&&ShadowRoot;let i=n;for(;i;){if(i===e)return!0;i=t&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}let Q0=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,r){},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})(),Z0=(()=>{class e{_platform=g(Un);_containerElement;_document=g(be);_styleLoader=g(xl);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||N0()){const r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(t),N0()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(Q0)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class E6{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,t,i,r){this._renderer=t,this._ngZone=i,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{const n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}}class S6{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new J;_attachments=new J;_detachments=new J;_positionStrategy;_scrollStrategy;_locationChanges=Ae.EMPTY;_backdropRef=null;_previousHostParent;_keydownEvents=new J;_outsidePointerEvents=new J;_renders=new J;_afterRenderRef;_afterNextRenderRef;constructor(n,t,i,r,o,s,a,l,c,d=!1,u,h){this._portalOutlet=n,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=u,this._renderer=h,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Qe(()=>Pc(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=function Lc(e,n){!n?.injector&&po();const t=n?.injector??g(ke);return an("NgAfterNextRender"),Vb(e,t,n,!0)}(()=>{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._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=et(this._config.width),n.height=et(this._config.height),n.minWidth=et(this._config.minWidth),n.minHeight=et(this._config.minHeight),n.maxWidth=et(this._config.maxWidth),n.maxHeight=et(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new E6(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,t,i){const r=Ru(t||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{const n=this._renders.pipe(Dt(nr(this._attachments,this._detachments))).subscribe(()=>{(!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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n?.disable(),n?.detach?.()}}const X0="cdk-overlay-connected-position-bounding-box",M6=/([A-Za-z%]+)$/;class I6{_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 J;_resizeSubscription=Ae.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(X0),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Kr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(X0),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(n,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,t,i,r){const o=eT(t);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let h=0-a,f=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.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(n,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=J0(this._overlayRef.getConfig().minHeight),a=J0(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=eT(t),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:n.x<this._viewportMargin?o.left-i.left-n.x:0,u=r.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:u},{x:n.x+d,y:n.y+u}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){const i=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!function A6(e,n){return e===n||e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}(this._lastScrollVisibility,i)){const r=new w6(n,i);this._positionChanges.next(r)}this._lastScrollVisibility=i}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,t){const i=this._viewportRect,r=this._isRtl();let o,s,a,d,u,h;if("top"===t.overlayY)s=n.y,o=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-n.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const f=Math.min(i.bottom-n.y+i.top,n.y),p=this._lastBoundingBoxSize.height;o=2*f,s=n.y-f,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-p/2)}if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-n.x+2*this._viewportMargin,d=n.x-this._viewportMargin;else if("start"===t.overlayX&&!r||"end"===t.overlayX&&r)u=n.x,d=i.right-n.x;else{const f=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=2*f,u=n.x-f,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=n.x-p/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(n,t){const i=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=et(i.height),r.top=et(i.top),r.bottom=et(i.bottom),r.width=et(i.width),r.left=et(i.left),r.right=et(i.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=et(o)),s&&(r.maxWidth=et(s))}this._lastBoundingBoxSize=i,Kr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Kr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Kr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Kr(i,this._getExactOverlayY(t,n,d)),Kr(i,this._getExactOverlayX(t,n,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=et(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=et(s.maxWidth):o&&(i.maxWidth="")),Kr(this._pane.style,i)}_getExactOverlayY(n,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=et(o.y),r}_getExactOverlayX(n,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=et(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:W0(n,i),isOriginOutsideView:Oy(n,i),isOverlayClipped:W0(t,i),isOverlayOutsideView:Oy(t,i)}}_subtractOverflows(n,...t){return t.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Ru(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof U)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+t,height:i,width:t}}}function Kr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function J0(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(M6);return t&&"px"!==t?null:parseFloat(n)}return e||null}function eT(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 tT="cdk-global-overlay-wrapper";class T6{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(tT),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||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),n.position=this._cssPosition,n.marginLeft=l?"0":f,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,t.justifyContent=m,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(tT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let F6=(()=>{class e{_viewportRuler=g(My);_document=g(be);_platform=g(Un);_overlayContainer=g(Z0);constructor(){}global(){return new T6}flexibleConnectedTo(t){return new I6(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ts=(()=>{class e{scrollStrategies=g(x6);_overlayContainer=g(Z0);_positionBuilder=g(F6);_keyboardDispatcher=g(C6);_injector=g(ke);_ngZone=g(B);_document=g(be);_directionality=g(bs);_location=g(WS);_outsideClickDispatcher=g(D6);_animationsModuleType=g(Cr,{optional:!0});_idGenerator=g(Is);_renderer=g(oi).createRenderer(null,null);_appRef;_styleLoader=g(xl);constructor(){}create(t){this._styleLoader.load(Q0);const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new q0(t);return s.direction=s.direction||this._directionality.value,new S6(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(Mt),this._renderer)}position(){return this._positionBuilder}_createPaneElement(t){const i=this._document.createElement("div");return i.id=this._idGenerator.getId("cdk-overlay-"),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Rt)),new l6(t,null,this._appRef,this._injector,this._document)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const k6=[{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"}],nT=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(Ts);return()=>e.scrollStrategies.reposition()}});let Uu=(()=>{class e{elementRef=g(U);constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),iT=(()=>{class e{_overlay=g(Ts);_dir=g(bs,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=Ae.EMPTY;_attachSubscription=Ae.EMPTY;_detachSubscription=Ae.EMPTY;_positionSubscription=Ae.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=g(nT);_disposeOnNavigation=!1;_ngZone=g(B);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}backdropClick=new _e;positionChange=new _e;attach=new _e;detach=new _e;overlayKeydown=new _e;overlayOutsideClick=new _e;constructor(){const t=g(ri),i=g(Rn);this._templatePortal=new B0(t,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=k6);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!As(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const r=this._getOriginElement(),o=Bu(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new q0({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof Uu?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Uu?this.origin.elementRef.nativeElement:this.origin instanceof U?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function Hq(e,n=!1){return gt((t,i)=>{let r=0;t.subscribe(ct(i,o=>{const s=e(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",lt],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",lt],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",lt],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",lt],push:[2,"cdkConnectedOverlayPush","push",lt],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",lt]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[zt]})}return e})();const O6={provide:nT,deps:[Ts],useFactory:function R6(e){return()=>e.scrollStrategies.reposition()}};let Sl,N6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[Ts,O6],imports:[xs,c6,V0,V0]})}return e})();class oT{_letterKeyStream=new J;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new J;selectedItem=this._selectedItem;constructor(n,t){const i="number"==typeof t?.debounceInterval?t.debounceInterval:200;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(i)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){const t=n.keyCode;n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(ys(t=>this._pressedLetters.push(t)),vy(n),xn(()=>this._pressedLetters.length>0),tt(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let i=1;i<this._items.length+1;i++){const o=this._items[(this._selectedItemIndex+i)%this._items.length];if(!this._skipPredicateFn?.(o)&&0===o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)){this._selectedItem.next(o);break}}this._pressedLetters=[]})}}function dT(e,n,t){const i=uT(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}function uT(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}class U6{_items;_activeItemIndex=-1;_activeItem=Fn(null);_wrap=!1;_typeaheadSubscription=Ae.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof Mc?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):So(n)&&(this._effectRef=Gd(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new J;change=new J;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();const t=this._getItemsArray();return this._typeahead=new oT(t,{debounceInterval:"number"==typeof n?n:void 0,skipPredicate:i=>this._skipPredicateFn(i)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(i=>{this.setActiveItem(i)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){const t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex)}onKeydown(n){const t=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||As(n,"shiftKey"))&&this._typeahead?.handleKey(n))}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const t=this._getItemsArray(),i="number"==typeof n?n:t.indexOf(n);this._activeItem.set(t[i]??null),this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+n*i+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,t){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=t])return;this.setActiveItem(n)}}_getItemsArray(){return So(this._items)?this._items():this._items instanceof Mc?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);const t=this._activeItem();if(t){const i=n.indexOf(t);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,this._typeahead?.setCurrentSelectedItemIndex(i))}}}class G6 extends U6{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class $6{_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 J;constructor(n=!1,t,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,t&&t.length&&(n?t.forEach(o=>this._markSelected(o)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...n){this._verifyValueAssignment(n);const t=this.selected,i=new Set(n.map(o=>this._getConcreteValue(o)));n.forEach(o=>this._markSelected(o)),t.filter(o=>!i.has(this._getConcreteValue(o,i))).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const t=this._hasQueuedChanges();return n&&this._emitChangeEvent(),t}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(n,t){if(this.compareWith){t=t??this._selection;for(let i of t)if(this.compareWith(n,i))return i;return n}return n}}function fT(e){return function q6(){if(null==Sl&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Sl=!0}))}finally{Sl=Sl||!1}return Sl}()?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 Q6{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Cn.HIDDEN;constructor(n,t,i,r=!1){this._renderer=n,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}}const hT=fT({passive:!0,capture:!0});class Z6{_events=new Map;addHandler(n,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,hT)})}removeHandler(n,t,i){const r=this._events.get(n);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,hT)))}_delegateEventHandler=n=>{const t=Bu(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}const pT={enterDuration:225,exitDuration:150},mT=fT({passive:!0,capture:!0}),gT=["mousedown","touchstart"],yT=["mouseup","mouseleave","touchend","touchcancel"];let J6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,r){},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 Gu{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Z6;constructor(n,t,i,r,o){this._target=n,this._ngZone=t,this._platform=r,r.isBrowser&&(this._containerElement=Cl(i)),o&&o.get(xl).load(J6)}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...pT,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function e9(e,n,t){const i=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),r=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(i*i+r*r)}(n,t,r),a=n-r.left,l=t-r.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!=i.color&&(d.style.backgroundColor=i.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===r.width&&0===r.height,m=new Q6(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=Cn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>{_&&(_.fallbackTimer=null),clearTimeout(M),this._finishRippleTransition(m)},v=()=>this._destroyRipple(m),M=setTimeout(v,c+100);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",v),_={onTransitionEnd:b,onTransitionCancel:v,fallbackTimer:M}}),this._activeRipples.set(m,_),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===Cn.FADING_OUT||n.state===Cn.HIDDEN)return;const t=n.element,i={...pT,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=Cn.FADING_OUT,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const t=Cl(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,gT.forEach(i=>{Gu._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{yT.forEach(t=>{this._triggerElement.addEventListener(t,this,mT)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Cn.FADING_IN?this._startFadeOutTransition(n):n.state===Cn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Cn.VISIBLE,!i&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Cn.HIDDEN,null!==t&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),null!==t.fallbackTimer&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){const t=function K6(e){return 0===e.buttons||0===e.detail}(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!function Y6(e){const n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=n.changedTouches;if(t)for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(n.state===Cn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Cn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(gT.forEach(t=>Gu._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(yT.forEach(t=>n.removeEventListener(t,this,mT)),this._pointerUpEventsRegistered=!1))}}const t9=new C("mat-ripple-global-options");let n9=(()=>{class e{_elementRef=g(U);_animationMode=g(Cr,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const t=g(B),i=g(Un),r=g(t9,{optional:!0}),o=g(ke);this._globalOptions=r||{},this._rippleRenderer=new Gu(this,t,this._elementRef,i,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,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,r){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...t})}static \u0275fac=function(i){return new(i||e)};static \u0275dir=S({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&ht("mat-ripple-unbounded",r.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})(),i9=(()=>{class e{_animationMode=g(Cr,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,r){2&i&&ht("mat-pseudo-checkbox-indeterminate","indeterminate"===r.state)("mat-pseudo-checkbox-checked","checked"===r.state)("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal","minimal"===r.appearance)("mat-pseudo-checkbox-full","full"===r.appearance)("_mat-animation-noopable","NoopAnimations"===r._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,r){},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-minimal-pseudo-checkbox-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-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-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-full-pseudo-checkbox-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-full-pseudo-checkbox-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-full-pseudo-checkbox-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-full-pseudo-checkbox-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-full-pseudo-checkbox-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})(),r9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(i,r){},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})(),o9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(i,r){},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 s9=["text"],a9=[[["mat-icon"]],"*"],l9=["mat-icon","*"];function c9(e,n){if(1&e&&at(0,"mat-pseudo-checkbox",1),2&e){const t=N();j("disabled",t.disabled)("state",t.selected?"checked":"unchecked")}}function d9(e,n){1&e&&at(0,"mat-pseudo-checkbox",3),2&e&&j("disabled",N().disabled)}function u9(e,n){if(1&e&&(X(0,"span",4),Pn(1),ne()),2&e){const t=N();F(),Nr("(",t.group.label,")")}}const _T=new C("MAT_OPTION_PARENT_COMPONENT"),vT=new C("MatOptgroup");class f9{source;isUserInput;constructor(n,t=!1){this.source=n,this.isUserInput=t}}let bT=(()=>{class e{_element=g(U);_changeDetectorRef=g(Pr);_parent=g(_T,{optional:!0});group=g(vT,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_disabled=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=g(Is).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}onSelectionChange=new _e;_text;_stateChanges=new J;constructor(){const t=g(xl);t.load(r9),t.load(o9),this._signalDisableRipple=!!this._parent&&So(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(13===t.keyCode||32===t.keyCode)&&!As(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new f9(this,t))}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["mat-option"]],viewQuery:function(i,r){if(1&i&&Nt(s9,7),2&i){let o;Le(o=Ve())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){1&i&&Me("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(ja("id",r.id),xt("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),ht("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",lt]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:l9,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(i,r){1&i&&(us(a9),te(0,c9,1,2,"mat-pseudo-checkbox",1),Ct(1),X(2,"span",2,0),Ct(4,1),ne(),te(5,d9,1,1,"mat-pseudo-checkbox",3)(6,u9,2,1,"span",4),at(7,"div",5)),2&i&&(st(r.multiple?0:-1),F(5),st(r.multiple||!r.selected||r.hideSingleSelectionIndicator?-1:5),F(),st(r.group&&r.group._inert?6:-1),F(),j("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[i9,n9],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-minimal-pseudo-checkbox-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{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}\n'],encapsulation:2,changeDetection:0})}return e})(),xT=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Xt,Xt]})}return e})(),m9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Xt]})}return e})(),wT=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[xT,Xt,m9]})}return e})();const g9=["trigger"],y9=["panel"],_9=[[["mat-select-trigger"]],"*"],v9=["mat-select-trigger","*"];function b9(e,n){if(1&e&&(X(0,"span",4),Pn(1),ne()),2&e){const t=N();F(),qa(t.placeholder)}}function x9(e,n){1&e&&Ct(0)}function w9(e,n){if(1&e&&(X(0,"span",11),Pn(1),ne()),2&e){const t=N(2);F(),qa(t.triggerValue)}}function C9(e,n){if(1&e&&(X(0,"span",5),te(1,x9,1,0)(2,w9,2,1,"span",11),ne()),2&e){const t=N();F(),st(t.customTrigger?1:2)}}function D9(e,n){if(1&e){const t=Ei();X(0,"div",12,1),Me("keydown",function(r){return _t(t),vt(N()._handleKeydown(r))}),Ct(2,1),ne()}if(2&e){const t=N();(function DD(e,n,t){Nn(en,li,Jo(x(),e,n,t),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),ht("mat-select-panel-animations-enabled",!t._animationsDisabled),j("ngClass",t.panelClass),xt("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const CT=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(Ts);return()=>e.scrollStrategies.reposition()}}),S9=new C("MAT_SELECT_CONFIG"),M9={provide:CT,deps:[Ts],useFactory:function E9(e){return()=>e.scrollStrategies.reposition()}},I9=new C("MatSelectTrigger");class A9{source;value;constructor(n,t){this.source=n,this.value=t}}let T9=(()=>{class e{_viewportRuler=g(My);_changeDetectorRef=g(Pr);_elementRef=g(U);_dir=g(bs,{optional:!0});_idGenerator=g(Is);_renderer=g(yn);_parentFormField=g(Dy,{optional:!0});ngControl=g(di,{self:!0,optional:!0});_liveAnnouncer=g(k5);_defaultOptions=g(S9,{optional:!0});_animationsDisabled="NoopAnimations"===g(Cr,{optional:!0});_initialized=new J;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(t){const i=this.options.toArray()[t];if(i){const r=this.panel.nativeElement,o=function h9(e,n,t){if(t.length){let i=n.toArray(),r=t.toArray(),o=0;for(let s=0;s<e+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}(t,this.options,this.optionGroups),s=i._getHostElement();r.scrollTop=0===t&&1===o?0:function p9(e,n,t,i){return e<t?e:e+n>t+i?Math.max(0,e-i+n):t}(s.offsetTop,s.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new A9(this,t)}_scrollStrategyFactory=g(CT);_panelOpen=!1;_compareWith=(t,i)=>t===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new J;_errorStateTracker;stateChanges=new J;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;disableRipple=!1;tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(tA.required)??!1}set required(t){this._required=t,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(t){this._multiple=t}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=function W6(e){return new Se(n=>{Zt(e()).subscribe(n)})}(()=>{const t=this.options;return t?t.changes.pipe(ku(t),ou(()=>nr(...t.map(i=>i.onSelectionChange)))):this._initialized.pipe(ou(()=>this.optionSelectionChanges))});openedChange=new _e;_openedStream=this.openedChange.pipe(xn(t=>t),tt(()=>{}));_closedStream=this.openedChange.pipe(xn(t=>!t),tt(()=>{}));selectionChange=new _e;valueChange=new _e;constructor(){const t=g(k0),i=g(Es,{optional:!0}),r=g(Ss,{optional:!0}),o=g(new Zv("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new R0(t,this.ngControl,r,i,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=null==o?0:parseInt(o)||0,this.id=this.id}ngOnInit(){this._selectionModel=new $6(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Dt(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(Dt(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(ku(null),Dt(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?r.setAttribute("aria-labelledby",t):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(yl(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){const t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;const i=`${this.id}-panel`;this._trackedModal&&dT(this._trackedModal,"aria-owns",i),function V6(e,n,t){const i=uT(e,n);t=t.trim(),!i.some(r=>r.trim()===t)&&(i.push(t),e.setAttribute(n,i.join(" ")))}(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){this._trackedModal&&(dT(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=()=>{i(),clearTimeout(r),this._cleanupDetach=void 0};const t=this.panel.nativeElement,i=this._renderer.listen(t,"animationend",o=>{"_mat-select-exit"===o.animationName&&(this._cleanupDetach?.(),this._detachOverlay())}),r=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);t.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const i=t.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!As(t)||(this.multiple||t.altKey)&&r)t.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(t);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(t){const i=this._keyManager,r=t.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&t.altKey)t.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||As(t))if(!s&&this._multiple&&65===r&&t.ctrlKey){t.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(t),this._multiple&&o&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()}_handleOverlayKeydown(t){27===t.keyCode&&!As(t)&&(t.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return(null!=r.value||this.canSelectNullableOptions)&&this._compareWith(r.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return!!(t!==this._value||this._multiple&&Array.isArray(t))&&(this.options&&this._setSelectionByValue(t),this._value=t,!0)}_skipPredicate=t=>!this.panelOpen&&t.disabled;_getOverlayWidth(t){return"auto"===this.panelWidth?(t instanceof Uu?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:null===this.panelWidth?"":this.panelWidth}_syncParentProperties(){if(this.options)for(const t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new G6(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=nr(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Dt(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),nr(...this.options.map(i=>i._stateChanges)).pipe(Dt(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){const r=this._selectionModel.isSelected(t);this.canSelectNullableOptions||null!=t.value||this._multiple?(r!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),r!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,t):t.indexOf(i)-t.indexOf(r)),this.stateChanges.next()}}_propagateChanges(t){let i;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){t=i;break}this._keyManager.setActiveItem(t)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._parentFormField?.getLabelId()||null;return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t||(t=this._valueId),t}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(i){return new(i||e)};static \u0275cmp=cn({type:e,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(1&i&&(Si(o,I9,5),Si(o,bT,5),Si(o,vT,5)),2&i){let s;Le(s=Ve())&&(r.customTrigger=s.first),Le(s=Ve())&&(r.options=s),Le(s=Ve())&&(r.optionGroups=s)}},viewQuery:function(i,r){if(1&i&&(Nt(g9,5),Nt(y9,5),Nt(iT,5)),2&i){let o;Le(o=Ve())&&(r.trigger=o.first),Le(o=Ve())&&(r.panel=o.first),Le(o=Ve())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){1&i&&Me("keydown",function(s){return r._handleKeydown(s)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),2&i&&(xt("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),ht("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",lt],disableRipple:[2,"disableRipple","disableRipple",lt],tabIndex:[2,"tabIndex","tabIndex",t=>null==t?0:RS(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",lt],placeholder:"placeholder",required:[2,"required","required",lt],multiple:[2,"multiple","multiple",lt],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",lt],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",RS],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",lt]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[he([{provide:Cy,useExisting:e},{provide:_T,useExisting:e}]),zt],ngContentSelectors:v9,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(i,r){if(1&i){const o=Ei();us(_9),X(0,"div",2,0),Me("click",function(){return _t(o),vt(r.open())}),X(3,"div",3),te(4,b9,2,1,"span",4)(5,C9,3,1,"span",5),ne(),X(6,"div",6)(7,"div",7),function Mv(){q.lFrame.currentNamespace="svg"}(),X(8,"svg",8),at(9,"path",9),ne()()()(),te(10,D9,3,10,"ng-template",10),Me("detach",function(){return _t(o),vt(r.close())})("backdropClick",function(){return _t(o),vt(r.close())})("overlayKeydown",function(a){return _t(o),vt(r._handleOverlayKeydown(a))})}if(2&i){const o=Wa(1);F(3),xt("id",r._valueId),F(),st(r.empty?4:5),F(6),j("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Uu,iT,nu],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-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})(),DT=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[M9],imports:[N6,wT,Xt,Iy,vl,wT,Xt]})}return e})(),k9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Xt,xT,Xt]})}return e})();const R9={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)}};let Ny;function j9(e,n,t){let i=t;return function N9(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((r,o)=>!("*"===r||!function P9(e,n){if(!Ny){const t=Element.prototype;Ny=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Ny.call(e,n)}(e,r)||(i=o,0))),i}class z9{componentFactory;inputMap=new Map;constructor(n,t){this.componentFactory=t.get(Wo).resolveComponentFactory(n);for(const i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new U9(this.componentFactory,n,this.inputMap)}}class U9{componentFactory;injector;inputMap;eventEmitters=new b0(1);events=this.eventEmitters.pipe(ou(n=>nr(...n)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(n,t,i){this.componentFactory=n,this.injector=t,this.inputMap=i,this.ngZone=this.injector.get(B),this.appRef=this.injector.get(Rt),this.cdScheduler=t.get(Xn),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(n){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(n)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=R9.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(n){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(n):this.componentRef.instance[n])}setInputValue(n,t){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(n)??n,t),function M1(e){return Ws(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function I1(e){Kf(e._cdRefInjectingView||e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(n,t)}initializeComponent(n){const t=ke.create({providers:[],parent:this.injector}),i=function B9(e,n){const t=e.childNodes,i=n.map(()=>[]);let r=-1;n.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=t.length;o<s;++o){const a=t[o],l=j9(a,n,r);-1!==l&&i[l].push(a)}return i}(n,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,i,n),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(const[n,t]of this.initialInputValues)this.setInputValue(n,t);this.initialInputValues.clear()}initializeOutputs(n){const t=this.componentFactory.outputs.map(({propName:i,templateName:r})=>{const o=n.instance[i];return new Se(s=>{const a=o.subscribe(l=>s.next({name:r,value:l}));return()=>a.unsubscribe()})});this.eventEmitters.next(t)}runInZone(n){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(n):n()}}class G9 extends HTMLElement{ngElementEventsSubscription=null}const q9=new C("Search_Service_Token"),Q9=[];let eK=(()=>{class e{adapt(t){const i=t.recentSearchApiRequestWithPromise;return{searchApiRequest:(r,o)=>Ti(t.searchApiRequestWithPromise(r,o)),...i&&{recentSearchApiRequest:()=>Ti(i())}}}static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const tK=["searchInput"],$u=e=>({$implicit:e});function nK(e,n){if(1&e){const t=Ei();X(0,"mat-icon",14),Me("click",function(){return _t(t),vt(N(3).resetInput())}),ne()}2&e&&j("className",N(3).config.crossIconClass)}function iK(e,n){if(1&e&&(X(0,"mat-option",15),Pn(1),ne()),2&e){const t=n.$implicit;j("value",t.name),F(),Nr(" ",t.displayName," ")}}function rK(e,n){if(1&e){const t=Ei();X(0,"div",5)(1,"mat-form-field",6)(2,"input",7,0),Me("focus",function(){return _t(t),vt(N(2).showSuggestions())})("blur",function(){return _t(t),vt(N(2).hideSuggestions())}),Vm("ngModelChange",function(r){_t(t);const o=N(2);return function AE(e,n){const t=cb(e);return t&&e.set(n),t}(o.searchBoxInput,r)||(o.searchBoxInput=r),vt(r)}),Me("keyup",function(r){return _t(t),vt(N(2).hitSearchApi(r))})("ngModelChange",function(){_t(t);const r=N(2);return vt(r.onChange(r.searchBoxInput))}),ne(),at(4,"mat-icon",8),te(5,nK,1,1,"mat-icon",9),ne(),X(6,"mat-form-field",10),at(7,"mat-icon",11),X(8,"mat-select",12),Me("selectionChange",function(r){return _t(t),vt(N(2).setCategory(r.value))}),te(9,iK,2,2,"mat-option",13),ne()()()}if(2&e){const t=Wa(3),i=N(2);F(2),j("placeholder",i.config.placeholderFunction?i.config.placeholderFunction(t.value,i.category):i.config.placeholder||"Search"),Lm("ngModel",i.searchBoxInput),j("disabled",i.disabled),F(2),j("className",i.config.searchIconClass),F(),j("ngIf",i.searchBoxInput),F(2),j("className",i.config.dropDownButtonIconClass),F(),j("value",i.category),F(),j("ngForOf",i.config.models)}}function oK(e,n){if(1&e&&(Kt(0),te(1,rK,10,8,"div",4),Yt()),2&e){const t=N();F(),j("ngIf",t.config)}}function sK(e,n){1&e&&(Kt(0),Pn(1," searching... "),Yt())}function aK(e,n){if(1&e&&(Kt(0),Pn(1),Yt()),2&e){const t=N(4);F(),Nr(" ",t.config.noResultMessage," ")}}function lK(e,n){if(1&e&&(X(0,"span",18),te(1,sK,2,0,"ng-container",1)(2,aK,2,1,"ng-container",1),ne()),2&e){const t=N(3);F(),j("ngIf",t.searching),F(),j("ngIf",!t.searching)}}function cK(e,n){if(1&e&&at(0,"img",24),2&e){const t=N().$implicit;j("src",t.model.imageUrl,Jc)("alt",t.model.displayName)}}function dK(e,n){1&e&&cs(0)}function uK(e,n){if(1&e&&(Kt(0),te(1,dK,1,0,"ng-container",27),Yt()),2&e){const t=N().$implicit,i=N(5);F(),j("ngTemplateOutlet",i.subtitleTemplate)("ngTemplateOutletContext",Ka(2,$u,t))}}function fK(e,n){if(1&e&&at(0,"p",28),2&e){const t=N().$implicit,i=N(5);j("innerHTML",i.boldString(t[i.config.displayPropertyName],i.searchBoxInput),hp)}}function hK(e,n){1&e&&cs(0)}function pK(e,n){if(1&e&&(Kt(0),te(1,hK,1,0,"ng-container",27),Yt()),2&e){const t=N().$implicit,i=N(5);F(),j("ngTemplateOutlet",i.titleTemplate)("ngTemplateOutletContext",Ka(2,$u,t))}}function mK(e,n){if(1&e){const t=Ei();X(0,"li",25),Me("mousedown",function(r){const o=_t(t).$implicit;return vt(N(5).populateValue(o,r))}),te(1,uK,2,4,"ng-container",1)(2,fK,1,1,"p",26)(3,pK,2,4,"ng-container",1),ne()}if(2&e){const t=N(5);F(),j("ngIf",t.subtitleTemplate),F(),j("ngIf",!t.titleTemplate),F(),j("ngIf",t.titleTemplate)}}function gK(e,n){if(1&e&&(X(0,"div",20)(1,"h3",21),te(2,cK,1,2,"img",22),Pn(3),ne(),X(4,"ul"),te(5,mK,4,3,"li",23),ne()()),2&e){const t=n.$implicit;F(2),j("ngIf",t.model.imageUrl),F(),Pm(" ",t.model.displayName," (",t.items.length,") "),F(2),j("ngForOf",t.items)}}function yK(e,n){if(1&e&&(Kt(0),te(1,gK,6,4,"div",19),Yt()),2&e){const t=N(3);F(),j("ngForOf",t.getModelsWithSuggestions())}}function _K(e,n){if(1&e&&at(0,"img",32),2&e){const t=N().$implicit;j("src",N(4).fetchModelImageUrlFromSuggestion(t),Jc)}}function vK(e,n){1&e&&cs(0)}function bK(e,n){if(1&e&&(Kt(0),te(1,vK,1,0,"ng-container",27),Yt()),2&e){const t=N().$implicit,i=N(4);F(),j("ngTemplateOutlet",i.subtitleTemplate)("ngTemplateOutletContext",Ka(2,$u,t))}}function xK(e,n){if(1&e&&at(0,"p",28),2&e){const t=N().$implicit,i=N(4);j("innerHTML",i.boldString(t[i.config.displayPropertyName],i.searchBoxInput),hp)}}function wK(e,n){1&e&&cs(0)}function CK(e,n){if(1&e&&(Kt(0),te(1,wK,1,0,"ng-container",27),Yt()),2&e){const t=N().$implicit,i=N(4);F(),j("ngTemplateOutlet",i.titleTemplate)("ngTemplateOutletContext",Ka(2,$u,t))}}function DK(e,n){if(1&e){const t=Ei();X(0,"li",30),Me("mousedown",function(r){const o=_t(t).$implicit;return vt(N(4).populateValue(o,r))}),te(1,_K,1,1,"img",31)(2,bK,2,4,"ng-container",1)(3,xK,1,1,"p",26)(4,CK,2,4,"ng-container",1),ne()}if(2&e){const t=n.$implicit,i=N(4);F(),j("ngIf",!i.titleTemplate&&i.fetchModelImageUrlFromSuggestion(t)),F(),j("ngIf",i.subtitleTemplate),F(),j("ngIf",!i.titleTemplate),F(),j("ngIf",i.titleTemplate)}}function EK(e,n){if(1&e&&(Kt(0),X(1,"div",20)(2,"ul"),te(3,DK,5,4,"li",29),ne()(),Yt()),2&e){const t=N(3);F(3),j("ngForOf",t.suggestions)}}function SK(e,n){if(1&e&&(Kt(0),te(1,lK,3,2,"span",17)(2,yK,2,1,"ng-container",1)(3,EK,4,1,"ng-container",1),Yt()),2&e){const t=N(2);F(),j("ngIf",0===t.suggestions.length),F(),j("ngIf",t.config.categorizeResults&&t.suggestions.length),F(),j("ngIf",!t.config.categorizeResults)}}function MK(e,n){if(1&e){const t=Ei();X(0,"li",25),Me("mousedown",function(r){const o=_t(t).$implicit;return vt(N(3).populateValueRecentSearch(o,r))}),at(1,"mat-icon",8),X(2,"span"),Pn(3),ne()()}if(2&e){const t=n.$implicit,i=N(3);F(),j("className",i.config.recentSearchIconClass),F(2),Nr("\xa0",t.match,"")}}function IK(e,n){if(1&e&&(Kt(0),X(1,"div",33)(2,"h3",21),Pn(3,"Recent Searches"),ne(),X(4,"ul"),te(5,MK,4,2,"li",23),ne()(),Yt()),2&e){const t=N(2);F(5),j("ngForOf",t.recentSearches)}}function AK(e,n){if(1&e&&(X(0,"div",16),te(1,SK,4,3,"ng-container",1)(2,IK,6,1,"ng-container",1),ne()),2&e){const t=N();F(),j("ngIf",t.searchBoxInput),F(),j("ngIf",!t.config.hideRecentSearch&&t.recentSearches.length>0)}}const Yr="All";let ET=(()=>{class e{get config(){return this._config}set config(t){this._config=t,t&&t.models?t.models.unshift({name:Yr,displayName:this.customAllLabel??Yr}):t&&!t.models&&(t.models=[{name:Yr,displayName:this.customAllLabel??Yr}])}set searchProvider(t){(function W9(e){return!!e.searchApiRequestWithPromise})(t)&&(t=this.promiseAdapter.adapt(t)),this.searchService=t}get searchProvider(){return this.searchService}constructor(t,i,r,o){this.searchService=t,this.platformId=i,this.cdr=r,this.promiseAdapter=o,this.searchBoxInput="",this.suggestionsDisplay=!1,this.categoryDisplay=!1,this.searching=!1,this.suggestions=[],this.recentSearches=[],this.category=Yr,this.searchRequest$=new J,this.customAllLabel=Yr,this.showOnlySearchResultOverlay=!1,this.customSearchEvent={searchValue:"",modelName:this.customAllLabel},this.clicked=new _e,this.searched=new _e,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1}ngOnInit(){this.searchRequest$.pipe(ys(t=>this.suggestions=[]),vy(1e3)).subscribe(t=>{this.searched.emit({event:t.event,keyword:t.input,category:this.category}),this.getSuggestions(t),this.cdr.markForCheck()})}writeValue(t){this.searchBoxInput=t}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}getSuggestions(t){if(t.input=t.input.trim(),!t.input.length)return;let r="";(this.config.order??Q9).forEach(a=>r=`${r}${a} `);let o=this.config.saveInRecents??!0;this.config.saveInRecents&&this.config.saveInRecentsOnlyOnEnter&&(o=!t.event||t.event instanceof KeyboardEvent&&"Enter"===t.event.key);const s={match:t.input,sources:this._categoryToSourceName(this.category),limit:this.config.limit??20,limitByType:this.config.limitByType??!1,order:r,offset:this.config.offset??0};this.searching=!0,this.cdr.markForCheck(),this.searchService.searchApiRequest(s,o).subscribe(a=>{this.suggestions=a,this.searching=!1,this.cdr.markForCheck()},a=>{this.suggestions=[],this.searching=!1,this.cdr.markForCheck()})}getRecentSearches(){!this.config.hideRecentSearch&&this.searchService.recentSearchApiRequest&&this.searchService.recentSearchApiRequest().subscribe(t=>{this.recentSearches=t,this.cdr.markForCheck()},t=>{this.recentSearches=[],this.cdr.markForCheck()})}hitSearchApi(t){if(!this.searchBoxInput)return this.suggestions=[],void this.getRecentSearches();this.config.searchOnlyOnEnter?(!t||t instanceof KeyboardEvent&&"Enter"===t.key)&&this.getSuggestions({input:this.searchBoxInput,event:t}):t?this.searchRequest$.next({input:this.searchBoxInput,event:t}):this.getSuggestions({input:this.searchBoxInput,event:t})}populateValue(t,i){this.searchBoxInput=t[this.config.displayPropertyName],this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.clicked.emit({item:t,event:i})}populateValueRecentSearch(t,i){i.stopPropagation(),i.preventDefault(),this.searchBoxInput=t.match,this.suggestionsDisplay=!1,this.onChange(this.searchBoxInput),this.getSuggestions({input:this.searchBoxInput,event:i}),this.focusInput(),this.showSuggestions()}fetchModelImageUrlFromSuggestion(t){const i=t.source;let r;return this.config.models.forEach(o=>{o.name===i&&o.imageUrl&&(r=o.imageUrl)}),r}boldString(t,i){const r=new RegExp(`(${i})`,"gi");return t.replace(r,"<b>$1</b>")}hideSuggestions(){this.suggestionsDisplay=!1,this.onTouched()}showSuggestions(){this.suggestionsDisplay=!0,this.getRecentSearches()}focusInput(){Zi(this.platformId)&&!this.showOnlySearchResultOverlay&&this.searchInputElement.nativeElement.focus()}setCategory(t){this.category=t,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(t){return[Yr,this.customAllLabel].includes(t)?[]:[t]}getModelFromModelName(t){return this.config.models.find(i=>i.name===t)}getModelsWithSuggestions(){const t=[],i=[];return this.suggestions.forEach(r=>{if(i.indexOf(r.source)>=0)t.every(o=>o.model.name!==r.source||(o.items.push(r),!1));else{const o=this.getModelFromModelName(r.source);t.push({model:o,items:[r]}),i.push(r.source)}}),t}ngOnChanges(t){t.customSearchEvent&&(this._isCustomSearchEventChange(t,"searchValue")&&(this.searchBoxInput=this.customSearchEvent?.searchValue??"",this.searchOnCustomEventValueChange(this.searchBoxInput)),this._isCustomSearchEventChange(t,"modelName")&&this.customSearchEvent?.modelName&&this.setCategory(this.customSearchEvent?.modelName))}searchOnCustomEventValueChange(t){t?.length?(this.showSuggestions(),this.hitSearchApi()):this.hideSuggestions()}_isCustomSearchEventChange(t,i){return!t.customSearchEvent?.previousValue||t.customSearchEvent?.previousValue[i]!==t.customSearchEvent?.currentValue[i]}static{this.\u0275fac=function(i){return new(i||e)(y(q9,8),y(sn),y(Pr),y(eK))}}static{this.\u0275cmp=cn({type:e,selectors:[["sourceloop-search"]],viewQuery:function(i,r){if(1&i&&Nt(tK,5),2&i){let o;Le(o=Ve())&&(r.searchInputElement=o.first)}},inputs:{config:"config",searchProvider:"searchProvider",titleTemplate:"titleTemplate",subtitleTemplate:"subtitleTemplate",customAllLabel:"customAllLabel",showOnlySearchResultOverlay:"showOnlySearchResultOverlay",customSearchEvent:"customSearchEvent"},outputs:{clicked:"clicked",searched:"searched"},features:[he([{provide:zn,useExisting:e,multi:!0}]),zt],decls:3,vars:2,consts:[["searchInput",""],[4,"ngIf"],[1,"search-container"],["class","search-popup",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center","class","toolbar-search",4,"ngIf"],["fxLayout","","fxLayoutAlign","start center",1,"toolbar-search"],["appearance","outline",1,"toolbar-search-input"],["matInput","","autocomplete","off","type","text","name","searchInput","placeholder","Search",3,"focus","blur","ngModelChange","keyup","placeholder","ngModel","disabled"],["matPrefix","",3,"className"],["matSuffix","",3,"className","click",4,"ngIf"],["appearance","outline",1,"toolbar-search-select"],["matSuffix","",3,"className"],["panelClass","search-select",3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"click","className"],[3,"value"],[1,"search-popup"],["class","search-message",4,"ngIf"],[1,"search-message"],["class","search-result",4,"ngFor","ngForOf"],[1,"search-result"],[1,"suggestions-heading"],[3,"src","alt",4,"ngIf"],["class","suggestions",3,"mousedown",4,"ngFor","ngForOf"],[3,"src","alt"],[1,"suggestions",3,"mousedown"],["style","display: inline",3,"innerHTML",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[2,"display","inline",3,"innerHTML"],[3,"mousedown",4,"ngFor","ngForOf"],[3,"mousedown"],["class","suggestions-categorize-false","style","margin-right: 5px","alt","Img",3,"src",4,"ngIf"],["alt","Img",1,"suggestions-categorize-false",2,"margin-right","5px",3,"src"],[1,"recent-searches"]],template:function(i,r){1&i&&(te(0,oK,2,1,"ng-container",1),X(1,"div",2),te(2,AK,3,2,"div",3),ne()),2&i&&(j("ngIf",!r.showOnlySearchResultOverlay),F(2),j("ngIf",r.suggestionsDisplay&&(r.recentSearches.length||r.suggestions.length)))},dependencies:[bg,aM,cM,yg,n0,gu,DA,cy,y0,$5,DT,Pq,Tq,Fq,T9,bT,vl,O0,Bq],styles:["[_nghost-%COMP%] .mat-form-field-wrapper{padding:0}[_nghost-%COMP%] .mat-form-field-wrapper .mat-form-field-prefix{margin-right:12px}.toolbar-search-input[_ngcontent-%COMP%]{width:86%}.toolbar-search-input[_ngcontent-%COMP%] input{margin:0}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent}.toolbar-search-input[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none;border-radius:0}.icomoon.Search[_ngcontent-%COMP%], .icomoon.close[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;color:#33333380;padding-bottom:4px}.icomoon.close[_ngcontent-%COMP%]{cursor:pointer}.toolbar-search-select[_ngcontent-%COMP%]{width:14%}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow{opacity:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-arrow-wrapper{display:inline-block;width:1px}.toolbar-search-select[_ngcontent-%COMP%] .mat-select-value-text{font-size:9px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-suffix .mat-icon{width:12px;font-size:14px}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-start{border-color:transparent;border-radius:0}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-outline:first-child .mat-form-field-outline-end{border:none}.toolbar-search-select[_ngcontent-%COMP%] .mat-form-field-flex .mat-form-field-infix{-webkit-padding-before:.7em}.toolbar-search[_ngcontent-%COMP%]{width:515px;background-color:#f7f7f7;border-radius:0 0 4px 4px}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-flex{height:39px;align-items:center}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0}.toolbar-search[_ngcontent-%COMP%] .mat-form-field-infix{height:auto}.search-container[_ngcontent-%COMP%]{position:relative;width:515px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%]{padding:0 15px 15px;margin:0;max-height:80vh;overflow-x:hidden;overflow-y:auto;position:absolute;top:100%;left:0;right:0;z-index:9999;background-color:#fff;box-shadow:0 5px 4px #0003;border-radius:0 0 4px 4px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border:0;border-top:1px solid #ebebeb;margin:0;position:sticky;top:0;padding:0 0 15px;z-index:1}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-message[_ngcontent-%COMP%]{display:inline-block;width:100%;text-align:center;font-size:16px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-item-info[_ngcontent-%COMP%]{color:#91263b;text-align:center;font-size:12px;margin-bottom:15px;padding-top:12px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;margin:0}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;font-size:1rem;font-weight:400;line-height:1.5;color:#333}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 44px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-right:5px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions-categorize-false[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;padding:0;margin:0 0 10px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:15px;line-height:36px;padding:0 15px 0 31px;display:flex;align-items:center;cursor:pointer}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#fee8e8}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .search-result.no-categorize-result[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{color:#9c9c9c;font-size:14px;font-weight:400;margin:0 0 10px 17px;display:flex;align-items:center;position:relative}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%]{position:absolute;right:20px;color:#d1d1d1;font-size:12px;cursor:pointer;text-decoration:none}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] .show-more[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{text-decoration:underline}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:18px;margin-right:9px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%]{padding:10px 0 0;margin:0 -15px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:inline-block;width:100%}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:100%;overflow:hidden;text-overflow:ellipsis}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions[_ngcontent-%COMP%]{display:flex}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] .suggestions-heading[_ngcontent-%COMP%]{margin-left:30px}.search-container[_ngcontent-%COMP%] .search-popup[_ngcontent-%COMP%] .recent-searches[_ngcontent-%COMP%] li.suggestions[_ngcontent-%COMP%]{padding-left:31px} .search-select.mat-select-panel{margin-top:30px;margin-left:10px} .search-select .mat-option-text{display:contents} .toolbar-search .mat-form-field-infix{font-size:14px} .toolbar-search input{line-height:14px} .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-start, .toolbar-search .mat-form-field-outline:first-child .mat-form-field-outline-end{background-color:#f1f3f4} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:1px;border-color:#a53159} .toolbar-search:hover .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:1px solid #a53159;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:1px;border-color:#a53159;background-color:#a53159} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:hover .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-width:2px;border-color:#90003b} .toolbar-search:focus-within .toolbar-search-input.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border:2px solid #90003b;border-left-style:none;border-right-style:none;border-top-right-radius:0;border-bottom-right-radius:0} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-start{border-radius:0;border-color:transparent;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-form-field-outline .mat-form-field-outline-end{border-width:2px;border-color:#90003b;background-color:#90003b} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .mat-select{color:#fff} .toolbar-search:focus-within .toolbar-search-select.mat-form-field:not(.mat-form-field-disabled) .icomoon.arrow_down{color:#fff} .toolbar-search .mat-select-arrow{opacity:0}"]})}}return e})();var $=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}($||{});const Ri="*";function ST(e){return{type:$.Style,styles:e,offset:null}}class Ml{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(n=0,t=0){this.totalTime=n+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class MT{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(n){this.players=n;let t=0,i=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const t=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const t="start"==n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}function IT(e){return new w(3e3,!1)}function or(e){switch(e.length){case 0:return new Ml;case 1:return e[0];default:return new MT(e)}}function AT(e,n,t=new Map,i=new Map){const r=[],o=[];let s=-1,a=null;if(n.forEach(l=>{const c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((h,f)=>{let p=f,m=h;if("offset"!==f)switch(p=e.normalizePropertyName(p,r),m){case"!":m=t.get(f);break;case Ri:m=i.get(f);break;default:m=e.normalizeStyleValue(f,p,m,r)}u.set(p,m)}),d||o.push(u),a=u,s=c}),r.length)throw function ZK(){return new w(3502,!1)}();return o}function Ly(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&Vy(t,"start",e)));break;case"done":e.onDone(()=>i(t&&Vy(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&Vy(t,"destroy",e)))}}function Vy(e,n,t){const o=By(e.element,e.triggerName,e.fromState,e.toState,n||e.phaseName,t.totalTime??e.totalTime,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function By(e,n,t,i,r="",o=0,s){return{element:e,triggerName:n,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function un(e,n,t){let i=e.get(n);return i||e.set(n,i=t),i}function TT(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const cY=typeof document>"u"?null:document.documentElement;function jy(e){const n=e.parentNode||e.host||null;return n===cY?null:n}let Qr=null,FT=!1;function kT(e,n){for(;n;){if(n===e)return!0;n=jy(n)}return!1}function RT(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}const NT="ng-enter",Hy="ng-leave",Wu="ng-trigger",qu=".ng-trigger",PT="ng-animating",zy=".ng-animating";function Oi(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:Uy(parseFloat(n[1]),n[2])}function Uy(e,n){return"s"===n?1e3*e:e}function Ku(e,n,t){return e.hasOwnProperty("duration")?e:function mY(e,n,t){let r,o=0,s="";if("string"==typeof e){const a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(IT()),{duration:0,delay:0,easing:""};r=Uy(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=Uy(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=e;if(!t){let a=!1,l=n.length;r<0&&(n.push(function FK(){return new w(3100,!1)}()),a=!0),o<0&&(n.push(function kK(){return new w(3101,!1)}()),a=!0),a&&n.splice(l,0,IT())}return{duration:r,delay:o,easing:s}}(e,n,t)}function ui(e,n,t){n.forEach((i,r)=>{const o=$y(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Zr(e,n){n.forEach((t,i)=>{const r=$y(i);e.style[r]=""})}function Il(e){return Array.isArray(e)?1==e.length?e[0]:function TK(e,n=null){return{type:$.Sequence,steps:e,options:n}}(e):e}const Gy=new RegExp("{{\\s*(.+?)\\s*}}","g");function LT(e){let n=[];if("string"==typeof e){let t;for(;t=Gy.exec(e);)n.push(t[1]);Gy.lastIndex=0}return n}function Al(e,n,t){const i=`${e}`,r=i.replace(Gy,(o,s)=>{let a=n[s];return null==a&&(t.push(function OK(){return new w(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const _Y=/-+([a-z0-9])/g;function $y(e){return e.replace(_Y,(...n)=>n[1].toUpperCase())}function fn(e,n,t){switch(n.type){case $.Trigger:return e.visitTrigger(n,t);case $.State:return e.visitState(n,t);case $.Transition:return e.visitTransition(n,t);case $.Sequence:return e.visitSequence(n,t);case $.Group:return e.visitGroup(n,t);case $.Animate:return e.visitAnimate(n,t);case $.Keyframes:return e.visitKeyframes(n,t);case $.Style:return e.visitStyle(n,t);case $.Reference:return e.visitReference(n,t);case $.AnimateChild:return e.visitAnimateChild(n,t);case $.AnimateRef:return e.visitAnimateRef(n,t);case $.Query:return e.visitQuery(n,t);case $.Stagger:return e.visitStagger(n,t);default:throw function NK(){return new w(3004,!1)}()}}function Wy(e,n){return window.getComputedStyle(e)[n]}let qy=(()=>{class e{validateStyleProperty(t){return function uY(e){Qr||(Qr=function fY(){return typeof document<"u"?document.body:null}()||{},FT=!!Qr.style&&"WebkitAppearance"in Qr.style);let n=!0;return Qr.style&&!function dY(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Qr.style,!n&&FT&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Qr.style)),n}(t)}containsElement(t,i){return kT(t,i)}getParentElement(t){return jy(t)}query(t,i,r){return RT(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new Ml(r,o)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();class Ky{static NOOP=new qy}class Yy{}const wY=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 VT extends Yy{normalizePropertyName(n,t){return $y(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(wY.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function PK(){return new w(3005,!1)}())}return s+o}}const Qu=new Set(["true","1"]),Zu=new Set(["false","0"]);function BT(e,n){const t=Qu.has(e)||Zu.has(e),i=Qu.has(n)||Zu.has(n);return(r,o)=>{let s="*"==e||e==r,a="*"==n||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?Qu.has(e):Zu.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Qu.has(n):Zu.has(n)),s&&a}}const SY=new RegExp("s*:selfs*,?","g");function Zy(e,n,t,i){return new MY(e).build(n,t,i)}class MY{_driver;constructor(n){this._driver=n}build(n,t,i){const r=new TY(t);return this._resetContextStyleTimingState(r),fn(this,Il(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&t.errors.push(function LK(){return new w(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==$.State){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(a.type==$.Transition){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function VK(){return new w(3007,!1)}())}),{type:$.Trigger,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,t){const i=this.visitStyle(n.styles,t),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{LT(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function BK(){return new w(3008,!1)}(0,o.values()))}return{type:$.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,t){t.queryCount=0,t.depCount=0;const i=fn(this,Il(n.animation),t),r=function CY(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function DY(e,n,t){if(":"==e[0]){const l=function EY(e,n){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return n.push(function YK(){return new w(3016,!1)}()),"* => *"}}(e,t);if("function"==typeof l)return void n.push(l);e=l}const i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function KK(){return new w(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(BT(r,s)),"<"==o[0]&&("*"!=r||"*"!=s)&&n.push(BT(s,r))}(i,t,n)):t.push(e),t}(n.expr,t.errors);return{type:$.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Xr(n.options)}}visitSequence(n,t){return{type:$.Sequence,steps:n.steps.map(i=>fn(this,i,t)),options:Xr(n.options)}}visitGroup(n,t){const i=t.currentTime;let r=0;const o=n.steps.map(s=>{t.currentTime=i;const a=fn(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:$.Group,steps:o,options:Xr(n.options)}}visitAnimate(n,t){const i=function kY(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return Xy(Ku(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=Xy(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Ku(t,n);return Xy(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:ST({});if(o.type==$.Keyframes)r=this.visitKeyframes(o,t);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=ST(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:$.Animate,timings:i,style:r,options:null}}visitStyle(n,t){const i=this._makeStyleAst(n,t);return this._validateStyleAst(i,t),i}_makeStyleAst(n,t){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Ri?i.push(a):t.errors.push(new w(3002,!1)):i.push(new Map(Object.entries(a)));let o=!1,s=null;return i.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:$.Style,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function HK(){return new w(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function yY(e,n,t){const i=n.params||{},r=LT(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function RK(){return new w(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(n,t){const i={type:$.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function zK(){return new w(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=n.steps.map(b=>{const v=this._makeStyleAst(b,t);let M=null!=v.offset?v.offset:function FY(e){if("string"==typeof e)return null;let n=null;if(Array.isArray(e))e.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){const t=e;n=parseFloat(t.get("offset")),t.delete("offset")}return n}(v.styles),R=0;return null!=M&&(o++,R=v.offset=M),l=l||R<0||R>1,a=a||R<c,c=R,s.push(R),v});l&&t.errors.push(function UK(){return new w(3012,!1)}()),a&&t.errors.push(function GK(){return new w(3200,!1)}());const u=n.steps.length;let h=0;o>0&&o<u?t.errors.push(function $K(){return new w(3202,!1)}()):0==o&&(h=1/(u-1));const f=u-1,p=t.currentTime,m=t.currentAnimateTimings,_=m.duration;return d.forEach((b,v)=>{const M=h>0?v==f?1:h*v:s[v],R=M*_;t.currentTime=p+m.delay+R,m.duration=R,this._validateStyleAst(b,t),b.offset=M,i.styles.push(b)}),i}visitReference(n,t){return{type:$.Reference,animation:fn(this,Il(n.animation),t),options:Xr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:$.AnimateChild,options:Xr(n.options)}}visitAnimateRef(n,t){return{type:$.AnimateRef,animation:this.visitReference(n.animation,t),options:Xr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function IY(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(SY,"")),e=e.replace(/@\*/g,qu).replace(/@\w+/g,t=>qu+"-"+t.slice(1)).replace(/:animating/g,zy),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,un(t.collectedStyles,t.currentQuerySelector,new Map);const a=fn(this,Il(n.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:$.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Xr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function WK(){return new w(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Ku(n.timings,t.errors,!0);return{type:$.Stagger,animation:fn(this,Il(n.animation),t),timings:i,options:null}}}class TY{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(n){this.errors=n}}function Xr(e){return e?(e={...e}).params&&(e.params=function AY(e){return e?{...e}:null}(e.params)):e={},e}function Xy(e,n,t){return{duration:e,delay:n,easing:t}}function Jy(e,n,t,i,r,o,s=null,a=!1){return{type:1,element:e,keyframes:n,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Xu{_map=new Map;get(n){return this._map.get(n)||[]}append(n,t){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...t)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const NY=new RegExp(":enter","g"),LY=new RegExp(":leave","g");function e_(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new VY).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class VY{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new Xu;const u=new t_(n,t,c,r,o,d,[]);u.options=l;const h=l.delay?Oi(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),fn(this,i,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===t){p=_;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,u.errors,l)}return f.length?f.map(p=>p.buildKeyframes()):[Jy(t,[],[],[],0,h,"",!1)]}visitTrigger(n,t){}visitState(n,t){}visitTransition(n,t){}visitAnimateChild(n,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(n.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=n}visitAnimateRef(n,t){const i=t.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],t,i),this.visitReference(n.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=n}_applyAnimationRefDelays(n,t,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Oi(Al(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Oi(i.duration):null,a=null!=i.delay?Oi(i.delay):null;return 0!==s&&n.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,t){t.updateOptions(n.options,!0),fn(this,n.animation,t),t.previousNode=n}visitSequence(n,t){const i=t.subContextCount;let r=t;const o=n.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==$.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Ju);const s=Oi(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>fn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=n}visitGroup(n,t){const i=[];let r=t.currentTimeline.currentTime;const o=n.options&&n.options.delay?Oi(n.options.delay):0;n.steps.forEach(s=>{const a=t.createSubContext(n.options);o&&a.delayNextStep(o),fn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=n}_visitTiming(n,t){if(n.dynamic){const i=n.strValue;return Ku(t.params?Al(i,t.params,t.errors):i,t.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,t){const i=t.currentAnimateTimings=this._visitTiming(n.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;o.type==$.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=n}visitStyle(n,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,t.errors,t.options),t.previousNode=n}visitKeyframes(n,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=n}visitQuery(n,t){const i=t.currentTimeline.currentTime,r=n.options||{},o=r.delay?Oi(r.delay):0;o&&(t.previousNode.type===$.Style||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Ju);let s=i;const a=t.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(n.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),fn(this,n.animation,u),u.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,u.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=n}visitStagger(n,t){const i=t.parentContext,r=t.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;fn(this,n.animation,t),t.previousNode=n,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Ju={};class t_{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Ju;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(n,t,i,r,o,s,a,l){this._driver=n,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.currentTimeline=l||new ef(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,t){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Oi(i.duration)),null!=i.delay&&(r.delay=Oi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=Al(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const t=this.options.params;if(t){const i=n.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return n}createSubContext(n=null,t,i){const r=t||this.element,o=new t_(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Ju,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,t,i){const r={duration:t??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new BY(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,t,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(NY,"."+this._enterClassName)).replace(LY,"."+this._leaveClassName);let c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function qK(){return new w(3014,!1)}()),a}}class ef{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(n,t,i,r){this._driver=n,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+n),t&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,t){return this.applyStylesToKeyframe(),new ef(this._driver,n,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,t){this._localTimelineStyles.set(n,t),this._globalTimelineStyles.set(n,t),this._styleSummary.set(n,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||Ri),this._currentKeyframe.set(t,Ri);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function jY(e,n){const t=new Map;let i;return e.forEach(r=>{if("*"===r){i??=n.keys();for(let o of i)t.set(o,Ri)}else for(let[o,s]of r)t.set(o,s)}),t}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Al(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Ri),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,t)=>{this._currentKeyframe.set(t,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,n)}))}snapshotCurrentStyles(){for(let[n,t]of this._localTimelineStyles)this._pendingStyles.set(n,t),this._updateStyle(n,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let t in this._currentKeyframe)n.push(t);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{"!"===d?n.add(u):d===Ri&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=[...n.values()],s=[...t.values()];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Jy(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class BY extends ef{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(n,t,i,r,o,s,a=!1){super(n,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=new Map(n[0]);l.set("offset",0),o.push(l);const c=new Map(n[0]);c.set("offset",zT(a)),o.push(c);const d=n.length-1;for(let u=1;u<=d;u++){let h=new Map(n[u]);const f=h.get("offset");h.set("offset",zT((t+f*i)/s)),o.push(h)}i=s,t=0,r="",n=o}return Jy(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function zT(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function UT(e,n,t,i,r,o,s,a,l,c,d,u,h){return{type:0,element:e,triggerName:n,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const n_={};class GT{_triggerName;ast;_stateStyles;constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function HY(e,n,t,i,r){return e.some(o=>o(n,t,i,r))}(this.ast.matchers,n,t,i,r)}buildStyles(n,t,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(t,i):new Map}build(n,t,i,r,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||n_,p=this.buildStyles(i,a&&a.params||n_,u),m=l&&l.params||n_,_=this.buildStyles(r,m,u),b=new Set,v=new Map,M=new Map,R="void"===r,K={params:$T(m,h),delay:this.ast.options?.delay},qe=d?[]:e_(n,t,this.ast.animation,o,s,p,_,K,c,u);let ge=0;return qe.forEach(Ze=>{ge=Math.max(Ze.duration+Ze.delay,ge)}),u.length?UT(t,this._triggerName,i,r,R,p,_,[],[],v,M,ge,u):(qe.forEach(Ze=>{const $n=Ze.element,ks=un(v,$n,new Set);Ze.preStyleProps.forEach(Jr=>ks.add(Jr));const sF=un(M,$n,new Set);Ze.postStyleProps.forEach(Jr=>sF.add(Jr)),$n!==t&&b.add($n)}),UT(t,this._triggerName,i,r,R,p,_,qe,[...b.values()],v,M,ge))}}function $T(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class zY{styles;defaultParams;normalizer;constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=$T(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Al(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class GY{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(n,t,i){this.name=n,this.ast=t,this._normalizer=i,t.states.forEach(r=>{this.states.set(r.name,new zY(r.style,r.options&&r.options.params||{},i))}),WT(this.states,"true","1"),WT(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new GT(n,r,this.states))}),this.fallbackTransition=function $Y(e,n){return new GT(e,{type:$.Transition,animation:{type:$.Sequence,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,t,i,r){return this.transitionFactories.find(s=>s.match(n,t,i,r))||null}matchStyles(n,t,i){return this.fallbackTransition.buildStyles(n,t,i)}}function WT(e,n,t){e.has(n)?e.has(t)||e.set(t,e.get(n)):e.has(t)&&e.set(n,e.get(t))}const WY=new Xu;class qY{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(n,t,i){this.bodyNode=n,this._driver=t,this._normalizer=i}register(n,t){const i=[],o=Zy(this._driver,t,i,[]);if(i.length)throw function XK(){return new w(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=AT(this._normalizer,n.keyframes,t,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,t,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=e_(this._driver,t,o,NT,Hy,new Map,new Map,i,WY,r),s.forEach(d=>{const u=un(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function JK(){return new w(3300,!1)}()),s=[]),r.length)throw function eY(){return new w(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,f)=>{d.set(f,this._driver.computeStyle(u,f,Ri))})});const c=or(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const t=this._getPlayer(n);t.destroy(),this._playersById.delete(n);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(n){const t=this._playersById.get(n);if(!t)throw function tY(){return new w(3301,!1)}();return t}listen(n,t,i,r){const o=By(t,"","","");return Ly(this._getPlayer(n),i,o,r),()=>{}}command(n,t,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,t,r[0]||{});const o=this._getPlayer(n);switch(i){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(r[0]));break;case"destroy":this.destroy(n)}}}const qT="ng-animate-queued",i_="ng-animate-disabled",XY=[],KT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},JY={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gn="__ng_removed";class r_{namespaceId;value;options;get params(){return this.options.params}constructor(n,t=""){this.namespaceId=t;const i=n&&n.hasOwnProperty("value");if(this.value=function iQ(e){return e??null}(i?n.value:n),i){const{value:o,...s}=n;this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const t=n.params;if(t){const i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Tl="void",o_=new r_(Tl);class eQ{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(n,t,i){this.id=n,this.hostElement=t,this._engine=i,this._hostClassName="ng-tns-"+n,Dn(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function nY(){return new w(3302,!1)}();if(null==i||0==i.length)throw function iY(){return new w(3303,!1)}();if(!function rQ(e){return"start"==e||"done"==e}(i))throw function rY(){return new w(3400,!1)}();const o=un(this._elementListeners,n,[]),s={name:t,phase:i,callback:r};o.push(s);const a=un(this._engine.statesByElement,n,new Map);return a.has(t)||(Dn(n,Wu),Dn(n,Wu+"-"+t),a.set(t,o_)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(n,t){return!this._triggers.has(n)&&(this._triggers.set(n,t),!0)}_getTrigger(n){const t=this._triggers.get(n);if(!t)throw function oY(){return new w(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new s_(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(Dn(n,Wu),Dn(n,Wu+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new r_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=o_),c.value!==Tl&&l.value===c.value){if(!function aQ(e,n){const t=Object.keys(e),i=Object.keys(n);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!n.hasOwnProperty(o)||e[o]!==n[o])return!1}return!0}(l.params,c.params)){const m=[],_=o.matchStyles(l.value,l.params,m),b=o.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{Zr(n,_),ui(n,b)})}return}const h=un(this._engine.playersByElement,n,[]);h.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let f=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!f){if(!r)return;f=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:t,transition:f,fromState:l,toState:c,player:s,isFallbackTransition:p}),p||(Dn(n,qT),s.onStart(()=>{Fs(n,qT)})),s.onDone(()=>{let m=this.players.indexOf(s);m>=0&&this.players.splice(m,1);const _=this._engine.playersByElement.get(n);if(_){let b=_.indexOf(s);b>=0&&_.splice(b,1)}}),this.players.push(s),h.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(t=>t.delete(n)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const t=this._engine.playersByElement.get(n);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,t){const i=this._engine.driver.query(n,qu,!0);i.forEach(r=>{if(r[Gn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,t,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(n,c,Tl,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t,s),i&&or(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const t=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||o_,d=new r_(Tl),u=new s_(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(n,t){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,t),this.triggerLeaveAnimation(n,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,t);else{const o=n[Gn];(!o||o===KT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){Dn(n,this._hostClassName)}drainQueuedTransitions(n){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=By(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Ly(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}}class tQ{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(n,t)=>{};_onRemovalComplete(n,t){this.onRemovalComplete(n,t)}constructor(n,t,i){this.bodyNode=n,this.driver=t,this._normalizer=i}get queuedPlayers(){const n=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,t){const i=new eQ(n,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(t,n),n}register(n,t){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,t)),i}registerTrigger(n,t,i){let r=this._namespaceLookup[n];r&&r.register(t,i)&&this.totalAnimations++}destroy(n,t){n&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(n);this.namespacesByHostElement.delete(i.hostElement);const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[n]}))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const t=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(n,t,i,r){if(tf(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!tf(t))return;const o=t[Gn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,t){t?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Dn(n,i_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Fs(n,i_))}removeNode(n,t,i){if(tf(t)){const r=n?this._fetchNamespace(n):null;r?r.removeNode(t,i):this.markElementAsRemoved(n,t,!1,i);const o=this.namespacesByHostElement.get(t);o&&o.id!==n&&o.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(n,t,i,r,o){this.collectedLeaveElements.push(t),t[Gn]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,t,i,r,o){return tf(t)?this._fetchNamespace(n).listen(t,i,r,o):()=>{}}_buildInstruction(n,t,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,t,o)}destroyInnerAnimations(n){let t=this.driver.query(n,qu,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,zy,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const t=this.playersByElement.get(n);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const t=this.playersByQueriedElement.get(n);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return or(this.players).onDone(()=>n());n()})}processLeaveNode(n){const t=n[Gn];if(t&&t.setForRemoval){if(n[Gn]=KT,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(i_)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Dn(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?or(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function sY(){return new w(3402,!1)}()}_flushAnimations(n,t){const i=new Xu,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(k=>{d.add(k);const L=this.driver.query(k,".ng-animate-queued",!0);for(let G=0;G<L.length;G++)d.add(L[G])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=ZT(h,this.collectedEnterElements),p=new Map;let m=0;f.forEach((k,L)=>{const G=NT+m++;p.set(L,G),k.forEach(se=>Dn(se,G))});const _=[],b=new Set,v=new Set;for(let k=0;k<this.collectedLeaveElements.length;k++){const L=this.collectedLeaveElements[k],G=L[Gn];G&&G.setForRemoval&&(_.push(L),b.add(L),G.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach(se=>b.add(se)):v.add(L))}const M=new Map,R=ZT(h,Array.from(b));R.forEach((k,L)=>{const G=Hy+m++;M.set(L,G),k.forEach(se=>Dn(se,G))}),n.push(()=>{f.forEach((k,L)=>{const G=p.get(L);k.forEach(se=>Fs(se,G))}),R.forEach((k,L)=>{const G=M.get(L);k.forEach(se=>Fs(se,G))}),_.forEach(k=>{this.processLeaveNode(k)})});const K=[],qe=[];for(let k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(t).forEach(G=>{const se=G.player,pt=G.element;if(K.push(se),this.collectedEnterElements.length){const St=pt[Gn];if(St&&St.setForMove){if(St.previousTriggersValues&&St.previousTriggersValues.has(G.triggerName)){const eo=St.previousTriggersValues.get(G.triggerName),En=this.statesByElement.get(G.element);if(En&&En.has(G.triggerName)){const rf=En.get(G.triggerName);rf.value=eo,En.set(G.triggerName,rf)}}return void se.destroy()}}const fi=!u||!this.driver.containsElement(u,pt),hn=M.get(pt),sr=p.get(pt),je=this._buildInstruction(G,i,sr,hn,fi);if(je.errors&&je.errors.length)return void qe.push(je);if(fi)return se.onStart(()=>Zr(pt,je.fromStyles)),se.onDestroy(()=>ui(pt,je.toStyles)),void r.push(se);if(G.isFallbackTransition)return se.onStart(()=>Zr(pt,je.fromStyles)),se.onDestroy(()=>ui(pt,je.toStyles)),void r.push(se);const cF=[];je.timelines.forEach(St=>{St.stretchStartingKeyframe=!0,this.disabledNodes.has(St.element)||cF.push(St)}),je.timelines=cF,i.append(pt,je.timelines),s.push({instruction:je,player:se,element:pt}),je.queriedElements.forEach(St=>un(a,St,[]).push(se)),je.preStyleProps.forEach((St,eo)=>{if(St.size){let En=l.get(eo);En||l.set(eo,En=new Set),St.forEach((rf,d_)=>En.add(d_))}}),je.postStyleProps.forEach((St,eo)=>{let En=c.get(eo);En||c.set(eo,En=new Set),St.forEach((rf,d_)=>En.add(d_))})});if(qe.length){const k=[];qe.forEach(L=>{k.push(function aY(){return new w(3505,!1)}())}),K.forEach(L=>L.destroy()),this.reportError(k)}const ge=new Map,Ze=new Map;s.forEach(k=>{const L=k.element;i.has(L)&&(Ze.set(L,L),this._beforeAnimationBuild(k.player.namespaceId,k.instruction,ge))}),r.forEach(k=>{const L=k.element;this._getPreviousPlayers(L,!1,k.namespaceId,k.triggerName,null).forEach(se=>{un(ge,L,[]).push(se),se.destroy()})});const $n=_.filter(k=>JT(k,l,c)),ks=new Map;QT(ks,this.driver,v,c,Ri).forEach(k=>{JT(k,l,c)&&$n.push(k)});const Jr=new Map;f.forEach((k,L)=>{QT(Jr,this.driver,new Set(k),l,"!")}),$n.forEach(k=>{const L=ks.get(k),G=Jr.get(k);ks.set(k,new Map([...L?.entries()??[],...G?.entries()??[]]))});const c_=[],aF=[],lF={};s.forEach(k=>{const{element:L,player:G,instruction:se}=k;if(i.has(L)){if(d.has(L))return G.onDestroy(()=>ui(L,se.toStyles)),G.disabled=!0,G.overrideTotalTime(se.totalTime),void r.push(G);let pt=lF;if(Ze.size>1){let hn=L;const sr=[];for(;hn=hn.parentNode;){const je=Ze.get(hn);if(je){pt=je;break}sr.push(hn)}sr.forEach(je=>Ze.set(je,pt))}const fi=this._buildAnimation(G.namespaceId,se,ge,o,Jr,ks);if(G.setRealPlayer(fi),pt===lF)c_.push(G);else{const hn=this.playersByElement.get(pt);hn&&hn.length&&(G.parentPlayer=or(hn)),r.push(G)}}else Zr(L,se.fromStyles),G.onDestroy(()=>ui(L,se.toStyles)),aF.push(G),d.has(L)&&r.push(G)}),aF.forEach(k=>{const L=o.get(k.element);if(L&&L.length){const G=or(L);k.setRealPlayer(G)}}),r.forEach(k=>{k.parentPlayer?k.syncPlayerEvents(k.parentPlayer):k.destroy()});for(let k=0;k<_.length;k++){const L=_[k],G=L[Gn];if(Fs(L,Hy),G&&G.hasAnimation)continue;let se=[];if(a.size){let fi=a.get(L);fi&&fi.length&&se.push(...fi);let hn=this.driver.query(L,zy,!0);for(let sr=0;sr<hn.length;sr++){let je=a.get(hn[sr]);je&&je.length&&se.push(...je)}}const pt=se.filter(fi=>!fi.destroyed);pt.length?oQ(this,L,pt):this.processLeaveNode(L)}return _.length=0,c_.forEach(k=>{this.players.push(k),k.onDone(()=>{k.destroy();const L=this.players.indexOf(k);this.players.splice(L,1)}),k.play()}),c_}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Tl;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,t,i){const o=t.element,s=t.isRemovalTransition?void 0:n,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const c=l.element,d=c!==o,u=un(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(f=>{const p=f.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),f.destroy(),u.push(f)})}Zr(o,t.fromStyles)}_buildAnimation(n,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,h=t.timelines.map(p=>{const m=p.element;d.add(m);const _=m[Gn];if(_&&_.removedBeforeQueried)return new Ml(p.duration,p.delay);const b=m!==l,v=function sQ(e){const n=[];return XT(e,n),n}((i.get(m)||XY).map(ge=>ge.getRealPlayer())).filter(ge=>!!ge.element&&ge.element===m),M=o.get(m),R=s.get(m),K=AT(this._normalizer,p.keyframes,M,R),qe=this._buildPlayer(p,K,v);if(p.subTimeline&&r&&u.add(m),b){const ge=new s_(n,a,m);ge.setRealPlayer(qe),c.push(ge)}return qe});c.forEach(p=>{un(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function nQ(e,n,t){let i=e.get(n);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&e.delete(n)}return i}(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Dn(p,PT));const f=or(h);return f.onDestroy(()=>{d.forEach(p=>Fs(p,PT)),ui(l,t.toStyles)}),u.forEach(p=>{un(r,p,[]).push(f)}),f}_buildPlayer(n,t,i){return t.length>0?this.driver.animate(n.element,t,n.duration,n.delay,n.easing,i):new Ml(n.duration,n.delay)}}class s_{namespaceId;triggerName;element;_player=new Ml;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(n,t,i){this.namespaceId=n,this.triggerName=t,this.element=i}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Ly(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const t=this._player;t.triggerCallback&&n.onStart(()=>t.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,t){un(this._queuedCallbacks,n,[]).push(t)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const t=this._player;t.triggerCallback&&t.triggerCallback(n)}}function tf(e){return e&&1===e.nodeType}function YT(e,n){const t=e.style.display;return e.style.display=n??"none",t}function QT(e,n,t,i,r){const o=[];t.forEach(l=>o.push(YT(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=n.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Gn]=JY,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>YT(l,o[a++])),s}function ZT(e,n){const t=new Map;if(e.forEach(a=>t.set(a,[])),0==n.length)return t;const r=new Set(n),o=new Map;function s(a){if(!a)return 1;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?1:s(c),o.set(a,l),l}return n.forEach(a=>{const l=s(a);1!==l&&t.get(l).push(a)}),t}function Dn(e,n){e.classList?.add(n)}function Fs(e,n){e.classList?.remove(n)}function oQ(e,n,t){or(t).onDone(()=>e.processLeaveNode(n))}function XT(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof MT?XT(i.players,n):n.push(i)}}function JT(e,n,t){const i=t.get(e);if(!i)return!1;let r=n.get(e);return r?i.forEach(o=>r.add(o)):n.set(e,i),t.delete(e),!0}class Fl{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new tQ(n.body,t,i),this._timelineEngine=new qY(n.body,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,t,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=Zy(this._driver,o,l,[]);if(l.length)throw function QK(){return new w(3404,!1)}();a=function UY(e,n,t){return new GY(e,n,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(n,t){this._transitionEngine.register(n,t)}destroy(n,t){this._transitionEngine.destroy(n,t)}onInsert(n,t,i,r){this._transitionEngine.insertNode(n,t,i,r)}onRemove(n,t,i){this._transitionEngine.removeNode(n,t,i)}disableAnimations(n,t){this._transitionEngine.markElementAsDisabled(n,t)}process(n,t,i,r){if("@"==i.charAt(0)){const[o,s]=TT(i);this._timelineEngine.command(o,t,s,r)}else this._transitionEngine.trigger(n,t,i,r)}listen(n,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=TT(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(n,t,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(n){this._transitionEngine.afterFlushAnimationsDone(n)}}let cQ=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,i,r){this._element=t,this._startStyles=i,this._endStyles=r;let o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&ui(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ui(this._element,this._initialStyles),this._endStyles&&(ui(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(Zr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Zr(this._element,this._endStyles),this._endStyles=null),ui(this._element,this._initialStyles),this._state=3)}}return e})();function a_(e){let n=null;return e.forEach((t,i)=>{(function dQ(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class eF{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(n,t,i,r){this.element=n,this.keyframes=t,this.options=i,this._specialStyles=r,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const t=[];return n.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(n,t,i){return n.animate(this._convertKeyframesToObject(t),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:Wy(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class tF{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return kT(n,t)}getParentElement(n){return jy(n)}query(n,t,i){return RT(n,t,i)}computeStyle(n,t,i){return Wy(n,t)}animate(n,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(f=>f instanceof eF);(function vY(e,n){return 0===e||0===n})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function gY(e){return e.length?e[0]instanceof Map?e:e.map(n=>new Map(Object.entries(n))):[]}(t).map(f=>new Map(f));u=function bY(e,n,t){if(t.size&&n.length){let i=n[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,Wy(e,a)))}}return n}(n,u,c);const h=function lQ(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=a_(n[0]),n.length>1&&(i=a_(n[n.length-1]))):n instanceof Map&&(t=a_(n)),t||i?new cQ(e,t,i):null}(n,u);return new eF(n,u,l,h)}}const nF="@.disabled";class iF{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(n,t,i,r){this.namespaceId=n,this.delegate=t,this.engine=i,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(n){this.delegate.destroyNode?.(n)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(n,t){return this.delegate.createElement(n,t)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,t){this.delegate.appendChild(n,t),this.engine.onInsert(this.namespaceId,t,n,!1)}insertBefore(n,t,i,r=!0){this.delegate.insertBefore(n,t,i),this.engine.onInsert(this.namespaceId,t,n,r)}removeChild(n,t,i){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(n,t){return this.delegate.selectRootElement(n,t)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,t,i,r){this.delegate.setAttribute(n,t,i,r)}removeAttribute(n,t,i){this.delegate.removeAttribute(n,t,i)}addClass(n,t){this.delegate.addClass(n,t)}removeClass(n,t){this.delegate.removeClass(n,t)}setStyle(n,t,i,r){this.delegate.setStyle(n,t,i,r)}removeStyle(n,t,i){this.delegate.removeStyle(n,t,i)}setProperty(n,t,i){"@"==t.charAt(0)&&t==nF?this.disableAnimations(n,!!i):this.delegate.setProperty(n,t,i)}setValue(n,t){this.delegate.setValue(n,t)}listen(n,t,i,r){return this.delegate.listen(n,t,i,r)}disableAnimations(n,t){this.engine.disableAnimations(n,t)}}class uQ extends iF{factory;constructor(n,t,i,r,o){super(t,i,r,o),this.factory=n,this.namespaceId=t}setProperty(n,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==nF?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,t.slice(1),i):this.delegate.setProperty(n,t,i)}listen(n,t,i,r){if("@"==t.charAt(0)){const o=function fQ(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(n);let s=t.slice(1),a="";return"@"!=s.charAt(0)&&([s,a]=function hQ(e){const n=e.indexOf(".");return[e.substring(0,n),e.slice(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,a,l=>{this.factory.scheduleListenerCallback(l._data||-1,i,l)})}return this.delegate.listen(n,t,i,r)}}class pQ{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(n,t,i){this.delegate=n,this.engine=t,this._zone=i,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(n,t){const r=this.delegate.createRenderer(n,t);if(!n||!t?.data?.animation){const c=this._rendererCache;let d=c.get(r);return d||(d=new iF("",r,this.engine,()=>c.delete(r)),c.set(r,d)),d}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,n);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,n,c.name,c)};return t.data.animation.forEach(a),new uQ(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,t,i){if(n>=0&&n<this._microtaskId)return void this._zone.run(()=>t(i));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(n){this.engine.flush(),this.delegate.componentReplaced?.(n)}}const rF=[{provide:Yy,useFactory:function gQ(){return new VT}},{provide:Fl,useClass:(()=>{class e extends Fl{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||e)(I(be),I(Ky),I(Yy))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})()},{provide:oi,useFactory:function yQ(e,n,t){return new pQ(e,n,t)},deps:[Eg,Fl,B]}],oF=[{provide:Ky,useClass:qy},{provide:Cr,useValue:"NoopAnimations"},...rF],l_=[{provide:Ky,useFactory:()=>new tF},{provide:Cr,useFactory:()=>"BrowserAnimations"},...rF];let _Q=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?oF:l_}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:l_,imports:[MM]})}return e})();class vQ{constructor(n){(function bQ(e){if(!1===e.categorizeResults&&(!1===e.hideCategorizeButton||void 0===e.hideCategorizeButton))throw new Error("You must provide hideCategorizeButton:true as categorizeResults is false");if(!1===e.saveInRecents&&!0===e.saveInRecentsOnlyOnEnter)throw new Error("You must provide saveInRecents:true for saveInRecentsOnlyOnEnter:true")})(n),this.displayPropertyName=n.displayPropertyName,this.models=n.models,this.limit=n.limit,this.limitByType=n.limitByType,this.order=n.order,this.offset=n.offset,this.saveInRecents=n.saveInRecents;const t=function xQ(e){return{placeholder:e.placeholder??"Search",noResultMessage:e.noResultMessage??"No result found",placeholderFunction:e.placeholderFunction}}(n);this.noResultMessage=t.noResultMessage,this.placeholder=t.placeholder,this.placeholderFunction=t.placeholderFunction;const i=function wQ(e){return{categorizeResults:e.categorizeResults??!0,hideRecentSearch:e.hideRecentSearch??!1,hideCategorizeButton:e.hideCategorizeButton??!1,saveInRecentsOnlyOnEnter:e.saveInRecentsOnlyOnEnter??!1,searchOnlyOnEnter:e.searchOnlyOnEnter??!1}}(n);this.categorizeResults=i.categorizeResults,this.hideRecentSearch=i.hideRecentSearch,this.hideCategorizeButton=i.hideCategorizeButton,this.saveInRecentsOnlyOnEnter=i.saveInRecentsOnlyOnEnter,this.searchOnlyOnEnter=i.searchOnlyOnEnter;const r=function CQ(e){return{searchIconClass:e.searchIconClass??"icomoon Search",crossIconClass:e.crossIconClass??"icomoon close",dropDownButtonIconClass:e.dropDownButtonIconClass??"icomoon arrow_down",recentSearchIconClass:e.recentSearchIconClass??"icomoon Search"}}(n);this.searchIconClass=r.searchIconClass,this.crossIconClass=r.crossIconClass,this.dropDownButtonIconClass=r.dropDownButtonIconClass,this.recentSearchIconClass=r.recentSearchIconClass}}let DQ=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(){const t=function $9(e,n){const t=function V9(e,n){return n.get(Wo).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new z9(e,n.injector),r=function L9(e){const n={};return e.forEach(({propName:t,templateName:i,transform:r})=>{n[function O9(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(i)]=[t,r]}),n}(t);class o extends G9{injector;static observedAttributes=Object.keys(r);get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||n.injector);t.forEach(({propName:l,transform:c})=>{if(!this.hasOwnProperty(l))return;const d=this[l];delete this[l],a.setInputValue(l,d,c)})}return this._ngElementStrategy}_ngElementStrategy;constructor(a){super(),this.injector=a}attributeChangedCallback(a,l,c,d){const[u,h]=r[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 t.forEach(({propName:s,transform:a})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(l){this.ngElementStrategy.setInputValue(s,l,a)},configurable:!0,enumerable:!0})}),o}(ET,{injector:this.injector});customElements.define("sourceloop-search-element",t),Object.assign(window,{SearchConfiguration:vQ})}static{this.\u0275fac=function(i){return new(i||e)(I(ke))}}static{this.\u0275mod=fe({type:e})}static{this.\u0275inj=le({imports:[MM,_Q,bg,n0,T$,DT,vl,y0,O0,k9,eW,ET]})}}return e})();kG().bootstrapModule(DQ).catch(e=>console.error(e))}},Rs=>{Rs(Rs.s=674)}]);