@sourceloop/search-element 7.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/CHANGELOG.md +99 -0
- package/{README.md → dist/README.md} +13 -25
- package/dist/package.json +23 -0
- package/dist/search-element.js +3 -0
- package/dist/styles.css +1 -0
- package/package.json +3 -4
- package/LICENSE +0 -21
- package/search-element.js +0 -3
- package/styles.css +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(()=>{"use strict";var e,_={},h={};function n(e){var a=h[e];if(void 0!==a)return a.exports;var r=h[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,u,l)=>{if(!r){var s=1/0;for(f=0;f<e.length;f++){for(var[r,u,l]=e[f],o=!0,t=0;t<r.length;t++)(!1&l||s>=l)&&Object.keys(n.O).every(i=>n.O[i](r[t]))?r.splice(t--,1):(o=!1,l<s&&(s=l));if(o){e.splice(f--,1);var c=u();void 0!==c&&(a=c)}}return a}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,u,l]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={121:0};n.O.j=u=>0===e[u];var a=(u,l)=>{var t,c,[f,s,o]=l,v=0;if(f.some(d=>0!==e[d])){for(t in s)n.o(s,t)&&(n.m[t]=s[t]);if(o)var b=o(n)}for(u&&u(l);v<f.length;v++)n.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return n.O(b)},r=self.webpackChunksearch_element=self.webpackChunksearch_element||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();
|
|
2
|
+
"use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[461],{20:(te,Q,me)=>{me(861)},861:()=>{const te=globalThis;function Q(e){return(te.__Zone_symbol_prefix||"__zone_symbol__")+e}const Ee=Object.getOwnPropertyDescriptor,Ne=Object.defineProperty,Ze=Object.getPrototypeOf,_t=Object.create,dt=Array.prototype.slice,Le="addEventListener",Ie="removeEventListener",Me=Q(Le),Ae=Q(Ie),ae="true",le="false",ve=Q("");function je(e,r){return Zone.current.wrap(e,r)}function He(e,r,c,t,i){return Zone.current.scheduleMacroTask(e,r,c,t,i)}const j=Q,we=typeof window<"u",be=we?window:void 0,$=we&&be||globalThis;function xe(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=je(e[c],r+"_"+c));return e}function Ue(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}const We=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ce=!("nw"in $)&&typeof $.process<"u"&&"[object process]"===$.process.toString(),Ve=!Ce&&!We&&!(!we||!be.HTMLElement),qe=typeof $.process<"u"&&"[object process]"===$.process.toString()&&!We&&!(!we||!be.HTMLElement),De={},gt=j("enable_beforeunload"),Xe=function(e){if(!(e=e||$.event))return;let r=De[e.type];r||(r=De[e.type]=j("ON_PROPERTY"+e.type));const c=this||e.target||$,t=c[r];let i;return Ve&&c===be&&"error"===e.type?(i=t&&t.call(this,e.message,e.filename,e.lineno,e.colno,e.error),!0===i&&e.preventDefault()):(i=t&&t.apply(this,arguments),"beforeunload"===e.type&&$[gt]&&"string"==typeof i?e.returnValue=i:null!=i&&!i&&e.preventDefault()),i};function Ye(e,r,c){let t=Ee(e,r);if(!t&&c&&Ee(c,r)&&(t={enumerable:!0,configurable:!0}),!t||!t.configurable)return;const i=j("on"+r+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete t.writable,delete t.value;const u=t.get,E=t.set,T=r.slice(2);let p=De[T];p||(p=De[T]=j("ON_PROPERTY"+T)),t.set=function(D){let _=this;!_&&e===$&&(_=$),_&&("function"==typeof _[p]&&_.removeEventListener(T,Xe),E?.call(_,null),_[p]=D,"function"==typeof D&&_.addEventListener(T,Xe,!1))},t.get=function(){let D=this;if(!D&&e===$&&(D=$),!D)return null;const _=D[p];if(_)return _;if(u){let R=u.call(this);if(R)return t.set.call(this,R),"function"==typeof D.removeAttribute&&D.removeAttribute(r),R}return null},Ne(e,r,t),e[i]=!0}function $e(e,r,c){if(r)for(let t=0;t<r.length;t++)Ye(e,"on"+r[t],c);else{const t=[];for(const i in e)"on"==i.slice(0,2)&&t.push(i);for(let i=0;i<t.length;i++)Ye(e,t[i],c)}}const re=j("originalInstance");function Pe(e){const r=$[e];if(!r)return;$[j(e)]=r,$[e]=function(){const i=xe(arguments,e);switch(i.length){case 0:this[re]=new r;break;case 1:this[re]=new r(i[0]);break;case 2:this[re]=new r(i[0],i[1]);break;case 3:this[re]=new r(i[0],i[1],i[2]);break;case 4:this[re]=new r(i[0],i[1],i[2],i[3]);break;default:throw new Error("Arg list too long.")}},fe($[e],r);const c=new r(function(){});let t;for(t in c)"XMLHttpRequest"===e&&"responseBlob"===t||function(i){"function"==typeof c[i]?$[e].prototype[i]=function(){return this[re][i].apply(this[re],arguments)}:Ne($[e].prototype,i,{set:function(u){"function"==typeof u?(this[re][i]=je(u,e+"."+i),fe(this[re][i],u)):this[re][i]=u},get:function(){return this[re][i]}})}(t);for(t in r)"prototype"!==t&&r.hasOwnProperty(t)&&($[e][t]=r[t])}function ue(e,r,c){let t=e;for(;t&&!t.hasOwnProperty(r);)t=Ze(t);!t&&e[r]&&(t=e);const i=j(r);let u=null;if(t&&(!(u=t[i])||!t.hasOwnProperty(i))&&(u=t[i]=t[r],Ue(t&&Ee(t,r)))){const T=c(u,i,r);t[r]=function(){return T(this,arguments)},fe(t[r],u)}return u}function kt(e,r,c){let t=null;function i(u){const E=u.data;return E.args[E.cbIdx]=function(){u.invoke.apply(this,arguments)},t.apply(E.target,E.args),u}t=ue(e,r,u=>function(E,T){const p=c(E,T);return p.cbIdx>=0&&"function"==typeof T[p.cbIdx]?He(p.name,T[p.cbIdx],p,i):u.apply(E,T)})}function fe(e,r){e[j("OriginalDelegate")]=r}let Ke=!1,Fe=!1;function pt(){if(Ke)return Fe;Ke=!0;try{const e=be.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Fe=!0)}catch{}return Fe}function Je(e){return"function"==typeof e}function Qe(e){return"number"==typeof e}const mt={useG:!0},ne={},et={},tt=new RegExp("^"+ve+"(\\w+)(true|false)$"),nt=j("propagationStopped");function rt(e,r){const c=(r?r(e):e)+le,t=(r?r(e):e)+ae,i=ve+c,u=ve+t;ne[e]={},ne[e][le]=i,ne[e][ae]=u}function yt(e,r,c,t){const i=t&&t.add||Le,u=t&&t.rm||Ie,E=t&&t.listeners||"eventListeners",T=t&&t.rmAll||"removeAllListeners",p=j(i),D="."+i+":",_="prependListener",R="."+_+":",M=function(y,h,H){if(y.isRemoved)return;const V=y.callback;let Y;"object"==typeof V&&V.handleEvent&&(y.callback=g=>V.handleEvent(g),y.originalDelegate=V);try{y.invoke(y,h,[H])}catch(g){Y=g}const F=y.options;return F&&"object"==typeof F&&F.once&&h[u].call(h,H.type,y.originalDelegate?y.originalDelegate:y.callback,F),Y};function x(y,h,H){if(!(h=h||e.event))return;const V=y||h.target||e,Y=V[ne[h.type][H?ae:le]];if(Y){const F=[];if(1===Y.length){const g=M(Y[0],V,h);g&&F.push(g)}else{const g=Y.slice();for(let U=0;U<g.length&&(!h||!0!==h[nt]);U++){const O=M(g[U],V,h);O&&F.push(O)}}if(1===F.length)throw F[0];for(let g=0;g<F.length;g++){const U=F[g];r.nativeScheduleMicroTask(()=>{throw U})}}}const z=function(y){return x(this,y,!1)},K=function(y){return x(this,y,!0)};function J(y,h){if(!y)return!1;let H=!0;h&&void 0!==h.useG&&(H=h.useG);const V=h&&h.vh;let Y=!0;h&&void 0!==h.chkDup&&(Y=h.chkDup);let F=!1;h&&void 0!==h.rt&&(F=h.rt);let g=y;for(;g&&!g.hasOwnProperty(i);)g=Ze(g);if(!g&&y[i]&&(g=y),!g||g[p])return!1;const U=h&&h.eventNameToString,O={},w=g[p]=g[i],b=g[j(u)]=g[u],S=g[j(E)]=g[E],ee=g[j(T)]=g[T];let W;h&&h.prepend&&(W=g[j(h.prepend)]=g[h.prepend]);const q=H?function(s){if(!O.isExisting)return w.call(O.target,O.eventName,O.capture?K:z,O.options)}:function(s){return w.call(O.target,O.eventName,s.invoke,O.options)},A=H?function(s){if(!s.isRemoved){const l=ne[s.eventName];let v;l&&(v=l[s.capture?ae:le]);const C=v&&s.target[v];if(C)for(let k=0;k<C.length;k++)if(C[k]===s){C.splice(k,1),s.isRemoved=!0,s.removeAbortListener&&(s.removeAbortListener(),s.removeAbortListener=null),0===C.length&&(s.allRemoved=!0,s.target[v]=null);break}}if(s.allRemoved)return b.call(s.target,s.eventName,s.capture?K:z,s.options)}:function(s){return b.call(s.target,s.eventName,s.invoke,s.options)},he=h?.diff||function(s,l){const v=typeof l;return"function"===v&&s.callback===l||"object"===v&&s.originalDelegate===l},_e=Zone[j("UNPATCHED_EVENTS")],oe=e[j("PASSIVE_EVENTS")],a=function(s,l,v,C,k=!1,Z=!1){return function(){const L=this||e;let I=arguments[0];h&&h.transferEventName&&(I=h.transferEventName(I));let G=arguments[1];if(!G)return s.apply(this,arguments);if(Ce&&"uncaughtException"===I)return s.apply(this,arguments);let B=!1;if("function"!=typeof G){if(!G.handleEvent)return s.apply(this,arguments);B=!0}if(V&&!V(s,G,L,arguments))return;const Te=!!oe&&-1!==oe.indexOf(I),ie=function f(s){if("object"==typeof s&&null!==s){const l={...s};return s.signal&&(l.signal=s.signal),l}return s}(function N(s,l){return l?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?{...s,passive:!0}:s:{passive:!0}:s}(arguments[2],Te)),ke=ie?.signal;if(ke?.aborted)return;if(_e)for(let ce=0;ce<_e.length;ce++)if(I===_e[ce])return Te?s.call(L,I,G,ie):s.apply(this,arguments);const Be=!!ie&&("boolean"==typeof ie||ie.capture),at=!(!ie||"object"!=typeof ie)&&ie.once,It=Zone.current;let ze=ne[I];ze||(rt(I,U),ze=ne[I]);const lt=ze[Be?ae:le];let Oe,pe=L[lt],ut=!1;if(pe){if(ut=!0,Y)for(let ce=0;ce<pe.length;ce++)if(he(pe[ce],G))return}else pe=L[lt]=[];const ft=L.constructor.name,ht=et[ft];ht&&(Oe=ht[I]),Oe||(Oe=ft+l+(U?U(I):I)),O.options=ie,at&&(O.options.once=!1),O.target=L,O.capture=Be,O.eventName=I,O.isExisting=ut;const Re=H?mt:void 0;Re&&(Re.taskData=O),ke&&(O.options.signal=void 0);const se=It.scheduleEventTask(Oe,G,Re,v,C);if(ke){O.options.signal=ke;const ce=()=>se.zone.cancelTask(se);s.call(ke,"abort",ce,{once:!0}),se.removeAbortListener=()=>ke.removeEventListener("abort",ce)}return O.target=null,Re&&(Re.taskData=null),at&&(O.options.once=!0),"boolean"!=typeof se.options&&(se.options=ie),se.target=L,se.capture=Be,se.eventName=I,B&&(se.originalDelegate=G),Z?pe.unshift(se):pe.push(se),k?L:void 0}};return g[i]=a(w,D,q,A,F),W&&(g[_]=a(W,R,function(s){return W.call(O.target,O.eventName,s.invoke,O.options)},A,F,!0)),g[u]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=arguments[2],C=!!v&&("boolean"==typeof v||v.capture),k=arguments[1];if(!k)return b.apply(this,arguments);if(V&&!V(b,k,s,arguments))return;const Z=ne[l];let L;Z&&(L=Z[C?ae:le]);const I=L&&s[L];if(I)for(let G=0;G<I.length;G++){const B=I[G];if(he(B,k))return I.splice(G,1),B.isRemoved=!0,0!==I.length||(B.allRemoved=!0,s[L]=null,C||"string"!=typeof l)||(s[ve+"ON_PROPERTY"+l]=null),B.zone.cancelTask(B),F?s:void 0}return b.apply(this,arguments)},g[E]=function(){const s=this||e;let l=arguments[0];h&&h.transferEventName&&(l=h.transferEventName(l));const v=[],C=ot(s,U?U(l):l);for(let k=0;k<C.length;k++){const Z=C[k];v.push(Z.originalDelegate?Z.originalDelegate:Z.callback)}return v},g[T]=function(){const s=this||e;let l=arguments[0];if(l){h&&h.transferEventName&&(l=h.transferEventName(l));const v=ne[l];if(v){const Z=s[v[le]],L=s[v[ae]];if(Z){const I=Z.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}if(L){const I=L.slice();for(let G=0;G<I.length;G++){const B=I[G];this[u].call(this,l,B.originalDelegate?B.originalDelegate:B.callback,B.options)}}}}else{const v=Object.keys(s);for(let C=0;C<v.length;C++){const Z=tt.exec(v[C]);let L=Z&&Z[1];L&&"removeListener"!==L&&this[T].call(this,L)}this[T].call(this,"removeListener")}if(F)return this},fe(g[i],w),fe(g[u],b),ee&&fe(g[T],ee),S&&fe(g[E],S),!0}let X=[];for(let y=0;y<c.length;y++)X[y]=J(c[y],t);return X}function ot(e,r){if(!r){const u=[];for(let E in e){const T=tt.exec(E);let p=T&&T[1];if(p&&(!r||p===r)){const D=e[E];if(D)for(let _=0;_<D.length;_++)u.push(D[_])}}return u}let c=ne[r];c||(rt(r),c=ne[r]);const t=e[c[le]],i=e[c[ae]];return t?i?t.concat(i):t.slice():i?i.slice():[]}function vt(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",t=>function(i,u){i[nt]=!0,t&&t.apply(i,u)})}const Se=j("zoneTask");function ge(e,r,c,t){let i=null,u=null;c+=t;const E={};function T(D){const _=D.data;_.args[0]=function(){return D.invoke.apply(this,arguments)};const R=i.apply(e,_.args);return Qe(R)?_.handleId=R:(_.handle=R,_.isRefreshable=Je(R.refresh)),D}function p(D){const{handle:_,handleId:R}=D.data;return u.call(e,_??R)}i=ue(e,r+=t,D=>function(_,R){if(Je(R[0])){const M={isRefreshable:!1,isPeriodic:"Interval"===t,delay:"Timeout"===t||"Interval"===t?R[1]||0:void 0,args:R},x=R[0];R[0]=function(){try{return x.apply(this,arguments)}finally{const{handle:H,handleId:V,isPeriodic:Y,isRefreshable:F}=M;!Y&&!F&&(V?delete E[V]:H&&(H[Se]=null))}};const z=He(r,R[0],M,T,p);if(!z)return z;const{handleId:K,handle:J,isRefreshable:X,isPeriodic:y}=z.data;if(K)E[K]=z;else if(J&&(J[Se]=z,X&&!y)){const h=J.refresh;J.refresh=function(){const{zone:H,state:V}=z;return"notScheduled"===V?(z._state="scheduled",H._updateTaskCount(z,1)):"running"===V&&(z._state="scheduling"),h.call(this)}}return J??K??z}return D.apply(e,R)}),u=ue(e,c,D=>function(_,R){const M=R[0];let x;Qe(M)?(x=E[M],delete E[M]):(x=M?.[Se],x?M[Se]=null:x=M),x?.type?x.cancelFn&&x.zone.cancelTask(x):D.apply(e,R)})}function st(e,r,c){if(!c||0===c.length)return r;const t=c.filter(u=>u.target===e);if(0===t.length)return r;const i=t[0].ignoreProperties;return r.filter(u=>-1===i.indexOf(u))}function it(e,r,c,t){e&&$e(e,st(e,r,c),t)}function Ge(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}function Nt(e,r,c,t,i){const u=Zone.__symbol__(t);if(r[u])return;const E=r[u]=r[t];r[t]=function(T,p,D){return p&&p.prototype&&i.forEach(function(_){const R=`${c}.${t}::`+_,M=p.prototype;try{if(M.hasOwnProperty(_)){const x=e.ObjectGetOwnPropertyDescriptor(M,_);x&&x.value?(x.value=e.wrapWithCurrentZone(x.value,R),e._redefineProperty(p.prototype,_,x)):M[_]&&(M[_]=e.wrapWithCurrentZone(M[_],R))}else M[_]&&(M[_]=e.wrapWithCurrentZone(M[_],R))}catch{}}),E.call(r,T,p,D)},e.attachOriginToPatched(r[t],E)}const ct=function ye(){const e=globalThis,r=!0===e[Q("forceDuplicateZoneCheck")];if(e.Zone&&(r||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function me(){const e=te.performance;function r(N){e&&e.mark&&e.mark(N)}function c(N,d){e&&e.measure&&e.measure(N,d)}r("Zone");let t=(()=>{class N{static __symbol__=Q;static assertZonePatched(){if(te.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let n=N.current;for(;n.parent;)n=n.parent;return n}static get current(){return b.zone}static get currentTask(){return S}static __load_patch(n,o,m=!1){if(O.hasOwnProperty(n)){const P=!0===te[Q("forceDuplicateZoneCheck")];if(!m&&P)throw Error("Already loaded patch: "+n)}else if(!te["__Zone_disable_"+n]){const P="Zone:"+n;r(P),O[n]=o(te,N,w),c(P,P)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(n,o){this._parent=n,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,o)}get(n){const o=this.getZoneWith(n);if(o)return o._properties[n]}getZoneWith(n){let o=this;for(;o;){if(o._properties.hasOwnProperty(n))return o;o=o._parent}return null}fork(n){if(!n)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,n)}wrap(n,o){if("function"!=typeof n)throw new Error("Expecting function got: "+n);const m=this._zoneDelegate.intercept(this,n,o),P=this;return function(){return P.runGuarded(m,this,arguments,o)}}run(n,o,m,P){b={parent:b,zone:this};try{return this._zoneDelegate.invoke(this,n,o,m,P)}finally{b=b.parent}}runGuarded(n,o=null,m,P){b={parent:b,zone:this};try{try{return this._zoneDelegate.invoke(this,n,o,m,P)}catch(q){if(this._zoneDelegate.handleError(this,q))throw q}}finally{b=b.parent}}runTask(n,o,m){if(n.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(n.zone||J).name+"; Execution: "+this.name+")");const P=n,{type:q,data:{isPeriodic:A=!1,isRefreshable:de=!1}={}}=n;if(n.state===X&&(q===U||q===g))return;const he=n.state!=H;he&&P._transitionTo(H,h);const _e=S;S=P,b={parent:b,zone:this};try{q==g&&n.data&&!A&&!de&&(n.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,P,o,m)}catch(oe){if(this._zoneDelegate.handleError(this,oe))throw oe}}finally{const oe=n.state;if(oe!==X&&oe!==Y)if(q==U||A||de&&oe===y)he&&P._transitionTo(h,H,y);else{const f=P._zoneDelegates;this._updateTaskCount(P,-1),he&&P._transitionTo(X,H,X),de&&(P._zoneDelegates=f)}b=b.parent,S=_e}}scheduleTask(n){if(n.zone&&n.zone!==this){let m=this;for(;m;){if(m===n.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${n.zone.name}`);m=m.parent}}n._transitionTo(y,X);const o=[];n._zoneDelegates=o,n._zone=this;try{n=this._zoneDelegate.scheduleTask(this,n)}catch(m){throw n._transitionTo(Y,y,X),this._zoneDelegate.handleError(this,m),m}return n._zoneDelegates===o&&this._updateTaskCount(n,1),n.state==y&&n._transitionTo(h,y),n}scheduleMicroTask(n,o,m,P){return this.scheduleTask(new E(F,n,o,m,P,void 0))}scheduleMacroTask(n,o,m,P,q){return this.scheduleTask(new E(g,n,o,m,P,q))}scheduleEventTask(n,o,m,P,q){return this.scheduleTask(new E(U,n,o,m,P,q))}cancelTask(n){if(n.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(n.zone||J).name+"; Execution: "+this.name+")");if(n.state===h||n.state===H){n._transitionTo(V,h,H);try{this._zoneDelegate.cancelTask(this,n)}catch(o){throw n._transitionTo(Y,V),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(n,-1),n._transitionTo(X,V),n.runCount=-1,n}}_updateTaskCount(n,o){const m=n._zoneDelegates;-1==o&&(n._zoneDelegates=null);for(let P=0;P<m.length;P++)m[P]._updateTaskCount(n.type,o)}}return N})();const i={name:"",onHasTask:(N,d,n,o)=>N.hasTask(n,o),onScheduleTask:(N,d,n,o)=>N.scheduleTask(n,o),onInvokeTask:(N,d,n,o,m,P)=>N.invokeTask(n,o,m,P),onCancelTask:(N,d,n,o)=>N.cancelTask(n,o)};class u{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(d,n,o){this._zone=d,this._parentDelegate=n,this._forkZS=o&&(o&&o.onFork?o:n._forkZS),this._forkDlgt=o&&(o.onFork?n:n._forkDlgt),this._forkCurrZone=o&&(o.onFork?this._zone:n._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:n._interceptZS),this._interceptDlgt=o&&(o.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this._zone:n._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:n._invokeZS),this._invokeDlgt=o&&(o.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this._zone:n._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:n._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this._zone:n._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:n._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this._zone:n._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:n._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this._zone:n._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:n._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this._zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const m=o&&o.onHasTask;(m||n&&n._hasTaskZS)&&(this._hasTaskZS=m?o:i,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,o.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this._zone),o.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this._zone),o.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this._zone))}fork(d,n){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,d,n):new t(d,n)}intercept(d,n,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,d,n,o):n}invoke(d,n,o,m,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,d,n,o,m,P):n.apply(o,m)}handleError(d,n){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,d,n)}scheduleTask(d,n){let o=n;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,d,n),o||(o=n);else if(n.scheduleFn)n.scheduleFn(n);else{if(n.type!=F)throw new Error("Task is missing scheduleFn.");z(n)}return o}invokeTask(d,n,o,m){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,d,n,o,m):n.callback.apply(o,m)}cancelTask(d,n){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,d,n);else{if(!n.cancelFn)throw Error("Task is not cancelable");o=n.cancelFn(n)}return o}hasTask(d,n){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,d,n)}catch(o){this.handleError(d,o)}}_updateTaskCount(d,n){const o=this._taskCounts,m=o[d],P=o[d]=m+n;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=m&&0!=P||this.hasTask(this._zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:d})}}class E{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(d,n,o,m,P,q){if(this.type=d,this.source=n,this.data=m,this.scheduleFn=P,this.cancelFn=q,!o)throw new Error("callback is not defined");this.callback=o;const A=this;this.invoke=d===U&&m&&m.useG?E.invokeTask:function(){return E.invokeTask.call(te,A,this,arguments)}}static invokeTask(d,n,o){d||(d=this),ee++;try{return d.runCount++,d.zone.runTask(d,n,o)}finally{1==ee&&K(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(X,y)}_transitionTo(d,n,o){if(this._state!==n&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${d}', expecting state '${n}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=d,d==X&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const T=Q("setTimeout"),p=Q("Promise"),D=Q("then");let M,_=[],R=!1;function x(N){if(M||te[p]&&(M=te[p].resolve(0)),M){let d=M[D];d||(d=M.then),d.call(M,N)}else te[T](N,0)}function z(N){0===ee&&0===_.length&&x(K),N&&_.push(N)}function K(){if(!R){for(R=!0;_.length;){const N=_;_=[];for(let d=0;d<N.length;d++){const n=N[d];try{n.zone.runTask(n,null,null)}catch(o){w.onUnhandledError(o)}}}w.microtaskDrainDone(),R=!1}}const J={name:"NO ZONE"},X="notScheduled",y="scheduling",h="scheduled",H="running",V="canceling",Y="unknown",F="microTask",g="macroTask",U="eventTask",O={},w={symbol:Q,currentZoneFrame:()=>b,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:z,showUncaughtError:()=>!t[Q("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:x};let b={parent:null,zone:new t(null,null)},S=null,ee=0;function W(){}return c("Zone","Zone"),t}(),e.Zone}();(function Lt(e){(function St(e){e.__load_patch("ZoneAwarePromise",(r,c,t)=>{const i=Object.getOwnPropertyDescriptor,u=Object.defineProperty,T=t.symbol,p=[],D=!1!==r[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],_=T("Promise"),R=T("then");t.onUnhandledError=f=>{if(t.showUncaughtError()){const a=f&&f.rejection;a?console.error("Unhandled Promise rejection:",a instanceof Error?a.message:a,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",a,a instanceof Error?a.stack:void 0):console.error(f)}},t.microtaskDrainDone=()=>{for(;p.length;){const f=p.shift();try{f.zone.runGuarded(()=>{throw f.throwOriginal?f.rejection:f})}catch(a){z(a)}}};const x=T("unhandledPromiseRejectionHandler");function z(f){t.onUnhandledError(f);try{const a=c[x];"function"==typeof a&&a.call(this,f)}catch{}}function K(f){return f&&"function"==typeof f.then}function J(f){return f}function X(f){return A.reject(f)}const y=T("state"),h=T("value"),H=T("finally"),V=T("parentPromiseValue"),Y=T("parentPromiseState"),g=null,U=!0,O=!1;function b(f,a){return s=>{try{N(f,a,s)}catch(l){N(f,!1,l)}}}const S=function(){let f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}},ee="Promise resolved with itself",W=T("currentTaskTrace");function N(f,a,s){const l=S();if(f===s)throw new TypeError(ee);if(f[y]===g){let v=null;try{("object"==typeof s||"function"==typeof s)&&(v=s&&s.then)}catch(C){return l(()=>{N(f,!1,C)})(),f}if(a!==O&&s instanceof A&&s.hasOwnProperty(y)&&s.hasOwnProperty(h)&&s[y]!==g)n(s),N(f,s[y],s[h]);else if(a!==O&&"function"==typeof v)try{v.call(s,l(b(f,a)),l(b(f,!1)))}catch(C){l(()=>{N(f,!1,C)})()}else{f[y]=a;const C=f[h];if(f[h]=s,f[H]===H&&a===U&&(f[y]=f[Y],f[h]=f[V]),a===O&&s instanceof Error){const k=c.currentTask&&c.currentTask.data&&c.currentTask.data.__creationTrace__;k&&u(s,W,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)o(f,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&a==O){f[y]=0;let k=s;try{throw new Error("Uncaught (in promise): "+function E(f){return f&&f.toString===Object.prototype.toString?(f.constructor&&f.constructor.name||"")+": "+JSON.stringify(f):f?f.toString():Object.prototype.toString.call(f)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(Z){k=Z}D&&(k.throwOriginal=!0),k.rejection=s,k.promise=f,k.zone=c.current,k.task=c.currentTask,p.push(k),t.scheduleMicroTask()}}}return f}const d=T("rejectionHandledHandler");function n(f){if(0===f[y]){try{const a=c[d];a&&"function"==typeof a&&a.call(this,{rejection:f[h],promise:f})}catch{}f[y]=O;for(let a=0;a<p.length;a++)f===p[a].promise&&p.splice(a,1)}}function o(f,a,s,l,v){n(f);const C=f[y],k=C?"function"==typeof l?l:J:"function"==typeof v?v:X;a.scheduleMicroTask("Promise.then",()=>{try{const Z=f[h],L=!!s&&H===s[H];L&&(s[V]=Z,s[Y]=C);const I=a.run(k,void 0,L&&k!==X&&k!==J?[]:[Z]);N(s,!0,I)}catch(Z){N(s,!1,Z)}},s)}const P=function(){},q=r.AggregateError;class A{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(a){return a instanceof A?a:N(new this(null),U,a)}static reject(a){return N(new this(null),O,a)}static withResolvers(){const a={};return a.promise=new A((s,l)=>{a.resolve=s,a.reject=l}),a}static any(a){if(!a||"function"!=typeof a[Symbol.iterator])return Promise.reject(new q([],"All promises were rejected"));const s=[];let l=0;try{for(let k of a)l++,s.push(A.resolve(k))}catch{return Promise.reject(new q([],"All promises were rejected"))}if(0===l)return Promise.reject(new q([],"All promises were rejected"));let v=!1;const C=[];return new A((k,Z)=>{for(let L=0;L<s.length;L++)s[L].then(I=>{v||(v=!0,k(I))},I=>{C.push(I),l--,0===l&&(v=!0,Z(new q(C,"All promises were rejected")))})})}static race(a){let s,l,v=new this((Z,L)=>{s=Z,l=L});function C(Z){s(Z)}function k(Z){l(Z)}for(let Z of a)K(Z)||(Z=this.resolve(Z)),Z.then(C,k);return v}static all(a){return A.allWithCallback(a)}static allSettled(a){return(this&&this.prototype instanceof A?this:A).allWithCallback(a,{thenCallback:l=>({status:"fulfilled",value:l}),errorCallback:l=>({status:"rejected",reason:l})})}static allWithCallback(a,s){let l,v,C=new this((I,G)=>{l=I,v=G}),k=2,Z=0;const L=[];for(let I of a){K(I)||(I=this.resolve(I));const G=Z;try{I.then(B=>{L[G]=s?s.thenCallback(B):B,k--,0===k&&l(L)},B=>{s?(L[G]=s.errorCallback(B),k--,0===k&&l(L)):v(B)})}catch(B){v(B)}k++,Z++}return k-=2,0===k&&l(L),C}constructor(a){const s=this;if(!(s instanceof A))throw new Error("Must be an instanceof Promise.");s[y]=g,s[h]=[];try{const l=S();a&&a(l(b(s,U)),l(b(s,O)))}catch(l){N(s,!1,l)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return A}then(a,s){let l=this.constructor?.[Symbol.species];(!l||"function"!=typeof l)&&(l=this.constructor||A);const v=new l(P),C=c.current;return this[y]==g?this[h].push(C,v,a,s):o(this,C,v,a,s),v}catch(a){return this.then(null,a)}finally(a){let s=this.constructor?.[Symbol.species];(!s||"function"!=typeof s)&&(s=A);const l=new s(P);l[H]=H;const v=c.current;return this[y]==g?this[h].push(v,l,a,a):o(this,v,l,a,a),l}}A.resolve=A.resolve,A.reject=A.reject,A.race=A.race,A.all=A.all;const de=r[_]=r.Promise;r.Promise=A;const he=T("thenPatched");function _e(f){const a=f.prototype,s=i(a,"then");if(s&&(!1===s.writable||!s.configurable))return;const l=a.then;a[R]=l,f.prototype.then=function(v,C){return new A((Z,L)=>{l.call(this,Z,L)}).then(v,C)},f[he]=!0}return t.patchThen=_e,de&&(_e(de),ue(r,"fetch",f=>function oe(f){return function(a,s){let l=f.apply(a,s);if(l instanceof A)return l;let v=l.constructor;return v[he]||_e(v),l}}(f))),Promise[c.__symbol__("uncaughtPromiseErrors")]=p,A})})(e),function Ot(e){e.__load_patch("toString",r=>{const c=Function.prototype.toString,t=j("OriginalDelegate"),i=j("Promise"),u=j("Error"),E=function(){if("function"==typeof this){const _=this[t];if(_)return"function"==typeof _?c.call(_):Object.prototype.toString.call(_);if(this===Promise){const R=r[i];if(R)return c.call(R)}if(this===Error){const R=r[u];if(R)return c.call(R)}}return c.call(this)};E[t]=c,Function.prototype.toString=E;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}})}(e),function Zt(e){e.__load_patch("util",(r,c,t)=>{const i=Ge(r);t.patchOnProperties=$e,t.patchMethod=ue,t.bindArguments=xe,t.patchMacroTask=kt;const u=c.__symbol__("BLACK_LISTED_EVENTS"),E=c.__symbol__("UNPATCHED_EVENTS");r[E]&&(r[u]=r[E]),r[u]&&(c[u]=c[E]=r[u]),t.patchEventPrototype=vt,t.patchEventTarget=yt,t.isIEOrEdge=pt,t.ObjectDefineProperty=Ne,t.ObjectGetOwnPropertyDescriptor=Ee,t.ObjectCreate=_t,t.ArraySlice=dt,t.patchClass=Pe,t.wrapWithCurrentZone=je,t.filterProperties=st,t.attachOriginToPatched=fe,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Nt,t.getGlobalObjects=()=>({globalSources:et,zoneSymbolEventNames:ne,eventNames:i,isBrowser:Ve,isMix:qe,isNode:Ce,TRUE_STR:ae,FALSE_STR:le,ZONE_SYMBOL_PREFIX:ve,ADD_EVENT_LISTENER_STR:Le,REMOVE_EVENT_LISTENER_STR:Ie})})}(e)})(ct),function Dt(e){e.__load_patch("legacy",r=>{const c=r[e.__symbol__("legacyPatch")];c&&c()}),e.__load_patch("timers",r=>{const c="set",t="clear";ge(r,c,t,"Timeout"),ge(r,c,t,"Interval"),ge(r,c,t,"Immediate")}),e.__load_patch("requestAnimationFrame",r=>{ge(r,"request","cancel","AnimationFrame"),ge(r,"mozRequest","mozCancel","AnimationFrame"),ge(r,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(r,c)=>{const t=["alert","prompt","confirm"];for(let i=0;i<t.length;i++)ue(r,t[i],(E,T,p)=>function(D,_){return c.current.run(E,r,_,p)})}),e.__load_patch("EventTarget",(r,c,t)=>{(function wt(e,r){r.patchEventPrototype(e,r)})(r,t),function Rt(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:t,TRUE_STR:i,FALSE_STR:u,ZONE_SYMBOL_PREFIX:E}=r.getGlobalObjects();for(let p=0;p<c.length;p++){const D=c[p],M=E+(D+u),x=E+(D+i);t[D]={},t[D][u]=M,t[D][i]=x}const T=e.EventTarget;T&&T.prototype&&r.patchEventTarget(e,r,[T&&T.prototype])}(r,t);const i=r.XMLHttpRequestEventTarget;i&&i.prototype&&t.patchEventTarget(r,t,[i.prototype])}),e.__load_patch("MutationObserver",(r,c,t)=>{Pe("MutationObserver"),Pe("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(r,c,t)=>{Pe("IntersectionObserver")}),e.__load_patch("FileReader",(r,c,t)=>{Pe("FileReader")}),e.__load_patch("on_property",(r,c,t)=>{!function Ct(e,r){if(Ce&&!qe||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let t=[];if(Ve){const i=window;t=t.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const u=[];it(i,Ge(i),c&&c.concat(u),Ze(i))}t=t.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<t.length;i++){const u=r[t[i]];u?.prototype&&it(u.prototype,Ge(u.prototype),c)}}(t,r)}),e.__load_patch("customElements",(r,c,t)=>{!function Pt(e,r){const{isBrowser:c,isMix:t}=r.getGlobalObjects();(c||t)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(r,t)}),e.__load_patch("XHR",(r,c)=>{!function D(_){const R=_.XMLHttpRequest;if(!R)return;const M=R.prototype;let z=M[Me],K=M[Ae];if(!z){const w=_.XMLHttpRequestEventTarget;if(w){const b=w.prototype;z=b[Me],K=b[Ae]}}const J="readystatechange",X="scheduled";function y(w){const b=w.data,S=b.target;S[E]=!1,S[p]=!1;const ee=S[u];z||(z=S[Me],K=S[Ae]),ee&&K.call(S,J,ee);const W=S[u]=()=>{if(S.readyState===S.DONE)if(!b.aborted&&S[E]&&w.state===X){const d=S[c.__symbol__("loadfalse")];if(0!==S.status&&d&&d.length>0){const n=w.invoke;w.invoke=function(){const o=S[c.__symbol__("loadfalse")];for(let m=0;m<o.length;m++)o[m]===w&&o.splice(m,1);!b.aborted&&w.state===X&&n.call(w)},d.push(w)}else w.invoke()}else!b.aborted&&!1===S[E]&&(S[p]=!0)};return z.call(S,J,W),S[t]||(S[t]=w),U.apply(S,b.args),S[E]=!0,w}function h(){}function H(w){const b=w.data;return b.aborted=!0,O.apply(b.target,b.args)}const V=ue(M,"open",()=>function(w,b){return w[i]=0==b[2],w[T]=b[1],V.apply(w,b)}),F=j("fetchTaskAborting"),g=j("fetchTaskScheduling"),U=ue(M,"send",()=>function(w,b){if(!0===c.current[g]||w[i])return U.apply(w,b);{const S={target:w,url:w[T],isPeriodic:!1,args:b,aborted:!1},ee=He("XMLHttpRequest.send",h,S,y,H);w&&!0===w[p]&&!S.aborted&&ee.state===X&&ee.invoke()}}),O=ue(M,"abort",()=>function(w,b){const S=function x(w){return w[t]}(w);if(S&&"string"==typeof S.type){if(null==S.cancelFn||S.data&&S.data.aborted)return;S.zone.cancelTask(S)}else if(!0===c.current[F])return O.apply(w,b)})}(r);const t=j("xhrTask"),i=j("xhrSync"),u=j("xhrListener"),E=j("xhrScheduled"),T=j("xhrURL"),p=j("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",r=>{r.navigator&&r.navigator.geolocation&&function Et(e,r){const c=e.constructor.name;for(let t=0;t<r.length;t++){const i=r[t],u=e[i];if(u){if(!Ue(Ee(e,i)))continue;e[i]=(T=>{const p=function(){return T.apply(this,xe(arguments,c+"."+i))};return fe(p,T),p})(u)}}}(r.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(r,c)=>{function t(i){return function(u){ot(r,i).forEach(T=>{const p=r.PromiseRejectionEvent;if(p){const D=new p(i,{promise:u.promise,reason:u.rejection});T.invoke(D)}})}}r.PromiseRejectionEvent&&(c[j("unhandledPromiseRejectionHandler")]=t("unhandledrejection"),c[j("rejectionHandledHandler")]=t("rejectionhandled"))}),e.__load_patch("queueMicrotask",(r,c,t)=>{!function bt(e,r){r.patchMethod(e,"queueMicrotask",c=>function(t,i){Zone.current.scheduleMicroTask("queueMicrotask",i[0])})}(r,t)})}(ct)}},te=>{te(te.s=20)}]);
|
|
3
|
+
"use strict";(self.webpackChunksearch_element=self.webpackChunksearch_element||[]).push([[792],{674:()=>{function Nl(e,n){return Object.is(e,n)}let Ke=null,Ps=!1,lf=1;const ct=Symbol("SIGNAL");function Y(e){const n=Ke;return Ke=e,n}const no={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 Ls(e){if(Ps)throw new Error("");if(null===Ke)return;Ke.consumerOnSignalRead(e);const n=Ke.nextProducerIndex++;jl(Ke),n<Ke.producerNode.length&&Ke.producerNode[n]!==e&&js(Ke)&&Bl(Ke.producerNode[n],Ke.producerIndexOfThis[n]),Ke.producerNode[n]!==e&&(Ke.producerNode[n]=e,Ke.producerIndexOfThis[n]=js(Ke)?m_(e,Ke,n):0),Ke.producerLastReadVersion[n]=e.version}function Vs(e){if((!js(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==lf)){if(!e.producerMustRecompute(e)&&!Ll(e))return void Pl(e);e.producerRecomputeValue(e),Pl(e)}}function h_(e){if(void 0===e.liveConsumerNode)return;const n=Ps;Ps=!0;try{for(const t of e.liveConsumerNode)t.dirty||pF(t)}finally{Ps=n}}function p_(){return!1!==Ke?.consumerAllowSignalWrites}function pF(e){e.dirty=!0,h_(e),e.consumerMarkedDirty?.(e)}function Pl(e){e.dirty=!1,e.lastCleanEpoch=lf}function io(e){return e&&(e.nextProducerIndex=0),Y(e)}function Bs(e,n){if(Y(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(js(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Bl(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ll(e){jl(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Vs(t),i!==t.version))return!0}return!1}function Vl(e){if(jl(e),js(e))for(let n=0;n<e.producerNode.length;n++)Bl(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 m_(e,n,t){if(g_(e),0===e.liveConsumerNode.length&&y_(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=m_(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function Bl(e,n){if(g_(e),1===e.liveConsumerNode.length&&y_(e))for(let i=0;i<e.producerNode.length;i++)Bl(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];jl(r),r.producerIndexOfThis[i]=n}}function js(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function jl(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function g_(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function y_(e){return void 0!==e.producerNode}function __(e,n){const t=Object.create(mF);t.computation=e,void 0!==n&&(t.equal=n);const i=()=>{if(Vs(t),Ls(t),t.value===Ni)throw t.error;return t.value};return i[ct]=t,i}const ar=Symbol("UNSET"),ro=Symbol("COMPUTING"),Ni=Symbol("ERRORED"),mF={...no,value:ar,dirty:!0,error:null,equal:Nl,kind:"computed",producerMustRecompute:e=>e.value===ar||e.value===ro,producerRecomputeValue(e){if(e.value===ro)throw new Error("Detected cycle in computations.");const n=e.value;e.value=ro;const t=io(e);let i,r=!1;try{i=e.computation(),Y(null),r=n!==ar&&n!==Ni&&i!==Ni&&e.equal(n,i)}catch(o){i=Ni,e.error=o}finally{Bs(e,t)}r?e.value=n:(e.value=i,e.version++)}};let v_=function gF(){throw new Error};function b_(e){v_(e)}function zl(e,n){p_()||b_(e),e.equal(e.value,n)||(e.value=n,function vF(e){e.version++,function hF(){lf++}(),h_(e)}(e))}const df={...no,equal:Nl,value:void 0,kind:"signal"};let uf;function Ul(){return uf}function Pi(e){const n=uf;return uf=e,n}const ff=Symbol("NotFound");function Ee(e){return"function"==typeof e}function C_(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 hf=C_(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 Gl(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 hf?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{M_(o)}catch(s){n=n??[],s instanceof hf?n=[...n,...s.errors]:n.push(s)}}if(n)throw new hf(n)}}add(n){var t;if(n&&n!==this)if(this.closed)M_(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)&&Gl(t,n)}remove(n){const{_finalizers:t}=this;t&&Gl(t,n),n instanceof Ae&&n._removeParent(this)}}Ae.EMPTY=(()=>{const e=new Ae;return e.closed=!0,e})();const D_=Ae.EMPTY;function E_(e){return e instanceof Ae||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function M_(e){Ee(e)?e():e.unsubscribe()}const lr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$l={setTimeout(e,n,...t){const{delegate:i}=$l;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=$l;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function S_(e){$l.setTimeout(()=>{const{onUnhandledError:n}=lr;if(!n)throw e;n(e)})}function pf(){}const EF=mf("C",void 0,void 0);function mf(e,n,t){return{kind:e,value:n,error:t}}let cr=null;function Wl(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 gf extends Ae{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,E_(n)&&n.add(this)):this.destination=kF}static create(n,t,i){return new Hs(n,t,i)}next(n){this.isStopped?_f(function SF(e){return mf("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?_f(function MF(e){return mf("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?_f(EF,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 AF=Function.prototype.bind;function yf(e,n){return AF.call(e,n)}class TF{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){ql(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){ql(i)}else ql(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ql(t)}}}class Hs extends gf{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&&yf(n.next,o),error:n.error&&yf(n.error,o),complete:n.complete&&yf(n.complete,o)}):r=n}this.destination=new TF(r)}}function ql(e){lr.useDeprecatedSynchronousErrorHandling?function IF(e){lr.useDeprecatedSynchronousErrorHandling&&cr&&(cr.errorThrown=!0,cr.error=e)}(e):S_(e)}function _f(e,n){const{onStoppedNotification:t}=lr;t&&$l.setTimeout(()=>t(e,n))}const kF={closed:!0,next:pf,error:function FF(e){throw e},complete:pf},vf="function"==typeof Symbol&&Symbol.observable||"@@observable";function zs(e){return e}let Me=(()=>{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 OF(e){return e&&e instanceof gf||function RF(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(e)&&E_(e)}(t)?t:new Hs(t,i,r);return Wl(()=>{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=A_(i))((r,o)=>{const s=new Hs({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)}[vf](){return this}pipe(...t){return function I_(e){return 0===e.length?zs:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}(t)(this)}toPromise(t){return new(t=A_(t))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=n=>new e(n),e})();function A_(e){var n;return null!==(n=e??lr.Promise)&&void 0!==n?n:Promise}const NF=C_(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let J=(()=>{class e extends Me{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new T_(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new NF}next(t){Wl(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){Wl(()=>{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(){Wl(()=>{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?D_:(this.currentObservers=null,o.push(t),new Ae(()=>{this.currentObservers=null,Gl(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new Me;return t.source=this,t}}return e.create=(n,t)=>new T_(n,t),e})();class T_ 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:D_}}class F_ 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 PF(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 dt(e,n,t,i,r){return new LF(e,n,t,i,r)}class LF extends gf{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(dt(i,o=>{i.next(e.call(n,o,r++))}))})}const k_="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class w extends Error{code;constructor(n,t){super(hi(n,t)),this.code=n}}function hi(e,n){return`${function VF(e){return`NG0${Math.abs(e)}`}(e)}${n?": "+n:""}`}const Kl=Symbol("InputSignalNode#UNSET"),R_={...df,transformFn:void 0,applyValueToInputSignal(e,n){zl(e,n)}};function O_(e,n){const t=Object.create(R_);function i(){if(Ls(t),t.value===Kl)throw new w(-950,null);return t.value}return t.value=e,t.transformFn=n?.transform,i[ct]=t,i}function pi(e){return{toString:e}.toString()}const so="__parameters__";function lo(e,n,t){return pi(()=>{const i=function bf(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(so)?l[so]:Object.defineProperty(l,so,{value:[]})[so];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 BF(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 xf(e,n){return e?n?`${e} ${n}`:e:n||""}const jF=pe({__forward_ref__:pe});function xe(e){return e.__forward_ref__=xe,e.toString=function(){return nt(this())},e}function W(e){return Yl(e)?e():e}function Yl(e){return"function"==typeof e&&e.hasOwnProperty(jF)&&e.__forward_ref__===xe}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 P_(e,Xl)||P_(e,L_)}function P_(e,n){return e.hasOwnProperty(n)?e[n]:null}function Zl(e){return e&&(e.hasOwnProperty(wf)||e.hasOwnProperty($F))?e[wf]:null}const Xl=pe({\u0275prov:pe}),wf=pe({\u0275inj:pe}),L_=pe({ngInjectableDef:pe}),$F=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 Ef(e){return e&&!!e.\u0275providers}const co=pe({\u0275cmp:pe}),Mf=pe({\u0275dir:pe}),Sf=pe({\u0275pipe:pe}),B_=pe({\u0275mod:pe}),mi=pe({\u0275fac:pe}),Us=pe({__NG_ELEMENT_ID__:pe}),j_=pe({__NG_ENV_ID__:pe});function Q(e){return"string"==typeof e?e:null==e?"":String(e)}function H_(e,n){throw new w(-200,e)}function If(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 Af;function z_(){return Af}function jt(e){const n=Af;return Af=e,n}function U_(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 If()}const ur={},Tf="__NG_DI_FLAG__";class G_{injector;constructor(n){this.injector=n}retrieve(n,t){return this.injector.get(n,t.optional?ff:ur,t)}}const tc="ngTempTokenPath",QF=/\n/gm,$_="__source";function XF(e,n=ie.Default){if(void 0===Ul())throw new w(-203,!1);if(null===Ul())return U_(e,void 0,n);{const t=Ul();let i;return i=t instanceof G_?t.injector:t,i.get(e,n&ie.Optional?null:void 0,n)}}function I(e,n=ie.Default){return(z_()||XF)(W(e),n)}function g(e,n=ie.Default){return I(e,nc(n))}function nc(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ff(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=JF(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 Gs(e,n){return e[Tf]=n,e.prototype[Tf]=n,e}function JF(e){return e[Tf]}const uo=Gs(lo("Optional"),8),ic=Gs(lo("SkipSelf"),4);function fr(e,n){return e.hasOwnProperty(mi)?e[mi]:null}function fo(e,n){e.forEach(t=>Array.isArray(t)?fo(t,n):n(t))}function q_(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function rc(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Jt(e,n,t){let i=$s(e,n);return i>=0?e[1|i]=t:(i=~i,function Y_(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 kf(e,n){const t=$s(e,n);if(t>=0)return e[1|t]}function $s(e,n){return function sk(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=[],In=new C(""),Q_=new C("",-1),Rf=new C("");class sc{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[co]||null}function tn(e){return e[Sf]||null}function ak(...e){return{\u0275providers:Of(0,e),\u0275fromNgModule:!0}}function Of(e,...n){const t=[],i=new Set;let r;const o=s=>{t.push(s)};return fo(n,s=>{const a=s;ac(a,o,[],i)&&(r||=[],r.push(a))}),void 0!==r&&Z_(r,o),t}function Z_(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];Nf(r,o=>{n(o,i)})}}function ac(e,n,t,i){if(!(e=W(e)))return!1;let r=null,o=Zl(e);const s=!o&&re(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Zl(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)ac(c,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{fo(o.imports,d=>{ac(d,n,t,i)&&(c||=[],c.push(d))})}finally{}void 0!==c&&Z_(c,n)}if(!a){const c=fr(r)||(()=>new r);n({provide:r,useFactory:c,deps:ae},r),n({provide:Rf,useValue:r,multi:!0},r),n({provide:In,useValue:()=>I(r),multi:!0},r)}const l=o.providers;if(null!=l&&!a){const c=e;Nf(l,d=>{n(d,c)})}}}return r!==e&&void 0!==e.providers}function Nf(e,n){for(let t of e)Ef(t)&&(t=t.\u0275providers),Array.isArray(t)?Nf(t,n):n(t)}const lk=pe({provide:String,useValue:pe});function Pf(e){return null!==e&&"object"==typeof e&&lk in e}function hr(e){return"function"==typeof e}const Lf=new C(""),lc={},ev={};let Vf;function cc(){return void 0===Vf&&(Vf=new sc),Vf}class St{}class pr extends St{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,jf(n,s=>this.processProvider(s)),this.records.set(Q_,po(void 0,this)),r.has("environment")&&this.records.set(St,po(void 0,this));const o=this.records.get(Lf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Rf,ae,ie.Self))}retrieve(n,t){return this.get(n,t.optional?ff:ur,t)}destroy(){Ws(this),this._destroyed=!0;const n=Y(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(),Y(n)}}onDestroy(n){return Ws(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Ws(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(Ws(this),n.hasOwnProperty(j_))return n[j_](this);i=nc(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 pk(e){return"function"==typeof e||"object"==typeof e&&e instanceof C}(n)&&Ql(n);l=c&&this.injectableDefInScope(c)?po(Bf(n),lc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l,i)}return(i&ie.Self?cc():this.parent).get(n,t=i&ie.Optional&&t===ur?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[tc]=a[tc]||[]).unshift(nt(n)),o)throw a;return function ek(e,n,t,i){const r=e[tc];throw n[$_]&&r.unshift(n[$_]),e.message=function tk(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[tc]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{jt(s),Pi(o)}}resolveInjectorInitializers(){const n=Y(null),t=Pi(this),i=jt(void 0);try{const o=this.get(In,ae,ie.Self);for(const s of o)s()}finally{Pi(t),jt(i),Y(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 uk(e){return Pf(e)?po(void 0,e.useValue):po(tv(e),lc)}(n);if(!hr(n)&&!0===n.multi){let r=this.records.get(t);r||(r=po(void 0,lc,!0),r.factory=()=>Ff(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t,i){const r=Y(null);try{return t.value===ev?H_(nt(n)):t.value===lc&&(t.value=ev,t.value=t.factory(void 0,i)),"object"==typeof t.value&&t.value&&function hk(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{Y(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 Bf(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 dk(e){if(e.length>0)throw new w(204,!1);const t=function GF(e){return e&&(e[Xl]||e[L_])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new w(204,!1)}function tv(e,n,t){let i;if(hr(e)){const r=W(e);return fr(r)||Bf(r)}if(Pf(e))i=()=>W(e.useValue);else if(function J_(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ff(e.deps||[]));else if(function X_(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 fk(e){return!!e.deps}(e))return fr(r)||Bf(r);i=()=>new r(...Ff(e.deps))}return i}function Ws(e){if(e.destroyed)throw new w(205,!1)}function po(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function jf(e,n){for(const t of e)Array.isArray(t)?jf(t,n):t&&Ef(t)?jf(t.\u0275providers,n):n(t)}function Hf(e,n){let t;e instanceof pr?(Ws(e),t=e):t=new G_(e);const r=Pi(t),o=jt(void 0);try{return n()}finally{Pi(r),jt(o)}}function zf(){return void 0!==z_()||null!=Ul()}function mo(e){if(!zf())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 $f(e){return!!(4&e.flags)}function Tn(e){return e.componentOffset>-1}function pc(e){return!(1&~e.flags)}function rn(e){return!!e.template}function yi(e){return!!(512&e[2])}function _i(e){return!(256&~e[2])}class Mk{previousValue;currentValue;firstChange;constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function cv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}const on=(()=>{const e=()=>dv;return e.ngInherit=!0,e})();function dv(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ik),Sk}function Sk(){const e=fv(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 Ik(e,n,t,i,r){const o=this.declaredInputs[i],s=fv(e)||function Ak(e,n){return e[uv]=n}(e,{previous:Sn,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new Mk(c&&c.currentValue,t,l===Sn),cv(e,n,r,t)}const uv="__ngSimpleChanges__";function fv(e){return e[uv]||null}function oe(e){for(;Array.isArray(e);)e=e[0];return e}function wo(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 Yf(e){return!(128&~e[2])}function pn(e,n){return null==n?null:e[n]}function mv(e){e[17]=0}function Qf(e){1024&e[2]||(e[2]|=1024,Yf(e)&&Co(e))}function Ys(e){return!!(9216&e[2]||e[24]?.dirty)}function Zf(e){e[10].changeDetectionScheduler?.notify(8),64&e[2]&&(e[2]|=1024),Ys(e)&&Co(e)}function Co(e){e[10].changeDetectionScheduler?.notify(0);let n=vi(e);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,Yf(n));)n=vi(n)}function gc(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 Jf(e){return e[7]??=[]}function eh(e){return e.cleanup??=[]}const q={lFrame:Ev(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let nh=!1;function ih(){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=yv();for(;null!==e&&64===e.type;)e=e.parent;return e}function yv(){return q.lFrame.currentTNode}function Fn(e,n){const t=q.lFrame;t.currentTNode=e,t.isParent=n}function rh(){return q.lFrame.isParent}function oh(){q.lFrame.isParent=!1}function bv(){return nh}function _c(e){const n=nh;return nh=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 Gk(e,n){const t=q.lFrame;t.bindingIndex=t.bindingRootIndex=e,sh(n)}function sh(e){q.lFrame.currentDirectiveIndex=e}function lh(){return q.lFrame.currentQueryIndex}function vc(e){q.lFrame.currentQueryIndex=e}function Wk(e){const n=e[1];return 2===n.type?n.declTNode:1===n.type?e[5]:null}function Cv(e,n,t){if(t&ie.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&ie.Host||(r=Wk(o),null===r||(o=o[14],10&r.type))););if(null===r)return!1;n=r,e=o}const i=q.lFrame=Dv();return i.currentTNode=n,i.lView=e,!0}function ch(e){const n=Dv(),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 Dv(){const e=q.lFrame,n=null===e?null:e.child;return null===n?Ev(e):n}function Ev(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 Mv(){const e=q.lFrame;return q.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Sv=Mv;function dh(){const e=Mv();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 Tv=!0;function Zs(){return Tv}function Yn(e){Tv=e}function uh(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 bc(e,n,t){Fv(e,n,3,t)}function xc(e,n,t,i){(3&e[2])===t&&Fv(e,n,t,i)}function fh(e,n){let t=e[2];(3&t)===n&&(t&=16383,t+=1,e[2]=t)}function Fv(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)&&(Xk(e,t,n,l),e[17]=(4294901760&e[17])+l+2),l++}function kv(e,n){const t=Y(null);try{n.call(e)}finally{Y(t)}}function Xk(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,kv(a,o)):kv(a,o)}class Xs{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,i){this.factory=n,this.canSeeViewProviders=t,this.injectImpl=i}}function Rv(e){return 3===e||4===e||6===e}function Ov(e){return 64===e.charCodeAt(0)}function Eo(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||Nv(e,t,r,0,-1===t||2===t?n[++i]:null)}}return e}function Nv(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 mh(e){return-1!==e}function Js(e){return 32767&e}function ea(e,n){let t=function iR(e){return e>>16}(e),i=n;for(;t>0;)i=i[14],t--;return i}let gh=!0;function wc(e){const n=gh;return gh=e,n}let rR=0;const Qn={};function Cc(e,n){const t=Vv(e,n);if(-1!==t)return t;const i=n[1];i.firstCreatePass&&(e.injectorIndex=n.length,yh(i.data,e),yh(n,null),yh(i.blueprint,null));const r=Dc(e,n),o=e.injectorIndex;if(mh(r)){const s=Js(r),a=ea(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 yh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Vv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Dc(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=$v(r),null===i)return-1;if(t++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return-1}function _h(e,n,t){!function oR(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Us)&&(i=t[Us]),null==i&&(i=t[Us]=rR++);const r=255&i;n.data[e+(r>>5)]|=1<<r}(e,n,t)}function Bv(e,n,t){if(t&ie.Optional||void 0!==e)return e;If()}function jv(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):U_(n,i,t&ie.Optional)}finally{jt(o)}}return Bv(i,0,t)}function Hv(e,n,t,i=ie.Default,r){if(null!==e){if(2048&n[2]&&!(i&ie.Self)){const s=function dR(e,n,t,i,r){let o=e,s=n;for(;null!==o&&null!==s&&2048&s[2]&&!yi(s);){const a=zv(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=$v(s),s=s[14]}o=l}return r}(e,n,t,i,Qn);if(s!==Qn)return s}const o=zv(e,n,t,i,Qn);if(o!==Qn)return o}return jv(n,t,i,r)}function zv(e,n,t,i,r){const o=function lR(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Us)?e[Us]:void 0;return"number"==typeof n?n>=0?255&n:cR:n}(t);if("function"==typeof o){if(!Cv(n,e,i))return i&ie.Host?Bv(r,0,i):jv(n,t,i,r);try{let s;if(s=o(i),null!=s||i&ie.Optional)return s;If()}finally{Sv()}}else if("number"==typeof o){let s=null,a=Vv(e,n),l=-1,c=i&ie.Host?n[15][5]:null;for((-1===a||i&ie.SkipSelf)&&(l=-1===a?Dc(e,n):n[a+8],-1!==l&&Gv(i,!1)?(s=n[1],a=Js(l),n=ea(l,n)):a=-1);-1!==a;){const d=n[1];if(Uv(o,a,d.data)){const u=aR(a,n,t,s,i,c);if(u!==Qn)return u}l=n[a+8],-1!==l&&Gv(i,n[1].data[a+8]===c)&&Uv(o,a,n)?(s=d,a=Js(l),n=ea(l,n)):a=-1}}return r}function aR(e,n,t,i,r,o){const s=n[1],a=s.data[e+8],d=Ec(a,s,t,null==i?Tn(a)&&gh:i!=s&&!!(3&a.type),r&ie.Host&&o===a);return null!==d?ta(n,s,d,a,r):Qn}function Ec(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&&rn(f)&&f.type===t)return l}return null}function ta(e,n,t,i,r){let o=e[t];const s=n.data;if(o instanceof Xs){const a=o;a.resolving&&H_(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():Q(e)}(s[t]));const l=wc(a.canSeeViewProviders);a.resolving=!0;const d=a.injectImpl?jt(a.injectImpl):null;Cv(e,i,ie.Default);try{o=e[t]=a.factory(void 0,r,s,e,i),n.firstCreatePass&&t>=i.directiveStart&&function Zk(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=dv(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),wc(l),a.resolving=!1,Sv()}}return o}function Uv(e,n,t){return!!(t[n+(e>>5)]&1<<e)}function Gv(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 Hv(this._tNode,this._lView,n,nc(i),t)}}function cR(){return new Ue(ee(),x())}function O(e){return pi(()=>{const n=e.prototype.constructor,t=n[mi]||vh(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[mi]||vh(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function vh(e){return Yl(e)?()=>{const n=vh(W(e));return n&&n()}:fr(e)}function $v(e){const n=e[1],t=n.type;return 2===t?n.declTNode:1===t?e[5]:null}function Qv(e,n=null,t=null,i){const r=Zv(e,n,t,i);return r.resolveInjectorInitializers(),r}function Zv(e,n=null,t=null,i,r=new Set){const o=[t||ae,ak(e)];return i=i||("object"==typeof e?void 0:nt(e)),new pr(o,n||cc(),i||null,r)}class ke{static THROW_IF_NOT_FOUND=ur;static NULL=new sc;static create(n,t){if(Array.isArray(n))return Qv({name:""},t,n,"");{const i=n.name??"";return Qv({name:i},n.parent,n.providers,i)}}static \u0275prov=D({token:ke,providedIn:"any",factory:()=>I(Q_)});static __NG_ELEMENT_ID__=-1}class Xv{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>function Mc(e){return function sR(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(Rv(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 Jv=!1;let Zn=(()=>class e{static __NG_ELEMENT_ID__=vR;static __NG_ENV_ID__=t=>t})();class eb extends Zn{_lView;constructor(n){super(),this._lView=n}onDestroy(n){const t=this._lView;return _i(t)?(n(),()=>{}):(gc(t,n),()=>function Xf(e,n){if(null===e[21])return;const t=e[21].indexOf(n);-1!==t&&e[21].splice(t,1)}(t,n))}}function vR(){return new eb(x())}class Xn{}const na=new C("",{providedIn:"root",factory:()=>!1}),tb=new C(""),xh=new C("");let ji=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new F_(!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 we=class bR extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,zf()&&(this.destroyRef=g(Zn,{optional:!0})??void 0,this.pendingTasks=g(ji,{optional:!0})??void 0)}emit(n){const t=Y(null);try{super.next(n)}finally{Y(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 ia(...e){}function ib(e){let n,t;function i(){e=ia;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 rb(e){return queueMicrotask(()=>e()),()=>{e=ia}}const wh="isAngularZone",Ic=wh+"_ID";let xR=0;class B{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new we(!1);onMicrotaskEmpty=new we(!1);onStable=new we(!1);onError=new we(!1);constructor(n){const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=Jv}=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 DR(e){const n=()=>{!function CR(e){function n(){ib(()=>{e.callbackScheduled=!1,Dh(e),e.isCheckStableRunning=!0,Ch(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Dh(e))}(e)},t=xR++;e._inner=e._inner.fork({name:"angular",properties:{[wh]:!0,[Ic]:t,[Ic+t]:!0},onInvokeTask:(i,r,o,s,a,l)=>{if(function ER(e){return ab(e,"__ignore_ng_zone__")}(l))return i.invokeTask(o,s,a,l);try{return ob(e),i.invokeTask(o,s,a,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&n(),sb(e)}},onInvoke:(i,r,o,s,a,l,c)=>{try{return ob(e),i.invoke(o,s,a,l,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function MR(e){return ab(e,"__scheduler_tick__")}(l)&&n(),sb(e)}},onHasTask:(i,r,o,s)=>{i.hasTask(o,s),r===o&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Dh(e),Ch(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(wh)}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,wR,ia,ia);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 wR={};function Ch(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 Dh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function ob(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sb(e){e._nesting--,Ch(e)}class Eh{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new we;onMicrotaskEmpty=new we;onStable=new we;onError=new we;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 ab(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class zt{_console=console;handleError(n){this._console.error("ERROR",n)}}const IR=new C("",{providedIn:"root",factory:()=>{const e=g(B),n=g(zt);return t=>e.runOutsideAngular(()=>n.handleError(t))}});class lb{destroyed=!1;listeners=null;errorHandler=g(zt,{optional:!0});destroyRef=g(Zn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new w(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{const t=this.listeners?.indexOf(n);void 0!==t&&-1!==t&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed)return void console.warn(hi(953,!1));if(null===this.listeners)return;const t=Y(null);try{for(const i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{Y(t)}}}function cb(e){return new lb}function db(e,n){return O_(e,n)}const Cr=(db.required=function AR(e){return O_(Kl,e)},db);function TR(){return Mo(ee(),x())}function Mo(e,n){return new U(At(e,n))}let U=(()=>class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=TR})();function ub(e){return e instanceof U?e.nativeElement:e}function So(e){return"function"==typeof e&&void 0!==e[ct]}function kn(e,n){const t=function _F(e,n){const t=Object.create(df);t.value=e,void 0!==n&&(t.equal=n);const i=()=>(Ls(t),t.value);return i[ct]=t,i}(e,n?.equal),i=t[ct];return t.set=r=>zl(i,r),t.update=r=>function x_(e,n){p_()||b_(e),zl(e,n(e.value))}(i,r),t.asReadonly=Ac.bind(t),t}function Ac(){const e=this[ct];if(void 0===e.readonlyFn){const n=()=>this();n[ct]=e,e.readonlyFn=n}return e.readonlyFn}function fb(e){return So(e)&&"function"==typeof e.set}function FR(){return this._results[Symbol.iterator]()}class Tc{_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 ok(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]=FR}function oa(e){return!(128&~e.flags)}var Fc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Fc||{});const kc=new Map;let RR=0;function Sh(e){kc.delete(e[19])}const Ah="__ngContext__";function Gt(e,n){ze(n)?(e[Ah]=n[19],function NR(e){kc.set(e[19],e)}(n)):e[Ah]=n}function xb(e){return Cb(e[12])}function wb(e){return Cb(e[4])}function Cb(e){for(;null!==e&&!rt(e);)e=e[4];return e}let Fh;function Jn(){if(void 0!==Fh)return Fh;if(typeof document<"u")return document;throw new w(210,!1)}const ei=new C("",{providedIn:"root",factory:()=>eO}),eO="ng",kh=new C(""),sn=new C("",{providedIn:"platform",factory:()=>"unknown"}),Dr=new C(""),Rh=new C("",{providedIn:"root",factory:()=>Jn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Rb=new C("",{providedIn:"root",factory:()=>!1});var Gh=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Gh||{});const Ao=new C(""),Lb=new Set;function an(e){Lb.has(e)||(Lb.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Vc=(()=>class e{view;node;constructor(t,i){this.view=t,this.node=i}static __NG_ELEMENT_ID__=oO})();function oO(){return new Vc(x(),ee())}var To=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(To||{});let $h=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();const Vb=[To.EarlyRead,To.Write,To.MixedReadWrite,To.Read];let Bb=(()=>{class e{ngZone=g(B);scheduler=g(Xn);errorHandler=g(zt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(Ao,{optional:!0})}execute(){this.executing=!0;for(const i of Vb)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),Co(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(Gh.AFTER_NEXT_RENDER,t):t()}static \u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}return e})();class jb{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 Bc(e,n){!n?.injector&&mo();const t=n?.injector??g(ke);return an("NgAfterRender"),Hb(e,t,n,!1)}function Hb(e,n,t,i){const r=n.get($h);r.impl??=n.get(Bb);const o=n.get(Ao,null,{optional:!0}),s=t?.phase??To.MixedReadWrite,a=!0!==t?.manualCleanup?n.get(Zn):null,l=n.get(Vc,null,{optional:!0}),c=new jb(r.impl,function sO(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 hx(e,n){const t=e.contentQueries;if(null!==t){const i=Y(null);try{for(let r=0;r<t.length;r+=2){const s=t[r+1];if(-1!==s){const a=e.data[s];vc(t[r]),a.contentQueries(2,n[s],s)}}}finally{Y(i)}}}function op(e,n,t){vc(0);const i=Y(null);try{n(e,t)}finally{Y(i)}}function sp(e,n,t){if($f(n)){const i=Y(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{Y(i)}}}var gn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(gn||{});let Zc,Xc;function Vo(e){return function yx(){if(void 0===Zc&&(Zc=null,He.trustedTypes))try{Zc=He.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zc}()?.createHTML(e)||e}function _x(e){return function cp(){if(void 0===Xc&&(Xc=null,He.trustedTypes))try{Xc=He.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Xc}()?.createHTML(e)||e}class Sr{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${k_})`}}class KO extends Sr{getTypeName(){return"HTML"}}class YO extends Sr{getTypeName(){return"Style"}}class QO extends Sr{getTypeName(){return"Script"}}class ZO extends Sr{getTypeName(){return"URL"}}class XO extends Sr{getTypeName(){return"ResourceURL"}}function ln(e){return e instanceof Sr?e.changingThisBreaksApplicationSecurity:e}function ti(e,n){const t=function JO(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 ${k_})`)}return t===n}class oN{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Vo(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}}class sN{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=Vo(n),t}}const lN=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jc(e){return(e=String(e)).match(lN)?e:"unsafe:"+e}function Di(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function _a(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const wx=Di("area,br,col,hr,img,wbr"),Cx=Di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dx=Di("rp,rt"),dp=_a(wx,_a(Cx,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")),_a(Dx,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")),_a(Dx,Cx)),up=Di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ex=_a(up,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")),cN=Di("script,style,template");class dN{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=hN(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=fN(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=Mx(n).toLowerCase();if(!dp.hasOwnProperty(t))return this.sanitizedSomething=!0,!cN.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(!Ex.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;up[a]&&(l=Jc(l)),this.buf.push(" ",s,'="',Ix(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=Mx(n).toLowerCase();dp.hasOwnProperty(t)&&!wx.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(Ix(n))}}function fN(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw Sx(n);return n}function hN(e){const n=e.firstChild;if(n&&function uN(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw Sx(n);return n}function Mx(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function Sx(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const pN=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,mN=/([^\#-~ |!])/g;function Ix(e){return e.replace(/&/g,"&").replace(pN,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(mN,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let ed;function Ax(e,n){let t=null;try{ed=ed||function xx(e){const n=new sN(e);return function aN(){try{return!!(new window.DOMParser).parseFromString(Vo(""),"text/html")}catch{return!1}}()?new oN(n):n}(e);let i=n?String(n):"";t=ed.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=ed.getInertBodyElement(i)}while(i!==o);return Vo((new dN).sanitizeChildren(fp(t)||t))}finally{if(t){const i=fp(t)||t;for(;i.firstChild;)i.firstChild.remove()}}}function fp(e){return"content"in e&&function gN(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const yN=/^>|^->|<!--|-->|--!>|<!-$/g,_N=/(<|>)/g;function pp(e,n){return e.createComment(function Tx(e){return e.replace(yN,n=>n.replace(_N,"\u200b$1\u200b"))}(n))}function td(e,n,t){return e.createElement(n,t)}function Ir(e,n,t,i,r){e.insertBefore(n,t,i,r)}function kx(e,n,t){e.appendChild(n,t)}function Rx(e,n,t,i,r){null!==i?Ir(e,n,t,i,r):kx(e,n,t)}function Nx(e,n,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&function nR(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];Ov(o)?e.setProperty(n,o,s):e.setAttribute(n,o,s),i++}}}(e,n,i),null!==r&&function xN(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}(e,n,r),null!==o&&function bN(e,n,t){e.setAttribute(n,"style",t)}(e,n,o)}var ht=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}(ht||{});function mp(e){const n=ba();return n?_x(n.sanitize(ht.HTML,e)||""):ti(e,"HTML")?_x(ln(e)):Ax(Jn(),Q(e))}function nd(e){const n=ba();return n?n.sanitize(ht.URL,e)||"":ti(e,"URL")?ln(e):Jc(Q(e))}function ba(){const e=x();return e&&e[10].sanitizer}function VN(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 Hx="ng-template";function BN(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==VN(n[r+1].toLowerCase(),t,0))return!0}else if(gp(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 gp(e){return 4===e.type&&e.value!==Hx}function jN(e,n,t){return n===(4!==e.type||t?e.value:Hx)}function HN(e,n,t){let i=4;const r=e.attrs,o=null!==r?function GN(e){for(let n=0;n<e.length;n++)if(Rv(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&&!jN(e,l,t)||""===l&&1===n.length){if(Rn(i))return!1;s=!0}}else if(8&i){if(null===r||!BN(e,r,l,t)){if(Rn(i))return!1;s=!0}}else{const c=n[++a],d=zN(l,r,gp(e),t);if(-1===d){if(Rn(i))return!1;s=!0;continue}if(""!==c){let u;if(u=d>o?"":r[d+1].toLowerCase(),2&i&&c!==u){if(Rn(i))return!1;s=!0}}}}else{if(!s&&!Rn(i)&&!Rn(l))return!1;if(s&&Rn(l))continue;s=!1,i=l|1&i}}return Rn(i)||s}function Rn(e){return!(1&e)}function zN(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 $N(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 zx(e,n,t=!1){for(let i=0;i<n.length;i++)if(HN(e,n[i],t))return!0;return!1}function WN(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 Ux(e,n){return e?":not("+n.trim()+")":n}function qN(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&&!Rn(s)&&(n+=Ux(o,r),r=""),i=s,o=o||!Rn(i);t++}return""!==r&&(n+=Ux(o,r)),n}const Z={};function yp(e,n,t,i,r,o,s,a,l,c,d){const u=T+i,h=u+r,f=function QN(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:Z);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 rd(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),mv(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 OR(){return RR++}(),u[6]=d,u[20]=c,u[15]=2==n.type?e[15]:u,u}function _p(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function xa(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 vp(e,n){return e[12]?e[13][4]=n:e[12]=n,e[13]=n,n}function F(e=1){$x(z(),x(),bt()+e,!1)}function $x(e,n,t,i){if(!i)if(3&~n[2]){const o=e.preOrderHooks;null!==o&&xc(n,o,0,t)}else{const o=e.preOrderCheckHooks;null!==o&&bc(n,o,t)}xr(t)}var od=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(od||{});function bp(e,n,t,i){const r=Y(null);try{const[o,s,a]=e.inputs[t];let l=null;!!(s&od.SignalBased)&&(l=n[o][ct]),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):cv(n,l,o,i)}finally{Y(r)}}function Wx(e,n,t,i,r){const o=bt(),s=2&i;try{xr(-1),s&&n.length>T&&$x(e,n,T,!1),t(i,r)}finally{xr(o)}}function sd(e,n,t){(function r1(e,n,t){const i=t.directiveStart,r=t.directiveEnd;Tn(t)&&function ZN(e,n,t){const i=At(n,e),r=function Gx(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=yp(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=vp(e,rd(e,r,null,_p(t),i,n,null,o.createRenderer(i,t),null,null,null));e[n.index]=s}(n,t,e.data[i+t.componentOffset]),e.firstCreatePass||Cc(t,n);const o=t.initialInputs;for(let s=i;s<r;s++){const a=e.data[s],l=ta(n,e,s,t);Gt(l,n),null!==o&&a1(0,s-i,l,a,0,o),rn(a)&&(Tt(t.index,n)[8]=ta(n,e,s,t))}})(e,n,t),!(64&~t.flags)&&function o1(e,n,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function $k(){return q.lFrame.currentDirectiveIndex}();try{xr(o);for(let a=i;a<r;a++){const l=e.data[a],c=n[a];sh(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&s1(l,c)}}finally{xr(-1),sh(s)}}(e,n,t)}function xp(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 qx=()=>null;function $t(e,n,t,i,r,o,s,a){if(a||!Ep(n,e,t,i,r)){if(3&n.type){const l=At(n,t);i=function n1(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 Tn(n)&&function i1(e,n){const t=Tt(n,e);16&t[2]||(t[2]|=64)}(t,n.index)}function s1(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function wp(e,n){const t=e.directiveRegistry;let i=null;if(t)for(let r=0;r<t.length;r++){const o=t[r];zx(n,o.selectors,!1)&&(i??=[],rn(o)?i.unshift(o):i.push(o))}return i}function ii(e,n,t,i,r,o){const s=At(e,n);!function Cp(e,n,t,i,r,o,s){if(null==o)e.removeAttribute(n,r,t);else{const a=null==s?Q(o):s(o,i||"",r);e.setAttribute(n,r,a,t)}}(n[H],s,o,e.value,t,i,r)}function a1(e,n,t,i,r,o){const s=o[n];if(null!==s)for(let a=0;a<s.length;a+=2)bp(i,t,s[a],s[a+1])}function Ep(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];bp(n.data[c],t[c],s[l+1],r),a=!0}if(o)for(const l of o)bp(n.data[l],t[l],i,r),a=!0;return a}function l1(e,n){const t=Tt(n,e),i=t[1];!function c1(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),ad(i,t,t[8])}function ad(e,n,t){ch(n);try{const i=e.viewQuery;null!==i&&op(1,i,t);const r=e.template;null!==r&&Wx(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[18]?.finishViewCreation(e),e.staticContentQueries&&hx(e,n),e.staticViewQueries&&op(2,e.viewQuery,t);const o=e.components;null!==o&&function d1(e,n){for(let t=0;t<n.length;t++)l1(e,n[t])}(n,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[2]&=-5,dh()}}function jo(e,n,t,i){const r=Y(null);try{const o=n.tView,l=rd(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)),ad(o,l,t),l}finally{Y(r)}}function Ar(e,n){return!n||null===n.firstChild||oa(e)}function Sp(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 Ho(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?kx(n,t,a):Ir(n,t,a,r||null,!0):1===e&&null!==t?Ir(n,t,a,r||null,!0):2===e?function va(e,n,t){e.removeChild(null,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function y1(e,n,t,i,r){const o=t[7];o!==oe(t)&&Ho(n,e,i,o,r);for(let a=10;a<t.length;a++){const l=t[a];cd(l[1],l,e,n,i,o)}}(n,e,o,t,r)}}function Zx(e,n){n[10].changeDetectionScheduler?.notify(9),cd(e,n,n[H],2,null,null)}function Ip(e,n){const t=e[9],i=t.indexOf(n);t.splice(i,1)}function wa(e,n){if(_i(n))return;const t=n[H];t.destroyNode&&cd(e,n,t,3,null,null),function h1(e){let n=e[12];if(!n)return Ap(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)&&Ap(n[1],n),n=n[3];null===n&&(n=e),ze(n)&&Ap(n[1],n),t=n&&n[4]}n=t}}(n)}function Ap(e,n){if(_i(n))return;const t=Y(null);try{n[2]&=-129,n[2]|=256,n[24]&&Vl(n[24]),function m1(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 Xs)){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 p1(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]&&Ip(i,n);const r=n[18];null!==r&&r.detachView(e)}Sh(n)}finally{Y(t)}}function Tp(e,n,t){return function Xx(e,n,t){let i=n;for(;null!==i&&168&i.type;)i=(n=i).parent;if(null===i)return t[0];if(Tn(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 Jx(e,n,t){return tw(e,n,t)}let tw=function ew(e,n,t){return 40&e.type?At(e,t):null};function ld(e,n,t,i){const r=Tp(e,i,n),o=n[H],a=Jx(i.parent||n[5],i,n);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)Rx(o,r,t[l],a,!1);else Rx(o,r,t,a,!1)}function Tr(e,n){if(null!==n){const t=n.type;if(3&t)return At(n,e);if(4&t)return kp(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Tr(e,i);{const r=e[n.index];return rt(r)?kp(-1,r):oe(r)}}if(128&t)return Tr(e,n.next);if(32&t)return Sp(n,e)()||oe(e[n.index]);{const i=iw(e,n);return null!==i?Array.isArray(i)?i[0]:Tr(vi(e[15]),i):Tr(e,n.next)}}return null}function iw(e,n){return null!==n?e[15][5].projection[n.projection]:null}function kp(e,n){const t=10+e+1;if(t<n.length){const i=n[t],r=i[1].firstChild;if(null!==r)return Tr(i,r)}return n[7]}function Rp(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&&Gt(oe(a),i),t.flags|=2),!Ui(t))if(8&l)Rp(e,n,t.child,i,r,o,!1),Ho(n,e,r,a,o);else if(32&l){const c=Sp(t,i);let d;for(;d=c();)Ho(n,e,r,d,o);Ho(n,e,r,a,o)}else 16&l?rw(e,n,i,t,r,o):Ho(n,e,r,a,o);t=s?t.projectionNext:t.next}}function cd(e,n,t,i,r,o){Rp(t,i,e.firstChild,n,r,o,!1)}function rw(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++)Ho(n,e,r,l[c],o);else{let c=l;const d=s[3];oa(i)&&(c.flags|=128),Rp(e,n,c,d,r,o,!0)}}function zo(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)&&Op(o,i);const s=t.type;if(8&s)zo(e,n,t.child,i);else if(32&s){const a=Sp(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=iw(n,t);if(Array.isArray(a))i.push(...a);else{const l=vi(n[15]);zo(l[1],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}function Op(e,n){for(let t=10;t<e.length;t++){const i=e[t],r=i[1].firstChild;null!==r&&zo(i[1],i,r,n)}e[7]!==e[0]&&n.push(e[7])}function ow(e){if(null!==e[25]){for(const n of e[25])n.impl.addSequence(n);e[25].length=0}}let sw=[];const w1={...no,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Co(e.lView)},consumerOnSignalRead(){this.lView[24]=this}},D1={...no,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=vi(e.lView);for(;n&&!aw(n[1]);)n=vi(n);n&&Qf(n)},consumerOnSignalRead(){this.lView[24]=this}};function aw(e){return 2!==e.type}function lw(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 dd(e,n=!0,t=0){const r=e[10].rendererFactory;r.begin?.();try{!function M1(e,n){const t=bv();try{_c(!0),Np(e,n);let i=0;for(;Ys(e);){if(100===i)throw new w(103,!1);i++,Np(e,1)}}finally{_c(t)}}(e,t)}catch(s){throw n&&function Dp(e,n){const t=e[9],i=t?t.get(zt,null):null;i&&i.handleError(n)}(e,s),s}finally{r.end?.()}}function dw(e,n,t,i){if(_i(n))return;const r=n[2];ch(n);let a=!0,l=null,c=null;aw(e)?(c=function v1(e){return e[24]??function b1(e){const n=sw.pop()??Object.create(w1);return n.lView=e,n}(e)}(n),l=io(c)):null===function cf(){return Ke}()?(a=!1,c=function C1(e){const n=e[24]??Object.create(D1);return n.lView=e,n}(n),l=io(c)):n[24]&&(Vl(n[24]),n[24]=null);try{mv(n),function xv(e){return q.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&Wx(e,n,t,2,i);const d=!(3&~r);if(d){const f=e.preOrderCheckHooks;null!==f&&bc(n,f,null)}else{const f=e.preOrderHooks;null!==f&&xc(n,f,0,null),fh(n,0)}if(function S1(e){for(let n=xb(e);null!==n;n=wb(n)){if(!(2&n[2]))continue;const t=n[9];for(let i=0;i<t.length;i++)Qf(t[i])}}(n),lw(n),uw(n,0),null!==e.contentQueries&&hx(e,n),d){const f=e.contentCheckHooks;null!==f&&bc(n,f)}else{const f=e.contentHooks;null!==f&&xc(n,f,1),fh(n,1)}!function A1(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];Gk(s,o);const l=n[o];a(2,l)}}}finally{xr(-1)}}(e,n);const u=e.components;null!==u&&hw(n,u,0);const h=e.viewQuery;if(null!==h&&op(2,h,i),d){const f=e.viewCheckHooks;null!==f&&bc(n,f)}else{const f=e.viewHooks;null!==f&&xc(n,f,2),fh(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[22]){for(const f of n[22])f();n[22]=null}ow(n),n[2]&=-73}catch(d){throw Co(n),d}finally{null!==c&&(Bs(c,l),a&&function x1(e){e.lView[24]!==e&&(e.lView=null,sw.push(e))}(c)),dh()}}function uw(e,n){for(let t=xb(e);null!==t;t=wb(t))for(let i=10;i<t.length;i++)fw(t[i],n)}function I1(e,n,t){const i=Tt(n,e);fw(i,t)}function fw(e,n){Yf(e)&&Np(e,n)}function Np(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||!Ll(o)),s||=!1,o&&(o.dirty=!1),e[2]&=-9217,s)dw(i,e,i.template,e[8]);else if(8192&r){lw(e),uw(e,1);const a=i.components;null!==a&&hw(e,a,1),ow(e)}}function hw(e,n,t){for(let i=0;i<n.length;i++)I1(e,n[i],t)}function Ca(e,n){const t=bv()?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 pw(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function Uo(e,n,t,i=!0){const r=n[1];if(function T1(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],q_(t,10+i,n)):(t.push(n),n[4]=null),n[3]=t;const s=n[16];null!==s&&t!==s&&gw(s,n);const a=n[18];null!==a&&a.insertView(e),Zf(n),n[2]|=128}(r,n,e,t),i){const s=kp(t,e),a=n[H],l=a.parentNode(e[7]);null!==l&&function f1(e,n,t,i,r,o){i[0]=r,i[5]=n,cd(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 Da(e,n){if(e.length<=10)return;const t=10+n,i=e[t];if(i){const r=i[16];null!==r&&r!==e&&Ip(r,i),n>0&&(e[t-1][4]=i[4]);const o=rc(e,10+n);!function Qx(e,n){Zx(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 gw(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 Ea=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const n=this._lView,t=n[1];return zo(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&&(Da(n,i),rc(t,i))}this._attachedToViewContainer=!1}wa(this._lView[1],this._lView)}onDestroy(n){gc(this._lView,n)}markForCheck(){Ca(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[2]&=-129}reattach(){Zf(this._lView),this._lView[2]|=128}detectChanges(){this._lView[2]|=1024,dd(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&&Ip(t,this._lView),Zx(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&&gw(i,this._lView),Zf(this._lView)}},ri=(()=>class e{static __NG_ELEMENT_ID__=N1})();const R1=ri,O1=class extends R1{_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=jo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Ea(r)}};function N1(){return ud(ee(),x())}function ud(e,n){return 4&e.type?new O1(n,e,Mo(e,n)):null}function Go(e,n,t,i,r){let o=e.data[n];if(null===o)o=function jp(e,n,t,i,r){const o=yv(),s=rh(),l=e.data[n]=function $1(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 G1(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 Uk(){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 Fn(o,!0),o}let FP=class{},Bw=class{};class kP{resolveComponentFactory(n){throw Error(`No component factory found for ${nt(n)}.`)}}let qo=class{static NULL=new kP};class oi{}let yn=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function RP(){const e=x(),t=Tt(ee().index,e);return(ze(t)?t:e)[H]}()})(),OP=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>null})}return e})();const Yp={};class Yo{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=nc(i);const r=this.injector.get(n,Yp,i);return r!==Yp||t===Yp?r:this.parentInjector.get(n,t,i)}}function Qp(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=xf(r,a):2==o&&(i=xf(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):Hv(ee(),t,W(e),n)}function Zp(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 jP(e){let n=null,t=!1;for(let s=0;s<e.length;s++){const a=e[s];if(0===s&&rn(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,HP(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 UP(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&&rn(f)&&(l=!0,zP(e,t,h)),_h(Cc(t,n),e,f.type)}!function YP(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=xa(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let h=0;h<a;h++){const f=i[h];if(t.mergedAttrs=Eo(t.mergedAttrs,f.hostAttrs),$P(e,t,n,u,f),KP(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 GP(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);zw(0,n,o,i),zw(1,n,o,i),Gw(n,i,!0)}else Hw(0,n,r,i),Hw(1,n,r,i),Gw(n,i,!1)}}(e,t,o)}(e,n,t,a,o,l,c)}null!==o&&null!==i&&function BP(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 HP(e,n,t,i){const r=n.length;e.findHostDirectiveDefs(e,n,i),t.set(e,[r,n.length-1])}function zP(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function Hw(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),Uw(n,o)}}function zw(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),Uw(n,s)}}function Uw(e,n){"class"===n?e.flags|=8:"style"===n&&(e.flags|=16)}function Gw(e,n,t){const{attrs:i,inputs:r,hostDirectiveInputs:o}=e;if(null===i||!t&&null===r||t&&null===o||gp(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 $P(e,n,t,i,r){e.data[i]=r;const o=r.factory||(r.factory=fr(r.type)),s=new Xs(o,rn(r),y);e.blueprint[i]=s,t[i]=s,function WP(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 qP(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,xa(e,t,r.hostVars,Z),r)}function KP(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;rn(n)&&(t[""]=e)}}function $w(e,n,t,i,r,o,s,a){const l=n.consts,d=Go(n,e,2,i,pn(l,s));return o&&Zp(n,t,d,pn(l,a),r),d.mergedAttrs=Eo(d.mergedAttrs,d.attrs),null!==d.attrs&&Qp(d,d.attrs,!1),null!==d.mergedAttrs&&Qp(d,d.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,d),d}function Ww(e,n){uh(e,n),$f(n)&&e.queries.elementEnd(n)}class qw extends qo{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=re(n);return new Na(t,this.ngModule)}}class Na extends Bw{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function QP(e){return Object.keys(e).map(n=>{const[t,i,r]=e[n],o={propName:t,templateName:n,isSignal:!!(i&od.SignalBased)};return r&&(o.transform=r),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function ZP(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 KN(e){return e.map(qN).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,i,r){const o=Y(null);try{const s=this.componentDef,a=i?["ng-version","19.2.17"]:function YN(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(!Rn(r))break;r=o}i++}return t.length&&n.push(1,...t),n}(this.componentDef.selectors[0]),l=yp(0,null,null,1,0,null,null,null,null,[a],null),c=function XP(e,n,t){let i=n instanceof St?n:n?.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new Yo(t,i):t}(s,r||this.ngModule,n),d=function JP(e){const n=e.get(oi,null);if(null===n)throw new w(407,!1);return{rendererFactory:n,sanitizer:e.get(OP,null),changeDetectionScheduler:e.get(Xn,null)}}(c),u=d.rendererFactory.createRenderer(null,s),h=i?function XN(e,n,t,i){const o=i.get(Rb,!1)||t===gn.ShadowDom,s=e.selectRootElement(n,o);return function JN(e){qx(e)}(s),s}(u,i,s.encapsulation,c):function eL(e,n){const t=(e.selectors[0][0]||"div").toLowerCase();return td(n,t,"svg"===t?"svg":"math"===t?"math":null)}(s,u),f=rd(null,l,null,512|_p(s),null,null,d,u,c,null,null);f[T]=h,ch(f);let p=null;try{const m=$w(T,l,f,"#host",()=>[this.componentDef],!0,0);h&&(Nx(u,h,m),Gt(h,f)),sd(l,f,m),sp(l,m,f),Ww(l,m),void 0!==t&&function nL(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],ad(l,f,null)}catch(m){throw null!==p&&Sh(p),Sh(f),m}finally{dh()}return new tL(this.componentType,f)}finally{Y(o)}}}class tL extends FP{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t){super(),this._rootLView=t,this._tNode=_r(t[1],T),this.location=Mo(this._tNode,t),this.instance=Tt(this._tNode.index,t)[8],this.hostView=this.changeDetectorRef=new Ea(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;Ep(i,r[1],r,n,t),this.previousInputValues.set(n,t),Ca(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 On=(()=>class e{static __NG_ELEMENT_ID__=iL})();function iL(){return Qw(ee(),x())}const rL=On,Kw=class extends rL{_lContainer;_hostTNode;_hostLView;constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Mo(this._hostTNode,this._hostLView)}get injector(){return new Ue(this._hostTNode,this._hostLView)}get parentInjector(){const n=Dc(this._hostTNode,this._hostLView);if(mh(n)){const t=ea(n,this._hostLView),i=Js(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=Yw(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,Ar(this._hostTNode,null)),a}createComponent(n,t,i,r,o){const s=n&&!function qs(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 Na(re(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const m=(s?c:this.parentInjector).get(St,null);m&&(o=m)}re(l.componentType??{});const f=l.create(c,r,null,o);return this.insertImpl(f.hostView,a,Ar(this._hostTNode,null)),f}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function Rk(e){return rt(e[3])}(r)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=r[3],c=new Kw(l,l[5],l[3]);c.detach(c.indexOf(n))}}const o=this._adjustIndex(t),s=this._lContainer;return Uo(s,r,o,i),n.attachToViewContainerRef(),q_(Xp(s),o,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Yw(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Da(this._lContainer,t);i&&(rc(Xp(this._lContainer),t),wa(i[1],i))}detach(n){const t=this._adjustIndex(n,-1),i=Da(this._lContainer,t);return i&&null!=rc(Xp(this._lContainer),t)?new Ea(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Yw(e){return e[8]}function Xp(e){return e[8]||(e[8]=[])}function Qw(e,n){let t;const i=n[e.index];return rt(i)?t=i:(t=pw(i,n,null,e),n[e.index]=t,vp(n,t)),Zw(t,n,e,i),new Kw(t,e,n)}let Zw=function Jw(e,n,t,i){if(e[7])return;let r;r=8&t.type?oe(i):function oL(e,n){const t=e[H],i=t.createComment(""),r=At(n,e),o=t.parentNode(r);return Ir(t,o,i,t.nextSibling(r),!1),i}(n,t),e[7]=r};class em{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new em(this.queryList)}setDirty(){this.queryList.setDirty()}}class tm{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 tm(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!==sm(n,t).matches&&this.queries[t].setDirty()}}class eC{flags;read;predicate;constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function hL(e){return e.split(",").map(n=>n.trim())}(n):n}}class nm{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 nm(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 im{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 im(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,cL(t,o)),this.matchTNodeWithReadOption(n,t,Ec(t,n,o,!1,!1))}else i===ri?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Ec(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===U||r===On||r===ri&&4&t.type)this.addMatch(t.index,-2);else{const o=Ec(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 cL(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 uL(e,n,t,i){return-1===t?function dL(e,n){return 11&e.type?Mo(e,n):4&e.type?ud(e,n):null}(n,e):-2===t?function fL(e,n,t){return t===U?Mo(n,e):t===ri?ud(n,e):t===On?Qw(n,e):void 0}(e,n,i):ta(e,e[1],t,n)}function tC(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:uL(n,o[c],s[l+1],t.metadata.read))}r.matches=a}return r.matches}function rm(e,n,t,i){const r=e.queries.getByIndex(t),o=r.matches;if(null!==o){const s=tC(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]&&rm(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];rm(f[1],f,c,i)}}}}}return i}function om(e,n){return e[18].queries[n].queryList}function nC(e,n,t){const i=new Tc(!(4&~t));return function Ok(e,n,t,i){const r=Jf(n);r.push(t),e.firstCreatePass&&eh(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[18]??=new tm).queries.push(new em(i))-1}function rC(e,n,t,i){const r=z();if(r.firstCreatePass){const o=ee();oC(r,new eC(n,t,i),o.index),function pL(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 nC(r,x(),t)}function oC(e,n,t){null===e.queries&&(e.queries=new nm),e.queries.track(new im(n,t))}function sm(e,n){return e.queries.getByIndex(n)}function sC(e,n){const t=e[1],i=sm(t,n);return i.crossesNgTemplate?rm(t,e,n,[]):tC(t,e,i,n)}function am(e,n,t){let i;const r=__(()=>{i._dirtyCounter();const o=function mL(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=om(t,i),o=sC(t,i);return r.reset(o,ub),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[ct],i._dirtyCounter=kn(0),i._flatValue=void 0,r}function uC(e,n){return function aC(e){return am(!0,!1)}()}const yL=(uC.required=function gL(e,n){return function lC(e){return am(!0,!0)}()},uC);let $i=class{},EL=class{};class cm extends $i{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new qw(this);constructor(n,t,i,r=!0){super(),this.ngModuleType=n,this._parent=t;const o=function en(e,n){const t=e[B_]||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=Zv(n,t,[{provide:$i,useValue:this},{provide:qo,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 dm extends EL{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new cm(this.moduleType,n,[])}}class _C extends $i{injector;componentFactoryResolver=new qw(this);instance=null;constructor(n){super();const t=new pr([...n.providers,{provide:$i,useValue:this},{provide:qo,useValue:this.componentFactoryResolver}],n.parent||cc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}let IL=(()=>{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=Of(0,t.type),r=i.length>0?function vC(e,n,t=null){return new _C({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(St))})}return e})();function cn(e){return pi(()=>{const n=bC(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(IL).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"),xC(t);const i=e.dependencies;return t.directiveDefs=vd(i,!1),t.pipeDefs=vd(i,!0),t.id=function OL(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 AL(e){return re(e)||function yt(e){return e[Mf]||null}(e)}function TL(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 FL(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=od.None,l=null),t[o]=[i,a,l],n[o]=s}return t}function kL(e){if(null==e)return Sn;const n={};for(const t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function M(e){return pi(()=>{const n=bC(e);return xC(n),n})}function bC(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:FL(e.inputs,n),outputs:kL(e.outputs),debugInfo:null}}function xC(e){e.features?.forEach(n=>n(e))}function vd(e,n){if(!e)return null;const t=n?tn:AL;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(TL)}function A(e){let n=function wC(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(rn(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=um(e.inputs),s.declaredInputs=um(e.declaredInputs),s.outputs=um(e.outputs);const a=r.hostBindings;a&&BL(e,a);const l=r.viewQuery,c=r.contentQueries;if(l&&LL(e,l),c&&VL(e,c),NL(e,r),BF(e.outputs,r.outputs),rn(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 PL(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=Eo(r.hostAttrs,t=Eo(t,r.hostAttrs))}}(i)}function NL(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 um(e){return e===Sn?{}:e===ae?[]:e}function LL(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function VL(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,o)=>{n(i,r,o),t(i,r,o)}:n}function BL(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function bd(e){return!!function hm(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 Va(e,n,t,i,r,o,s,a,l,c){const d=t+T,u=n.firstCreatePass?function KL(e,n,t,i,r,o,s,a,l){const c=n.consts,d=Go(n,e,4,s||null,a||null);ih()&&Zp(n,t,d,pn(c,l),wp),d.mergedAttrs=Eo(d.mergedAttrs,d.attrs),uh(n,d);const u=d.tView=yp(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];Fn(u,!1);const h=SC(n,e,u,t);Zs()&&ld(n,e,h,u),Gt(h,e);const f=pw(h,e,h,u);return e[d]=f,vp(e,f),pc(u)&&sd(n,e,u),null!=l&&xp(e,u,c),u}function te(e,n,t,i,r,o,s,a){const l=x(),c=z();return Va(l,c,e,n,t,i,r,pn(c.consts,o),s,a),te}let SC=function IC(e,n,t,i){return Yn(!0),n[H].createComment("")};const zC=new C(""),Ed=new C("");let xm,vm=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,i,r){this._ngZone=t,this.registry=i,zf()&&(this._destroyRef=g(Zn,{optional:!0})??void 0),xm||(function WV(e){xm=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(bm),I(Ed))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),bm=(()=>{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 xm?.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})(),UC=(()=>{class e{static \u0275prov=D({token:e,providedIn:"root",factory:()=>new qV})}return e})();class qV{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 Md(e){return!!e&&"function"==typeof e.then}function GC(e){return!!e&&"function"==typeof e.subscribe}const $C=new C("");let WC=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i});appInits=g($C,{optional:!0})??[];injector=g(ke);constructor(){}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const o=Hf(this.injector,r);if(Md(o))t.push(o);else if(GC(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 ja=new C("");function KC(e,n){return Array.isArray(n)?n.reduce(KC,e):{...e,...n}}let Rt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(IR);afterRenderManager=g($h);zonelessEnabled=g(na);rootEffectScheduler=g(UC);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(Ao,{optional:!0})}whenStable(){let t;return new Promise(i=>{t=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{t.unsubscribe()})}_injector=g(St);_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 Bw;if(!this._injector.get(WC).done)throw new w(405,"");let a;a=o?t:this._injector.get(qo).resolveComponentFactory(t),this.componentTypes.push(a.componentType);const l=function KV(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(zC,null);return h?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),Sd(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(Gh.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new w(101,!1);const t=Y(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Y(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)QV(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})=>Ys(t))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Sd(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ja,[]).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),()=>Sd(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 Sd(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function QV(e,n,t,i){(t||Ys(e))&&dd(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 es(e,n,t,i){return Ge(e,mn(),t)?n+Q(t)+i:Z}function ts(e,n,t,i,r,o){const a=function kr(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+Q(t)+i+Q(r)+o:Z}function Id(e,n){return e<<17|n<<2}function Or(e){return e>>17&32767}function Mm(e){return 2|e}function ls(e){return(131068&e)>>2}function Sm(e,n){return-131069&e|n<<2}function Im(e){return 1|e}function fD(e,n,t,i){const r=e[t+1],o=null===n;let s=i?Or(r):ls(r),a=!1;for(;0!==s&&(!1===a||o);){const c=e[s+1];PB(e[s],n)&&(a=!0,e[s+1]=i?Im(c):Mm(c)),s=i?Or(c):ls(c)}a&&(e[t+1]=i?Mm(r):Im(r))}function PB(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&$s(e,n)>=0}const ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hD(e){return e.substring(ot.key,ot.keyEnd)}function pD(e,n){const t=ot.textEnd;return t===n?-1:(n=ot.keyEnd=function jB(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,ot.key=n,t),cs(e,n,t))}function cs(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)&&$t(z(),ye(),i,e,n,i[H],t,!1),j}function Am(e,n,t,i,r){Ep(n,e,t,r?"class":"style",i)}function pt(e,n){return function Nn(e,n,t,i){const r=x(),o=z(),s=xi(2);o.firstUpdatePass&&wD(o,e,s,i),n!==Z&&Ge(r,s,n)&&DD(o,o.data[bt()],r,r[H],e,r[s+1]=function ZB(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),pt}function li(e,n){for(let t=function VB(e){return function gD(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}(e),pD(e,cs(e,0,ot.textEnd))}(n);t>=0;t=pD(n,t))Jt(e,hD(n),!0)}function Pn(e,n,t,i){const r=z(),o=xi(2);r.firstUpdatePass&&wD(r,null,o,i);const s=x();if(t!==Z&&Ge(s,o,t)){const a=r.data[bt()];if(MD(a,i)&&!xD(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=xf(l,t||"")),Am(r,a,s,t,i)}else!function QB(e,n,t,i,r,o,s,a){r===Z&&(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&&DD(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 KB(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 xD(e,n){return n>=e.expandoStartIndex}function wD(e,n,t,i){const r=e.data;if(null===r[t+1]){const o=r[bt()],s=xD(e,t);MD(o,i)&&null===n&&!s&&(n=!1),n=function GB(e,n,t,i){const r=function ah(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=za(t=Tm(null,e,n,t,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==r)if(t=Tm(r,e,n,t,i),null===o){let l=function $B(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==ls(i))return e[Or(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Tm(null,e,n,l[1],i),l=za(l,n.attrs,i),function WB(e,n,t,i){e[Or(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else o=function qB(e,n,t){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=za(i,e[o].hostAttrs,t);return za(i,n.attrs,t)}(e,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),t}(r,o,n,i),function OB(e,n,t,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Or(s),l=ls(s);e[i]=t;let d,c=!1;if(Array.isArray(t)?(d=t[1],(null===d||$s(t,d)>0)&&(c=!0)):d=t,r)if(0!==l){const h=Or(e[a+1]);e[i+1]=Id(h,a),0!==h&&(e[h+1]=Sm(e[h+1],i)),e[a+1]=function kB(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Id(a,0),0!==a&&(e[a+1]=Sm(e[a+1],i)),a=i;else e[i+1]=Id(l,0),0===a?a=i:e[l+1]=Sm(e[l+1],i),l=i;c&&(e[i+1]=Mm(e[i+1])),fD(e,d,i,!0),fD(e,d,i,!1),function NB(e,n,t,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&$s(o,n)>=0&&(t[i+1]=Im(t[i+1]))}(n,d,e,i,o),s=Id(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,t,s,i)}}function Tm(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=za(i,o.hostAttrs,r),o!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function za(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]),Jt(e,s,!!t||n[++o]))}return void 0===e?null:e}function YB(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&Jt(e,i,t)}function DD(e,n,t,i,r,o,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],d=function RB(e){return!(1&~e)}(c)?ED(l,n,t,r,ls(c),s):void 0;Ad(d)||(Ad(o)||function FB(e){return!(2&~e)}(c)&&(o=ED(l,null,t,r,a,s)),function _1(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,wo(bt(),t),r,o))}function ED(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===Z&&(h=u?ae:void 0);let f=u?kf(h,i):d===i?h:void 0;if(c&&!Ad(f)&&(f=kf(l,i)),Ad(f)&&(a=f,s))return a;const p=e[r+1];r=s?Or(p):ls(p)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=kf(l,i))}return a}function Ad(e){return void 0!==e}function MD(e,n){return!!(e.flags&(n?8:16))}function st(e,n){an("NgControlFlow");const t=x(),i=mn(),r=t[i]!==Z?t[i]:-1,o=-1!==r?Td(t,T+r):void 0;if(Ge(t,i,e)){const a=Y(null);try{if(void 0!==o&&function Pp(e,n){const t=Da(e,n);return void 0!==t&&wa(t[1],t),t}(o,0),-1!==e){const l=T+e,c=Td(t,l),d=function Rm(e,n){return _r(e,n)}(t[1],l),u=null;Uo(c,jo(t,d,n,{dehydratedView:u}),0,Ar(d,u))}}finally{Y(a)}}else if(void 0!==o){const a=function mw(e,n){const t=10+n;if(t<e.length)return e[t]}(o,0);void 0!==a&&(a[8]=n)}}function Td(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?$w(s,o,r,n,wp,ih(),t,i):o.data[s],c=FD(o,r,l,a,n,e);r[s]=c;const d=pc(l);return Fn(l,!0),Nx(a,c,l),!Ui(l)&&Zs()&&ld(o,r,c,l),(0===function Nk(){return q.lFrame.elementDepthCount}()||d)&&Gt(c,r),function Pk(){q.lFrame.elementDepthCount++}(),d&&(sd(o,r,l),sp(o,l,r)),null!==i&&xp(r,l),X}function ne(){let e=ee();rh()?oh():(e=e.parent,Fn(e,!1));const n=e;(function Vk(e){return q.skipHydrationRootTNode===e})(n)&&function zk(){q.skipHydrationRootTNode=null}(),function Lk(){q.lFrame.elementDepthCount--}();const t=z();return t.firstCreatePass&&Ww(t,n),null!=n.classesWithoutHost&&function eR(e){return!!(8&e.flags)}(n)&&Am(t,n,x(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function tR(e){return!!(16&e.flags)}(n)&&Am(t,n,x(),n.stylesWithoutHost,!1),ne}function at(e,n,t,i){return X(e,n,t,i),ne(),at}let FD=(e,n,t,i,r,o)=>(Yn(!0),td(i,r,function Av(){return q.lFrame.currentNamespace}()));function qt(e,n,t){const i=x(),r=z(),o=e+T,s=r.firstCreatePass?function b2(e,n,t,i,r){const o=n.consts,s=pn(o,i),a=Go(n,e,8,"ng-container",s);null!==s&&Qp(a,s,!0);const l=pn(o,r);return ih()&&Zp(n,t,a,l,wp),a.mergedAttrs=Eo(a.mergedAttrs,a.attrs),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,t):r.data[o];Fn(s,!0);const a=kD(r,i,s,e);return i[o]=a,Zs()&&ld(r,i,a,s),Gt(a,i),pc(s)&&(sd(r,i,s),sp(r,s,i)),null!=t&&xp(i,s),qt}function Kt(){let e=ee();const n=z();return rh()?oh():(e=e.parent,Fn(e,!1)),n.firstCreatePass&&(uh(n,e),$f(e)&&n.queries.elementEnd(e)),Kt}function ds(e,n,t){return qt(e,n,t),Kt(),ds}let kD=(e,n,t,i)=>(Yn(!0),pp(n[H],""));function Ei(){return x()}function Ua(e,n,t){const i=x();return Ge(i,mn(),n)&&$t(z(),ye(),i,e,n,i[H],t,!0),Ua}const Fd="en-US";let PD=Fd;function eE(e,n,t){return function i(r){if(r===Function)return t;Ca(Tn(e)?Tt(e.index,n):n,5);const s=n[8];let a=tE(n,s,t,r),l=i.__ngNextListenerFn__;for(;l;)a=tE(n,s,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function tE(e,n,t,i){const r=Y(null);try{return!1!==t(i)}catch(o){return function hj(e,n){const t=e[9],i=t?t.get(zt,null):null;i&&i.handleError(n)}(e,o),!1}finally{Y(r)}}function nE(e,n,t,i,r,o){const a=n[1],d=n[t][a.data[t].outputs[i]],u=a.firstCreatePass?eh(a):null,h=Jf(n),f=d.subscribe(o),p=h.length;h.push(o,f),u&&u.push(r,e.index,p,-(p+1))}function Se(e,n,t,i){const r=x(),o=z(),s=ee();return Pm(o,r,r[H],s,e,n,i),Se}function Pm(e,n,t,i,r,o,s){const a=pc(i),c=e.firstCreatePass?eh(e):null,d=Jf(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 pj(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=eE(i,n,o);const b=t.listen(f,r,o);d.push(o,b),c&&c.push(r,m,p,p+1)}}else o=eE(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)nE(i,n,f[p],f[p+1],r,o);if(h&&h.length)for(const p of h)nE(i,n,p,r,r,o)}}function N(e=1){return function qk(e){return(q.lFrame.contextLView=function gv(e,n){for(;e>0;)n=n[14],e--;return n}(e,q.lFrame.contextLView))[8]}(e)}function mj(e,n){let t=null;const i=function UN(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?zx(e,o,!0):WN(i,o))return r}else t=r}return t}function fs(e){const n=x()[15][5];if(!n.projection){const i=n.projection=function oc(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?mj(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&&Va(s,a,l,i,r,o,null,t);const c=Go(a,T+e,16,null,t||null);null===c.projection&&(c.projection=n),oh();const u=!s[6]||br();null===s[15][5].projection[c.projection]&&null!==l?function gj(e,n,t){const i=T+t,r=n.data[i],o=e[i];Uo(o,jo(e,r,void 0,{dehydratedView:null}),0,Ar(r,null))}(s,a,l):u&&!Ui(c)&&function g1(e,n,t){rw(n[H],0,n,t,Tp(e,t,n),Jx(t.parent||n[5],t,n))}(a,s,c)}function Mi(e,n,t,i){rC(e,n,t,i)}function Nt(e,n,t){!function iC(e,n,t){const i=z();return i.firstCreatePass&&(oC(i,new eC(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),nC(i,x(),n)}(e,n,t)}function Le(e){const n=x(),t=z(),i=lh();vc(i+1);const r=sm(t,i);if(e.dirty&&function kk(e){return!(4&~e[2])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const o=sC(n,i);e.reset(o,ub),e.notifyOnChanges()}return!0}return!1}function Ve(){return om(x(),lh())}function hE(e,n,t,i,r){!function dC(e,n){const t=e[ct];t._lView=x(),t._queryIndex=n,t._queryList=om(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(i=>i+1))}(n,rC(e,t,i,r))}function Ya(e){return function vr(e,n){return e[n]}(function _v(){return q.lFrame.contextLView}(),T+e)}function Ln(e,n=""){const t=x(),i=z(),r=e+T,o=i.firstCreatePass?Go(i,r,1,n,null):i.data[r],s=DE(i,t,o,n,e);t[r]=s,Zs()&&ld(i,t,s,o),Fn(o,!1)}let DE=(e,n,t,i,r)=>(Yn(!0),function hp(e,n){return e.createText(n)}(n[H],i));function Qa(e){return Pr("",e,""),Qa}function Pr(e,n,t){const i=x(),r=es(i,e,n,t);return r!==Z&&Si(i,bt(),r),Pr}function Vm(e,n,t,i,r){const o=x(),s=ts(o,e,n,t,i,r);return s!==Z&&Si(o,bt(),s),Vm}function Si(e,n,t){const i=wo(n,e);!function Fx(e,n,t){e.setValue(n,t)}(e[H],i,t)}function Bm(e,n,t){fb(n)&&(n=n());const i=x();return Ge(i,mn(),n)&&$t(z(),ye(),i,e,n,i[H],t,!1),Bm}function jm(e,n){const t=x(),i=z(),r=ee();return Pm(i,t,t[H],r,e,n),jm}const RE={};function Hm(e){const n=z(),t=x(),i=e+T;return Fn(Go(n,i,128,null,null),!1),function Kf(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(n,t,i,RE),Hm}function zm(e,n,t,i,r){if(e=W(e),Array.isArray(e))for(let o=0;o<e.length;o++)zm(e[o],n,t,i,r);else{const o=z(),s=x(),a=ee();let l=hr(e)?e:W(e.provide);const c=tv(e),d=1048575&a.providerIndexes,u=a.directiveStart,h=a.providerIndexes>>20;if(hr(e)||!e.multi){const f=new Xs(c,r,y),p=Gm(l,n,r?d:d+h,u);-1===p?(_h(Cc(a,s),o,l),Um(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=Gm(l,n,d+h,u),p=Gm(l,n,d,d+h),_=p>=0&&t[p];if(r&&!_||!r&&!(f>=0&&t[f])){_h(Cc(a,s),o,l);const b=function Nj(e,n,t,i,r){const o=new Xs(e,t,y);return o.multi=[],o.index=n,o.componentProviders=0,OE(o,r,i&&!t),o}(r?Oj:Rj,t.length,r,i,c);!r&&_&&(t[p].providerFactory=b),Um(o,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),t.push(b),s.push(b)}else Um(o,e,f>-1?f:p,OE(t[r?p:f],c,!r&&i));!r&&i&&_&&t[p].componentProviders++}}}function Um(e,n,t,i){const r=hr(n),o=function ck(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 OE(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Gm(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function Rj(e,n,t,i,r){return $m(this.multi,[])}function Oj(e,n,t,i,r){const o=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,l=ta(i,i[1],this.providerFactory.index,r);s=l.slice(0,a),$m(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],$m(o,s);return s}function $m(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 kj(e,n,t){const i=z();if(i.firstCreatePass){const r=rn(e);zm(t,i.data,i.blueprint,r,!0),zm(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}function Za(e,n,t,i){return function PE(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 Xa(e,n){const t=e[n];return t===Z?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 HE(e,n){return ud(e,n)}class tl{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 oM=new tl("19.2.17");let FH=(()=>{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 Qm({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new B({...Zm(),scheduleInRootZone:t}),[{provide:B,useFactory:e},{provide:In,multi:!0,useFactory:()=>{const i=g(FH,{optional:!0});return()=>i.initialize()}},{provide:In,multi:!0,useFactory:()=>{const i=g(RH);return()=>{i.initialize()}}},!0===n?{provide:tb,useValue:!0}:[],{provide:xh,useValue:t??Jv}]}function Zm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let RH=(()=>{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})(),nl=(()=>{class e{appRef=g(Rt);taskService=g(ji);ngZone=g(B);zonelessEnabled=g(na);tracing=g(Ao,{optional:!0});disableScheduling=g(tb,{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(Ic):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(xh,{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 Eh||!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?rb:ib;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(Ic+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,rb(()=>{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 OH(){return typeof $localize<"u"&&$localize.locale||Fd}()}),Vd=new C(""),jH=new C("");function il(e){return!e.moduleRef}let uM=(()=>{class e{_injector;_modules=[];_destroyListeners=[];_destroyed=!1;constructor(t){this._injector=t}bootstrapModuleFactory(t,i){const r=i?.scheduleInRootZone,s=i?.ignoreChangesOutsideZone,a=[Qm({ngZoneFactory:()=>function SR(e="zone.js",n){return"noop"===e?new Eh:"zone.js"===e?new B(n):e}(i?.ngZone,{...Zm({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}),scheduleInRootZone:r}),ignoreChangesOutsideZone:s}),{provide:Xn,useExisting:nl}],l=function SL(e,n,t){return new cm(e,n,t,!1)}(t.moduleType,this.injector,a);return function dM(e){const n=il(e)?e.r3Injector:e.moduleRef.injector,t=n.get(B);return t.run(()=>{il(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const i=n.get(zt,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{i.handleError(o)}})}),il(e)){const o=()=>n.destroy(),s=e.platformInjector.get(Vd);s.add(o),n.onDestroy(()=>{r.unsubscribe(),s.delete(o)})}else{const o=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Vd);s.add(o),e.moduleRef.onDestroy(()=>{Sd(e.allPlatformModules,e.moduleRef),r.unsubscribe(),s.delete(o)})}return function zH(e,n,t){try{const i=t();return Md(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(WC);return o.runInitializers(),o.donePromise.then(()=>{if(function A2(e){"string"==typeof e&&(PD=e.toLowerCase().replace(/_/g,"-"))}(n.get(Yi,Fd)||Fd),!n.get(jH,!0))return il(e)?n.get(Rt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(il(e)){const l=n.get(Rt);return void 0!==e.rootComponent&&l.bootstrap(e.rootComponent),l}return function HH(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=KC({},i);return function TH(e,n,t){const i=new dm(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(Vd,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})(),ps=null;function fM(e,n,t=[]){const i=`Platform: ${n}`,r=new C(i);return(o=[])=>{let s=Bd();if(!s){const a=[...t,...o,{provide:r,useValue:!0}];s=e?.(a)??function UH(e){if(Bd())throw new w(400,!1);(function qC(){!function yF(e){v_=e}(()=>{throw new w(600,!1)})})(),ps=e;const n=e.get(uM);return function pM(e){const n=e.get(kh,null);Hf(e,()=>{n?.forEach(t=>t())})}(e),n}(function hM(e=[],n){return ke.create({name:n,providers:[{provide:Lf,useValue:"platform"},{provide:Vd,useValue:new Set([()=>ps=null])},...e]})}(a,i))}return function GH(){const n=Bd();if(!n)throw new w(401,!1);return n}()}}function Bd(){return ps?.get(uM)??null}let Lr=(()=>class e{static __NG_ELEMENT_ID__=WH})();function WH(e){return function qH(e,n,t){if(Tn(e)&&!t){const i=Tt(e.index,n);return new Ea(i,i)}return 175&e.type?new Ea(n[15],n):null}(ee(),x(),!(16&~e))}class vM{constructor(){}supports(n){return bd(n)}create(n){return new XH(n)}}const ZH=(e,n)=>n;class XH{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||ZH}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<xM(i,r,o)?t:i,a=xM(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=[]),!bd(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 WL(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 JH(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 bM),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 bM),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 JH{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 ez{_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 bM{map=new Map;put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new ez,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 xM(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 CM(){return new zd([new vM])}let zd=(()=>{class e{factories;static \u0275prov=D({token:e,providedIn:"root",factory:CM});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||CM()),deps:[[e,new ic,new uo]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new w(901,!1)}}return e})();const oz=fM(null,"core",[]);let sz=(()=>{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 PM(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}function Qe(e){return function CF(e){const n=Y(null);try{return e()}finally{Y(n)}}(e)}function vn(e,n){return __(e,n?.equal)}class kz{[ct];constructor(n){this[ct]=n}destroy(){this[ct].destroy()}}function Br(e,n){!n?.injector&&mo();const t=n?.injector??g(ke);let r,i=!0!==n?.manualCleanup?t.get(Zn):null;const o=t.get(Vc,null,{optional:!0}),s=t.get(Xn);return null===o||n?.forceRoot?r=function Pz(e,n,t){const i=Object.create(Rz);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(UC),s):(r=function Nz(e,n,t){const i=Object.create(Oz);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 eb&&i._lView===o.view&&(i=null)),r.injector=t,null!==i&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new kz(r)}const BM={...no,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:ia,run(){if(this.dirty=!1,this.hasRun&&!Ll(this))return;this.hasRun=!0;const e=i=>(this.cleanupFns??=[]).push(i),n=io(this),t=_c(!1);try{this.maybeCleanup(),this.fn(e)}finally{_c(t),Bs(this,n)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},Rz={...BM,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Vl(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}},Oz={...BM,consumerMarkedDirty(){this.view[2]|=8192,Co(this.view),this.notifier.notify(13)},destroy(){Vl(this),this.onDestroyFn(),this.maybeCleanup(),this.view[23]?.delete(this)}};function GM(e,n){const t=re(e),i=n.elementInjector||cc();return new Na(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}const ve=new C("");let $M=null;function Qi(){return $M}class Yz{}let WM=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:()=>g(Qz),providedIn:"platform"})}return e})(),Qz=(()=>{class e extends WM{_location;_history;_doc=g(ve);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 qM(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function KM(e){const n=e.search(/#|\?|$/);return"/"===e[n-1]?e.slice(0,n-1)+e.slice(n):e}function jr(e){return e&&"?"!==e[0]?`?${e}`:e}let og=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:()=>g(Xz),providedIn:"root"})}return e})();const Zz=new C("");let Xz=(()=>{class e extends og{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,i){super(),this._platformLocation=t,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??g(ve).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 qM(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+jr(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,o){const s=this.prepareExternalUrl(r+jr(o));this._platformLocation.pushState(t,i,s)}replaceState(t,i,r,o){const s=this.prepareExternalUrl(r+jr(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(WM),I(Zz,8))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),YM=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function tU(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(KM(QM(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+jr(i))}normalize(t){return e.stripTrailingSlash(function eU(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,QM(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+jr(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+jr(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=jr;static joinWithSlash=qM;static stripTrailingSlash=KM;static \u0275fac=function(i){return new(i||e)(I(og))};static \u0275prov=D({token:e,factory:()=>function Jz(){return new YM(I(og))}(),providedIn:"root"})}return e})();function QM(e){return e.replace(/\/index.html$/,"")}function ZM(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 XM="browser";function Zi(e){return e===XM}function Xi(e){return"server"===e}class JM{}const mg=/\s+/,lS=[];let ru=(()=>{class e{_ngEl;_renderer;initialClasses=lS;rawClass;stateMap=new Map;constructor(t,i){this._ngEl=t,this._renderer=i}set klass(t){this.initialClasses=null!=t?t.trim().split(mg):lS}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(mg):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(mg).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=M({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();class HU{$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 dS=(()=>{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 HU(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),uS(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=>{uS(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static \u0275fac=function(i){return new(i||e)(y(On),y(ri),y(zd))};static \u0275dir=M({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function uS(e,n){e.context.$implicit=n.item}let fS=(()=>{class e{_viewContainer;_context=new zU;_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){hS(t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){hS(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(On),y(ri))};static \u0275dir=M({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})();class zU{$implicit=null;ngIf=null}function hS(e,n){if(e&&!e.createEmbeddedView)throw new w(2020,!1)}let vg=(()=>{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(On))};static \u0275dir=M({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[on]})}return e})(),wg=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();const Cg=new C("");let gS=(()=>{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(Cg),I(B))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();class yS{_doc;constructor(n){this._doc=n}manager}const ou="ng-app-id";function _S(e){for(const n of e)n.remove()}function vS(e,n){const t=n.createElement("style");return t.textContent=e,t}function Dg(e,n){const t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}let bS=(()=>{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 pG(e,n,t,i){const r=e.head?.querySelectorAll(`style[${ou}="${n}"],link[${ou}="${n}"]`);if(r)for(const o of r)o.removeAttribute(ou),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,vS);i?.forEach(r=>this.addUsage(r,this.external,Dg))}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&&(_S(r.elements),i.delete(t)))}ngOnDestroy(){for(const[,{elements:t}]of[...this.inline,...this.external])_S(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(const[i,{elements:r}]of this.inline)r.push(this.addElement(t,vS(i,this.doc)));for(const[i,{elements:r}]of this.external)r.push(this.addElement(t,Dg(i,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(ou,this.appId),t.appendChild(i)}static \u0275fac=function(i){return new(i||e)(I(ve),I(ei),I(Rh,8),I(sn))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const Eg={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"},Mg=/%COMP%/g,bG=new C("",{providedIn:"root",factory:()=>!0});function wS(e,n){return n.map(t=>t.replace(Mg,e))}let Sg=(()=>{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 Ig(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 DS?r.applyToHost(t):r instanceof Ag&&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 DS(l,c,i,this.appId,d,s,a,u,h);break;case gn.ShadowDom:return new DG(l,c,t,i,s,a,this.nonce,u,h);default:o=new Ag(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(gS),I(bS),I(ei),I(bG),I(ve),I(sn),I(B),I(Rh),I(Ao,8))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();class Ig{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(Eg[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(CS(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(CS(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=Eg[r];o?n.setAttributeNS(o,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=Eg[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 CS(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DG extends Ig{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=wS(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=Dg(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 Ag extends Ig{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?wS(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 DS extends Ag{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 xG(e){return"_ngcontent-%COMP%".replace(Mg,e)}(d),this.hostAttr=function wG(e){return"_nghost-%COMP%".replace(Mg,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 Tg extends Yz{supportsDOMEvents=!0;static makeCurrent(){!function Kz(e){$M??=e}(new Tg)}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 EG(){return sl=sl||document.head.querySelector("base"),sl?sl.getAttribute("href"):null}();return null==t?null:function MG(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){sl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ZM(document.cookie,n)}}let sl=null,IG=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})(),AG=(()=>{class e extends yS{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(ve))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const ES=["alt","control","meta","shift"],TG={"\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"},FG={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let kG=(()=>{class e extends yS{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."),ES.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=TG[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"),ES.forEach(s=>{s!==r&&(0,FG[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(ve))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const PG=fM(oz,"browser",[{provide:sn,useValue:XM},{provide:kh,useValue:function RG(){Tg.makeCurrent()},multi:!0},{provide:ve,useFactory:function NG(){return function JR(e){Fh=e}(document),document}}]),IS=[{provide:Ed,useClass:class SG{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:zC,useClass:vm,deps:[B,bm,Ed]},{provide:vm,useClass:vm,deps:[B,bm,Ed]}],AS=[{provide:Lf,useValue:"root"},{provide:zt,useFactory:function OG(){return new zt}},{provide:Cg,useClass:AG,multi:!0,deps:[ve]},{provide:Cg,useClass:kG,multi:!0,deps:[ve]},Sg,bS,gS,{provide:oi,useExisting:Sg},{provide:JM,useClass:IG},[]];let TS=(()=>{class e{constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[...AS,...IS],imports:[wg,sz]})}return e})();function Hr(e){return this instanceof Hr?(this.v=e,this):new Hr(e)}function jG(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 RS(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 OS=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function NS(e){return Ee(e?.then)}function PS(e){return Ee(e[vf])}function LS(e){return Symbol.asyncIterator&&Ee(e?.[Symbol.asyncIterator])}function VS(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 BS=function zG(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function jS(e){return Ee(e?.[BS])}function HS(e){return function BG(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 Hr?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 Hr(t.read());if(r)return yield Hr(void 0);yield yield Hr(i)}}finally{t.releaseLock()}})}function zS(e){return Ee(e?.getReader)}function Qt(e){if(e instanceof Me)return e;if(null!=e){if(PS(e))return function UG(e){return new Me(n=>{const t=e[vf]();if(Ee(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(OS(e))return function GG(e){return new Me(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(NS(e))return function $G(e){return new Me(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,S_)})}(e);if(LS(e))return US(e);if(jS(e))return function WG(e){return new Me(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(zS(e))return function qG(e){return US(HS(e))}(e)}throw VS(e)}function US(e){return new Me(n=>{(function KG(e,n){var t,i,r,o;return function LG(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=jG(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 su(e,n,t=1/0){return Ee(n)?su((i,r)=>tt((o,s)=>n(i,o,r,s))(Qt(e(i,r))),t):("number"==typeof n&&(t=n),gt((i,r)=>function YG(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;Qt(t(m,d++)).subscribe(dt(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(dt(n,f,()=>{u=!0,h()})),()=>{a?.()}}(i,r,e,t)))}function wn(e,n){return gt((t,i)=>{let r=0;t.subscribe(dt(i,o=>e.call(n,o,r++)&&i.next(o)))})}function kg(e){return gt((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function au(e,n){return gt((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(dt(i,l=>{r?.unsubscribe();let c=0;const d=o++;Qt(e(l,d)).subscribe(r=dt(i,u=>i.next(n?n(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function GS(e){return e&&Ee(e.schedule)}function Rg(e){return e[e.length-1]}function $S(e){return Ee(Rg(e))?e.pop():void 0}function al(e){return GS(Rg(e))?e.pop():void 0}function WS(e,n=0){return gt((t,i)=>{t.subscribe(dt(i,r=>Ai(i,e,()=>i.next(r),n),()=>Ai(i,e,()=>i.complete(),n),r=>Ai(i,e,()=>i.error(r),n)))})}function qS(e,n=0){return gt((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function KS(e,n){if(!e)throw new Error("Iterable cannot be null");return new Me(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 i$(e,n){if(null!=e){if(PS(e))return function XG(e,n){return Qt(e).pipe(qS(n),WS(n))}(e,n);if(OS(e))return function e$(e,n){return new Me(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(NS(e))return function JG(e,n){return Qt(e).pipe(qS(n),WS(n))}(e,n);if(LS(e))return KS(e,n);if(jS(e))return function t$(e,n){return new Me(t=>{let i;return Ai(t,n,()=>{i=e[BS](),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(zS(e))return function n$(e,n){return KS(HS(e),n)}(e,n)}throw VS(e)}(e,n):Qt(e)}function ci(...e){return Ti(e,al(e))}class lu{}class cu{}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 r${encodeKey(n){return YS(n)}encodeValue(n){return YS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const s$=/%(\d[a-f0-9])/gi,a$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function YS(e){return encodeURIComponent(e).replace(s$,(n,t)=>a$[t]??n)}function du(e){return`${e}`}class Ji{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new r$,n.fromString){if(n.fromObject)throw new w(2805,!1);this.map=function o$(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(du):[du(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(du(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(du(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 l${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 QS(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function ZS(e){return typeof Blob<"u"&&e instanceof Blob}function XS(e){return typeof FormData<"u"&&e instanceof FormData}const ll="Content-Type",Og="X-Request-URL",JS="text/plain",eI="application/json",tI=`${eI}, ${JS}, */*`;class cl{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 c$(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 l$,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||QS(this.body)||ZS(this.body)||XS(this.body)||function d$(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||XS(this.body)?null:ZS(this.body)?this.body.type||null:QS(this.body)?null:"string"==typeof this.body?JS:this.body instanceof Ji?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?eI: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 cl(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 Ng{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 fu extends Ng{constructor(n={}){super(n)}type=er.ResponseHeader;clone(n={}){return new fu({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 dl extends Ng{body;constructor(n={}){super(n),this.body=void 0!==n.body?n.body:null}type=er.Response;clone(n={}){return new dl({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 ys extends Ng{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 Pg(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 Lg=(()=>{class e{handler;constructor(t){this.handler=t}request(t,i,r={}){let o;if(t instanceof cl)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 cl(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 QG(e,n){return Ee(n)?su(e,n,1):su(e,1)}(l=>this.handler.handle(l)));if(t instanceof cl||"events"===r.observe)return s;const a=s.pipe(wn(l=>l instanceof dl));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,Pg(r,i))}post(t,i,r={}){return this.request("POST",t,Pg(r,i))}put(t,i,r={}){return this.request("PUT",t,Pg(r,i))}static \u0275fac=function(i){return new(i||e)(I(lu))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const rI=new C("");function oI(e,n){return n(e)}function g$(e,n){return(t,i)=>n.intercept(t,{handle:r=>e(r,i)})}const _$=new C(""),ul=new C(""),v$=new C(""),sI=new C("",{providedIn:"root",factory:()=>!0});function b$(){let e=null;return(n,t)=>{null===e&&(e=(g(_$,{optional:!0})??[]).reduceRight(g$,oI));const i=g(ji);if(g(sI)){const o=i.add();return e(n,t).pipe(kg(()=>i.remove(o)))}return e(n,t)}}let aI=(()=>{class e extends lu{backend;injector;chain=null;pendingTasks=g(ji);contributeToStability=g(sI);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(ul),...this.injector.get(v$,[])]));this.chain=i.reduceRight((r,o)=>function y$(e,n,t){return(i,r)=>Hf(t,()=>n(i,o=>e(o,r)))}(r,o,this.injector),oI)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(kg(()=>this.pendingTasks.remove(i)))}return this.chain(t,i=>this.backend.handle(i))}static \u0275fac=function(i){return new(i||e)(I(cu),I(St))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const D$=/^\)\]\}',?\n/,E$=RegExp(`^${Og}:`,"m");let cI=(()=>{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(au(()=>new Me(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",tI),!t.headers.has(ll)){const m=t.detectContentTypeHeader();null!==m&&s.setRequestHeader(ll,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 M$(e){return"responseURL"in e&&e.responseURL?e.responseURL:E$.test(e.getAllResponseHeaders())?e.getResponseHeader(Og):null}(s)||t.url;return l=new fu({headers:_,status:s.status,statusText:m,url:b}),l},d=()=>{let{headers:m,status:_,statusText:b,url:v}=c(),S=null;204!==_&&(S=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=S?200:0);let R=_>=200&&_<300;if("json"===t.responseType&&"string"==typeof S){const K=S;S=S.replace(D$,"");try{S=""!==S?JSON.parse(S):null}catch(qe){S=K,R&&(R=!1,S={error:qe,text:S})}}R?(o.next(new dl({body:S,headers:m,status:_,statusText:b,url:v||void 0})),o.complete()):o.error(new ys({error:S,headers:m,status:_,statusText:b,url:v||void 0}))},u=m=>{const{url:_}=c(),b=new ys({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(JM))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const jg=new C(""),dI=new C("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),uI=new C("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class fI{}let A$=(()=>{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=ZM(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(i){return new(i||e)(I(ve),I(dI))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();const T$=/^(?:https?:)?\/\//i;function F$(e,n){if(!g(jg)||"GET"===e.method||"HEAD"===e.method||T$.test(e.url))return n(e);const t=g(fI).getToken(),i=g(uI);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 k$(...e){const n=[Lg,cI,aI,{provide:lu,useExisting:aI},{provide:cu,useFactory:()=>g(rI,{optional:!0})??g(cI)},{provide:ul,useValue:F$,multi:!0},{provide:jg,useValue:!0},{provide:fI,useClass:A$}];for(const t of e)n.push(...t.\u0275providers);return function Li(e){return{\u0275providers:e}}(n)}const hI=new C("");function R$(){return function zr(e,n){return{\u0275kind:e,\u0275providers:n}}(tr.LegacyInterceptors,[{provide:hI,useFactory:b$},{provide:ul,useExisting:hI,multi:!0}])}let O$=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[k$(R$())]})}return e})();function pI(e=1/0){return su(zs,e)}const hu=new Me(e=>e.complete());function nr(...e){const n=al(e),t=function ZG(e,n){return"number"==typeof Rg(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?Qt(i[0]):pI(t)(Ti(i,n)):hu}function _s(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(dt(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)}))}):zs}const B$={provide:ja,useFactory:function V$(e,n){return()=>{if(Zi(n)){const t=Array.from(e.querySelectorAll(`[class*=${_I}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(r=>{r.classList.contains(`${_I}ssr`)&&r.parentNode?r.parentNode.removeChild(r):r.className.replace(i,"")})}}},deps:[ve,sn],multi:!0},_I="flex-layout-";let zg=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({providers:[B$]}),e})();const Ug={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:()=>Ug}),vs=new C("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),Gg=new C("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function Cn(e){return null!=e&&"false"!=`${e}`}function Dt(e){return gt((n,t)=>{Qt(e).subscribe(dt(t,()=>t.complete(),pf)),!t.closed&&n.subscribe(t)})}EventTarget;let gu=(()=>{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(u3),r},providedIn:"root"})}return e})(),u3=(()=>{class e extends gu{_doc;constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case ht.NONE:return i;case ht.HTML:return ti(i,"HTML")?ln(i):Ax(this._doc,String(i)).toString();case ht.STYLE:return ti(i,"Style")?ln(i):i;case ht.SCRIPT:if(ti(i,"Script"))return ln(i);throw new w(5200,!1);case ht.URL:return ti(i,"URL")?ln(i):Jc(String(i));case ht.RESOURCE_URL:if(ti(i,"ResourceURL"))return ln(i);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(t){return function eN(e){return new KO(e)}(t)}bypassSecurityTrustStyle(t){return function tN(e){return new YO(e)}(t)}bypassSecurityTrustScript(t){return function nN(e){return new QO(e)}(t)}bypassSecurityTrustUrl(t){return function iN(e){return new ZO(e)}(t)}bypassSecurityTrustResourceUrl(t){return function rN(e){return new XO(e)}(t)}static \u0275fac=function(i){return new(i||e)(I(ve))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),BI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[zg]}),e})();const T3=new C("cdk-dir-doc",{providedIn:"root",factory:function F3(){return g(ve)}}),k3=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let xs=(()=>{class e{value="ltr";change=new we;constructor(){const t=g(T3,{optional:!0});t&&(this.value=function R3(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?k3.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})(),ws=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})(),UI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[zg,ws]}),e})(),ZI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[zg]}),e})(),rW=(()=>{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:{...Ug,...t}},{provide:Gg,useValue:i,multi:!0},{provide:vs,useValue:!0}]:[{provide:Hn,useValue:{...Ug,...t}},{provide:Gg,useValue:i,multi:!0}]}}}return e.\u0275fac=function(t){return new(t||e)(I(vs),I(sn))},e.\u0275mod=fe({type:e}),e.\u0275inj=le({imports:[UI,BI,ZI,UI,BI,ZI]}),e})();const{isArray:oW}=Array,{getPrototypeOf:sW,prototype:aW,keys:lW}=Object;function XI(e){if(1===e.length){const n=e[0];if(oW(n))return{args:n,keys:null};if(function cW(e){return e&&"object"==typeof e&&sW(e)===aW}(n)){const t=lW(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:dW}=Array;function JI(e){return tt(n=>function uW(e,n){return dW(n)?e(...n):e(n)}(e,n))}function e0(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function t0(...e){const n=$S(e),{args:t,keys:i}=XI(e),r=new Me(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;Qt(t[d]).subscribe(dt(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?e0(i,a):a),o.complete())}))}});return n?r.pipe(JI(n)):r}let n0=(()=>{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=M({type:e})}return e})(),Gr=(()=>{class e extends n0{static \u0275fac=(()=>{let t;return function(r){return(t||(t=O(e)))(r||e)}})();static \u0275dir=M({type:e,features:[A]})}return e})();const zn=new C(""),hW={provide:zn,useExisting:xe(()=>_u),multi:!0},mW=new C("");let _u=(()=>{class e extends n0{_compositionMode;_composing=!1;constructor(t,i,r){super(t,i),this._compositionMode=r,null==this._compositionMode&&(this._compositionMode=!function pW(){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(mW,8))};static \u0275dir=M({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&&Se("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([hW]),A]})}return e})();function Kg(e){return null==e||0===Yg(e)}function Yg(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(""),gW=/^(?=.{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 o0{static min(n){return function s0(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 a0(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 l0(e){return Kg(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function c0(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function d0(e){return Kg(e.value)||gW.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function u0(e){return n=>{const t=n.value?.length??Yg(n.value);return null===t||0===t?null:t<e?{minlength:{requiredLength:e,actualLength:t}}:null}}(n)}static maxLength(n){return function f0(e){return n=>{const t=n.value?.length??Yg(n.value);return null!==t&&t>e?{maxlength:{requiredLength:e,actualLength:t}}:null}}(n)}static pattern(n){return function h0(e){if(!e)return vu;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(Kg(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 v0(n)}static composeAsync(n){return b0(n)}}function vu(e){return null}function p0(e){return null!=e}function m0(e){return Md(e)?Ti(e):e}function g0(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function y0(e,n){return n.map(t=>t(e))}function _0(e){return e.map(n=>function yW(e){return!e.validate}(n)?n:t=>n.validate(t))}function v0(e){if(!e)return null;const n=e.filter(p0);return 0==n.length?null:function(t){return g0(y0(t,n))}}function Qg(e){return null!=e?v0(_0(e)):null}function b0(e){if(!e)return null;const n=e.filter(p0);return 0==n.length?null:function(t){return t0(y0(t,n).map(m0)).pipe(tt(g0))}}function Zg(e){return null!=e?b0(_0(e)):null}function x0(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function w0(e){return e._rawValidators}function C0(e){return e._rawAsyncValidators}function Xg(e){return e?Array.isArray(e)?e:[e]:[]}function bu(e,n){return Array.isArray(e)?e.includes(n):e===n}function D0(e,n){const t=Xg(n);return Xg(e).forEach(r=>{bu(t,r)||t.push(r)}),t}function E0(e,n){return Xg(n).filter(t=>!bu(e,t))}class M0{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=Qg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Zg(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 M0{name;get formDirective(){return null}get path(){return null}}class di extends M0{_parent=null;name=null;valueAccessor=null}class S0{_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 I0=(()=>{class e extends S0{constructor(t){super(t)}static \u0275fac=function(i){return new(i||e)(y(di,2))};static \u0275dir=M({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&pt("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 ml="VALID",wu="INVALID",Cs="PENDING",gl="DISABLED";class Ds{}class T0 extends Ds{value;source;constructor(n,t){super(),this.value=n,this.source=t}}class ty extends Ds{pristine;source;constructor(n,t){super(),this.pristine=n,this.source=t}}class ny extends Ds{touched;source;constructor(n,t){super(),this.touched=n,this.source=t}}class Cu extends Ds{status;source;constructor(n,t){super(),this.status=n,this.source=t}}class F0 extends Ds{source;constructor(n){super(),this.source=n}}class k0 extends Ds{source;constructor(n){super(),this.source=n}}function iy(e){return(Du(e)?e.validators:e)||null}function ry(e,n){return(Du(n)?n.asyncValidators:e)||null}function Du(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oy{_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=vn(()=>this.statusReactive());statusReactive=kn(void 0);get valid(){return this.status===ml}get invalid(){return this.status===wu}get pending(){return this.status==Cs}get disabled(){return this.status===gl}get enabled(){return this.status!==gl}errors;get pristine(){return Qe(this.pristineReactive)}set pristine(n){Qe(()=>this.pristineReactive.set(n))}_pristine=vn(()=>this.pristineReactive());pristineReactive=kn(!0);get dirty(){return!this.pristine}get touched(){return Qe(this.touchedReactive)}set touched(n){Qe(()=>this.touchedReactive.set(n))}_touched=vn(()=>this.touchedReactive());touchedReactive=kn(!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(D0(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(D0(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(E0(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(E0(n,this._rawAsyncValidators))}hasValidator(n){return bu(this._rawValidators,n)}hasAsyncValidator(n){return bu(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 ny(!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 ny(!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 ty(!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 ty(!0,i))}markAsPending(n={}){this.status=Cs;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new Cu(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=gl,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 T0(this.value,i)),this._events.next(new Cu(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=ml,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===ml||this.status===Cs)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new T0(this.value,t)),this._events.next(new Cu(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()?gl:ml}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Cs,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=m0(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 Cu(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new we,this.statusChanges=new we}_calculateStatus(){return this._allControlsDisabled()?gl:this.errors?wu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Cs)?Cs:this._anyControlsHaveStatus(wu)?wu:ml}_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 ty(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new ny(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Du(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 EW(e){return Array.isArray(e)?Qg(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function MW(e){return Array.isArray(e)?Zg(e):e||null}(this._rawAsyncValidators)}}class sy extends oy{constructor(n,t,i){super(iy(t),ry(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 O0(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 R0(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 Es=new C("",{providedIn:"root",factory:()=>Eu}),Eu="always";function yl(e,n,t=Eu){ay(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function AW(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&N0(e,n)})}(e,n),function FW(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 TW(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&N0(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function IW(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Su(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Au(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Iu(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function ay(e,n){const t=w0(e);null!==n.validator?e.setValidators(x0(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=C0(e);null!==n.asyncValidator?e.setAsyncValidators(x0(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Iu(n._rawValidators,r),Iu(n._rawAsyncValidators,r)}function Au(e,n){let t=!1;if(null!==e){if(null!==n.validator){const r=w0(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=C0(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 Iu(n._rawValidators,i),Iu(n._rawAsyncValidators,i),t}function N0(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function P0(e,n){ay(e,n)}function L0(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}const PW={provide:Vt,useExisting:xe(()=>Ms)},_l=Promise.resolve();let Ms=(()=>{class e extends Vt{callSetDisabledState;get submitted(){return Qe(this.submittedReactive)}_submitted=vn(()=>this.submittedReactive());submittedReactive=kn(!1);_directives=new Set;form;ngSubmit=new we;options;constructor(t,i,r){super(),this.callSetDisabledState=r,this.form=new sy({},Qg(t),Zg(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){_l.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),yl(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){_l.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){_l.then(()=>{const i=this._findContainer(t.path),r=new sy({});P0(r,t),i.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){_l.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){_l.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),L0(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new F0(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 k0(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(Es,8))};static \u0275dir=M({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){1&i&&Se("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([PW]),A]})}return e})();function V0(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function B0(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const j0=class extends oy{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,t,i){super(iy(t),ry(i,t)),this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Du(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=B0(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){V0(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){V0(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){B0(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}},HW={provide:di,useExisting:xe(()=>uy)},H0=Promise.resolve();let uy=(()=>{class e extends di{_changeDetectorRef;callSetDisabledState;control=new j0;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new we;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 dy(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===_u?t=o:function OW(e){return Object.getPrototypeOf(e.constructor)===Gr}(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 cy(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(){yl(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){H0.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&<(i);H0.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Mu(e,n){return[...n.path,e]}(t,this._parent):[t]}static \u0275fac=function(i){return new(i||e)(y(Vt,9),y(Et,10),y(rr,10),y(zn,10),y(Lr,8),y(Es,8))};static \u0275dir=M({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([HW]),A,on]})}return e})();const KW={provide:Vt,useExisting:xe(()=>Ss)};let my,Ss=(()=>{class e extends Vt{callSetDisabledState;get submitted(){return Qe(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=vn(()=>this._submittedReactive());_submittedReactive=kn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new we;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&&(Au(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 yl(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Su(t.control||null,t,!1),function NW(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),L0(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new F0(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 k0(this.form))}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,r=this.form.get(t.path);i!==r&&(Su(i||null,t),(e=>e instanceof j0)(r)&&(yl(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);P0(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function kW(e,n){return Au(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ay(this.form,this),this._oldForm&&Au(this._oldForm,this)}static \u0275fac=function(i){return new(i||e)(y(Et,10),y(rr,10),y(Es,8))};static \u0275dir=M({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,r){1&i&&Se("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([KW]),A,on]})}return e})(),f5=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})(),sA=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Es,useValue:t.callSetDisabledState??Eu}]}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[f5]})}return e})(),p5=(()=>{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})(),m5=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[p5]})}return e})();try{my=typeof Intl<"u"&&Intl.v8BreakIterator}catch{my=!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&&!my)&&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 aA(e,n,t){e?Ai(t,e,n):n()}function gy(...e){return function _5(){return pI(1)}()(Ti(e,al(e)))}function bl(e){return e<=0?()=>hu:gt((n,t)=>{let i=0;n.subscribe(dt(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}class b5 extends Ae{constructor(n,t){super()}schedule(n,t=0){return this}}const Ru={setInterval(e,n,...t){const{delegate:i}=Ru;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Ru;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class yy extends b5{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 Ru.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&&Ru.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,Gl(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const _y={now:()=>(_y.delegate||Date).now(),delegate:void 0};class xl{constructor(n,t=xl.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}xl.now=_y.now;class vy extends xl{constructor(n,t=xl.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 by=new vy(yy),x5=by;function xy(e,n=by){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(dt(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 Ou(...e){const n=al(e);return gt((t,i)=>{(n?gy(e,t,n):gy(e,t)).subscribe(i)})}function Nu(e){return Array.isArray(e)?e:[e]}const lA=new Set;let Wr,w5=(()=>{class e{_platform=g(Un);_nonce=g(Rh,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):D5}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function C5(e,n){if(!lA.has(e))try{Wr||(Wr=document.createElement("style"),n&&Wr.setAttribute("nonce",n),Wr.setAttribute("type","text/css"),document.head.appendChild(Wr)),Wr.sheet&&(Wr.sheet.insertRule(`@media ${e} {body{ }}`,0),lA.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 D5(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let E5=(()=>{class e{_mediaMatcher=g(w5);_zone=g(B);_queries=new Map;_destroySubject=new J;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return cA(Nu(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let o=function g5(...e){const n=al(e),t=$S(e),{args:i,keys:r}=XI(e);if(0===i.length)return Ti([],n);const o=new Me(function y5(e,n,t=zs){return i=>{aA(n,()=>{const{length:r}=e,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)aA(n,()=>{const c=Ti(e[l],n);let d=!1;c.subscribe(dt(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>e0(r,s):zs));return t?o.pipe(JI(t)):o}(cA(Nu(t)).map(s=>this._registerQuery(s).observable));return o=gy(o.pipe(bl(1)),o.pipe(function v5(e){return wn((n,t)=>e<=t)}(1),xy(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 Me(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Ou(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 cA(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}const k5=new C("liveAnnouncerElement",{providedIn:"root",factory:function R5(){return null}}),O5=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let N5=0,P5=(()=>{class e{_ngZone=g(B);_defaultOptions=g(O5,{optional:!0});_liveElement;_document=g(ve);_previousTimeout;_currentPromise;_currentResolve;constructor(){const t=g(k5,{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-"+N5++,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 qr=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}(qr||{});const uA="cdk-high-contrast-black-on-white",fA="cdk-high-contrast-white-on-black",wy="cdk-high-contrast-active";let Pu,L5=(()=>{class e{_platform=g(Un);_hasCheckedHighContrastMode;_document=g(ve);_breakpointSubscription;constructor(){this._breakpointSubscription=g(E5).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return qr.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 qr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return qr.BLACK_ON_WHITE}return qr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(wy,uA,fA),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();i===qr.BLACK_ON_WHITE?t.add(wy,uA):i===qr.WHITE_ON_BLACK&&t.add(wy,fA)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Zt=(()=>{class e{constructor(){g(L5)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[ws,ws]})}return e})(),wl=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Zt,m5,Zt]})}return e})();function hA(e){return gt((n,t)=>{let o,i=null,r=!1;i=n.subscribe(dt(t,void 0,void 0,s=>{o=Qt(e(s,hA(e)(n))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function pA(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=Cy(p,r))}),b.subscribe(_),!s&&c>0&&(s=new Hs({next:v=>b.next(v),error:v=>{u=!0,h(),a=Cy(f,t,v),b.error(v)},complete:()=>{d=!0,h(),a=Cy(f,i),b.complete()}}),Qt(m).subscribe(s))})(o)}}function Cy(e,n,...t){if(!0===n)return void e();if(!1===n)return;const i=new Hs({next:()=>{i.unsubscribe(),e()}});return Qt(n(...t)).subscribe(i)}function Cl(e){return function B5(){if(void 0===Pu&&(Pu=null,typeof window<"u")){const e=window;void 0!==e.trustedTypes&&(Pu=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Pu}()?.createHTML(e)||e}function mA(e){return Error(`Unable to find icon with the name "${e}"`)}function gA(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function yA(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class Kr{url;svgText;options;svgElement;constructor(n,t,i){this.url=n,this.svgText=t,this.options=i}}let Lu=(()=>{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 Kr(r,null,o))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,i,r,o){const s=this._sanitizer.sanitize(ht.HTML,r);if(!s)throw yA(r);const a=Cl(s);return this._addSvgIconConfig(t,i,new Kr("",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 Kr(i,null,r))}addSvgIconSetLiteralInNamespace(t,i,r){const o=this._sanitizer.sanitize(ht.HTML,i);if(!o)throw yA(i);const s=Cl(o);return this._addSvgIconSetConfig(t,new Kr("",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(ht.RESOURCE_URL,t);if(!i)throw gA(t);const r=this._cachedIconsByUrl.get(i);return r?ci(Vu(r)):this._loadSvgIconFromConfig(new Kr(t,null)).pipe(_s(o=>this._cachedIconsByUrl.set(i,o)),tt(o=>Vu(o)))}getNamedSvgIcon(t,i=""){const r=_A(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 V5(e,n){const t=Ee(e)?e:()=>e,i=r=>r.error(t());return new Me(n?r=>n.schedule(i,0,r):i)}(mA(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?ci(Vu(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(tt(i=>Vu(i)))}_getSvgFromIconSetConfigs(t,i){const r=this._extractIconWithNameFromAnySet(t,i);return r?ci(r):t0(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(hA(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ht.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 mA(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(_s(i=>t.svgText=i),tt(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?ci(null):this._fetchIcon(t).pipe(_s(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(Cl("<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(Cl("<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 j5(){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(ht.RESOURCE_URL,i);if(!s)throw gA(i);const a=this._inProgressUrlFetches.get(s);if(a)return a;const l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(tt(c=>Cl(c)),kg(()=>this._inProgressUrlFetches.delete(s)),pA());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(t,i,r){return this._svgIconConfigs.set(_A(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 z5(o)?new Kr(o.url,null,o.options):new Kr(o,null)}}static \u0275fac=function(i){return new(i||e)(I(Lg,8),I(gu),I(ve,8),I(zt))};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Vu(e){return e.cloneNode(!0)}function _A(e,n){return e+":"+n}function z5(e){return!(!e.url||!e.options)}const U5=["*"],G5=new C("MAT_ICON_DEFAULT_OPTIONS"),$5=new C("mat-icon-location",{providedIn:"root",factory:function W5(){const e=g(ve),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),vA=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],q5=vA.map(e=>`[${e}]`).join(", "),K5=/^url\(['"]?#(.*?)['"]?\)$/;let Is,Y5=(()=>{class e{_elementRef=g(U);_iconRegistry=g(Lu);_location=g($5);_errorHandler=g(zt);_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 Xv("aria-hidden"),{optional:!0}),i=g(G5,{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(q5),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)vA.forEach(s=>{const a=i[o],l=a.getAttribute(s),c=l?l.match(K5):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(bl(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 bD(e){Pn(YB,li,e,!0)}(r.color?"mat-"+r.color:""),pt("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:U5,decls:1,vars:0,template:function(i,r){1&i&&(fs(),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})(),bA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Zt,Zt]})}return e})();const xA=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function wA(){if(Is)return Is;if("object"!=typeof document||!document)return Is=new Set(xA),Is;let e=document.createElement("input");return Is=new Set(xA.filter(n=>(e.setAttribute("type",n),e.type===n))),Is}const Bu=new WeakMap;let Dl=(()=>{class e{_appRef;_injector=g(ke);_environmentInjector=g(St);load(t){const i=this._appRef=this._appRef||this._injector.get(Rt);let r=Bu.get(i);r||(r={loaders:new Set,refs:[]},Bu.set(i,r),i.onDestroy(()=>{Bu.get(i)?.refs.forEach(o=>o.destroy()),Bu.delete(i)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(GM(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 El(e,n,t,i,r){const o=parseInt(oM.major),s=parseInt(oM.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 Ml(e){return e instanceof U?e.nativeElement:e}let Z5=(()=>{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 X5={passive:!0};let J5=(()=>{class e{_platform=g(Un);_ngZone=g(B);_renderer=g(oi).createRenderer(null,null);_styleLoader=g(Dl);_monitoredElements=new Map;constructor(){}monitor(t){if(!this._platform.isBrowser)return hu;this._styleLoader.load(Z5);const i=Ml(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"),El(this._renderer,i,"animationstart",a,X5)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(t){const i=Ml(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})(),eq=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();const Dy={};let As=(()=>{class e{_appId=g(ei);getId(t){return"ng"!==this._appId&&(t+=this._appId),Dy.hasOwnProperty(t)||(Dy[t]=0),`${t}${Dy[t]++}`}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const tq=new C("MAT_INPUT_VALUE_ACCESSOR");class CA extends J{constructor(n=1/0,t=1/0,i=_y){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 rq{_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 Me(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(wn(t=>t.some(i=>i.target===n)),function iq(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,pA({connector:()=>new CA(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 oq=(()=>{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 rq(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 sq=["notch"],aq=["matFormFieldNotchedOutline",""],lq=["*"],cq=["textField"],dq=["iconPrefixContainer"],uq=["textPrefixContainer"],fq=["iconSuffixContainer"],hq=["textSuffixContainer"],pq=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],mq=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function gq(e,n){1&e&&at(0,"span",20)}function yq(e,n){if(1&e&&(X(0,"label",19),Ct(1,1),te(2,gq,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 _q(e,n){1&e&&te(0,yq,3,5,"label",19),2&e&&st(N()._hasFloatingLabel()?0:-1)}function vq(e,n){1&e&&at(0,"div",7)}function bq(e,n){}function xq(e,n){1&e&&te(0,bq,0,0,"ng-template",13),2&e&&(N(2),j("ngTemplateOutlet",Ya(1)))}function wq(e,n){if(1&e&&(X(0,"div",9),te(1,xq,1,1,null,13),ne()),2&e){const t=N();j("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat()),F(),st(t._forceDisplayInfixLabel()?-1:1)}}function Cq(e,n){1&e&&(X(0,"div",10,2),Ct(2,2),ne())}function Dq(e,n){1&e&&(X(0,"div",11,3),Ct(2,3),ne())}function Eq(e,n){}function Mq(e,n){1&e&&te(0,Eq,0,0,"ng-template",13),2&e&&(N(),j("ngTemplateOutlet",Ya(1)))}function Sq(e,n){1&e&&(X(0,"div",14,4),Ct(2,4),ne())}function Iq(e,n){1&e&&(X(0,"div",15,5),Ct(2,5),ne())}function Aq(e,n){1&e&&at(0,"div",16)}function Tq(e,n){1&e&&Ct(0,6)}function Fq(e,n){if(1&e&&(X(0,"mat-hint",21),Ln(1),ne()),2&e){const t=N(2);j("id",t._hintLabelId),F(),Qa(t.hintLabel)}}function kq(e,n){1&e&&(te(0,Fq,2,2,"mat-hint",21),Ct(1,7),at(2,"div",22),Ct(3,8)),2&e&&st(N().hintLabel?0:-1)}let DA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275dir=M({type:e,selectors:[["mat-label"]]})}return e})();const Rq=new C("MatError");let EA=(()=>{class e{align="start";id=g(As).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||e)};static \u0275dir=M({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&&(Ua("id",r.id),xt("align",null),pt("mat-mdc-form-field-hint-end","end"===r.align))},inputs:{align:"align",id:"id"}})}return e})();const MA=new C("MatPrefix");let Oq=(()=>{class e{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||e)};static \u0275dir=M({type:e,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[he([{provide:MA,useExisting:e}])]})}return e})();const SA=new C("MatSuffix");let Nq=(()=>{class e{set _isTextSelector(t){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||e)};static \u0275dir=M({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[he([{provide:SA,useExisting:e}])]})}return e})();const IA=new C("FloatingLabelParent");let AA=(()=>{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(oq);_ngZone=g(B);_parent=g(IA);_resizeSubscription=new Ae;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function Pq(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=M({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){2&i&&pt("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return e})();const TA="mdc-line-ripple--active",ju="mdc-line-ripple--deactivating";let FA=(()=>{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(ju),t.add(TA)}deactivate(){this._elementRef.nativeElement.classList.add(ju)}_handleTransitionEnd=t=>{const i=this._elementRef.nativeElement.classList,r=i.contains(ju);"opacity"===t.propertyName&&r&&i.remove(TA,ju)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||e)};static \u0275dir=M({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return e})(),kA=(()=>{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(sq,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&&pt("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:aq,ngContentSelectors:lq,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&&(fs(),at(0,"div",1),X(1,"div",2,0),Ct(3),ne(),at(4,"div",3))},encapsulation:2,changeDetection:0})}return e})(),Ey=(()=>{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=M({type:e})}return e})();const My=new C("MatFormField"),Lq=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS");let jq=(()=>{class e{_elementRef=g(U);_changeDetectorRef=g(Lr);_dir=g(xs);_platform=g(Un);_idGenerator=g(As);_ngZone=g(B);_injector=g(ke);_defaults=g(Lq,{optional:!0});_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=yL(DA);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Cn(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(Dr,{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=vn(()=>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(Ou([void 0,void 0]),tt(()=>[i.errorState,i.userAriaDescribedBy]),function nq(){return gt((e,n)=>{let t,i=!1;e.subscribe(dt(n,r=>{const o=t;t=r,i&&n.next([o,r]),i=!0}))})}(),wn(([[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),Bc(()=>{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=vn(()=>!!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&&(hE(o,r._labelChild,DA,5),Mi(o,Ey,5),Mi(o,MA,5),Mi(o,SA,5),Mi(o,Rq,5),Mi(o,EA,5)),2&i){let s;(function pE(e=1){vc(lh()+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(cq,5),Nt(dq,5),Nt(uq,5),Nt(fq,5),Nt(hq,5),Nt(AA,5),Nt(kA,5),Nt(FA,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&&pt("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:My,useExisting:e},{provide:IA,useExisting:e}])],ngContentSelectors:mq,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();fs(pq),te(0,_q,1,1,"ng-template",null,0,HE),X(2,"div",6,1),Se("click",function(a){return _t(o),vt(r._control.onContainerClick(a))}),te(4,vq,1,0,"div",7),X(5,"div",8),te(6,wq,2,2,"div",9)(7,Cq,3,0,"div",10)(8,Dq,3,0,"div",11),X(9,"div",12),te(10,Mq,1,1,null,13),Ct(11),ne(),te(12,Sq,3,0,"div",14)(13,Iq,3,0,"div",15),ne(),te(14,Aq,1,0,"div",16),ne(),X(15,"div",17),Hm(16),X(17,"div",18),te(18,Tq,1,0)(19,kq,4,1),ne()()}if(2&i){let o;F(2),pt("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(),pt("mat-mdc-form-field-subscript-dynamic-size","dynamic"===r.subscriptSizing);const s=r._getSubscriptMessageType();F(2),pt("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:[AA,kA,vg,FA,EA],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})(),NA=(()=>{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 PA{_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 Hq=["button","checkbox","file","hidden","image","radio","range","reset","submit"],zq=new C("MAT_INPUT_CONFIG");let Uq=(()=>{class e{_elementRef=g(U);_platform=g(Un);ngControl=g(di,{optional:!0,self:!0});_autofillMonitor=g(J5);_ngZone=g(B);_formField=g(My,{optional:!0});_renderer=g(yn);_uid=g(As).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=g(zq,{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=Cn(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(o0.required)??!1}set required(t){this._required=Cn(t)}_required;get type(){return this._type}set type(t){const i=this._type;this._type=t||"text",this._validateType(),!this._isTextarea&&wA().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=Cn(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=>wA().has(t));constructor(){const t=g(Ms,{optional:!0}),i=g(Ss,{optional:!0}),r=g(NA),o=g(tq,{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 PA(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&&Br(()=>{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(){Hq.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=M({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&&Se("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),2&i&&(Ua("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),pt("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:Ey,useExisting:e}]),on]})}return e})(),LA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Zt,wl,wl,eq,Zt]})}return e})();function Hu(e){return e.composedPath?e.composedPath()[0]:e.target}function VA(){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 Sl={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=Sl;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}=Sl;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=Sl;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};new class qq extends vy{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 Wq extends yy{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=Sl.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&&(Sl.cancelAnimationFrame(t),n._scheduled=void 0)}});let Iy,Yq=1;const zu={};function BA(e){return e in zu&&(delete zu[e],!0)}const Qq={setImmediate(e){const n=Yq++;return zu[n]=!0,Iy||(Iy=Promise.resolve()),Iy.then(()=>BA(n)&&e()),n},clearImmediate(e){BA(e)}},{setImmediate:Zq,clearImmediate:Xq}=Qq,Uu={setImmediate(...e){const{delegate:n}=Uu;return(n?.setImmediate||Zq)(...e)},clearImmediate(e){const{delegate:n}=Uu;return(n?.clearImmediate||Xq)(e)},delegate:void 0};new class e6 extends vy{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 Jq extends yy{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=Uu.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&&(Uu.clearImmediate(t),n._scheduled===t&&(n._scheduled=void 0))}});function jA(e,n=by){return function n6(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(dt(t,c=>{i=!0,r=c,o||Qt(e(c)).subscribe(o=dt(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>function r6(e=0,n,t=x5){let i=-1;return null!=n&&(GS(n)?t=n:i=n),new Me(r=>{let o=function i6(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 Yr,s6=(()=>{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 Me(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));const r=t>0?this._scrolled.pipe(jA(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(wn(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=Ml(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})(),Ay=(()=>{class e{_platform=g(Un);_listeners;_viewportSize;_change=new J;_document=g(ve,{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(jA(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})(),Ty=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})(),HA=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[ws,Ty,ws,Ty]})}return e})();function l6(){if(null==Yr){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Yr=!1,Yr;if("scrollBehavior"in document.documentElement.style)Yr=!0;else{const e=Element.prototype.scrollTo;Yr=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Yr}class Fy{_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 c6 extends Fy{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 zA extends Fy{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 d6 extends Fy{element;constructor(n){super(),this.element=n instanceof U?n.nativeElement:n}}class u6{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof c6?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof zA?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof d6?(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 f6 extends u6{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(St,i.injector);t=GM(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 h6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({})}return e})();function Ts(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}const qA=l6();class w6{_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"),qA&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),qA&&(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 C6{_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(wn(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 KA{enable(){}disable(){}attach(){}}function Py(e,n){return n.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function YA(e,n){return n.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class D6{_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();Py(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 E6=(()=>{class e{_scrollDispatcher=g(s6);_viewportRuler=g(Ay);_ngZone=g(B);_document=g(ve);constructor(){}noop=()=>new KA;close=t=>new C6(this._scrollDispatcher,this._ngZone,this._viewportRuler,t);block=()=>new w6(this._viewportRuler,this._document);reposition=t=>new D6(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 QA{positionStrategy;scrollStrategy=new KA;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 M6{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let ZA=(()=>{class e{_attachedOverlays=[];_document=g(ve);_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})(),S6=(()=>{class e extends ZA{_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})(),I6=(()=>{class e extends ZA{_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(()=>[El(this._renderer,i,"pointerdown",this._pointerDownListener,r),El(this._renderer,i,"click",this._clickListener,r),El(this._renderer,i,"auxclick",this._clickListener,r),El(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=Hu(t)};_clickListener=t=>{const i=Hu(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(XA(a.overlayElement,i)||XA(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 XA(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 JA=(()=>{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})(),eT=(()=>{class e{_platform=g(Un);_containerElement;_document=g(ve);_styleLoader=g(Dl);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||VA()){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),VA()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(JA)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class A6{_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 T6{_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(()=>Bc(()=>{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 jc(e,n){!n?.injector&&mo();const t=n?.injector??g(ke);return an("NgAfterNextRender"),Hb(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 A6(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=Nu(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 tT="cdk-overlay-connected-position-bounding-box",F6=/([A-Za-z%]+)$/;class k6{_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(tT),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&&Qr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(tT),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=iT(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=nT(this._overlayRef.getConfig().minHeight),a=nT(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=iT(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 R6(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 M6(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,Qr(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Qr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Qr(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();Qr(i,this._getExactOverlayY(t,n,d)),Qr(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="")),Qr(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:YA(n,i),isOriginOutsideView:Py(n,i),isOverlayClipped:YA(t,i),isOverlayOutsideView:Py(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&&Nu(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 Qr(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function nT(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(F6);return t&&"px"!==t?null:parseFloat(n)}return e||null}function iT(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 rT="cdk-global-overlay-wrapper";class O6{_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(rT),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(rT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let N6=(()=>{class e{_viewportRuler=g(Ay);_document=g(ve);_platform=g(Un);_overlayContainer=g(eT);constructor(){}global(){return new O6}flexibleConnectedTo(t){return new k6(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})(),Fs=(()=>{class e{scrollStrategies=g(E6);_overlayContainer=g(eT);_positionBuilder=g(N6);_keyboardDispatcher=g(S6);_injector=g(ke);_ngZone=g(B);_document=g(ve);_directionality=g(xs);_location=g(YM);_outsideClickDispatcher=g(I6);_animationsModuleType=g(Dr,{optional:!0});_idGenerator=g(As);_renderer=g(oi).createRenderer(null,null);_appRef;_styleLoader=g(Dl);constructor(){}create(t){this._styleLoader.load(JA);const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new QA(t);return s.direction=s.direction||this._directionality.value,new T6(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType,this._injector.get(St),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 f6(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 P6=[{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"}],oT=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(Fs);return()=>e.scrollStrategies.reposition()}});let $u=(()=>{class e{elementRef=g(U);constructor(){}static \u0275fac=function(i){return new(i||e)};static \u0275dir=M({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),sT=(()=>{class e{_overlay=g(Fs);_dir=g(xs,{optional:!0});_overlayRef;_templatePortal;_backdropSubscription=Ae.EMPTY;_attachSubscription=Ae.EMPTY;_detachSubscription=Ae.EMPTY;_positionSubscription=Ae.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=g(oT);_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 we;positionChange=new we;attach=new we;detach=new we;overlayKeydown=new we;overlayOutsideClick=new we;constructor(){const t=g(ri),i=g(On);this._templatePortal=new zA(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=P6);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&&!Ts(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{const r=this._getOriginElement(),o=Hu(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new QA({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 $u?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof $u?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 $q(e,n=!1){return gt((t,i)=>{let r=0;t.subscribe(dt(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=M({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:[on]})}return e})();const V6={provide:oT,deps:[Fs],useFactory:function L6(e){return()=>e.scrollStrategies.reposition()}};let Al,B6=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[Fs,V6],imports:[ws,h6,HA,HA]})}return e})();class lT{_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(_s(t=>this._pressedLetters.push(t)),xy(n),wn(()=>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 hT(e,n,t){const i=pT(e,n);t=t.trim();const r=i.filter(o=>o!==t);r.length?e.setAttribute(n,r.join(" ")):e.removeAttribute(n)}function pT(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}class q6{_items;_activeItemIndex=-1;_activeItem=kn(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 Tc?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):So(n)&&(this._effectRef=Br(()=>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 lT(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||Ts(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 Tc?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 K6 extends q6{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Y6{_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 mT(e){return function Z6(){if(null==Al&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Al=!0}))}finally{Al=Al||!1}return Al}()?e:!!e.capture}var Dn=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}(Dn||{});class e9{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Dn.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 gT=mT({passive:!0,capture:!0});class t9{_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,gT)})}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,gT)))}_delegateEventHandler=n=>{const t=Hu(n);t&&this._events.get(n.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(n))})}}const yT={enterDuration:225,exitDuration:150},_T=mT({passive:!0,capture:!0}),vT=["mousedown","touchstart"],bT=["mouseup","mouseleave","touchend","touchcancel"];let i9=(()=>{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 Wu{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new t9;constructor(n,t,i,r,o){this._target=n,this._ngZone=t,this._platform=r,r.isBrowser&&(this._containerElement=Ml(i)),o&&o.get(Dl).load(i9)}fadeInRipple(n,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...yT,...i.animation};i.centered&&(n=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function r9(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 e9(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",m.state=Dn.FADING_IN,i.persistent||(this._mostRecentTransientRipple=m);let _=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const b=()=>{_&&(_.fallbackTimer=null),clearTimeout(S),this._finishRippleTransition(m)},v=()=>this._destroyRipple(m),S=setTimeout(v,c+100);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",v),_={onTransitionEnd:b,onTransitionCancel:v,fallbackTimer:S}}),this._activeRipples.set(m,_),(p||!c)&&this._finishRippleTransition(m),m}fadeOutRipple(n){if(n.state===Dn.FADING_OUT||n.state===Dn.HIDDEN)return;const t=n.element,i={...yT,...n.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",n.state=Dn.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=Ml(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,vT.forEach(i=>{Wu._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(()=>{bT.forEach(t=>{this._triggerElement.addEventListener(t,this,_T)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Dn.FADING_IN?this._startFadeOutTransition(n):n.state===Dn.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){const t=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=Dn.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=Dn.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 X6(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 J6(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===Dn.VISIBLE||n.config.terminateOnPointerUp&&n.state===Dn.FADING_IN)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(vT.forEach(t=>Wu._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(bT.forEach(t=>n.removeEventListener(t,this,_T)),this._pointerUpEventsRegistered=!1))}}const o9=new C("mat-ripple-global-options");let s9=(()=>{class e{_elementRef=g(U);_animationMode=g(Dr,{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(o9,{optional:!0}),o=g(ke);this._globalOptions=r||{},this._rippleRenderer=new Wu(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=M({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){2&i&&pt("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})(),a9=(()=>{class e{_animationMode=g(Dr,{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&&pt("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})(),l9=(()=>{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})(),c9=(()=>{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 d9=["text"],u9=[[["mat-icon"]],"*"],f9=["mat-icon","*"];function h9(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 p9(e,n){1&e&&at(0,"mat-pseudo-checkbox",3),2&e&&j("disabled",N().disabled)}function m9(e,n){if(1&e&&(X(0,"span",4),Ln(1),ne()),2&e){const t=N();F(),Pr("(",t.group.label,")")}}const xT=new C("MAT_OPTION_PARENT_COMPONENT"),wT=new C("MatOptgroup");class g9{source;isUserInput;constructor(n,t=!1){this.source=n,this.isUserInput=t}}let CT=(()=>{class e{_element=g(U);_changeDetectorRef=g(Lr);_parent=g(xT,{optional:!0});group=g(wT,{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(As).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 we;_text;_stateChanges=new J;constructor(){const t=g(Dl);t.load(l9),t.load(c9),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)&&!Ts(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 g9(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(d9,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&&Se("click",function(){return r._selectViaInteraction()})("keydown",function(s){return r._handleKeydown(s)}),2&i&&(Ua("id",r.id),xt("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),pt("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:f9,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&&(fs(u9),te(0,h9,1,2,"mat-pseudo-checkbox",1),Ct(1),X(2,"span",2,0),Ct(4,1),ne(),te(5,p9,1,1,"mat-pseudo-checkbox",3)(6,m9,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:[a9,s9],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})(),DT=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Zt,Zt]})}return e})(),v9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Zt]})}return e})(),ET=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[DT,Zt,v9]})}return e})();const b9=["trigger"],x9=["panel"],w9=[[["mat-select-trigger"]],"*"],C9=["mat-select-trigger","*"];function D9(e,n){if(1&e&&(X(0,"span",4),Ln(1),ne()),2&e){const t=N();F(),Qa(t.placeholder)}}function E9(e,n){1&e&&Ct(0)}function M9(e,n){if(1&e&&(X(0,"span",11),Ln(1),ne()),2&e){const t=N(2);F(),Qa(t.triggerValue)}}function S9(e,n){if(1&e&&(X(0,"span",5),te(1,E9,1,0)(2,M9,2,1,"span",11),ne()),2&e){const t=N();F(),st(t.customTrigger?1:2)}}function I9(e,n){if(1&e){const t=Ei();X(0,"div",12,1),Se("keydown",function(r){return _t(t),vt(N()._handleKeydown(r))}),Ct(2,1),ne()}if(2&e){const t=N();(function SD(e,n,t){Pn(Jt,li,es(x(),e,n,t),!0)})("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme(),""),pt("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 MT=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{const e=g(Fs);return()=>e.scrollStrategies.reposition()}}),T9=new C("MAT_SELECT_CONFIG"),F9={provide:MT,deps:[Fs],useFactory:function A9(e){return()=>e.scrollStrategies.reposition()}},k9=new C("MatSelectTrigger");class R9{source;value;constructor(n,t){this.source=n,this.value=t}}let O9=(()=>{class e{_viewportRuler=g(Ay);_changeDetectorRef=g(Lr);_elementRef=g(U);_dir=g(xs,{optional:!0});_idGenerator=g(As);_renderer=g(yn);_parentFormField=g(My,{optional:!0});ngControl=g(di,{self:!0,optional:!0});_liveAnnouncer=g(P5);_defaultOptions=g(T9,{optional:!0});_animationsDisabled="NoopAnimations"===g(Dr,{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 y9(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 _9(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 R9(this,t)}_scrollStrategyFactory=g(MT);_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(o0.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 Q6(e){return new Me(n=>{Qt(e()).subscribe(n)})}(()=>{const t=this.options;return t?t.changes.pipe(Ou(t),au(()=>nr(...t.map(i=>i.onSelectionChange)))):this._initialized.pipe(au(()=>this.optionSelectionChanges))});openedChange=new we;_openedStream=this.openedChange.pipe(wn(t=>t),tt(()=>{}));_closedStream=this.openedChange.pipe(wn(t=>!t),tt(()=>{}));selectionChange=new we;valueChange=new we;constructor(){const t=g(NA),i=g(Ms,{optional:!0}),r=g(Ss,{optional:!0}),o=g(new Xv("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),null!=this._defaultOptions?.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new PA(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 Y6(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(Ou(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(bl(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&&hT(this._trackedModal,"aria-owns",i),function z6(e,n,t){const i=pT(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&&(hT(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&&!Ts(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||Ts(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&&!Ts(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 $u?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 K6(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&&(Mi(o,k9,5),Mi(o,CT,5),Mi(o,wT,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(b9,5),Nt(x9,5),Nt(sT,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&&Se("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()),pt("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:PM(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",PM],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:Ey,useExisting:e},{provide:xT,useExisting:e}]),on],ngContentSelectors:C9,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();fs(w9),X(0,"div",2,0),Se("click",function(){return _t(o),vt(r.open())}),X(3,"div",3),te(4,D9,2,1,"span",4)(5,S9,3,1,"span",5),ne(),X(6,"div",6)(7,"div",7),function Iv(){q.lFrame.currentNamespace="svg"}(),X(8,"svg",8),at(9,"path",9),ne()()()(),te(10,I9,3,10,"ng-template",10),Se("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=Ya(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:[$u,sT,ru],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})(),ST=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:[F9],imports:[B6,ET,Zt,Ty,wl,ET,Zt]})}return e})(),P9=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({imports:[Zt,DT,Zt]})}return e})();const L9={schedule(e,n){const t=setTimeout(e,n);return()=>clearTimeout(t)}};let Ly;function G9(e,n,t){let i=t;return function B9(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&n.some((r,o)=>!("*"===r||!function j9(e,n){if(!Ly){const t=Element.prototype;Ly=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Ly.call(e,n)}(e,r)||(i=o,0))),i}class W9{componentFactory;inputMap=new Map;constructor(n,t){this.componentFactory=t.get(qo).resolveComponentFactory(n);for(const i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new q9(this.componentFactory,n,this.inputMap)}}class q9{componentFactory;injector;inputMap;eventEmitters=new CA(1);events=this.eventEmitters.pipe(au(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=L9.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 F1(e){return Ys(e._lView)||!!(64&e._lView[2])}(this.componentRef.hostView)&&(function k1(e){Qf(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 U9(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=G9(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 Me(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 K9 extends HTMLElement{ngElementEventsSubscription=null}const Z9=new C("Search_Service_Token"),eK=[];let rK=(()=>{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 oK=["searchInput"],qu=e=>({$implicit:e});function sK(e,n){if(1&e){const t=Ei();X(0,"mat-icon",14),Se("click",function(){return _t(t),vt(N(3).resetInput())}),ne()}2&e&&j("className",N(3).cfg().crossIconClass)}function aK(e,n){if(1&e&&(X(0,"mat-option",15),Ln(1),ne()),2&e){const t=n.$implicit;j("value",t.name),F(),Pr(" ",t.displayName," ")}}function lK(e,n){if(1&e){const t=Ei();X(0,"div",5)(1,"mat-form-field",6)(2,"input",7,0),Se("focus",function(){return _t(t),vt(N(2).showSuggestions())})("blur",function(){return _t(t),vt(N(2).hideSuggestions())}),jm("ngModelChange",function(r){_t(t);const o=N(2);return function kE(e,n){const t=fb(e);return t&&e.set(n),t}(o.searchBoxInput,r)||(o.searchBoxInput=r),vt(r)}),Se("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,sK,1,1,"mat-icon",9),ne(),X(6,"mat-form-field",10),at(7,"mat-icon",11),X(8,"mat-select",12),Se("selectionChange",function(r){return _t(t),vt(N(2).setCategory(r.value))}),te(9,aK,2,2,"mat-option",13),ne()()()}if(2&e){let t;const i=Ya(3),r=N(2);F(2),j("placeholder",null!==(t=null!==(t=null==(t=r.cfg().placeholderFunction)?null:t(i.value,r.category))&&void 0!==t?t:r.cfg().placeholder)&&void 0!==t?t:"Search"),Bm("ngModel",r.searchBoxInput),j("disabled",r.disabled),F(2),j("className",r.cfg().searchIconClass),F(),j("ngIf",r.searchBoxInput),F(2),j("className",r.cfg().dropDownButtonIconClass),F(),j("value",r.category),F(),j("ngForOf",r.cfg().models)}}function cK(e,n){if(1&e&&(qt(0),te(1,lK,10,8,"div",4),Kt()),2&e){const t=N();F(),j("ngIf",t.cfg())}}function dK(e,n){1&e&&(qt(0),Ln(1," searching... "),Kt())}function uK(e,n){if(1&e&&(qt(0),Ln(1),Kt()),2&e){const t=N(4);F(),Pr(" ",t.cfg().noResultMessage," ")}}function fK(e,n){if(1&e&&(X(0,"span",18),te(1,dK,2,0,"ng-container",1)(2,uK,2,1,"ng-container",1),ne()),2&e){const t=N(3);F(),j("ngIf",t.searching),F(),j("ngIf",!t.searching)}}function hK(e,n){if(1&e&&at(0,"img",24),2&e){const t=N().$implicit;j("src",t.model.imageUrl,nd)("alt",t.model.displayName)}}function pK(e,n){1&e&&ds(0)}function mK(e,n){if(1&e&&(qt(0),te(1,pK,1,0,"ng-container",27),Kt()),2&e){let t;const i=N().$implicit,r=N(5);F(),j("ngTemplateOutlet",null!==(t=r.subtitleTemplate())&&void 0!==t?t:null)("ngTemplateOutletContext",Za(2,qu,i))}}function gK(e,n){if(1&e&&at(0,"p",28),2&e){const t=N().$implicit,i=N(5);j("innerHTML",i.boldString(t[i.cfg().displayPropertyName],i.searchBoxInput),mp)}}function yK(e,n){1&e&&ds(0)}function _K(e,n){if(1&e&&(qt(0),te(1,yK,1,0,"ng-container",27),Kt()),2&e){let t;const i=N().$implicit,r=N(5);F(),j("ngTemplateOutlet",null!==(t=r.titleTemplate())&&void 0!==t?t:null)("ngTemplateOutletContext",Za(2,qu,i))}}function vK(e,n){if(1&e){const t=Ei();X(0,"li",25),Se("mousedown",function(r){const o=_t(t).$implicit;return vt(N(5).populateValue(o,r))}),te(1,mK,2,4,"ng-container",1)(2,gK,1,1,"p",26)(3,_K,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 bK(e,n){if(1&e&&(X(0,"div",20)(1,"h3",21),te(2,hK,1,2,"img",22),Ln(3),ne(),X(4,"ul"),te(5,vK,4,3,"li",23),ne()()),2&e){const t=n.$implicit;F(2),j("ngIf",t.model.imageUrl),F(),Vm(" ",t.model.displayName," (",t.items.length,") "),F(2),j("ngForOf",t.items)}}function xK(e,n){if(1&e&&(qt(0),te(1,bK,6,4,"div",19),Kt()),2&e){const t=N(3);F(),j("ngForOf",t.getModelsWithSuggestions())}}function wK(e,n){if(1&e&&at(0,"img",32),2&e){const t=N().$implicit;j("src",N(4).fetchModelImageUrlFromSuggestion(t),nd)}}function CK(e,n){1&e&&ds(0)}function DK(e,n){if(1&e&&(qt(0),te(1,CK,1,0,"ng-container",27),Kt()),2&e){let t;const i=N().$implicit,r=N(4);F(),j("ngTemplateOutlet",null!==(t=r.subtitleTemplate())&&void 0!==t?t:null)("ngTemplateOutletContext",Za(2,qu,i))}}function EK(e,n){if(1&e&&at(0,"p",28),2&e){const t=N().$implicit,i=N(4);j("innerHTML",i.boldString(t[i.cfg().displayPropertyName],i.searchBoxInput),mp)}}function MK(e,n){1&e&&ds(0)}function SK(e,n){if(1&e&&(qt(0),te(1,MK,1,0,"ng-container",27),Kt()),2&e){let t;const i=N().$implicit,r=N(4);F(),j("ngTemplateOutlet",null!==(t=r.titleTemplate())&&void 0!==t?t:null)("ngTemplateOutletContext",Za(2,qu,i))}}function IK(e,n){if(1&e){const t=Ei();X(0,"li",30),Se("mousedown",function(r){const o=_t(t).$implicit;return vt(N(4).populateValue(o,r))}),te(1,wK,1,1,"img",31)(2,DK,2,4,"ng-container",1)(3,EK,1,1,"p",26)(4,SK,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 AK(e,n){if(1&e&&(qt(0),X(1,"div",20)(2,"ul"),te(3,IK,5,4,"li",29),ne()(),Kt()),2&e){const t=N(3);F(3),j("ngForOf",t.suggestions)}}function TK(e,n){if(1&e&&(qt(0),te(1,fK,3,2,"span",17)(2,xK,2,1,"ng-container",1)(3,AK,4,1,"ng-container",1),Kt()),2&e){const t=N(2);F(),j("ngIf",0===t.suggestions.length),F(),j("ngIf",t.cfg().categorizeResults&&t.suggestions.length),F(),j("ngIf",!t.cfg().categorizeResults)}}function FK(e,n){if(1&e){const t=Ei();X(0,"li",25),Se("mousedown",function(r){const o=_t(t).$implicit;return vt(N(3).populateValueRecentSearch(o,r))}),at(1,"mat-icon",8),X(2,"span"),Ln(3),ne()()}if(2&e){const t=n.$implicit,i=N(3);F(),j("className",i.cfg().recentSearchIconClass),F(2),Pr("\xa0",t.match,"")}}function kK(e,n){if(1&e&&(qt(0),X(1,"div",33)(2,"h3",21),Ln(3,"Recent Searches"),ne(),X(4,"ul"),te(5,FK,4,2,"li",23),ne()(),Kt()),2&e){const t=N(2);F(5),j("ngForOf",t.recentSearches)}}function RK(e,n){if(1&e&&(X(0,"div",16),te(1,TK,4,3,"ng-container",1)(2,kK,6,1,"ng-container",1),ne()),2&e){const t=N();F(),j("ngIf",t.searchBoxInput),F(),j("ngIf",!t.cfg().hideRecentSearch&&t.recentSearches.length>0)}}const ks="All";let IT=(()=>{class e{constructor(t,i,r,o){this.platformId=i,this.cdr=r,this.promiseAdapter=o,this.cfg=vn(()=>{const s=this.config();if(!s)throw new Error("SearchComponent: config input is required");return s}),this.config=Cr(),this.searchProvider=Cr(),this.titleTemplate=Cr(),this.subtitleTemplate=Cr(),this.customAllLabel=Cr(ks),this.showOnlySearchResultOverlay=Cr(!1),this.customSearchEvent=Cr({searchValue:"",modelName:ks}),this.clicked=cb(),this.searched=cb(),this.searchBoxInput="",this.suggestionsDisplay=!1,this.categoryDisplay=!1,this.searching=!1,this.suggestions=[],this.recentSearches=[],this.category=ks,this.searchRequest$=new J,this.onChange=()=>{},this.onTouched=()=>{},this.disabled=!1,t&&(this.searchService=t),Br(()=>{const s=this.config();s&&(s.models?s.models.unshift({name:ks,displayName:this.customAllLabel()}):s.models=[{name:ks,displayName:this.customAllLabel()}])}),Br(()=>{let s=this.searchProvider();s&&(function Q9(e){return!!e.searchApiRequestWithPromise}(s)&&(s=this.promiseAdapter.adapt(s)),this.searchService=s)}),Br(()=>{const s=this.customSearchEvent();s&&(void 0!==s.searchValue&&(this.searchBoxInput=s.searchValue,this.searchOnCustomEventValueChange(this.searchBoxInput)),s.modelName&&this.setCategory(s.modelName))})}ngOnInit(){this.searchRequest$.pipe(_s(t=>this.suggestions=[]),xy(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){const i=this.config();if(!i||(t.input=t.input.trim(),!t.input.length))return;const o=(i.order??eK).join(" ");let s=i.saveInRecents??!0;i.saveInRecents&&i.saveInRecentsOnlyOnEnter&&(s=!t.event||t.event instanceof KeyboardEvent&&"Enter"===t.event.key);const a={match:t.input,sources:this._categoryToSourceName(this.category),limit:i.limit??20,limitByType:i.limitByType??!1,order:o,offset:i.offset??0};this.searching=!0,this.cdr.markForCheck(),this.searchService.searchApiRequest(a,s).subscribe(l=>{this.suggestions=l,this.searching=!1,this.cdr.markForCheck()},l=>{this.suggestions=[],this.searching=!1,this.cdr.markForCheck()})}getRecentSearches(){const t=this.config();!t||t.hideRecentSearch||this.searchService.recentSearchApiRequest?.().subscribe(i=>{this.recentSearches=i,this.cdr.markForCheck()},i=>{this.recentSearches=[],this.cdr.markForCheck()})}hitSearchApi(t){const i=this.config();if(i){if(!this.searchBoxInput)return this.suggestions=[],void this.getRecentSearches();if(i.searchOnlyOnEnter)return void((!t||t instanceof KeyboardEvent&&"Enter"===t.key)&&this.getSuggestions({input:this.searchBoxInput,event:t}));if(!t)return void this.getSuggestions({input:this.searchBoxInput,event:t});this.searchRequest$.next({input:this.searchBoxInput,event:t})}}populateValue(t,i){const r=this.config();r&&(this.searchBoxInput=String(t[r.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[ks,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}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(Z9,8),y(sn),y(Lr),y(rK))}}static{this.\u0275cmp=cn({type:e,selectors:[["sourceloop-search"]],viewQuery:function(i,r){if(1&i&&Nt(oK,5),2&i){let o;Le(o=Ve())&&(r.searchInputElement=o.first)}},inputs:{config:[1,"config"],searchProvider:[1,"searchProvider"],titleTemplate:[1,"titleTemplate"],subtitleTemplate:[1,"subtitleTemplate"],customAllLabel:[1,"customAllLabel"],showOnlySearchResultOverlay:[1,"showOnlySearchResultOverlay"],customSearchEvent:[1,"customSearchEvent"]},outputs:{clicked:"clicked",searched:"searched"},features:[he([{provide:zn,useExisting:e,multi:!0}])],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,cK,2,1,"ng-container",1),X(1,"div",2),te(2,RK,3,2,"div",3),ne()),2&i&&(j("ngIf",!r.showOnlySearchResultOverlay()),F(2),j("ngIf",r.suggestionsDisplay&&(r.recentSearches.length||r.suggestions.length)))},dependencies:[wg,dS,fS,vg,sA,_u,I0,uy,bA,Y5,ST,jq,Oq,Nq,O9,CT,wl,LA,Uq],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 AT(e){return{type:$.Style,styles:e,offset:null}}class Tl{_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 TT{_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 FT(e){return new w(3e3,!1)}function or(e){switch(e.length){case 0:return new Tl;case 1:return e[0];default:return new TT(e)}}function kT(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 tY(){return new w(3502,!1)}();return o}function By(e,n,t,i){switch(n){case"start":e.onStart(()=>i(t&&jy(t,"start",e)));break;case"done":e.onDone(()=>i(t&&jy(t,"done",e)));break;case"destroy":e.onDestroy(()=>i(t&&jy(t,"destroy",e)))}}function jy(e,n,t){const o=Hy(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 Hy(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 RT(e){const n=e.indexOf(":");return[e.substring(1,n),e.slice(n+1)]}const hY=typeof document>"u"?null:document.documentElement;function zy(e){const n=e.parentNode||e.host||null;return n===hY?null:n}let Zr=null,OT=!1;function NT(e,n){for(;n;){if(n===e)return!0;n=zy(n)}return!1}function PT(e,n,t){if(t)return Array.from(e.querySelectorAll(n));const i=e.querySelector(n);return i?[i]:[]}const VT="ng-enter",Uy="ng-leave",Ku="ng-trigger",Yu=".ng-trigger",BT="ng-animating",Gy=".ng-animating";function Oi(e){if("number"==typeof e)return e;const n=e.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:$y(parseFloat(n[1]),n[2])}function $y(e,n){return"s"===n?1e3*e:e}function Qu(e,n,t){return e.hasOwnProperty("duration")?e:function vY(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(FT()),{duration:0,delay:0,easing:""};r=$y(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=$y(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 NK(){return new w(3100,!1)}()),a=!0),o<0&&(n.push(function PK(){return new w(3101,!1)}()),a=!0),a&&n.splice(l,0,FT())}return{duration:r,delay:o,easing:s}}(e,n,t)}function ui(e,n,t){n.forEach((i,r)=>{const o=qy(r);t&&!t.has(r)&&t.set(r,e.style[o]),e.style[o]=i})}function Xr(e,n){n.forEach((t,i)=>{const r=qy(i);e.style[r]=""})}function Fl(e){return Array.isArray(e)?1==e.length?e[0]:function OK(e,n=null){return{type:$.Sequence,steps:e,options:n}}(e):e}const Wy=new RegExp("{{\\s*(.+?)\\s*}}","g");function jT(e){let n=[];if("string"==typeof e){let t;for(;t=Wy.exec(e);)n.push(t[1]);Wy.lastIndex=0}return n}function kl(e,n,t){const i=`${e}`,r=i.replace(Wy,(o,s)=>{let a=n[s];return null==a&&(t.push(function VK(){return new w(3003,!1)}()),a=""),a.toString()});return r==i?e:r}const wY=/-+([a-z0-9])/g;function qy(e){return e.replace(wY,(...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 BK(){return new w(3004,!1)}()}}function Ky(e,n){return window.getComputedStyle(e)[n]}let Yy=(()=>{class e{validateStyleProperty(t){return function mY(e){Zr||(Zr=function gY(){return typeof document<"u"?document.body:null}()||{},OT=!!Zr.style&&"WebkitAppearance"in Zr.style);let n=!0;return Zr.style&&!function pY(e){return"ebkit"==e.substring(1,6)}(e)&&(n=e in Zr.style,!n&&OT&&(n="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Zr.style)),n}(t)}containsElement(t,i){return NT(t,i)}getParentElement(t){return zy(t)}query(t,i,r){return PT(t,i,r)}computeStyle(t,i,r){return r||""}animate(t,i,r,o,s,a=[],l){return new Tl(r,o)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})();class Qy{static NOOP=new Yy}class Zy{}const MY=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 HT extends Zy{normalizePropertyName(n,t){return qy(n)}normalizeStyleValue(n,t,i,r){let o="";const s=i.toString().trim();if(MY.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 jK(){return new w(3005,!1)}())}return s+o}}const Xu=new Set(["true","1"]),Ju=new Set(["false","0"]);function zT(e,n){const t=Xu.has(e)||Ju.has(e),i=Xu.has(n)||Ju.has(n);return(r,o)=>{let s="*"==e||e==r,a="*"==n||n==o;return!s&&t&&"boolean"==typeof r&&(s=r?Xu.has(e):Ju.has(e)),!a&&i&&"boolean"==typeof o&&(a=o?Xu.has(n):Ju.has(n)),s&&a}}const TY=new RegExp("s*:selfs*,?","g");function Jy(e,n,t,i){return new FY(e).build(n,t,i)}class FY{_driver;constructor(n){this._driver=n}build(n,t,i){const r=new OY(t);return this._resetContextStyleTimingState(r),fn(this,Fl(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 HK(){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 zK(){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=>{jT(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&t.errors.push(function UK(){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,Fl(n.animation),t),r=function SY(e,n){const t=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(i=>function IY(e,n,t){if(":"==e[0]){const l=function AY(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 JK(){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 XK(){return new w(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(zT(r,s)),"<"==o[0]&&("*"!=r||"*"!=s)&&n.push(zT(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:Jr(n.options)}}visitSequence(n,t){return{type:$.Sequence,steps:n.steps.map(i=>fn(this,i,t)),options:Jr(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:Jr(n.options)}}visitAnimate(n,t){const i=function PY(e,n){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return e_(Qu(e,n).duration,0,"");const t=e;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=e_(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Qu(t,n);return e_(r.duration,r.delay,r.easing)}(n.timings,t.errors);t.currentAnimateTimings=i;let r,o=n.styles?n.styles:AT({});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=AT(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 $K(){return new w(3010,!1)}()),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&function xY(e,n,t){const i=n.params||{},r=jT(e);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function LK(){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 WK(){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 S=null!=v.offset?v.offset:function NY(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!=S&&(o++,R=v.offset=S),l=l||R<0||R>1,a=a||R<c,c=R,s.push(R),v});l&&t.errors.push(function qK(){return new w(3012,!1)}()),a&&t.errors.push(function KK(){return new w(3200,!1)}());const u=n.steps.length;let h=0;o>0&&o<u?t.errors.push(function YK(){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 S=h>0?v==f?1:h*v:s[v],R=S*_;t.currentTime=p+m.delay+R,m.duration=R,this._validateStyleAst(b,t),b.offset=S,i.styles.push(b)}),i}visitReference(n,t){return{type:$.Reference,animation:fn(this,Fl(n.animation),t),options:Jr(n.options)}}visitAnimateChild(n,t){return t.depCount++,{type:$.AnimateChild,options:Jr(n.options)}}visitAnimateRef(n,t){return{type:$.AnimateRef,animation:this.visitReference(n.animation,t),options:Jr(n.options)}}visitQuery(n,t){const i=t.currentQuerySelector,r=n.options||{};t.queryCount++,t.currentQuery=n;const[o,s]=function kY(e){const n=!!e.split(/\s*,\s*/).find(t=>":self"==t);return n&&(e=e.replace(TY,"")),e=e.replace(/@\*/g,Yu).replace(/@\w+/g,t=>Yu+"-"+t.slice(1)).replace(/:animating/g,Gy),[e,n]}(n.selector);t.currentQuerySelector=i.length?i+" "+o:o,un(t.collectedStyles,t.currentQuerySelector,new Map);const a=fn(this,Fl(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:Jr(n.options)}}visitStagger(n,t){t.currentQuery||t.errors.push(function QK(){return new w(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Qu(n.timings,t.errors,!0);return{type:$.Stagger,animation:fn(this,Fl(n.animation),t),timings:i,options:null}}}class OY{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 Jr(e){return e?(e={...e}).params&&(e.params=function RY(e){return e?{...e}:null}(e.params)):e={},e}function e_(e,n,t){return{duration:e,delay:n,easing:t}}function t_(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 ef{_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 BY=new RegExp(":enter","g"),HY=new RegExp(":leave","g");function n_(e,n,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new zY).buildKeyframes(e,n,t,i,r,o,s,a,l,c)}class zY{buildKeyframes(n,t,i,r,o,s,a,l,c,d=[]){c=c||new ef;const u=new i_(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()):[t_(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(kl(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=tf);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 Qu(t.params?kl(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=tf);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 tf={};class i_{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=tf;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 nf(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]=kl(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 i_(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=tf,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 UY(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(BY,"."+this._enterClassName)).replace(HY,"."+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 ZK(){return new w(3014,!1)}()),a}}class nf{_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 nf(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 GY(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=kl(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 t_(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class UY extends nf{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",$T(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",$T((t+f*i)/s)),o.push(h)}i=s,t=0,r="",n=o}return t_(this.element,n,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function $T(e,n=3){const t=Math.pow(10,n-1);return Math.round(e*t)/t}function WT(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 r_={};class qT{_triggerName;ast;_stateStyles;constructor(n,t,i){this._triggerName=n,this.ast=t,this._stateStyles=i}match(n,t,i,r){return function $Y(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||r_,p=this.buildStyles(i,a&&a.params||r_,u),m=l&&l.params||r_,_=this.buildStyles(r,m,u),b=new Set,v=new Map,S=new Map,R="void"===r,K={params:KT(m,h),delay:this.ast.options?.delay},qe=d?[]:n_(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?WT(t,this._triggerName,i,r,R,p,_,[],[],v,S,ge,u):(qe.forEach(Ze=>{const $n=Ze.element,Os=un(v,$n,new Set);Ze.preStyleProps.forEach(eo=>Os.add(eo));const cF=un(S,$n,new Set);Ze.postStyleProps.forEach(eo=>cF.add(eo)),$n!==t&&b.add($n)}),WT(t,this._triggerName,i,r,R,p,_,qe,[...b.values()],v,S,ge))}}function KT(e,n){const t={...n};return Object.entries(e).forEach(([i,r])=>{null!=r&&(t[i]=r)}),t}class WY{styles;defaultParams;normalizer;constructor(n,t,i){this.styles=n,this.defaultParams=t,this.normalizer=i}buildStyles(n,t){const i=new Map,r=KT(n,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=kl(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class KY{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 WY(r.style,r.options&&r.options.params||{},i))}),YT(this.states,"true","1"),YT(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new qT(n,r,this.states))}),this.fallbackTransition=function YY(e,n){return new qT(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 YT(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 QY=new ef;class ZY{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=Jy(this._driver,t,i,[]);if(i.length)throw function nY(){return new w(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,t,i){const r=n.element,o=kT(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=n_(this._driver,t,o,VT,Uy,new Map,new Map,i,QY,r),s.forEach(d=>{const u=un(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function iY(){return new w(3300,!1)}()),s=[]),r.length)throw function rY(){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 oY(){return new w(3301,!1)}();return t}listen(n,t,i,r){const o=Hy(t,"","","");return By(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",o_="ng-animate-disabled",nQ=[],ZT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},iQ={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gn="__ng_removed";class s_{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 aQ(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 Rl="void",a_=new s_(Rl);class rQ{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,En(t,this._hostClassName)}listen(n,t,i,r){if(!this._triggers.has(t))throw function sY(){return new w(3302,!1)}();if(null==i||0==i.length)throw function aY(){return new w(3303,!1)}();if(!function lQ(e){return"start"==e||"done"==e}(i))throw function lY(){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)||(En(n,Ku),En(n,Ku+"-"+t),a.set(t,a_)),()=>{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 cY(){return new w(3401,!1)}();return t}trigger(n,t,i,r=!0){const o=this._getTrigger(t),s=new l_(this.id,t,n);let a=this._engine.statesByElement.get(n);a||(En(n,Ku),En(n,Ku+"-"+t),this._engine.statesByElement.set(n,a=new Map));let l=a.get(t);const c=new s_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=a_),c.value!==Rl&&l.value===c.value){if(!function uQ(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(()=>{Xr(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||(En(n,QT),s.onStart(()=>{Rs(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,Yu,!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,Rl,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)||a_,d=new s_(Rl),u=new l_(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===ZT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,t))}}insertNode(n,t){En(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=Hy(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,By(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 oQ{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 rQ(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(rf(t)){const o=this._fetchNamespace(n);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(n,t,i,r){if(!rf(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),En(n,o_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Rs(n,o_))}removeNode(n,t,i){if(rf(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 rf(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,Yu,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(n,Gy,!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]=ZT,t.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,t.setForRemoval)}n.classList?.contains(o_)&&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++)En(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 dY(){return new w(3402,!1)}()}_flushAnimations(n,t){const i=new ef,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=eF(h,this.collectedEnterElements),p=new Map;let m=0;f.forEach((k,L)=>{const G=VT+m++;p.set(L,G),k.forEach(se=>En(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 S=new Map,R=eF(h,Array.from(b));R.forEach((k,L)=>{const G=Uy+m++;S.set(L,G),k.forEach(se=>En(se,G))}),n.push(()=>{f.forEach((k,L)=>{const G=p.get(L);k.forEach(se=>Rs(se,G))}),R.forEach((k,L)=>{const G=S.get(L);k.forEach(se=>Rs(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,mt=G.element;if(K.push(se),this.collectedEnterElements.length){const Mt=mt[Gn];if(Mt&&Mt.setForMove){if(Mt.previousTriggersValues&&Mt.previousTriggersValues.has(G.triggerName)){const to=Mt.previousTriggersValues.get(G.triggerName),Mn=this.statesByElement.get(G.element);if(Mn&&Mn.has(G.triggerName)){const af=Mn.get(G.triggerName);af.value=to,Mn.set(G.triggerName,af)}}return void se.destroy()}}const fi=!u||!this.driver.containsElement(u,mt),hn=S.get(mt),sr=p.get(mt),je=this._buildInstruction(G,i,sr,hn,fi);if(je.errors&&je.errors.length)return void qe.push(je);if(fi)return se.onStart(()=>Xr(mt,je.fromStyles)),se.onDestroy(()=>ui(mt,je.toStyles)),void r.push(se);if(G.isFallbackTransition)return se.onStart(()=>Xr(mt,je.fromStyles)),se.onDestroy(()=>ui(mt,je.toStyles)),void r.push(se);const fF=[];je.timelines.forEach(Mt=>{Mt.stretchStartingKeyframe=!0,this.disabledNodes.has(Mt.element)||fF.push(Mt)}),je.timelines=fF,i.append(mt,je.timelines),s.push({instruction:je,player:se,element:mt}),je.queriedElements.forEach(Mt=>un(a,Mt,[]).push(se)),je.preStyleProps.forEach((Mt,to)=>{if(Mt.size){let Mn=l.get(to);Mn||l.set(to,Mn=new Set),Mt.forEach((af,f_)=>Mn.add(f_))}}),je.postStyleProps.forEach((Mt,to)=>{let Mn=c.get(to);Mn||c.set(to,Mn=new Set),Mt.forEach((af,f_)=>Mn.add(f_))})});if(qe.length){const k=[];qe.forEach(L=>{k.push(function uY(){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=>nF(k,l,c)),Os=new Map;JT(Os,this.driver,v,c,Ri).forEach(k=>{nF(k,l,c)&&$n.push(k)});const eo=new Map;f.forEach((k,L)=>{JT(eo,this.driver,new Set(k),l,"!")}),$n.forEach(k=>{const L=Os.get(k),G=eo.get(k);Os.set(k,new Map([...L?.entries()??[],...G?.entries()??[]]))});const u_=[],dF=[],uF={};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 mt=uF;if(Ze.size>1){let hn=L;const sr=[];for(;hn=hn.parentNode;){const je=Ze.get(hn);if(je){mt=je;break}sr.push(hn)}sr.forEach(je=>Ze.set(je,mt))}const fi=this._buildAnimation(G.namespaceId,se,ge,o,eo,Os);if(G.setRealPlayer(fi),mt===uF)u_.push(G);else{const hn=this.playersByElement.get(mt);hn&&hn.length&&(G.parentPlayer=or(hn)),r.push(G)}}else Xr(L,se.fromStyles),G.onDestroy(()=>ui(L,se.toStyles)),dF.push(G),d.has(L)&&r.push(G)}),dF.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(Rs(L,Uy),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,Gy,!0);for(let sr=0;sr<hn.length;sr++){let je=a.get(hn[sr]);je&&je.length&&se.push(...je)}}const mt=se.filter(fi=>!fi.destroyed);mt.length?cQ(this,L,mt):this.processLeaveNode(L)}return _.length=0,u_.forEach(k=>{this.players.push(k),k.onDone(()=>{k.destroy();const L=this.players.indexOf(k);this.players.splice(L,1)}),k.play()}),u_}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==Rl;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)})}Xr(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 Tl(p.duration,p.delay);const b=m!==l,v=function dQ(e){const n=[];return tF(e,n),n}((i.get(m)||nQ).map(ge=>ge.getRealPlayer())).filter(ge=>!!ge.element&&ge.element===m),S=o.get(m),R=s.get(m),K=kT(this._normalizer,p.keyframes,S,R),qe=this._buildPlayer(p,K,v);if(p.subTimeline&&r&&u.add(m),b){const ge=new l_(n,a,m);ge.setRealPlayer(qe),c.push(ge)}return qe});c.forEach(p=>{un(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function sQ(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=>En(p,BT));const f=or(h);return f.onDestroy(()=>{d.forEach(p=>Rs(p,BT)),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 Tl(n.duration,n.delay)}}class l_{namespaceId;triggerName;element;_player=new Tl;_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=>By(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 rf(e){return e&&1===e.nodeType}function XT(e,n){const t=e.style.display;return e.style.display=n??"none",t}function JT(e,n,t,i,r){const o=[];t.forEach(l=>o.push(XT(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]=iQ,s.push(c))}),e.set(c,d)});let a=0;return t.forEach(l=>XT(l,o[a++])),s}function eF(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 En(e,n){e.classList?.add(n)}function Rs(e,n){e.classList?.remove(n)}function cQ(e,n,t){or(t).onDone(()=>e.processLeaveNode(n))}function tF(e,n){for(let t=0;t<e.length;t++){const i=e[t];i instanceof TT?tF(i.players,n):n.push(i)}}function nF(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 Ol{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,t)=>{};constructor(n,t,i){this._driver=t,this._normalizer=i,this._transitionEngine=new oQ(n.body,t,i),this._timelineEngine=new ZY(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=Jy(this._driver,o,l,[]);if(l.length)throw function eY(){return new w(3404,!1)}();a=function qY(e,n,t){return new KY(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]=RT(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]=RT(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 hQ=(()=>{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&&(Xr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Xr(this._element,this._endStyles),this._endStyles=null),ui(this._element,this._initialStyles),this._state=3)}}return e})();function c_(e){let n=null;return e.forEach((t,i)=>{(function pQ(e){return"display"===e||"position"===e})(i)&&(n=n||new Map,n.set(i,t))}),n}class iF{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:Ky(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const t="start"===n?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class rF{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,t){return NT(n,t)}getParentElement(n){return zy(n)}query(n,t,i){return PT(n,t,i)}computeStyle(n,t,i){return Ky(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 iF);(function CY(e,n){return 0===e||0===n})(i,r)&&d.forEach(f=>{f.currentSnapshot.forEach((p,m)=>c.set(m,p))});let u=function bY(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 DY(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,Ky(e,a)))}}return n}(n,u,c);const h=function fQ(e,n){let t=null,i=null;return Array.isArray(n)&&n.length?(t=c_(n[0]),n.length>1&&(i=c_(n[n.length-1]))):n instanceof Map&&(t=c_(n)),t||i?new hQ(e,t,i):null}(n,u);return new iF(n,u,l,h)}}const oF="@.disabled";class sF{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==oF?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 mQ extends sF{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==oF?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 gQ(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 yQ(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 _Q{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 sF("",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 mQ(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 aF=[{provide:Zy,useFactory:function bQ(){return new HT}},{provide:Ol,useClass:(()=>{class e extends Ol{constructor(t,i,r){super(t,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||e)(I(ve),I(Qy),I(Zy))};static \u0275prov=D({token:e,factory:e.\u0275fac})}return e})()},{provide:oi,useFactory:function xQ(e,n,t){return new _Q(e,n,t)},deps:[Sg,Ol,B]}],lF=[{provide:Qy,useClass:Yy},{provide:Dr,useValue:"NoopAnimations"},...aF],d_=[{provide:Qy,useFactory:()=>new rF},{provide:Dr,useFactory:()=>"BrowserAnimations"},...aF];let wQ=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?lF:d_}}static \u0275fac=function(i){return new(i||e)};static \u0275mod=fe({type:e});static \u0275inj=le({providers:d_,imports:[TS]})}return e})();class CQ{constructor(n){(function DQ(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 EQ(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 MQ(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 SQ(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 IQ=(()=>{class e{constructor(t){this.injector=t}ngDoBootstrap(){const t=function Y9(e,n){const t=function z9(e,n){return n.get(qo).resolveComponentFactory(e).inputs}(e,n.injector),i=n.strategyFactory||new W9(e,n.injector),r=function H9(e){const n={};return e.forEach(({propName:t,templateName:i,transform:r})=>{n[function V9(e){return e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}(i)]=[t,r]}),n}(t);class o extends K9{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}(IT,{injector:this.injector});customElements.define("sourceloop-search-element",t),Object.assign(window,{SearchConfiguration:CQ})}static{this.\u0275fac=function(i){return new(i||e)(I(ke))}}static{this.\u0275mod=fe({type:e})}static{this.\u0275inj=le({imports:[TS,wQ,wg,sA,O$,ST,wl,bA,LA,P9,rW,IT]})}}return e})();PG().bootstrapModule(IQ).catch(e=>console.error(e))}},Ns=>{Ns(Ns.s=674)}]);
|