"use strict";(self.webpackChunkfederal_reserve=self.webpackChunkfederal_reserve||[]).push([[792],{814:()=>{let rt=null,mr=1;const _o=Symbol("SIGNAL");function re(e){const n=rt;return rt=e,n}const cv={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function uv(e){if((!Ys(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==mr)){if(!e.producerMustRecompute(e)&&!If(e))return e.dirty=!1,void(e.lastCleanEpoch=mr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=mr}}function Nf(e){return e&&(e.nextProducerIndex=0),re(e)}function If(e){Xl(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(uv(t),i!==t.version))return!0}return!1}function Mf(e){if(Xl(e),Ys(e))for(let n=0;n<e.producerNode.length;n++)Ql(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 Ql(e,n){if(function mv(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),1===e.liveConsumerNode.length&&function _v(e){return void 0!==e.producerNode}(e))for(let i=0;i<e.producerNode.length;i++)Ql(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],o=e.liveConsumerNode[n];Xl(o),o.producerIndexOfThis[i]=n}}function Ys(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Xl(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let vv=null;function Ee(e){return"function"==typeof e}function Dv(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}const Of=Dv(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ec(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class an{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 r of t)r.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Ee(i))try{i()}catch(r){n=r instanceof Of?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{Ev(r)}catch(s){n=n??[],s instanceof Of?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Of(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Ev(n);else{if(n instanceof an){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)&&ec(t,n)}remove(n){const{_finalizers:t}=this;t&&ec(t,n),n instanceof an&&n._removeParent(this)}}an.EMPTY=(()=>{const e=new an;return e.closed=!0,e})();const wv=an.EMPTY;function Cv(e){return e instanceof an||e&&"closed"in e&&Ee(e.remove)&&Ee(e.add)&&Ee(e.unsubscribe)}function Ev(e){Ee(e)?e():e.unsubscribe()}const vo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},tc={setTimeout(e,n,...t){const{delegate:i}=tc;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=tc;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Tv(e){tc.setTimeout(()=>{const{onUnhandledError:n}=vo;if(!n)throw e;n(e)})}function _r(){}const qS=Af("C",void 0,void 0);function Af(e,n,t){return{kind:e,value:n,error:t}}let yo=null;function nc(e){if(vo.useDeprecatedSynchronousErrorHandling){const n=!yo;if(n&&(yo={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=yo;if(yo=null,t)throw i}}else e()}class Rf extends an{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Cv(n)&&n.add(this)):this.destination=eO}static create(n,t,i){return new xf(n,t,i)}next(n){this.isStopped?kf(function KS(e){return Af("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?kf(function YS(e){return Af("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?kf(qS,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 JS=Function.prototype.bind;function Pf(e,n){return JS.call(e,n)}class QS{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){ic(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){ic(i)}else ic(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){ic(t)}}}class xf extends Rf{constructor(n,t,i){let o;if(super(),Ee(n)||!n)o={next:n??void 0,error:t??void 0,complete:i??void 0};else{let r;this&&vo.useDeprecatedNextContext?(r=Object.create(n),r.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Pf(n.next,r),error:n.error&&Pf(n.error,r),complete:n.complete&&Pf(n.complete,r)}):o=n}this.destination=new QS(o)}}function ic(e){vo.useDeprecatedSynchronousErrorHandling?function ZS(e){vo.useDeprecatedSynchronousErrorHandling&&yo&&(yo.errorThrown=!0,yo.error=e)}(e):Tv(e)}function kf(e,n){const{onStoppedNotification:t}=vo;t&&tc.setTimeout(()=>t(e,n))}const eO={closed:!0,next:_r,error:function XS(e){throw e},complete:_r},Ff="function"==typeof Symbol&&Symbol.observable||"@@observable";function bo(e){return e}let Xe=(()=>{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,o){const r=function nO(e){return e&&e instanceof Rf||function tO(e){return e&&Ee(e.next)&&Ee(e.error)&&Ee(e.complete)}(e)&&Cv(e)}(t)?t:new xf(t,i,o);return nc(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=Iv(i))((o,r)=>{const s=new xf({next:a=>{try{t(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[Ff](){return this}pipe(...t){return function Nv(e){return 0===e.length?bo:1===e.length?e[0]:function(t){return e.reduce((i,o)=>o(i),t)}}(t)(this)}toPromise(t){return new(t=Iv(t))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=n=>new e(n),e})();function Iv(e){var n;return null!==(n=e??vo.Promise)&&void 0!==n?n:Promise}const iO=Dv(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let $e=(()=>{class e extends Xe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new Mv(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new iO}next(t){nc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){nc(()=>{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(){nc(()=>{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:o,observers:r}=this;return i||o?wv:(this.currentObservers=null,r.push(t),new an(()=>{this.currentObservers=null,ec(r,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:o,isStopped:r}=this;i?t.error(o):r&&t.complete()}asObservable(){const t=new Xe;return t.source=this,t}}return e.create=(n,t)=>new Mv(n,t),e})();class Mv extends $e{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:wv}}class Ci extends $e{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 Ut(e){return n=>{if(function oO(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 pt(e,n,t,i,o){return new rO(e,n,t,i,o)}class rO extends Rf{constructor(n,t,i,o,r,s){super(n),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){n.error(l)}}:super._next,this._error=o?function(a){try{o(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 Se(e,n){return Ut((t,i)=>{let o=0;t.subscribe(pt(i,r=>{i.next(e.call(n,r,o++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Wv="https://g.co/ng/security#xss";class S extends Error{constructor(n,t){super(function vr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function Ti(e){return{toString:e}.toString()}const br="__parameters__";function wr(e,n,t){return Ti(()=>{const i=function Gf(e){return function(...t){if(e){const i=e(...t);for(const o in i)this[o]=i[o]}}}(n);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(br)?l[br]:Object.defineProperty(l,br,{value:[]})[br];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Ae=globalThis;function Ie(e){for(let n in e)if(e[n]===Ie)return n;throw Error("Could not find renamed property on target object.")}function dA(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Dt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Dt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Wf(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const fA=Ie({__forward_ref__:Ie});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return Dt(this())},e}function K(e){return ac(e)?e():e}function ac(e){return"function"==typeof e&&e.hasOwnProperty(fA)&&e.__forward_ref__===Q}function Ui(e,n,t){e!=n&&function Y(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(t,e,n,"==")}function A(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ve(e){return{providers:e.providers||[],imports:e.imports||[]}}function lc(e){return Kv(e,uc)||Kv(e,Zv)}function Kv(e,n){return e.hasOwnProperty(n)?e[n]:null}function cc(e){return e&&(e.hasOwnProperty(zf)||e.hasOwnProperty(_A))?e[zf]:null}const uc=Ie({\u0275prov:Ie}),zf=Ie({\u0275inj:Ie}),Zv=Ie({ngInjectableDef:Ie}),_A=Ie({ngInjectorDef:Ie});class V{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=A({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Jf(e){return e&&!!e.\u0275providers}const Js=Ie({\u0275cmp:Ie}),Qf=Ie({\u0275dir:Ie}),Xf=Ie({\u0275pipe:Ie}),Ni=Ie({\u0275fac:Ie}),Qs=Ie({__NG_ELEMENT_ID__:Ie}),Xv=Ie({__NG_ENV_ID__:Ie});function ee(e){return"string"==typeof e?e:null==e?"":String(e)}function eh(e,n){throw new S(-201,!1)}var de=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}(de||{});let th;function ey(){return th}function ln(e){const n=th;return th=e,n}function ty(e,n,t){const i=lc(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&de.Optional?null:void 0!==n?n:void eh()}const Xs={},nh="__NG_DI_FLAG__",dc="ngTempTokenPath",CA=/\n/gm,ny="__source";let Cr;function $i(e){const n=Cr;return Cr=e,n}function NA(e,n=de.Default){if(void 0===Cr)throw new S(-203,!1);return null===Cr?ty(e,void 0,n):Cr.get(e,n&de.Optional?null:void 0,n)}function k(e,n=de.Default){return(ey()||NA)(K(e),n)}function H(e,n=de.Default){return k(e,fc(n))}function fc(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ih(e){const n=[];for(let t=0;t<e.length;t++){const i=K(e[t]);if(Array.isArray(i)){if(0===i.length)throw new S(900,!1);let o,r=de.Default;for(let s=0;s<i.length;s++){const a=i[s],l=IA(a);"number"==typeof l?-1===l?o=a.token:r|=l:o=a}n.push(k(o,r))}else n.push(k(i))}return n}function ea(e,n){return e[nh]=n,e.prototype[nh]=n,e}function IA(e){return e[nh]}const oh=ea(wr("Optional"),8),rh=ea(wr("SkipSelf"),4);function wo(e,n){return e.hasOwnProperty(Ni)?e[Ni]:null}function Er(e,n){e.forEach(t=>Array.isArray(t)?Er(t,n):n(t))}function oy(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function hc(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function _n(e,n,t){let i=Tr(e,n);return i>=0?e[1|i]=t:(i=~i,function ry(e,n,t,i){let o=e.length;if(o==n)e.push(t,i);else if(1===o)e.push(i,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function ah(e,n){const t=Tr(e,n);if(t>=0)return e[1|t]}function Tr(e,n){return function sy(e,n,t){let i=0,o=e.length>>t;for(;o!==i;){const r=i+(o-i>>1),s=e[r<<t];if(n===s)return r<<t;s>n?o=r:i=r+1}return~(o<<t)}(e,n,1)}const oi={},_e=[],Ii=new V(""),ay=new V("",-1),lh=new V("");class gc{get(n,t=Xs){if(t===Xs){const i=new Error(`NullInjectorError: No provider for ${Dt(n)}!`);throw i.name="NullInjectorError",i}return t}}var mc=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(mc||{}),Un=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Un||{}),Nr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Nr||{});function xA(e,n,t){let i=e.length;for(;;){const o=e.indexOf(n,t);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=n.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}t=o+1}}function ch(e,n,t){let i=0;for(;i<t.length;){const o=t[i];if("number"==typeof o){if(0!==o)break;i++;const r=t[i++],s=t[i++],a=t[i++];e.setAttribute(n,s,a,r)}else{const r=o,s=t[++i];cy(r)?e.setProperty(n,r,s):e.setAttribute(n,r,s),i++}}return i}function ly(e){return 3===e||4===e||6===e}function cy(e){return 64===e.charCodeAt(0)}function ta(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 o=n[i];"number"==typeof o?t=o:0===t||uy(e,t,o,null,-1===t||2===t?n[++i]:null)}}return e}function uy(e,n,t,i,o){let r=0,s=e.length;if(-1===n)s=-1;else for(;r<e.length;){const a=e[r++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=r-1;break}}}for(;r<e.length;){const a=e[r];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==o&&(e[r+1]=o));if(i===e[r+1])return void(e[r+2]=o)}r++,null!==i&&r++,null!==o&&r++}-1!==s&&(e.splice(s,0,n),r=s+1),e.splice(r++,0,t),null!==i&&e.splice(r++,0,i),null!==o&&e.splice(r++,0,o)}const dy="ng-template";function kA(e,n,t,i){let o=0;if(i){for(;o<n.length&&"string"==typeof n[o];o+=2)if("class"===n[o]&&-1!==xA(n[o+1].toLowerCase(),t,0))return!0}else if(uh(e))return!1;if(o=n.indexOf(1,o),o>-1){let r;for(;++o<n.length&&"string"==typeof(r=n[o]);)if(r.toLowerCase()===t)return!0}return!1}function uh(e){return 4===e.type&&e.value!==dy}function FA(e,n,t){return n===(4!==e.type||t?e.value:dy)}function LA(e,n,t){let i=4;const o=e.attrs,r=null!==o?function HA(e){for(let n=0;n<e.length;n++)if(ly(e[n]))return n;return e.length}(o):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&&!FA(e,l,t)||""===l&&1===n.length){if($n(i))return!1;s=!0}}else if(8&i){if(null===o||!kA(e,o,l,t)){if($n(i))return!1;s=!0}}else{const c=n[++a],u=BA(l,o,uh(e),t);if(-1===u){if($n(i))return!1;s=!0;continue}if(""!==c){let d;if(d=u>r?"":o[u+1].toLowerCase(),2&i&&c!==d){if($n(i))return!1;s=!0}}}}else{if(!s&&!$n(i)&&!$n(l))return!1;if(s&&$n(l))continue;s=!1,i=l|1&i}}return $n(i)||s}function $n(e){return!(1&e)}function BA(e,n,t,i){if(null===n)return-1;let o=0;if(i||!t){let r=!1;for(;o<n.length;){const s=n[o];if(s===e)return o;if(3===s||6===s)r=!0;else{if(1===s||2===s){let a=n[++o];for(;"string"==typeof a;)a=n[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=r?1:2}return-1}return function jA(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 fy(e,n,t=!1){for(let i=0;i<n.length;i++)if(LA(e,n[i],t))return!0;return!1}function UA(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let o=0;o<e.length;o++)if(e[o]!==i[o])continue e;return!0}}return!1}function hy(e,n){return e?":not("+n.trim()+")":n}function $A(e){let n=e[0],t=1,i=2,o="",r=!1;for(;t<e.length;){let s=e[t];if("string"==typeof s)if(2&i){const a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!$n(s)&&(n+=hy(r,o),o=""),i=s,r=r||!$n(i);t++}return""!==o&&(n+=hy(r,o)),n}function te(e){return Ti(()=>{const n=gy(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===mc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Un.Emulated,styles:e.styles||_e,_:null,schemas:e.schemas||null,tView:null,id:""};my(t);const i=e.dependencies;return t.directiveDefs=_c(i,!1),t.pipeDefs=_c(i,!0),t.id=function KA(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,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].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function zA(e){return se(e)||wt(e)}function qA(e){return null!==e}function be(e){return Ti(()=>({type:e.type,bootstrap:e.bootstrap||_e,declarations:e.declarations||_e,imports:e.imports||_e,exports:e.exports||_e,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function py(e,n){if(null==e)return oi;const t={};for(const i in e)if(e.hasOwnProperty(i)){const o=e[i];let r,s,a=Nr.None;Array.isArray(o)?(a=o[0],r=o[1],s=o[2]??r):(r=o,s=o),n?(t[r]=a!==Nr.None?[i,a]:i,n[r]=s):t[r]=i}return t}function x(e){return Ti(()=>{const n=gy(e);return my(n),n})}function Yt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function se(e){return e[Js]||null}function wt(e){return e[Qf]||null}function Ft(e){return e[Xf]||null}function gy(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,inputTransforms:null,inputConfig:e.inputs||oi,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||_e,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:py(e.inputs,n),outputs:py(e.outputs),debugInfo:null}}function my(e){e.features?.forEach(n=>n(e))}function _c(e,n){if(!e)return null;const t=n?Ft:zA;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(qA)}function ZA(...e){return{\u0275providers:dh(0,e),\u0275fromNgModule:!0}}function dh(e,...n){const t=[],i=new Set;let o;const r=s=>{t.push(s)};return Er(n,s=>{const a=s;vc(a,r,[],i)&&(o||=[],o.push(a))}),void 0!==o&&_y(o,r),t}function _y(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:o}=e[t];fh(o,r=>{n(r,i)})}}function vc(e,n,t,i){if(!(e=K(e)))return!1;let o=null,r=cc(e);const s=!r&&se(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(r=cc(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)vc(c,n,t,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{Er(r.imports,u=>{vc(u,n,t,i)&&(c||=[],c.push(u))})}finally{}void 0!==c&&_y(c,n)}if(!a){const c=wo(o)||(()=>new o);n({provide:o,useFactory:c,deps:_e},o),n({provide:lh,useValue:o,multi:!0},o),n({provide:Ii,useValue:()=>k(o),multi:!0},o)}const l=r.providers;if(null!=l&&!a){const c=e;fh(l,u=>{n(u,c)})}}}return o!==e&&void 0!==e.providers}function fh(e,n){for(let t of e)Jf(t)&&(t=t.\u0275providers),Array.isArray(t)?fh(t,n):n(t)}const JA=Ie({provide:String,useValue:Ie});function hh(e){return null!==e&&"object"==typeof e&&JA in e}function Eo(e){return"function"==typeof e}const ph=new V(""),yc={},XA={};let gh;function bc(){return void 0===gh&&(gh=new gc),gh}class un{}class Ir extends un{get destroyed(){return this._destroyed}constructor(n,t,i,o){super(),this.parent=t,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,_h(n,s=>this.processProvider(s)),this.records.set(ay,Mr(void 0,this)),o.has("environment")&&this.records.set(un,Mr(void 0,this));const r=this.records.get(ph);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(lh,_e,de.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=re(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(),re(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=$i(this),i=ln(void 0);try{return n()}finally{$i(t),ln(i)}}get(n,t=Xs,i=de.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Xv))return n[Xv](this);i=fc(i);const r=$i(this),s=ln(void 0);try{if(!(i&de.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function oR(e){return"function"==typeof e||"object"==typeof e&&e instanceof V}(n)&&lc(n);l=c&&this.injectableDefInScope(c)?Mr(mh(n),yc):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&de.Self?bc():this.parent).get(n,t=i&de.Optional&&t===Xs?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[dc]=a[dc]||[]).unshift(Dt(n)),r)throw a;return function MA(e,n,t,i){const o=e[dc];throw n[ny]&&o.unshift(n[ny]),e.message=function SA(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Dt(n);if(Array.isArray(n))o=n.map(Dt).join(" -> ");else if("object"==typeof n){let r=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):Dt(a)))}o=`{${r.join(", ")}}`}return`${t}${i?"("+i+")":""}[${o}]: ${e.replace(CA,"\n ")}`}("\n"+e.message,o,t,i),e.ngTokenPath=o,e[dc]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{ln(s),$i(r)}}resolveInjectorInitializers(){const n=re(null),t=$i(this),i=ln(void 0);try{const r=this.get(Ii,_e,de.Self);for(const s of r)s()}finally{$i(t),ln(i),re(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Dt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let t=Eo(n=K(n))?n:K(n&&n.provide);const i=function tR(e){return hh(e)?Mr(void 0,e.useValue):Mr(by(e),yc)}(n);if(!Eo(n)&&!0===n.multi){let o=this.records.get(t);o||(o=Mr(void 0,yc,!0),o.factory=()=>ih(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=re(null);try{return t.value===yc&&(t.value=XA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function iR(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{re(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=K(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 mh(e){const n=lc(e),t=null!==n?n.factory:wo(e);if(null!==t)return t;if(e instanceof V)throw new S(204,!1);if(e instanceof Function)return function eR(e){if(e.length>0)throw new S(204,!1);const t=function mA(e){return e&&(e[uc]||e[Zv])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new S(204,!1)}function by(e,n,t){let i;if(Eo(e)){const o=K(e);return wo(o)||mh(o)}if(hh(e))i=()=>K(e.useValue);else if(function yy(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ih(e.deps||[]));else if(function vy(e){return!(!e||!e.useExisting)}(e))i=()=>k(K(e.useExisting));else{const o=K(e&&(e.useClass||e.provide));if(!function nR(e){return!!e.deps}(e))return wo(o)||mh(o);i=()=>new o(...ih(e.deps))}return i}function Mr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function _h(e,n){for(const t of e)Array.isArray(t)?_h(t,n):t&&Jf(t)?_h(t.\u0275providers,n):n(t)}const Ke=0,O=1,G=2,mt=3,Gn=4,Lt=5,Kt=6,Or=7,xe=8,_t=9,ri=10,Z=11,oa=12,Cy=13,Ar=14,Ze=15,To=16,Rr=17,Mi=18,Pr=19,Ey=20,Gi=21,Cc=22,An=23,q=25,bh=1,si=7,xr=9,st=10;var Tc=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Tc||{});function Pt(e){return Array.isArray(e)&&"object"==typeof e[bh]}function Gt(e){return Array.isArray(e)&&!0===e[bh]}function Dh(e){return!!(4&e.flags)}function No(e){return e.componentOffset>-1}function Nc(e){return!(1&~e.flags)}function Wn(e){return!!e.template}function sa(e){return!!(512&e[G])}class _R{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function My(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function ke(){return Sy}function Sy(e){return e.type.prototype.ngOnChanges&&(e.setInput=yR),vR}function vR(){const e=Ay(this),n=e?.current;if(n){const t=e.previous;if(t===oi)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function yR(e,n,t,i,o){const r=this.declaredInputs[i],s=Ay(e)||function bR(e,n){return e[Oy]=n}(e,{previous:oi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[r];a[r]=new _R(c&&c.currentValue,t,l===oi),My(e,n,o,t)}ke.ngInherit=!0;const Oy="__ngSimpleChanges__";function Ay(e){return e[Oy]||null}const ai=function(e,n,t){};function De(e){for(;Array.isArray(e);)e=e[Ke];return e}function aa(e,n){return De(n[e])}function Zt(e,n){return De(n[e.index])}function la(e,n){return e.data[n]}function kr(e,n){return e[n]}function vn(e,n){const t=n[e];return Pt(t)?t:t[Ke]}function Nh(e){return!(128&~e[G])}function Rn(e,n){return null==n?null:e[n]}function xy(e){e[Rr]=0}function ky(e){1024&e[G]||(e[G]|=1024,Nh(e)&&Ic(e))}function ca(e){return!!(9216&e[G]||e[An]?.dirty)}function Ih(e){e[ri].changeDetectionScheduler?.notify(7),64&e[G]&&(e[G]|=1024),ca(e)&&Ic(e)}function Ic(e){e[ri].changeDetectionScheduler?.notify(0);let n=Si(e);for(;null!==n&&!(8192&n[G])&&(n[G]|=8192,Nh(n));)n=Si(n)}function Mc(e,n){if(!(256&~e[G]))throw new S(911,!1);null===e[Gi]&&(e[Gi]=[]),e[Gi].push(n)}function Si(e){const n=e[mt];return Gt(n)?n[mt]:n}const J={lFrame:qy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ly=!1;function By(){return J.bindingsEnabled}function Io(){return null!==J.skipHydrationRootTNode}function N(){return J.lFrame.lView}function ae(){return J.lFrame.tView}function F(e){return J.lFrame.contextLView=e,e[xe]}function L(e){return J.lFrame.contextLView=null,e}function Me(){let e=Vy();for(;null!==e&&64===e.type;)e=e.parent;return e}function Vy(){return J.lFrame.currentTNode}function ua(){const e=J.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function li(e,n){const t=J.lFrame;t.currentTNode=e,t.isParent=n}function Oh(){return J.lFrame.isParent}function Ah(){J.lFrame.isParent=!1}function jy(){return Ly}function Uy(e){Ly=e}function Jt(){const e=J.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Oi(){return J.lFrame.bindingIndex}function zn(){return J.lFrame.bindingIndex++}function Ai(e){const n=J.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Gy(e){J.lFrame.inI18n=e}function kR(e,n){const t=J.lFrame;t.bindingIndex=t.bindingRootIndex=e,Rh(n)}function Rh(e){J.lFrame.currentDirectiveIndex=e}function xh(){return J.lFrame.currentQueryIndex}function Oc(e){J.lFrame.currentQueryIndex=e}function LR(e){const n=e[O];return 2===n.type?n.declTNode:1===n.type?e[Lt]:null}function Wy(e,n,t){if(t&de.SkipSelf){let o=n,r=e;for(;!(o=o.parent,null!==o||t&de.Host||(o=LR(r),null===o||(r=r[Ar],10&o.type))););if(null===o)return!1;n=o,e=r}const i=J.lFrame=zy();return i.currentTNode=n,i.lView=e,!0}function kh(e){const n=zy(),t=e[O];J.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function zy(){const e=J.lFrame,n=null===e?null:e.child;return null===n?qy(e):n}function qy(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 Yy(){const e=J.lFrame;return J.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ky=Yy;function Fh(){const e=Yy();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 Wt(){return J.lFrame.selectedIndex}function Mo(e){J.lFrame.selectedIndex=e}function Fe(){const e=J.lFrame;return la(e.tView,e.selectedIndex)}let Jy=!0;function da(){return Jy}function ci(e){Jy=e}function Ac(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const r=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=r;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!=u&&(e.destroyHooks??=[]).push(t,u)}}function Rc(e,n,t){Qy(e,n,3,t)}function Pc(e,n,t,i){(3&e[G])===t&&Qy(e,n,t,i)}function Lh(e,n){let t=e[G];(3&t)===n&&(t&=16383,t+=1,e[G]=t)}function Qy(e,n,t,i){const r=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&e[Rr]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(e[Rr]+=65536),(a<r||-1==r)&&(GR(e,t,n,l),e[Rr]=(4294901760&e[Rr])+l+2),l++}function Xy(e,n){ai(4,e,n);const t=re(null);try{n.call(e)}finally{re(t),ai(5,e,n)}}function GR(e,n,t,i){const o=t[i]<0,r=t[i+1],a=e[o?-t[i]:t[i]];o?e[G]>>14<e[Rr]>>16&&(3&e[G])===n&&(e[G]+=16384,Xy(a,r)):Xy(a,r)}const Fr=-1;class fa{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Vh(e){return e!==Fr}function ha(e){return 32767&e}function pa(e,n){let t=function KR(e){return e>>16}(e),i=n;for(;t>0;)i=i[Ar],t--;return i}let Hh=!0;function xc(e){const n=Hh;return Hh=e,n}const eb=255,tb=5;let ZR=0;const ui={};function kc(e,n){const t=nb(e,n);if(-1!==t)return t;const i=n[O];i.firstCreatePass&&(e.injectorIndex=n.length,jh(i.data,e),jh(n,null),jh(i.blueprint,null));const o=Fc(e,n),r=e.injectorIndex;if(Vh(o)){const s=ha(o),a=pa(o,n),l=a[O].data;for(let c=0;c<8;c++)n[r+c]=a[s+c]|l[s+c]}return n[r+8]=o,r}function jh(e,n){e.push(0,0,0,0,0,0,0,0,n)}function nb(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Fc(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,o=n;for(;null!==o;){if(i=cb(o),null===i)return Fr;if(t++,o=o[Ar],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Fr}function Uh(e,n,t){!function JR(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Qs)&&(i=t[Qs]),null==i&&(i=t[Qs]=ZR++);const o=i&eb;n.data[e+(o>>tb)]|=1<<o}(e,n,t)}function ib(e,n,t){if(t&de.Optional||void 0!==e)return e;eh()}function ob(e,n,t,i){if(t&de.Optional&&void 0===i&&(i=null),!(t&(de.Self|de.Host))){const o=e[_t],r=ln(void 0);try{return o?o.get(n,i,t&de.Optional):ty(n,i,t&de.Optional)}finally{ln(r)}}return ib(i,0,t)}function rb(e,n,t,i=de.Default,o){if(null!==e){if(2048&n[G]&&!(i&de.Self)){const s=function nP(e,n,t,i,o){let r=e,s=n;for(;null!==r&&null!==s&&2048&s[G]&&!(512&s[G]);){const a=sb(r,s,t,i|de.Self,ui);if(a!==ui)return a;let l=r.parent;if(!l){const c=s[Ey];if(c){const u=c.get(t,ui,i);if(u!==ui)return u}l=cb(s),s=s[Ar]}r=l}return o}(e,n,t,i,ui);if(s!==ui)return s}const r=sb(e,n,t,i,ui);if(r!==ui)return r}return ob(n,t,i,o)}function sb(e,n,t,i,o){const r=function eP(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(Qs)?e[Qs]:void 0;return"number"==typeof n?n>=0?n&eb:tP:n}(t);if("function"==typeof r){if(!Wy(n,e,i))return i&de.Host?ib(o,0,i):ob(n,t,i,o);try{let s;if(s=r(i),null!=s||i&de.Optional)return s;eh()}finally{Ky()}}else if("number"==typeof r){let s=null,a=nb(e,n),l=Fr,c=i&de.Host?n[Ze][Lt]:null;for((-1===a||i&de.SkipSelf)&&(l=-1===a?Fc(e,n):n[a+8],l!==Fr&&lb(i,!1)?(s=n[O],a=ha(l),n=pa(l,n)):a=-1);-1!==a;){const u=n[O];if(ab(r,a,u.data)){const d=XR(a,n,t,s,i,c);if(d!==ui)return d}l=n[a+8],l!==Fr&&lb(i,n[O].data[a+8]===c)&&ab(r,a,n)?(s=u,a=ha(l),n=pa(l,n)):a=-1}}return o}function XR(e,n,t,i,o,r){const s=n[O],a=s.data[e+8],u=Lc(a,s,t,null==i?No(a)&&Hh:i!=s&&!!(3&a.type),o&de.Host&&r===a);return null!==u?So(n,s,u,a):ui}function Lc(e,n,t,i,o){const r=e.providerIndexes,s=n.data,a=1048575&r,l=e.directiveStart,u=r>>20,f=o?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const m=s[h];if(h<l&&t===m||h>=l&&m.type===t)return h}if(o){const h=s[l];if(h&&Wn(h)&&h.type===t)return l}return null}function So(e,n,t,i){let o=e[t];const r=n.data;if(function WR(e){return e instanceof fa}(o)){const s=o;s.resolving&&function bA(e,n){throw n&&n.join(" > "),new S(-200,e)}(function ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ee(e)}(r[t]));const a=xc(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?ln(s.injectImpl):null;Wy(e,i,de.Default);try{o=e[t]=s.factory(void 0,r,e,i),n.firstCreatePass&&t>=i.directiveStart&&function $R(e,n,t){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=n.type.prototype;if(i){const s=Sy(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),r&&((t.preOrderHooks??=[]).push(e,r),(t.preOrderCheckHooks??=[]).push(e,r))}(t,r[t],n)}finally{null!==c&&ln(c),xc(a),s.resolving=!1,Ky()}}return o}function ab(e,n,t){return!!(t[n+(e>>tb)]&1<<e)}function lb(e,n){return!(e&de.Self||e&de.Host&&n)}class Et{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return rb(this._tNode,this._lView,n,fc(i),t)}}function tP(){return new Et(Me(),N())}function Le(e){return Ti(()=>{const n=e.prototype.constructor,t=n[Ni]||$h(n),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[Ni]||$h(o);if(r&&r!==t)return r;o=Object.getPrototypeOf(o)}return r=>new r})}function $h(e){return ac(e)?()=>{const n=$h(K(e));return n&&n()}:wo(e)}function cb(e){const n=e[O],t=n.type;return 2===t?n.declTNode:1===t?e[Lt]:null}function pb(e,n=null,t=null,i){const o=function gb(e,n=null,t=null,i,o=new Set){const r=[t||_e,ZA(e)];return i=i||("object"==typeof e?void 0:Dt(e)),new Ir(r,n||bc(),i||null,o)}(e,n,t,i);return o.resolveInjectorInitializers(),o}class Ge{static#e=this.THROW_IF_NOT_FOUND=Xs;static#t=this.NULL=new gc;static create(n,t){if(Array.isArray(n))return pb({name:""},t,n,"");{const i=n.name??"";return pb({name:i},n.parent,n.providers,i)}}static#n=this.\u0275prov=A({token:Ge,providedIn:"any",factory:()=>k(ay)});static#i=this.__NG_ELEMENT_ID__=-1}new V("").__NG_ELEMENT_ID__=e=>{const n=Me();if(null===n)throw new S(204,!1);if(2&n.type)return n.value;if(e&de.Optional)return null;throw new S(204,!1)};function Wh(e){return e.ngOriginalError}class Pn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Wh(n);for(;t&&Wh(t);)t=Wh(t);return t||null}}const _b=new V("",{providedIn:"root",factory:()=>H(Pn).handleError.bind(void 0)});let Vr=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=fP;static#t=this.__NG_ENV_ID__=t=>t}return e})();class dP extends Vr{constructor(n){super(),this._lView=n}onDestroy(n){return Mc(this._lView,n),()=>function Mh(e,n){if(null===e[Gi])return;const t=e[Gi].indexOf(n);-1!==t&&e[Gi].splice(t,1)}(this._lView,n)}}function fP(){return new dP(N())}function hP(){return Hr(Me(),N())}function Hr(e,n){return new ge(Zt(e,n))}let ge=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=hP}return e})();function yb(e){return e instanceof ge?e.nativeElement:e}let zi=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ci(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),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#e=this.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}return e})();const j=class pP extends $e{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,function Dy(){return void 0!==ey()||null!=function TA(){return Cr}()}()&&(this.destroyRef=H(Vr,{optional:!0})??void 0,this.pendingTasks=H(zi,{optional:!0})??void 0)}emit(n){const t=re(null);try{super.next(n)}finally{re(t)}}subscribe(n,t,i){let o=n,r=t||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=this.wrapInTimeout(r),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const a=super.subscribe({next:o,error:r,complete:s});return n instanceof an&&n.add(a),a}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function gP(){return this._results[Symbol.iterator]()}class zh{static#e=Symbol.iterator;get changes(){return this._changes??=new j}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=zh.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=gP)}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 cn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function PA(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let o=e[i],r=n[i];if(t&&(o=t(o),r=t(r)),r!==o)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.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function Vc(e){return!(128&~e.flags)}const qh=new Map;let _P=0;const jc="__ngContext__";function zt(e,n){Pt(n)?(e[jc]=n[Pr],function yP(e){qh.set(e[Pr],e)}(n)):e[jc]=n}function Sb(e){return Ab(e[oa])}function Ob(e){return Ab(e[Gn])}function Ab(e){for(;null!==e&&!Gt(e);)e=e[Gn];return e}let Kh;function qi(){if(void 0!==Kh)return Kh;if(typeof document<"u")return document;throw new S(210,!1)}const $c=new V("",{providedIn:"root",factory:()=>LP}),LP="ng",Vb=new V(""),Ri=new V("",{providedIn:"platform",factory:()=>"unknown"}),Hb=new V("",{providedIn:"root",factory:()=>qi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let jb=()=>null;function np(e,n,t=!1){return jb(e,n,t)}const Kb=new V("",{providedIn:"root",factory:()=>!1});let Zc,Jc;function Gr(e){return function ap(){if(void 0===Zc&&(Zc=null,Ae.trustedTypes))try{Zc=Ae.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Zc}()?.createHTML(e)||e}function Qb(e){return function lp(){if(void 0===Jc&&(Jc=null,Ae.trustedTypes))try{Jc=Ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Jc}()?.createHTML(e)||e}class t0{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wv})`}}function Yi(e){return e instanceof t0?e.changingThisBreaksApplicationSecurity:e}function wa(e,n){const t=function ix(e){return e instanceof t0&&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 ${Wv})`)}return t===n}function n0(e){const n=new rx(e);return function sx(){try{return!!(new window.DOMParser).parseFromString(Gr(""),"text/html")}catch{return!1}}()?new ox(n):n}class ox{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(Gr(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class rx{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Gr(n),t}}const ax=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cp(e){return(e=String(e)).match(ax)?e:"unsafe:"+e}function Pi(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ca(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const o0=Pi("area,br,col,hr,img,wbr"),r0=Pi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),s0=Pi("rp,rt"),up=Ca(o0,Ca(r0,Pi("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")),Ca(s0,Pi("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")),Ca(s0,r0)),dp=Pi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),a0=Ca(dp,Pi("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"),Pi("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")),lx=Pi("script,style,template");class cx{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,o=[];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)o.push(t),t=fx(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=dx(t);if(r){t=r;break}t=o.pop()}return this.buf.join("")}startElement(n){const t=l0(n).toLowerCase();if(!up.hasOwnProperty(t))return this.sanitizedSomething=!0,!lx.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let o=0;o<i.length;o++){const r=i.item(o),s=r.name,a=s.toLowerCase();if(!a0.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=r.value;dp[a]&&(l=cp(l)),this.buf.push(" ",s,'="',u0(l),'"')}return this.buf.push(">"),!0}endElement(n){const t=l0(n).toLowerCase();up.hasOwnProperty(t)&&!o0.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(u0(n))}}function dx(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw c0(n);return n}function fx(e){const n=e.firstChild;if(n&&function ux(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw c0(n);return n}function l0(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function c0(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const hx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,px=/([^\#-~ |!])/g;function u0(e){return e.replace(/&/g,"&").replace(hx,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(px,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Qc;function fp(e){return"content"in e&&function mx(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wr=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}(Wr||{});function Ki(e){const n=Ea();return n?Qb(n.sanitize(Wr.HTML,e)||""):wa(e,"HTML")?Qb(Yi(e)):function gx(e,n){let t=null;try{Qc=Qc||n0(e);let i=n?String(n):"";t=Qc.getInertBodyElement(i);let o=5,r=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=r,r=t.innerHTML,t=Qc.getInertBodyElement(i)}while(i!==r);return Gr((new cx).sanitizeChildren(fp(t)||t))}finally{if(t){const i=fp(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(qi(),ee(e))}function Xc(e){const n=Ea();return n?n.sanitize(Wr.URL,e)||"":wa(e,"URL")?Yi(e):cp(ee(e))}function Ea(){const e=N();return e&&e[ri].sanitizer}const Cx=/^>|^->|<!--|-->|--!>|<!-$/g,Ex=/(<|>)/g,Tx="\u200b$1\u200b";var Zi=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Zi||{});let mp;function _p(e,n){return mp(e,n)}function qr(e,n,t,i,o){if(null!=i){let r,s=!1;Gt(i)?r=i:Pt(i)&&(s=!0,i=i[Ke]);const a=De(i);0===e&&null!==t?null==o?C0(n,t,a):Oo(n,t,a,o||null,!0):1===e&&null!==t?Oo(n,t,a,o||null,!0):2===e?Ia(n,a,s):3===e&&n.destroyNode(a),null!=r&&function zx(e,n,t,i,o){const r=t[si];r!==De(t)&&qr(n,e,i,r,o);for(let a=st;a<t.length;a++){const l=t[a];su(l[O],l,e,n,i,r)}}(n,e,r,t,o)}}function vp(e,n){return e.createText(n)}function y0(e,n,t){e.setValue(n,t)}function yp(e,n){return e.createComment(function f0(e){return e.replace(Cx,n=>n.replace(Ex,Tx))}(n))}function nu(e,n,t){return e.createElement(n,t)}function b0(e,n){n[ri].changeDetectionScheduler?.notify(8),su(e,n,n[Z],2,null,null)}function D0(e,n){const t=e[xr],i=n[mt];(Pt(i)||n[Ze]!==i[mt][Ze])&&(e[G]|=Tc.HasTransplantedViews),null===t?e[xr]=[n]:t.push(n)}function bp(e,n){const t=e[xr],i=t.indexOf(n);t.splice(i,1)}function Ta(e,n){if(e.length<=st)return;const t=st+n,i=e[t];if(i){const o=i[To];null!==o&&o!==e&&bp(o,i),n>0&&(e[t-1][Gn]=i[Gn]);const r=hc(e,st+n);!function Lx(e,n){b0(e,n),n[Ke]=null,n[Lt]=null}(i[O],i);const s=r[Mi];null!==s&&s.detachView(r[O]),i[mt]=null,i[Gn]=null,i[G]&=-129}return i}function iu(e,n){if(!(256&n[G])){const t=n[Z];t.destroyNode&&su(e,n,t,3,null,null),function Vx(e){let n=e[oa];if(!n)return Dp(e[O],e);for(;n;){let t=null;if(Pt(n))t=n[oa];else{const i=n[st];i&&(t=i)}if(!t){for(;n&&!n[Gn]&&n!==e;)Pt(n)&&Dp(n[O],n),n=n[mt];null===n&&(n=e),Pt(n)&&Dp(n[O],n),t=n&&n[Gn]}n=t}}(n)}}function Dp(e,n){if(256&n[G])return;const t=re(null);try{n[G]&=-129,n[G]|=256,n[An]&&Mf(n[An]),function Ux(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const o=n[t[i]];if(!(o instanceof fa)){const r=t[i+1];if(Array.isArray(r))for(let s=0;s<r.length;s+=2){const a=o[r[s]],l=r[s+1];ai(4,a,l);try{l.call(a)}finally{ai(5,a,l)}}else{ai(4,o,r);try{r.call(o)}finally{ai(5,o,r)}}}}}(e,n),function jx(e,n){const t=e.cleanup,i=n[Or];if(null!==t)for(let r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){const s=t[r+3];s>=0?i[s]():i[-s].unsubscribe(),r+=2}else t[r].call(i[t[r+1]]);null!==i&&(n[Or]=null);const o=n[Gi];if(null!==o){n[Gi]=null;for(let r=0;r<o.length;r++)(0,o[r])()}}(e,n),1===n[O].type&&n[Z].destroy();const i=n[To];if(null!==i&&Gt(n[mt])){i!==n[mt]&&bp(i,n);const o=n[Mi];null!==o&&o.detachView(e)}!function bP(e){qh.delete(e[Pr])}(n)}finally{re(t)}}function wp(e,n,t){return w0(e,n.parent,t)}function w0(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[Ke];{const{componentOffset:o}=i;if(o>-1){const{encapsulation:r}=e.data[i.directiveStart+o];if(r===Un.None||r===Un.Emulated)return null}return Zt(i,t)}}function Oo(e,n,t,i,o){e.insertBefore(n,t,i,o)}function C0(e,n,t){e.appendChild(n,t)}function E0(e,n,t,i,o){null!==i?Oo(e,n,t,i,o):C0(e,n,t)}function ou(e,n){return e.parentNode(n)}function T0(e,n,t){return I0(e,n,t)}function N0(e,n,t){return 40&e.type?Zt(e,t):null}let Cp,I0=N0;function M0(e,n){I0=e,Cp=n}function ru(e,n,t,i){const o=wp(e,i,n),r=n[Z],a=T0(i.parent||n[Lt],i,n);if(null!=o)if(Array.isArray(t))for(let l=0;l<t.length;l++)E0(r,o,t[l],a,!1);else E0(r,o,t,a,!1);void 0!==Cp&&Cp(r,i,n,t,o)}function Na(e,n){if(null!==n){const t=n.type;if(3&t)return Zt(n,e);if(4&t)return Ep(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Na(e,i);{const o=e[n.index];return Gt(o)?Ep(-1,o):De(o)}}if(32&t)return _p(n,e)()||De(e[n.index]);{const i=S0(e,n);return null!==i?Array.isArray(i)?i[0]:Na(Si(e[Ze]),i):Na(e,n.next)}}return null}function S0(e,n){return null!==n?e[Ze][Lt].projection[n.projection]:null}function Ep(e,n){const t=st+e+1;if(t<n.length){const i=n[t],o=i[O].firstChild;if(null!==o)return Na(i,o)}return n[si]}function Ia(e,n,t){const i=ou(e,n);i&&function $x(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}function Tp(e,n,t,i,o,r,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===n&&(a&&zt(De(a),i),t.flags|=2),32&~t.flags)if(8&l)Tp(e,n,t.child,i,o,r,!1),qr(n,e,o,a,r);else if(32&l){const c=_p(t,i);let u;for(;u=c();)qr(n,e,o,u,r);qr(n,e,o,a,r)}else 16&l?A0(e,n,i,t,o,r):qr(n,e,o,a,r);t=s?t.projectionNext:t.next}}function su(e,n,t,i,o,r){Tp(t,i,e.firstChild,n,o,r,!1)}function A0(e,n,t,i,o,r){const s=t[Ze],l=s[Lt].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)qr(n,e,o,l[c],r);else{let c=l;const u=s[mt];Vc(i)&&(c.flags|=128),Tp(e,n,c,u,o,r,!0)}}function R0(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function P0(e,n,t){const{mergedAttrs:i,classes:o,styles:r}=t;null!==i&&ch(e,n,i),null!==o&&R0(e,n,o),null!==r&&function Yx(e,n,t){e.setAttribute(n,"style",t)}(e,n,r)}const ne={};function y(e=1){x0(ae(),N(),Wt()+e,!1)}function x0(e,n,t,i){if(!i)if(3&~n[G]){const r=e.preOrderHooks;null!==r&&Pc(n,r,0,t)}else{const r=e.preOrderCheckHooks;null!==r&&Rc(n,r,t)}Mo(t)}function v(e,n=de.Default){const t=N();return null===t?k(e,n):rb(Me(),t,K(e),n)}function k0(e,n,t,i,o,r){const s=re(null);try{let a=null;o&Nr.SignalBased&&(a=n[i][_o]),null!==a&&void 0!==a.transformFn&&(r=a.transformFn(r)),o&Nr.HasDecoratorInputTransform&&(r=e.inputTransforms[i].call(n,r)),null!==e.setInput?e.setInput(n,a,r,t,i):My(n,a,i,r)}finally{re(s)}}function au(e,n,t,i,o,r,s,a,l,c,u){const d=n.blueprint.slice();return d[Ke]=o,d[G]=204|i,(null!==c||e&&2048&e[G])&&(d[G]|=2048),xy(d),d[mt]=d[Ar]=e,d[xe]=t,d[ri]=s||e&&e[ri],d[Z]=a||e&&e[Z],d[_t]=l||e&&e[_t]||null,d[Lt]=r,d[Pr]=function vP(){return _P++}(),d[Kt]=u,d[Ey]=c,d[Ze]=2==n.type?e[Ze]:d,d}function Yr(e,n,t,i,o){let r=e.data[n];if(null===r)r=Np(e,n,t,i,o),function xR(){return J.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=t,r.value=i,r.attrs=o;const s=ua();r.injectorIndex=null===s?-1:s.injectorIndex}return li(r,!0),r}function Np(e,n,t,i,o){const r=Vy(),s=Oh(),l=e.data[n]=function ik(e,n,t,i,o,r){let s=n?n.injectorIndex:-1,a=0;return Io()&&(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:o,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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?r:r&&r.parent,t,n,i,o);return null===e.firstChild&&(e.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l,l.prev=r)),l}function Ma(e,n,t,i){if(0===t)return-1;const o=n.length;for(let r=0;r<t;r++)n.push(i),e.blueprint.push(i),e.data.push(null);return o}function F0(e,n,t,i,o){const r=Wt(),s=2&i;try{Mo(-1),s&&n.length>q&&x0(e,n,q,!1),ai(s?2:0,o),t(i,o)}finally{Mo(r),ai(s?3:1,o)}}function Ip(e,n,t){if(Dh(n)){const i=re(null);try{const r=n.directiveEnd;for(let s=n.directiveStart;s<r;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,t[s],s)}}finally{re(i)}}}function Mp(e,n,t){By()&&(function uk(e,n,t,i){const o=t.directiveStart,r=t.directiveEnd;No(t)&&function _k(e,n,t){const i=Zt(n,e),o=L0(t);let s=16;t.signals?s=4096:t.onPush&&(s=64);const a=lu(e,au(e,o,null,s,i,n,null,e[ri].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=a}(n,t,e.data[o+t.componentOffset]),e.firstCreatePass||kc(t,n),zt(i,n);const s=t.initialInputs;for(let a=o;a<r;a++){const l=e.data[a],c=So(n,e,a,t);zt(c,n),null!==s&&vk(0,a-o,c,l,0,s),Wn(l)&&(vn(t.index,n)[xe]=So(n,e,a,t))}}(e,n,t,Zt(t,n)),!(64&~t.flags)&&U0(e,n,t))}function Sp(e,n,t=Zt){const i=n.localNames;if(null!==i){let o=n.index+1;for(let r=0;r<i.length;r+=2){const s=i[r+1],a=-1===s?t(n,e):e[s];e[o++]=a}}}function L0(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Op(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Op(e,n,t,i,o,r,s,a,l,c,u){const d=q+i,f=d+o,h=function Jx(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:ne);return t}(d,f),m="function"==typeof c?c():c;return h[O]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:u}}let B0=()=>null;function V0(e,n,t,i,o){for(let r in n){if(!n.hasOwnProperty(r))continue;const s=n[r];if(void 0===s)continue;i??={};let a,l=Nr.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=r;if(null!==o){if(!o.hasOwnProperty(r))continue;c=o[r]}0===e?H0(i,t,c,a,l):H0(i,t,c,a)}return i}function H0(e,n,t,i,o){let r;e.hasOwnProperty(t)?(r=e[t]).push(n,i):r=e[t]=[n,i],void 0!==o&&r.push(o)}function fn(e,n,t,i,o,r,s,a){const l=Zt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[i])?(kp(e,t,u,i,o),No(n)&&function sk(e,n){const t=vn(n,e);16&t[G]||(t[G]|=64)}(t,n.index)):3&n.type&&(i=function rk(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),o=null!=s?s(o,n.value||"",i):o,r.setProperty(l,i,o))}function Ap(e,n,t,i){if(By()){const o=null===i?null:{"":-1},r=function fk(e,n){const t=e.directiveRegistry;let i=null,o=null;if(t)for(let r=0;r<t.length;r++){const s=t[r];if(fy(n,s.selectors,!1))if(i||(i=[]),Wn(s))if(null!==s.findHostDirectiveDefs){const a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),i.unshift(...a,s),Rp(e,n,a.length)}else i.unshift(s),Rp(e,n,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,i,o),i.push(s)}return null===i?null:[i,o]}(e,t);let s,a;null===r?s=a=null:[s,a]=r,null!==s&&j0(e,n,t,s,o,a),o&&function hk(e,n,t){if(n){const i=e.localNames=[];for(let o=0;o<n.length;o+=2){const r=t[n[o+1]];if(null==r)throw new S(-301,!1);i.push(n[o],r)}}}(t,i,o)}t.mergedAttrs=ta(t.mergedAttrs,t.attrs)}function j0(e,n,t,i,o,r){for(let c=0;c<i.length;c++)Uh(kc(t,n),e,i[c].type);!function gk(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let c=0;c<i.length;c++){const u=i[c];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,l=Ma(e,n,i.length,null);for(let c=0;c<i.length;c++){const u=i[c];t.mergedAttrs=ta(t.mergedAttrs,u.hostAttrs),mk(e,t,n,l,u),pk(l,u,o),null!==u.contentQueries&&(t.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(t.flags|=64);const d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),a=!0),l++}!function ok(e,n,t){const o=n.directiveEnd,r=e.data,s=n.attrs,a=[];let l=null,c=null;for(let u=n.directiveStart;u<o;u++){const d=r[u],f=t?t.get(d):null,m=f?f.outputs:null;l=V0(0,d.inputs,u,l,f?f.inputs:null),c=V0(1,d.outputs,u,c,m);const _=null===l||null===s||uh(n)?null:yk(l,u,s);a.push(_)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=c}(e,t,r)}function U0(e,n,t){const i=t.directiveStart,o=t.directiveEnd,r=t.index,s=function FR(){return J.lFrame.currentDirectiveIndex}();try{Mo(r);for(let a=i;a<o;a++){const l=e.data[a],c=n[a];Rh(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&dk(l,c)}}finally{Mo(-1),Rh(s)}}function dk(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Rp(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function pk(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;Wn(n)&&(t[""]=e)}}function mk(e,n,t,i,o){e.data[i]=o;const r=o.factory||(o.factory=wo(o.type)),s=new fa(r,Wn(o),v);e.blueprint[i]=s,t[i]=s,function lk(e,n,t,i,o){const r=o.hostBindings;if(r){let s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);const a=~n.index;(function ck(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,r)}}(e,n,i,Ma(e,t,o.hostVars,ne),o)}function Pp(e,n,t,i,o,r,s){if(null==r)e.removeAttribute(n,o,t);else{const a=null==s?ee(r):s(r,i||"",o);e.setAttribute(n,o,a,t)}}function vk(e,n,t,i,o,r){const s=r[n];if(null!==s)for(let a=0;a<s.length;)k0(i,t,s[a++],s[a++],s[a++],s[a++])}function yk(e,n,t){let i=null,o=0;for(;o<t.length;){const r=t[o];if(0!==r)if(5!==r){if("number"==typeof r)break;if(e.hasOwnProperty(r)){null===i&&(i=[]);const s=e[r];for(let a=0;a<s.length;a+=3)if(s[a]===n){i.push(r,s[a+1],s[a+2],t[o+1]);break}}o+=2}else o+=2;else o+=4}return i}function $0(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function G0(e,n){const t=e.contentQueries;if(null!==t){const i=re(null);try{for(let o=0;o<t.length;o+=2){const s=t[o+1];if(-1!==s){const a=e.data[s];Oc(t[o]),a.contentQueries(2,n[s],s)}}}finally{re(i)}}}function lu(e,n){return e[oa]?e[Cy][Gn]=n:e[oa]=n,e[Cy]=n,n}function xp(e,n,t){Oc(0);const i=re(null);try{n(e,t)}finally{re(i)}}function W0(e){return e[Or]??=[]}function z0(e){return e.cleanup??=[]}function cu(e,n){const t=e[_t],i=t?t.get(Pn,null):null;i&&i.handleError(n)}function kp(e,n,t,i,o){for(let r=0;r<t.length;){const s=t[r++],a=t[r++],l=t[r++];k0(e.data[s],n[s],i,a,l,o)}}function bk(e,n){const t=vn(n,e),i=t[O];!function Dk(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const o=t[Ke];null!==o&&null===t[Kt]&&(t[Kt]=np(o,t[_t])),Fp(i,t,t[xe])}function Fp(e,n,t){kh(n);try{const i=e.viewQuery;null!==i&&xp(1,i,t);const o=e.template;null!==o&&F0(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[Mi]?.finishViewCreation(e),e.staticContentQueries&&G0(e,n),e.staticViewQueries&&xp(2,e.viewQuery,t);const r=e.components;null!==r&&function wk(e,n){for(let t=0;t<n.length;t++)bk(e,n[t])}(n,r)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[G]&=-5,Fh()}}function Kr(e,n,t,i){const o=re(null);try{const r=n.tView,l=au(e,r,t,4096&e[G]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);l[To]=e[n.index];const u=e[Mi];return null!==u&&(l[Mi]=u.createEmbeddedView(r)),Fp(r,l,t),l}finally{re(o)}}function Ao(e,n){return!n||null===n.firstChild||Vc(e)}function Zr(e,n,t,i=!0){const o=n[O];if(function Hx(e,n,t,i){const o=st+i,r=t.length;i>0&&(t[o-1][Gn]=n),i<r-st?(n[Gn]=t[o],oy(t,st+i,n)):(t.push(n),n[Gn]=null),n[mt]=t;const s=n[To];null!==s&&t!==s&&D0(s,n);const a=n[Mi];null!==a&&a.insertView(e),Ih(n),n[G]|=128}(o,n,e,t),i){const s=Ep(t,e),a=n[Z],l=ou(a,e[si]);null!==l&&function Bx(e,n,t,i,o,r){i[Ke]=o,i[Lt]=n,su(e,i,t,1,o,r)}(o,e[Lt],a,n,l,s)}const r=n[Kt];null!==r&&null!==r.firstChild&&(r.firstChild=null)}function Sa(e,n,t,i,o=!1){for(;null!==t;){const r=n[t.index];null!==r&&i.push(De(r)),Gt(r)&&K0(r,i);const s=t.type;if(8&s)Sa(e,n,t.child,i);else if(32&s){const a=_p(t,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=S0(n,t);if(Array.isArray(a))i.push(...a);else{const l=Si(n[Ze]);Sa(l[O],l,a,i,!0)}}t=o?t.projectionNext:t.next}return i}function K0(e,n){for(let t=st;t<e.length;t++){const i=e[t],o=i[O].firstChild;null!==o&&Sa(i[O],i,o,n)}e[si]!==e[Ke]&&n.push(e[si])}let Z0=[];const Nk={...cv,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ic(e.lView)},consumerOnSignalRead(){this.lView[An]=this}},Mk={...cv,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let n=Si(e.lView);for(;n&&!J0(n[O]);)n=Si(n);n&&ky(n)},consumerOnSignalRead(){this.lView[An]=this}};function J0(e){return 2!==e.type}const Sk=100;function uu(e,n=!0,t=0){const i=e[ri],o=i.rendererFactory;o.begin?.();try{!function Ok(e,n){const t=jy();try{Uy(!0),Bp(e,n);let i=0;for(;ca(e);){if(i===Sk)throw new S(103,!1);i++,Bp(e,1)}}finally{Uy(t)}}(e,t)}catch(s){throw n&&cu(e,s),s}finally{o.end?.(),i.inlineEffectRunner?.flush()}}function Ak(e,n,t,i){const o=n[G];if(!(256&~o))return;n[ri].inlineEffectRunner?.flush(),kh(n);let a=!0,l=null,c=null;J0(e)?(c=function Ck(e){return e[An]??function Ek(e){const n=Z0.pop()??Object.create(Nk);return n.lView=e,n}(e)}(n),l=Nf(c)):null===function lv(){return rt}()?(a=!1,c=function Ik(e){const n=e[An]??Object.create(Mk);return n.lView=e,n}(n),l=Nf(c)):n[An]&&(Mf(n[An]),n[An]=null);try{xy(n),function $y(e){return J.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&F0(e,n,t,2,i);const u=!(3&~o);if(u){const h=e.preOrderCheckHooks;null!==h&&Rc(n,h,null)}else{const h=e.preOrderHooks;null!==h&&Pc(n,h,0,null),Lh(n,0)}if(function Rk(e){for(let n=Sb(e);null!==n;n=Ob(n)){if(!(n[G]&Tc.HasTransplantedViews))continue;const t=n[xr];for(let i=0;i<t.length;i++)ky(t[i])}}(n),X0(n,0),null!==e.contentQueries&&G0(e,n),u){const h=e.contentCheckHooks;null!==h&&Rc(n,h)}else{const h=e.contentHooks;null!==h&&Pc(n,h,1),Lh(n,1)}!function Zx(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const o=t[i];if(o<0)Mo(~o);else{const r=o,s=t[++i],a=t[++i];kR(s,r),a(2,n[r])}}}finally{Mo(-1)}}(e,n);const d=e.components;null!==d&&tD(n,d,0);const f=e.viewQuery;if(null!==f&&xp(2,f,i),u){const h=e.viewCheckHooks;null!==h&&Rc(n,h)}else{const h=e.viewHooks;null!==h&&Pc(n,h,2),Lh(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[Cc]){for(const h of n[Cc])h();n[Cc]=null}n[G]&=-73}catch(u){throw Ic(n),u}finally{null!==c&&(function pv(e,n){if(re(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ys(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)Ql(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(c,l),a&&function Tk(e){e.lView[An]!==e&&(e.lView=null,Z0.push(e))}(c)),Fh()}}function X0(e,n){for(let t=Sb(e);null!==t;t=Ob(t))for(let i=st;i<t.length;i++)eD(t[i],n)}function Pk(e,n,t){eD(vn(n,e),t)}function eD(e,n){Nh(e)&&Bp(e,n)}function Bp(e,n){const i=e[O],o=e[G],r=e[An];let s=!!(0===n&&16&o);if(s||=!!(64&o&&0===n),s||=!!(1024&o),s||=!(!r?.dirty||!If(r)),s||=!1,r&&(r.dirty=!1),e[G]&=-9217,s)Ak(i,e,i.template,e[xe]);else if(8192&o){X0(e,1);const a=i.components;null!==a&&tD(e,a,1)}}function tD(e,n,t){for(let i=0;i<n.length;i++)Pk(e,n[i],t)}function Oa(e,n){const t=jy()?64:1088;for(e[ri].changeDetectionScheduler?.notify(n);e;){e[G]|=t;const i=Si(e);if(sa(e)&&!i)return e;e=i}return null}class Aa{get rootNodes(){const n=this._lView,t=n[O];return Sa(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[xe]}set context(n){this._lView[xe]=n}get destroyed(){return!(256&~this._lView[G])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[mt];if(Gt(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(Ta(n,i),hc(t,i))}this._attachedToViewContainer=!1}iu(this._lView[O],this._lView)}onDestroy(n){Mc(this._lView,n)}markForCheck(){Oa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[G]&=-129}reattach(){Ih(this._lView),this._lView[G]|=128}detectChanges(){this._lView[G]|=1024,uu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const n=sa(this._lView),t=this._lView[To];null!==t&&!n&&bp(t,this._lView),b0(this._lView[O],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n;const t=sa(this._lView),i=this._lView[To];null!==i&&!t&&D0(i,this._lView),Ih(this._lView)}}let Oe=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Fk}return e})();const xk=Oe,kk=class extends xk{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 o=Kr(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Aa(o)}};function Fk(){return du(Me(),N())}function du(e,n){return 4&e.type?new kk(n,e,Hr(e,n)):null}function oD(e,n,t){const i=n.insertBeforeIndex,o=Array.isArray(i)?i[0]:i;return null===o?N0(e,0,t):De(t[o])}function rD(e,n,t,i,o){const r=n.insertBeforeIndex;if(Array.isArray(r)){let s=i,a=null;if(3&n.type||(a=s,s=o),null!==s&&-1===n.componentOffset)for(let l=1;l<r.length;l++)Oo(e,s,t[r[l]],a,!1)}}function sD(e,n){if(e.push(n),e.length>1)for(let t=e.length-2;t>=0;t--){const i=e[t];aD(i)||Wk(i,n)&&null===zk(i)&&qk(i,n.index)}}function aD(e){return!(64&e.type)}function Wk(e,n){return aD(n)||e.index>n.index}function zk(e){const n=e.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function qk(e,n){const t=e.insertBeforeIndex;Array.isArray(t)?t[0]=n:(M0(oD,rD),e.insertBeforeIndex=n)}function ka(e,n){const t=e.data[n];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function Zk(e,n,t){const i=Np(e,t,64,null,null);return sD(n,i),i}function hu(e,n){const t=n[e.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function lD(e){return e>>>17}function cD(e){return(131070&e)>>>1}let mD=()=>{},vD=()=>{},DD=()=>null;function Po(e,n){return DD(e,n)}class Qr{}const Va=new V("",{providedIn:"root",factory:()=>!1}),wD=new V("");class CF{}class CD{}class TF{resolveComponentFactory(n){throw function EF(e){const n=Error(`No component factory found for ${Dt(e)}.`);return n.ngComponent=e,n}(n)}}class Ha{static#e=this.NULL=new TF}class ja{}let hn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function NF(){const e=N(),t=vn(Me().index,e);return(Pt(t)?t:e)[Z]}()}return e})(),IF=(()=>{class e{static#e=this.\u0275prov=A({token:e,providedIn:"root",factory:()=>null})}return e})();const Yp={},TD=new Set;function ND(e){let n=!0;return setTimeout(()=>{n&&(n=!1,e())}),"function"==typeof Ae.requestAnimationFrame&&Ae.requestAnimationFrame(()=>{n&&(n=!1,e())}),()=>{n=!1}}function ID(e){let n=!0;return queueMicrotask(()=>{n&&e()}),()=>{n=!1}}function MD(...e){}class X{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new j(!1),this.onMicrotaskEmpty=new j(!1),this.onStable=new j(!1),this.onError=new j(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&t,o.shouldCoalesceRunChangeDetection=i,o.callbackScheduled=!1,function OF(e){const n=()=>{!function SF(e){e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,Zone.root.run(()=>{ND(()=>{e.callbackScheduled=!1,Zp(e),e.isCheckStableRunning=!0,Kp(e),e.isCheckStableRunning=!1})}),Zp(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,o,r,s,a)=>{if(function AF(e){return AD(e,"__ignore_ng_zone__")}(a))return t.invokeTask(o,r,s,a);try{return SD(e),t.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&n(),OD(e)}},onInvoke:(t,i,o,r,s,a,l)=>{try{return SD(e),t.invoke(o,r,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function RF(e){return AD(e,"__scheduler_tick__")}(a)&&n(),OD(e)}},onHasTask:(t,i,o,r)=>{t.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Zp(e),Kp(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,i,o,r)=>(t.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!X.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(X.isInAngularZone())throw new S(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,n,MF,MD,MD);try{return r.runTask(s,t,i)}finally{r.cancelTask(s)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const MF={};function Kp(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 Zp(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function SD(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function OD(e){e._nesting--,Kp(e)}class Jp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new j,this.onMicrotaskEmpty=new j,this.onStable=new j,this.onError=new j}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,o){return n.apply(t,i)}}function AD(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}let Ua=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=A({token:e,providedIn:"root",factory:()=>new e})}return e})();function _u(e,n,t){let i=t?e.styles:null,o=t?e.classes:null,r=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?r=a:1==r?o=Wf(o,a):2==r&&(i=Wf(i,a+": "+n[++s]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=o:e.classesWithoutHost=o}class LD extends Ha{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=se(n);return new Wa(t,this.ngModule)}}function BD(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t];void 0!==i&&n.push({propName:Array.isArray(i)?i[0]:i,templateName:t})}return n}class vu{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=fc(i);const o=this.injector.get(n,Yp,i);return o!==Yp||t===Yp?o:this.parentInjector.get(n,t,i)}}class Wa extends CD{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=BD(n.inputs);if(null!==t)for(const o of i)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return i}get outputs(){return BD(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function GA(e){return e.map($A).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,o){const r=re(null);try{let s=(o=o||this.ngModule)instanceof un?o:o?.injector;s&&null!==this.componentDef.getStandaloneInjector&&(s=this.componentDef.getStandaloneInjector(s)||s);const a=s?new vu(n,s):n,l=a.get(ja,null);if(null===l)throw new S(407,!1);const c=a.get(IF,null),f={rendererFactory:l,sanitizer:c,inlineEffectRunner:null,afterRenderEventManager:a.get(Ua,null),changeDetectionScheduler:a.get(Qr,null)},h=l.createRenderer(null,this.componentDef),m=this.componentDef.selectors[0][0]||"div",_=i?function Qx(e,n,t,i){const r=i.get(Kb,!1)||t===Un.ShadowDom,s=e.selectRootElement(n,r);return function Xx(e){B0(e)}(s),s}(h,i,this.componentDef.encapsulation,a):nu(h,m,function BF(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(m));let D=512;this.componentDef.signals?D|=4096:this.componentDef.onPush||(D|=16);let E=null;null!==_&&(E=np(_,a,!0));const C=Op(0,null,null,1,0,null,null,null,null,null,null),I=au(null,C,null,D,null,null,f,h,a,null,E);let P,B;kh(I);try{const U=this.componentDef;let ie,ce=null;U.findHostDirectiveDefs?(ie=[],ce=new Map,U.findHostDirectiveDefs(U,ie,ce),ie.push(U)):ie=[U];const ot=function HF(e,n){const t=e[O],i=q;return e[i]=n,Yr(t,i,2,"#host",null)}(I,_),ft=function jF(e,n,t,i,o,r,s){const a=o[O];!function UF(e,n,t,i){for(const o of e)n.mergedAttrs=ta(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(_u(n,n.mergedAttrs,!0),null!==t&&P0(i,t,n))}(i,e,n,s);let l=null;null!==n&&(l=np(n,o[_t]));const c=r.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=au(o,L0(t),null,u,o[e.index],e,r,c,null,null,l);return a.firstCreatePass&&Rp(a,e,i.length-1),lu(o,d),o[e.index]=d}(ot,_,U,ie,I,f,h);B=la(C,q),_&&function GF(e,n,t,i){if(i)ch(e,t,["ng-version","18.0.3"]);else{const{attrs:o,classes:r}=function WA(e){const n=[],t=[];let i=1,o=2;for(;i<e.length;){let r=e[i];if("string"==typeof r)2===o?""!==r&&n.push(r,e[++i]):8===o&&t.push(r);else{if(!$n(o))break;o=r}i++}return{attrs:n,classes:t}}(n.selectors[0]);o&&ch(e,t,o),r&&r.length>0&&R0(e,t,r.join(" "))}}(h,U,_,i),void 0!==t&&function WF(e,n,t){const i=e.projection=[];for(let o=0;o<n.length;o++){const r=t[o];i.push(null!=r?Array.from(r):null)}}(B,this.ngContentSelectors,t),P=function $F(e,n,t,i,o,r){const s=Me(),a=o[O],l=Zt(s,o);j0(a,o,s,t,null,i);for(let u=0;u<t.length;u++)zt(So(o,a,s.directiveStart+u,s),o);U0(a,o,s),l&&zt(l,o);const c=So(o,a,s.directiveStart+s.componentOffset,s);if(e[xe]=o[xe]=c,null!==r)for(const u of r)u(c,n);return Ip(a,s,o),c}(ft,U,ie,ce,I,[zF]),Fp(C,I,null)}finally{Fh()}return new VF(this.componentType,P,Hr(B,I),I,B)}finally{re(r)}}}class VF extends CF{constructor(n,t,i,o,r){super(),this.location=i,this._rootLView=o,this._tNode=r,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Aa(o,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let o;if(null!==i&&(o=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const r=this._rootLView;kp(r[O],r,o,n,t),this.previousInputValues.set(n,t),Oa(vn(this._tNode.index,r),1)}}get injector(){return new Et(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function zF(){const e=Me();Ac(N()[O],e)}let Dn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=qF}return e})();function qF(){return jD(Me(),N())}const YF=Dn,VD=class extends YF{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Hr(this._hostTNode,this._hostLView)}get injector(){return new Et(this._hostTNode,this._hostLView)}get parentInjector(){const n=Fc(this._hostTNode,this._hostLView);if(Vh(n)){const t=pa(n,this._hostLView),i=ha(n);return new Et(t[O].data[i+8],t)}return new Et(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=HD(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-st}createEmbeddedView(n,t,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=Po(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},r,s);return this.insertImpl(a,o,Ao(this._hostTNode,s)),a}createComponent(n,t,i,o,r){const s=n&&!function ia(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,i=m.injector,o=m.projectableNodes,r=m.environmentInjector||m.ngModuleRef}const l=s?n:new Wa(se(n)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const _=(s?c:this.parentInjector).get(un,null);_&&(r=_)}const u=se(l.componentType??{}),d=Po(this._lContainer,u?.id??null),h=l.create(c,o,d?.firstChild??null,r);return this.insertImpl(h.hostView,a,Ao(this._hostTNode,d)),h}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const o=n._lView;if(function ER(e){return Gt(e[mt])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[mt],c=new VD(l,l[Lt],l[mt]);c.detach(c.indexOf(n))}}const r=this._adjustIndex(t),s=this._lContainer;return Zr(s,o,r,i),n.attachToViewContainerRef(),oy(tg(s),r,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=HD(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Ta(this._lContainer,t);i&&(hc(tg(this._lContainer),t),iu(i[O],i))}detach(n){const t=this._adjustIndex(n,-1),i=Ta(this._lContainer,t);return i&&null!=hc(tg(this._lContainer),t)?new Aa(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function HD(e){return e[8]}function tg(e){return e[8]||(e[8]=[])}function jD(e,n){let t;const i=n[e.index];return Gt(i)?t=i:(t=$0(i,n,null,e),n[e.index]=t,lu(n,t)),UD(t,n,e,i),new VD(t,e,n)}let UD=function GD(e,n,t,i){if(e[si])return;let o;o=8&t.type?De(i):function KF(e,n){const t=e[Z],i=t.createComment(""),o=Zt(n,e);return Oo(t,ou(t,o),i,function Gx(e,n){return e.nextSibling(n)}(t,o),!1),i}(n,t),e[si]=o},ng=()=>!1;class ig{constructor(n){this.queryList=n,this.matches=null}clone(){return new ig(this.queryList)}setDirty(){this.queryList.setDirty()}}class og{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let r=0;r<i;r++){const s=t.getByIndex(r);o.push(this.queries[s.indexInDeclarationView].clone())}return new og(o)}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!==cg(n,t).matches&&this.queries[t].setDirty()}}class WD{constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function o2(e){return e.split(",").map(n=>n.trim())}(n):n}}class rg{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 o=null!==t?t.length:0,r=this.getByIndex(i).embeddedTView(n,o);r&&(r.indexInDeclarationView=i,null!==t?t.push(r):t=[r])}return null!==t?new rg(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 sg{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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 sg(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 o=0;o<i.length;o++){const r=i[o];this.matchTNodeWithReadOption(n,t,XF(t,r)),this.matchTNodeWithReadOption(n,t,Lc(t,n,r,!1,!1))}else i===Oe?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Lc(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const o=this.metadata.read;if(null!==o)if(o===ge||o===Dn||o===Oe&&4&t.type)this.addMatch(t.index,-2);else{const r=Lc(t,n,o,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function XF(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 t2(e,n,t,i){return-1===t?function e2(e,n){return 11&e.type?Hr(e,n):4&e.type?du(e,n):null}(n,e):-2===t?function n2(e,n,t){return t===ge?Hr(n,e):t===Oe?du(n,e):t===Dn?jD(n,e):void 0}(e,n,i):So(e,e[O],t,n)}function zD(e,n,t,i){const o=n[Mi].queries[i];if(null===o.matches){const r=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:t2(n,r[c],s[l+1],t.metadata.read))}o.matches=a}return o.matches}function ag(e,n,t,i){const o=e.queries.getByIndex(t),r=o.matches;if(null!==r){const s=zD(e,n,o,t);for(let a=0;a<r.length;a+=2){const l=r[a];if(l>0)i.push(s[a/2]);else{const c=r[a+1],u=n[-l];for(let d=st;d<u.length;d++){const f=u[d];f[To]===f[mt]&&ag(f[O],f,c,i)}if(null!==u[xr]){const d=u[xr];for(let f=0;f<d.length;f++){const h=d[f];ag(h[O],h,c,i)}}}}}return i}function qD(e,n,t){const i=new zh(!(4&~t));return function nk(e,n,t,i){const o=W0(n);o.push(t),e.firstCreatePass&&z0(e).push(i,o.length-1)}(e,n,i,i.destroy),(n[Mi]??=new og).queries.push(new ig(i))-1}function ZD(e,n,t){null===e.queries&&(e.queries=new rg),e.queries.track(new sg(n,t))}function cg(e,n){return e.queries.getByIndex(n)}function JD(e,n){const t=e[O],i=cg(t,n);return i.crossesNgTemplate?ag(t,e,n,[]):zD(t,e,i,n)}function e1(e){return function QD(e){return"function"==typeof e&&void 0!==e[_o]}(e)&&"function"==typeof e.set}function Te(e){let n=function d1(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let o;if(Wn(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new S(903,!1);o=n.\u0275dir}if(o){if(t){i.push(o);const s=e;s.inputs=bu(e.inputs),s.inputTransforms=bu(e.inputTransforms),s.declaredInputs=bu(e.declaredInputs),s.outputs=bu(e.outputs);const a=o.hostBindings;a&&b2(e,a);const l=o.viewQuery,c=o.contentQueries;if(l&&v2(e,l),c&&y2(e,c),m2(e,o),dA(e.outputs,o.outputs),Wn(o)&&o.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}const r=o.features;if(r)for(let s=0;s<r.length;s++){const a=r[s];a&&a.ngInherit&&a(e),a===Te&&(t=!1)}}n=Object.getPrototypeOf(n)}!function _2(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const o=e[i];o.hostVars=n+=o.hostVars,o.hostAttrs=ta(o.hostAttrs,t=ta(t,o.hostAttrs))}}(i)}function m2(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const o=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=n.inputTransforms[o]}}}function bu(e){return e===oi?{}:e===_e?[]:e}function v2(e,n){const t=e.viewQuery;e.viewQuery=t?(i,o)=>{n(i,o),t(i,o)}:n}function y2(e,n){const t=e.contentQueries;e.contentQueries=t?(i,o,r)=>{n(i,o,r),t(i,o,r)}:n}function b2(e,n){const t=e.hostBindings;e.hostBindings=t?(i,o)=>{n(i,o),t(i,o)}:n}function qa(e){const n=t=>{const i=(Array.isArray(e)?e:e()).map(o=>"function"==typeof o?{directive:K(o),inputs:oi,outputs:oi}:{directive:K(o.directive),inputs:h1(o.inputs),outputs:h1(o.outputs)});null===t.hostDirectives?(t.findHostDirectiveDefs=f1,t.hostDirectives=i):t.hostDirectives.unshift(...i)};return n.ngInherit=!0,n}function f1(e,n,t){if(null!==e.hostDirectives)for(const i of e.hostDirectives){const o=wt(i.directive);E2(o.declaredInputs,i.inputs),f1(o,n,t),t.set(o,i),n.push(o)}}function h1(e){if(void 0===e||0===e.length)return oi;const n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function E2(e,n){for(const t in n)n.hasOwnProperty(t)&&(e[n[t]]=e[t])}class Fo{}class g1 extends Fo{constructor(n){super(),this.componentFactoryResolver=new LD(this),this.instance=null;const t=new Ir([...n.providers,{provide:Fo,useValue:this},{provide:Ha,useValue:this.componentFactoryResolver}],n.parent||bc(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function Du(e){return!!function hg(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function fi(e,n,t){return e[n]=t}function at(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Lo(e,n,t,i){const o=at(e,n,t);return at(e,n+1,i)||o}function wu(e,n,t,i,o){const r=Lo(e,n,t,i);return at(e,n+2,o)||r}function Ka(e,n,t,i,o,r,s,a,l,c){const u=t+q,d=n.firstCreatePass?function P2(e,n,t,i,o,r,s,a,l){const c=n.consts,u=Yr(n,e,4,s||null,a||null);Ap(n,t,u,Rn(c,l)),Ac(n,u);const d=u.tView=Op(2,u,i,o,r,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,n,e,i,o,r,s,a,l):n.data[u];li(d,!1);const f=_1(n,e,d,t);da()&&ru(n,e,f,d),zt(f,e);const h=$0(f,e,f,d);return e[u]=h,lu(e,h),function $D(e,n,t){return ng(e,n,t)}(h,d,e),Nc(d)&&Mp(n,e,d),null!=l&&Sp(e,d,c),d}function M(e,n,t,i,o,r,s,a){const l=N(),c=ae();return Ka(l,c,e,n,t,i,o,Rn(c.consts,r),s,a),M}let _1=function v1(e,n,t,i){return ci(!0),n[Z].createComment("")};function oe(e,n,t,i){const o=N();return at(o,zn(),n)&&(ae(),function di(e,n,t,i,o,r){const s=Zt(e,n);Pp(n[Z],s,r,e.value,t,i,o)}(Fe(),o,e,n,t,i)),oe}function ls(e,n,t,i){return at(e,zn(),t)?n+ee(t)+i:ne}function cs(e,n,t,i,o,r){const a=Lo(e,Oi(),t,o);return Ai(2),a?n+ee(t)+i+ee(o)+r:ne}function Mu(e,n){return e<<17|n<<2}function Xi(e){return e>>17&32767}function Cg(e){return 2|e}function Vo(e){return(131068&e)>>2}function Eg(e,n){return-131069&e|n<<2}function Tg(e){return 1|e}function K1(e,n,t,i){const o=e[t+1],r=null===n;let s=i?Xi(o):Vo(o),a=!1;for(;0!==s&&(!1===a||r);){const c=e[s+1];yL(e[s],n)&&(a=!0,e[s+1]=i?Tg(c):Cg(c)),s=i?Xi(c):Vo(c)}a&&(e[t+1]=i?Cg(o):Tg(o))}function yL(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Tr(e,n)>=0}const Tt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Z1(e){return e.substring(Tt.key,Tt.keyEnd)}function J1(e,n){const t=Tt.textEnd;return t===n?-1:(n=Tt.keyEnd=function CL(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,Tt.key=n,t),ms(e,n,t))}function ms(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function b(e,n,t){const i=N();return at(i,zn(),n)&&fn(ae(),Fe(),i,e,n,i[Z],t,!1),b}function Ng(e,n,t,i,o){const s=o?"class":"style";kp(e,t,n.inputs[s],s,i)}function _s(e,n,t){return qn(e,n,t,!1),_s}function W(e,n){return qn(e,n,null,!0),W}function pi(e){Yn(RL,gi,e,!0)}function gi(e,n){for(let t=function DL(e){return function X1(e){Tt.key=0,Tt.keyEnd=0,Tt.value=0,Tt.valueEnd=0,Tt.textEnd=e.length}(e),J1(e,ms(e,0,Tt.textEnd))}(n);t>=0;t=J1(n,t))_n(e,Z1(n),!0)}function qn(e,n,t,i){const o=N(),r=ae(),s=Ai(2);r.firstUpdatePass&&iw(r,e,s,i),n!==ne&&at(o,s,n)&&rw(r,r.data[Wt()],o,o[Z],e,o[s+1]=function xL(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=Dt(Yi(e)))),e}(n,t),i,s)}function Yn(e,n,t,i){const o=ae(),r=Ai(2);o.firstUpdatePass&&iw(o,null,r,i);const s=N();if(t!==ne&&at(s,r,t)){const a=o.data[Wt()];if(aw(a,i)&&!nw(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=Wf(l,t||"")),Ng(o,a,s,t,i)}else!function PL(e,n,t,i,o,r,s,a){o===ne&&(o=_e);let l=0,c=0,u=0<o.length?o[0]:null,d=0<r.length?r[0]:null;for(;null!==u||null!==d;){const f=l<o.length?o[l+1]:void 0,h=c<r.length?r[c+1]:void 0;let _,m=null;u===d?(l+=2,c+=2,f!==h&&(m=d,_=h)):null===d||null!==u&&u<d?(l+=2,m=u):(c+=2,m=d,_=h),null!==m&&rw(e,n,t,i,m,_,s,a),u=l<o.length?o[l]:null,d=c<r.length?r[c]:null}}(o,a,s,s[Z],s[r+1],s[r+1]=function AL(e,n,t){if(null==t||""===t)return _e;const i=[],o=Yi(t);if(Array.isArray(o))for(let r=0;r<o.length;r++)e(i,o[r],!0);else if("object"==typeof o)for(const r in o)o.hasOwnProperty(r)&&e(i,r,o[r]);else"string"==typeof o&&n(i,o);return i}(e,n,t),i,r)}}function nw(e,n){return n>=e.expandoStartIndex}function iw(e,n,t,i){const o=e.data;if(null===o[t+1]){const r=o[Wt()],s=nw(e,t);aw(r,i)&&null===n&&!s&&(n=!1),n=function IL(e,n,t,i){const o=function Ph(e){const n=J.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let r=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(t=Xa(t=Ig(null,e,n,t,i),n.attrs,i),r=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=Ig(o,e,n,t,i),null===r){let l=function ML(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==Vo(i))return e[Xi(i)]}(e,n,i);void 0!==l&&Array.isArray(l)&&(l=Ig(null,e,n,l[1],i),l=Xa(l,n.attrs,i),function SL(e,n,t,i){e[Xi(t?n.classBindings:n.styleBindings)]=i}(e,n,i,l))}else r=function OL(e,n,t){let i;const o=n.directiveEnd;for(let r=1+n.directiveStylingLast;r<o;r++)i=Xa(i,e[r].hostAttrs,t);return Xa(i,n.attrs,t)}(e,n,i)}return void 0!==r&&(i?n.residualClasses=r:n.residualStyles=r),t}(o,r,n,i),function _L(e,n,t,i,o,r){let s=r?n.classBindings:n.styleBindings,a=Xi(s),l=Vo(s);e[i]=t;let u,c=!1;if(Array.isArray(t)?(u=t[1],(null===u||Tr(t,u)>0)&&(c=!0)):u=t,o)if(0!==l){const f=Xi(e[a+1]);e[i+1]=Mu(f,a),0!==f&&(e[f+1]=Eg(e[f+1],i)),e[a+1]=function gL(e,n){return 131071&e|n<<17}(e[a+1],i)}else e[i+1]=Mu(a,0),0!==a&&(e[a+1]=Eg(e[a+1],i)),a=i;else e[i+1]=Mu(l,0),0===a?a=i:e[l+1]=Eg(e[l+1],i),l=i;c&&(e[i+1]=Cg(e[i+1])),K1(e,u,i,!0),K1(e,u,i,!1),function vL(e,n,t,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof n&&Tr(r,n)>=0&&(t[i+1]=Tg(t[i+1]))}(n,u,e,i,r),s=Mu(a,l),r?n.classBindings=s:n.styleBindings=s}(o,r,n,t,s,i)}}function Ig(e,n,t,i,o){let r=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(r=n[a],i=Xa(i,r.hostAttrs,o),r!==e);)a++;return null!==e&&(t.directiveStylingLast=a),i}function Xa(e,n,t){const i=t?1:2;let o=-1;if(null!==n)for(let r=0;r<n.length;r++){const s=n[r];"number"==typeof s?o=s:o===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),_n(e,s,!!t||n[++r]))}return void 0===e?null:e}function RL(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&_n(e,i,t)}function rw(e,n,t,i,o,r,s,a){if(!(3&n.type))return;const l=e.data,c=l[a+1],u=function mL(e){return!(1&~e)}(c)?sw(l,n,t,o,Vo(c),s):void 0;Su(u)||(Su(r)||function pL(e){return!(2&~e)}(c)&&(r=sw(l,null,t,o,a,s)),function qx(e,n,t,i,o){if(n)o?e.addClass(t,i):e.removeClass(t,i);else{let r=-1===i.indexOf("-")?void 0:Zi.DashCase;null==o?e.removeStyle(t,i,r):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),r|=Zi.Important),e.setStyle(t,i,o,r))}}(i,s,aa(Wt(),t),o,r))}function sw(e,n,t,i,o,r){const s=null===n;let a;for(;o>0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=t[o+1];f===ne&&(f=d?_e:void 0);let h=d?ah(f,i):u===i?f:void 0;if(c&&!Su(h)&&(h=ah(l,i)),Su(h)&&(a=h,s))return a;const m=e[o+1];o=s?Xi(m):Vo(m)}if(null!==n){let l=r?n.residualClasses:n.residualStyles;null!=l&&(a=ah(l,i))}return a}function Su(e){return void 0!==e}function aw(e,n){return!!(e.flags&(n?8:16))}function p(e,n,t,i){const o=N(),r=ae(),s=q+e,a=o[Z],l=r.firstCreatePass?function nB(e,n,t,i,o,r){const s=n.consts,l=Yr(n,e,2,i,Rn(s,o));return Ap(n,t,l,Rn(s,r)),null!==l.attrs&&_u(l,l.attrs,!1),null!==l.mergedAttrs&&_u(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,r,o,n,t,i):r.data[s],c=fw(r,o,l,a,n,e);o[s]=c;const u=Nc(l);return li(l,!0),P0(a,c,l),!function es(e){return!(32&~e.flags)}(l)&&da()&&ru(r,o,c,l),0===function TR(){return J.lFrame.elementDepthCount}()&&zt(c,o),function NR(){J.lFrame.elementDepthCount++}(),u&&(Mp(r,o,l),Ip(r,l,o)),null!==i&&Sp(o,l),p}function g(){let e=Me();Oh()?Ah():(e=e.parent,li(e,!1));const n=e;(function MR(e){return J.skipHydrationRootTNode===e})(n)&&function RR(){J.skipHydrationRootTNode=null}(),function IR(){J.lFrame.elementDepthCount--}();const t=ae();return t.firstCreatePass&&(Ac(t,e),Dh(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function qR(e){return!!(8&e.flags)}(n)&&Ng(t,n,N(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function YR(e){return!!(16&e.flags)}(n)&&Ng(t,n,N(),n.stylesWithoutHost,!1),g}function z(e,n,t,i){return p(e,n,t,i),g(),z}let fw=(e,n,t,i,o,r)=>(ci(!0),nu(i,o,function Zy(){return J.lFrame.currentNamespace}()));function mi(e,n,t){const i=N(),o=ae(),r=e+q,s=o.firstCreatePass?function rB(e,n,t,i,o){const r=n.consts,s=Rn(r,i),a=Yr(n,e,8,"ng-container",s);return null!==s&&_u(a,s,!0),Ap(n,t,a,Rn(r,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(r,o,i,n,t):o.data[r];li(s,!0);const a=pw(o,i,s,e);return i[r]=a,da()&&ru(o,i,a,s),zt(a,i),Nc(s)&&(Mp(o,i,s),Ip(o,s,i)),null!=t&&Sp(i,s),mi}function _i(){let e=Me();const n=ae();return Oh()?Ah():(e=e.parent,li(e,!1)),n.firstCreatePass&&(Ac(n,e),Dh(e)&&n.queries.elementEnd(e)),_i}let pw=(e,n,t,i)=>(ci(!0),yp(n[Z],""));function le(){return N()}function Qt(e,n,t){const i=N();return at(i,zn(),n)&&fn(ae(),Fe(),i,e,n,i[Z],t,!0),Qt}const Ho=void 0;var cB=["en",[["a","p"],["AM","PM"],Ho],[["AM","PM"],Ho,Ho],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ho,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ho,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ho,"{1} 'at' {0}",Ho],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function lB(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let vs={};function Xt(e){const n=function uB(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=_w(n);if(t)return t;const i=n.split("-")[0];if(t=_w(i),t)return t;if("en"===i)return cB;throw new S(701,!1)}function _w(e){return e in vs||(vs[e]=Ae.ng&&Ae.ng.common&&Ae.ng.common.locales&&Ae.ng.common.locales[e]),vs[e]}var Be=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Be||{});const dB=["zero","one","two","few","many"],ys="en-US",Au={marker:"element"},Ru={marker:"ICU"};var pn=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(pn||{});let vw=ys;let el=0,tl=0;let nl=(e,n,t,i)=>(ci(!0),function bw(e,n,t){const i=e[Z];switch(t){case Node.COMMENT_NODE:return yp(i,n);case Node.TEXT_NODE:return vp(i,n);case Node.ELEMENT_NODE:return nu(i,n,null)}}(e,t,i));function Dw(e,n,t,i){const o=t[Z];let s,r=null;for(let a=0;a<n.length;a++){const l=n[a];if("string"==typeof l){const c=n[++a];null===t[c]&&(t[c]=nl(t,c,l,Node.TEXT_NODE))}else if("number"==typeof l)switch(1&l){case 0:const c=lD(l);let u,d;if(null===r&&(r=c,s=ou(o,i)),c===r?(u=i,d=s):(u=null,d=De(t[c])),null!==d){const _=cD(l);Oo(o,d,t[_],u,!1);const E=ka(e,_);if(null!==E&&"object"==typeof E){const C=hu(E,t);null!==C&&Dw(e,E.create[C],t,t[E.anchorIdx])}}break;case 1:const h=n[++a],m=n[++a];Pp(o,aa(l>>>1,t),null,null,h,m,null)}else switch(l){case Ru:const c=n[++a],u=n[++a];null===t[u]&&zt(t[u]=nl(t,u,c,Node.COMMENT_NODE),t);break;case Au:const d=n[++a],f=n[++a];null===t[f]&&zt(t[f]=nl(t,f,d,Node.ELEMENT_NODE),t)}}}function ww(e,n,t,i,o){for(let r=0;r<t.length;r++){const s=t[r],a=t[++r];if(s&o){let l="";for(let c=r+1;c<=r+a;c++){const u=t[c];if("string"==typeof u)l+=u;else if("number"==typeof u)if(u<0)l+=ee(n[i-u]);else{const d=u>>>2;switch(3&u){case 1:const f=t[++c],h=t[++c],m=e.data[d];"string"==typeof m?Pp(n[Z],n[d],null,m,f,l,h):fn(e,m,n,f,l,n[Z],h,!1);break;case 0:const _=n[d];null!==_&&y0(n[Z],_,l);break;case 2:bB(e,ka(e,d),n,l);break;case 3:Cw(e,ka(e,d),i,n)}}}}else{const l=t[r+1];if(l>0&&!(3&~l)){const u=ka(e,l>>>2);n[u.currentCaseLViewIndex]<0&&Cw(e,u,i,n)}}r+=a}}function Cw(e,n,t,i){let o=i[n.currentCaseLViewIndex];if(null!==o){let r=el;o<0&&(o=i[n.currentCaseLViewIndex]=~o,r=-1),ww(e,i,n.update[o],t,r)}}function bB(e,n,t,i){const o=function DB(e,n){let t=e.cases.indexOf(n);if(-1===t)switch(e.type){case 1:{const i=function fB(e,n){const t=function mw(e){return Xt(e)[Be.PluralCase]}(n)(parseInt(e,10)),i=dB[t];return void 0!==i?i:"other"}(n,function pB(){return vw}());t=e.cases.indexOf(i),-1===t&&"other"!==i&&(t=e.cases.indexOf("other"));break}case 0:t=e.cases.indexOf("other")}return-1===t?null:t}(n,i);if(hu(n,t)!==o&&(Ew(e,n,t),t[n.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const s=t[n.anchorIdx];s&&Dw(e,n.create[o],t,s),function hF(e,n,t){vD(e,n,t)}(t,n.anchorIdx,o)}}function Ew(e,n,t){let i=hu(n,t);if(null!==i){const o=n.remove[i];for(let r=0;r<o.length;r++){const s=o[r];if(s>0){const a=aa(s,t);null!==a&&Ia(t[Z],a)}else Ew(e,ka(e,~s),t)}}}function wB(){const e=[];let t,i,n=-1;function r(a,l){n=0;const c=hu(a,l);i=null!==c?a.remove[c]:_e}function s(){if(n<i.length){const a=i[n++];return a>0?t[a]:(e.push(n,i),r(t[O].data[~a],t),s())}return 0===e.length?null:(i=e.pop(),n=e.pop(),s())}return function o(a,l){for(t=l;e.length;)e.pop();return r(a.value,l),s}}const Pu=/\ufffd(\d+):?\d*\ufffd/gi,EB=/\ufffd(\d+)\ufffd/,Nw=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,il="\ufffd",TB=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,NB=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,IB=/\uE500/g;function Iw(e,n,t,i,o,r,s){const a=Ma(e,i,1,null);let l=a<<pn.SHIFT,c=ua();n===c&&(c=null),null===c&&(l|=pn.APPEND_EAGERLY),s&&(l|=pn.COMMENT,function Fx(e){void 0===mp&&(mp=e())}(wB)),o.push(l,null===r?"":r);const u=Np(e,a,s?32:1,null===r?"":r,null);sD(t,u);const d=u.index;return li(u,!1),null!==c&&n!==c&&function Kk(e,n){let t=e.insertBeforeIndex;null===t?(M0(oD,rD),t=e.insertBeforeIndex=[null,n]):(Ui(Array.isArray(t),!0,"Expecting array here"),t.push(n))}(c,d),u}function OB(e,n,t,i,o,r,s,a){const l=a.match(Pu),u=Iw(n,t,i,s,o,l?null:a,!1).index;l&&ol(r,a,u,null,0,null),e.push({kind:0,index:u})}function ol(e,n,t,i,o,r){const s=e.length,a=s+1;e.push(null,null);const l=s+2,c=n.split(Pu);let u=0;for(let d=0;d<c.length;d++){const f=c[d];if(1&d){const h=o+parseInt(f,10);e.push(-1-h),u|=Mw(h)}else""!==f&&e.push(f)}return e.push(t<<2|(i?1:0)),i&&e.push(i,r),e[s]=u,e[a]=e.length-l,u}function Mw(e){return 1<<Math.min(e,31)}function Sw(e){let n,r,t="",i=0,o=!1;for(;null!==(n=TB.exec(e));)o?n[0]===`${il}/*${r}${il}`&&(i=n.index,o=!1):(t+=e.substring(i,n.index+n[0].length),r=n[1],o=!0);return t+=e.slice(i),t}function Ow(e,n,t,i,o,r,s){let a=0;const l={type:r.type,currentCaseLViewIndex:Ma(n,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function LB(e,n,t){e.push(Mw(n.mainBinding),2,-1-n.mainBinding,t<<2|2)})(i,r,s),function Yk(e,n,t){const i=e.data[n];null===i?e.data[n]=t:i.value=t}(n,s,l);const c=r.values,u=[];for(let d=0;d<c.length;d++){const f=c[d],h=[];for(let _=0;_<f.length;_++){const D=f[_];if("string"!=typeof D){const E=h.push(D)-1;f[_]=`\x3c!--\ufffd${E}\ufffd--\x3e`}}const m=[];u.push(m),a=kB(m,n,l,t,i,o,r.cases[d],f.join(""),h)|a}a&&function BB(e,n,t){e.push(n,1,t<<2|3)}(i,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:l.currentCaseLViewIndex})}function xB(e){const n=[],t=[];let i=1,o=0;const r=Ag(e=e.replace(Nw,function(s,a,l){return i="select"===l?0:1,o=parseInt(a.slice(1),10),""}));for(let s=0;s<r.length;){let a=r[s++].trim();1===i&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&n.push(a);const l=Ag(r[s++]);n.length>t.length&&t.push(l)}return{type:i,mainBinding:o,cases:n,values:t}}function Ag(e){if(!e)return[];let n=0;const t=[],i=[],o=/[{}]/g;let r;for(o.lastIndex=0;r=o.exec(e);){const a=r.index;if("}"==r[0]){if(t.pop(),0==t.length){const l=e.substring(n,a);Nw.test(l)?i.push(xB(l)):i.push(l),n=a+1}}else{if(0==t.length){const l=e.substring(n,a);i.push(l),n=a+1}t.push("{")}}const s=e.substring(n);return i.push(s),i}function kB(e,n,t,i,o,r,s,a,l){const c=[],u=[],d=[];t.cases.push(s),t.create.push(c),t.remove.push(u),t.update.push(d);const h=n0(qi()).getInertBodyElement(a),m=fp(h)||h;return m?Aw(e,n,t,i,o,c,u,d,m,r,l,0):0}function Aw(e,n,t,i,o,r,s,a,l,c,u,d){let f=0,h=l.firstChild;for(;h;){const m=Ma(n,i,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const _=h,D=_.tagName.toLowerCase();if(up.hasOwnProperty(D)){Rg(r,Au,D,c,m),n.data[m]=D;const P=_.attributes;for(let U=0;U<P.length;U++){const ie=P.item(U),ce=ie.name.toLowerCase();ie.value.match(Pu)?a0.hasOwnProperty(ce)&&ol(a,ie.value,m,ie.name,0,dp[ce]?cp:null):VB(r,m,ie)}const B={kind:1,index:m,children:[]};e.push(B),f=Aw(B.children,n,t,i,o,r,s,a,h,m,u,d+1)|f,Rw(s,m,d)}break;case Node.TEXT_NODE:const E=h.textContent||"",C=E.match(Pu);Rg(r,null,C?"":E,c,m),Rw(s,m,d),C&&(f=ol(a,E,m,null,0,null)|f),e.push({kind:0,index:m});break;case Node.COMMENT_NODE:const I=EB.exec(h.textContent||"");if(I){const B=u[parseInt(I[1],10)];Rg(r,Ru,"",c,m),Ow(e,n,i,o,c,B,m),FB(s,m,d)}}h=h.nextSibling}return f}function Rw(e,n,t){0===t&&e.push(n)}function FB(e,n,t){0===t&&(e.push(~n),e.push(n))}function Rg(e,n,t,i,o){null!==n&&e.push(n),e.push(t,o,function Jk(e,n,t){return e|n<<17|t<<1}(0,i,o))}function VB(e,n,t){e.push(n<<1|1,t.name,t.value)}function xw(e,n,t=-1){const i=ae(),o=N(),r=q+e,s=Rn(i.consts,n),a=ua();i.firstCreatePass&&function SB(e,n,t,i,o,r){const s=ua(),a=[],l=[],c=[[]],u=[[]];o=function PB(e,n){if(function dD(e){return-1===e}(n))return Sw(e);{const t=e.indexOf(`:${n}${il}`)+2+n.toString().length,i=e.search(new RegExp(`${il}\\/\\*\\d+:${n}${il}`));return Sw(e.substring(t,i))}}(o,r);const d=function MB(e){return e.replace(IB," ")}(o).split(NB);for(let f=0;f<d.length;f++){let h=d[f];if(1&f){const m=47===h.charCodeAt(0),_=h.charCodeAt(m?1:0),D=q+Number.parseInt(h.substring(m?2:1));if(m)c.shift(),u.shift(),li(ua(),!1);else{const E=Zk(e,c[0],D);c.unshift([]),li(E,!0);const C={kind:2,index:D,children:[],type:35===_?0:1};u[0].push(C),u.unshift(C.children)}}else{const m=Ag(h);for(let _=0;_<m.length;_++){let D=m[_];if(1&_){const E=D;if("object"!=typeof E)throw new Error(`Unable to parse ICU expression in "${o}" message.`);const I=Iw(e,s,c[0],t,a,"",!0).index;Ow(u[0],e,t,l,n,E,I)}else""!==D&&OB(u[0],e,s,c[0],a,l,t,D)}}}e.data[i]={create:a,update:l,ast:u[0]}}(i,null===a?0:a.index,o,r,s,t),2===i.type?o[Ze][G]|=32:o[G]|=32;const l=i.data[r],u=w0(i,a===o[Lt]?null:a,o),d=a&&8&a.type?o[a.index]:null;(function sF(e,n,t,i){mD(e,n,t,i)})(o,r,a,t),function yB(e,n,t,i){const o=e[Z];for(let r=0;r<n.length;r++){const s=n[r++],c=(s&pn.APPEND_EAGERLY)===pn.APPEND_EAGERLY,u=s>>>pn.SHIFT;let d=e[u],f=!1;null===d&&(d=e[u]=nl(e,u,n[r],(s&pn.COMMENT)===pn.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),f=da()),c&&null!==t&&f&&Oo(o,t,d,i,!1)}}(o,l.create,u,d),Gy(!0)}function Bt(e,n,t){xw(e,n,t),function kw(){Gy(!1)}()}function bs(e){return function gB(e){e&&(el|=1<<Math.min(tl,31)),tl++}(at(N(),zn(),e)),bs}function rl(e){!function mB(e,n,t){if(tl>0){const i=e.data[t];ww(e,n,Array.isArray(i)?i:i.update,Oi()-tl-1,el)}el=0,tl=0}(ae(),N(),e+q)}let Fw=(e,n,t)=>{};function R(e,n,t,i){const o=N(),r=ae(),s=Me();return Pg(r,o,o[Z],s,e,n,i),R}function Pg(e,n,t,i,o,r,s){const a=Nc(i),c=e.firstCreatePass&&z0(e),u=n[xe],d=W0(n);let f=!0;if(3&i.type||s){const _=Zt(i,n),D=s?s(_):_,E=d.length,C=s?P=>s(De(P[i.index])):i.index;let I=null;if(!s&&a&&(I=function ZB(e,n,t,i){const o=e.cleanup;if(null!=o)for(let r=0;r<o.length-1;r+=2){const s=o[r];if(s===t&&o[r+1]===i){const a=n[Or],l=o[r+2];return a.length>l?a[l]:null}"string"==typeof s&&(r+=2)}return null}(e,n,o,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=r,I.__ngLastListenerFn__=r,f=!1;else{r=Hw(i,n,u,r),Fw(_,o,r);const P=t.listen(D,o,r);d.push(r,P),c&&c.push(o,C,E,E+1)}}else r=Hw(i,n,u,r);const h=i.outputs;let m;if(f&&null!==h&&(m=h[o])){const _=m.length;if(_)for(let D=0;D<_;D+=2){const B=n[m[D]][m[D+1]].subscribe(r),U=d.length;d.push(r,B),c&&c.push(o,i.index,U,-(U+1))}}}function Vw(e,n,t,i){const o=re(null);try{return ai(6,n,t),!1!==t(i)}catch(r){return cu(e,r),!1}finally{ai(7,n,t),re(o)}}function Hw(e,n,t,i){return function o(r){if(r===Function)return i;Oa(e.componentOffset>-1?vn(e.index,n):n,5);let a=Vw(n,t,i,r),l=o.__ngNextListenerFn__;for(;l;)a=Vw(n,t,l,r)&&a,l=l.__ngNextListenerFn__;return a}}function T(e=1){return function BR(e){return(J.lFrame.contextLView=function Fy(e,n){for(;e>0;)n=n[Ar],e--;return n}(e,J.lFrame.contextLView))[xe]}(e)}function JB(e,n){let t=null;const i=function VA(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 o=0;o<n.length;o++){const r=n[o];if("*"!==r){if(null===i?fy(e,r,!0):UA(i,r))return o}else t=o}return t}function Ds(e){const n=N()[Ze][Lt];if(!n.projection){const i=n.projection=function pc(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),o=i.slice();let r=n.child;for(;null!==r;){const s=e?JB(r,e):0;null!==s&&(o[s]?o[s].projectionNext=r:i[s]=r,o[s]=r),r=r.next}}}function ws(e,n=0,t,i,o,r){const s=N(),a=ae(),l=i?e+1:null;null!==l&&Ka(s,a,l,i,o,r,null,t);const c=Yr(a,q+e,16,null,t||null);null===c.projection&&(c.projection=n),Ah();const d=!s[Kt]||Io();null===s[Ze][Lt].projection[c.projection]&&null!==l?function QB(e,n,t){const i=q+t,o=n.data[i],r=e[i],s=Po(r,o.tView.ssrId);Zr(r,Kr(e,o,void 0,{dehydratedView:s}),0,Ao(o,s))}(s,a,l):d&&32&~c.flags&&function Wx(e,n,t){A0(n[Z],0,n,t,wp(e,t,n),T0(t.parent||n[Lt],t,n))}(a,s,c)}function jo(e,n,t){return Uo(e,"",n,"",t),jo}function Uo(e,n,t,i,o){const r=N(),s=ls(r,n,t,i);return s!==ne&&fn(ae(),Fe(),r,e,s,r[Z],o,!1),Uo}function xu(e,n,t,i,o,r,s){const a=N(),l=cs(a,n,t,i,o,r);return l!==ne&&fn(ae(),Fe(),a,e,l,a[Z],s,!1),xu}function xg(e,n,t,i,o,r,s,a,l){const c=N(),u=function us(e,n,t,i,o,r,s,a){const c=wu(e,Oi(),t,o,s);return Ai(3),c?n+ee(t)+i+ee(o)+r+ee(s)+a:ne}(c,n,t,i,o,r,s,a);return u!==ne&&fn(ae(),Fe(),c,e,u,c[Z],l,!1),xg}function We(e,n,t,i){!function KD(e,n,t,i){const o=ae();if(o.firstCreatePass){const r=Me();ZD(o,new WD(n,t,i),r.index),function r2(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(o,e),!(2&~t)&&(o.staticContentQueries=!0)}return qD(o,N(),t)}(e,n,t,i)}function Fn(e,n,t){!function YD(e,n,t){const i=ae();return i.firstCreatePass&&(ZD(i,new WD(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),qD(i,N(),n)}(e,n,t)}function fe(e){const n=N(),t=ae(),i=xh();Oc(i+1);const o=cg(t,i);if(e.dirty&&function CR(e){return!(4&~e[G])}(n)===!(2&~o.metadata.flags)){if(null===o.matches)e.reset([]);else{const r=JD(n,i);e.reset(r,yb),e.notifyOnChanges()}return!0}return!1}function he(){return function lg(e,n){return e[Mi].queries[n].queryList}(N(),xh())}function ze(e){return kr(function PR(){return J.lFrame.contextLView}(),q+e)}function w(e,n=""){const t=N(),i=ae(),o=e+q,r=i.firstCreatePass?Yr(i,o,1,n,null):i.data[o],s=nC(i,t,r,n,e);t[o]=s,da()&&ru(i,t,s,r),li(r,!1)}let nC=(e,n,t,i,o)=>(ci(!0),vp(n[Z],i));function Re(e){return Pe("",e,""),Re}function Pe(e,n,t){const i=N(),o=ls(i,e,n,t);return o!==ne&&function xi(e,n,t){const i=aa(n,e);y0(e[Z],i,t)}(i,Wt(),o),Pe}function Ve(e,n,t){e1(n)&&(n=n());const i=N();return at(i,zn(),n)&&fn(ae(),Fe(),i,e,n,i[Z],t,!1),Ve}function qe(e,n){const t=e1(e);return t&&e.set(n),t}function He(e,n){const t=N(),i=ae(),o=Me();return Pg(i,t,t[Z],o,e,n),He}function kg(e,n,t,i,o){if(e=K(e),Array.isArray(e))for(let r=0;r<e.length;r++)kg(e[r],n,t,i,o);else{const r=ae(),s=N(),a=Me();let l=Eo(e)?e:K(e.provide);const c=by(e),u=1048575&a.providerIndexes,d=a.directiveStart,f=a.providerIndexes>>20;if(Eo(e)||!e.multi){const h=new fa(c,o,v),m=Lg(l,n,o?u:u+f,d);-1===m?(Uh(kc(a,s),r,l),Fg(r,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{const h=Lg(l,n,u+f,d),m=Lg(l,n,u,u+f),D=m>=0&&t[m];if(o&&!D||!o&&!(h>=0&&t[h])){Uh(kc(a,s),r,l);const E=function _V(e,n,t,i,o){const r=new fa(e,t,v);return r.multi=[],r.index=n,r.componentProviders=0,dC(r,o,i&&!t),r}(o?mV:gV,t.length,o,i,c);!o&&D&&(t[m].providerFactory=E),Fg(r,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(E),s.push(E)}else Fg(r,e,h>-1?h:m,dC(t[o?m:h],c,!o&&i));!o&&i&&D&&t[m].componentProviders++}}}function Fg(e,n,t,i){const o=Eo(n),r=function QA(e){return!!e.useClass}(n);if(o||r){const l=(r?K(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[i,l]):c[u+1].push(i,l)}else c.push(t,l)}}}function dC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Lg(e,n,t,i){for(let o=t;o<i;o++)if(n[o]===e)return o;return-1}function gV(e,n,t,i){return Bg(this.multi,[])}function mV(e,n,t,i){const o=this.multi;let r;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=So(t,t[O],this.providerFactory.index,i);r=a.slice(0,s),Bg(o,r);for(let l=s;l<a.length;l++)r.push(a[l])}else r=[],Bg(o,r);return r}function Bg(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function Ne(e,n=[]){return t=>{t.providersResolver=(i,o)=>function pV(e,n,t){const i=ae();if(i.firstCreatePass){const o=Wn(e);kg(t,i.data,i.blueprint,o,!0),kg(n,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,n)}}let vV=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=dh(0,t.type),o=i.length>0?function m1(e,n,t=null){return new g1({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=A({token:e,providedIn:"environment",factory:()=>new e(k(un))})}return e})();function Ye(e){(function bn(e){TD.has(e)||(TD.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))})("NgStandalone"),e.getStandaloneInjector=n=>n.get(vV).getOrCreateStandaloneInjector(e)}function Lu(e,n,t,i){return gC(N(),Jt(),e,n,t,i)}function sl(e,n,t,i,o){return mC(N(),Jt(),e,n,t,i,o)}function Bu(e,n,t,i,o,r){return function _C(e,n,t,i,o,r,s,a){const l=n+t;return wu(e,l,o,r,s)?fi(e,l+3,a?i.call(a,o,r,s):i(o,r,s)):al(e,l+3)}(N(),Jt(),e,n,t,i,o,r)}function al(e,n){const t=e[n];return t===ne?void 0:t}function gC(e,n,t,i,o,r){const s=n+t;return at(e,s,o)?fi(e,s+1,r?i.call(r,o):i(o)):al(e,s+1)}function mC(e,n,t,i,o,r,s){const a=n+t;return Lo(e,a,o,r)?fi(e,a+2,s?i.call(s,o,r):i(o,r)):al(e,a+2)}function vi(e,n){const t=ae();let i;const o=e+q;t.firstCreatePass?(i=function MV(e,n){if(n)for(let t=n.length-1;t>=0;t--){const i=n[t];if(e===i.name)return i}}(n,t.pipeRegistry),t.data[o]=i,i.onDestroy&&(t.destroyHooks??=[]).push(o,i.onDestroy)):i=t.data[o];const r=i.factory||(i.factory=wo(i.type)),a=ln(v);try{const l=xc(!1),c=r();return xc(l),function nV(e,n,t,i){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=i}(t,N(),o,c),c}finally{ln(a)}}function ki(e,n,t,i){const o=e+q,r=N(),s=kr(r,o);return ll(r,o)?mC(r,Jt(),n,s.transform,t,i,s):s.transform(t,i)}function ll(e,n){return e[O].data[n].pure}function Vt(e,n){return du(e,n)}const HC=new V("");function $u(e){return!!e&&"function"==typeof e.then}function jC(e){return!!e&&"function"==typeof e.subscribe}const N3=new V("");let qg=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=H(N3,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const r=o();if($u(r))t.push(r);else if(jC(r)){const s=new Promise((a,l)=>{r.subscribe({complete:a,error:l})});t.push(s)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(o=>{this.reject(o)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Yg=new V("");let Cn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=H(_b),this.afterRenderEffectManager=H(Ua),this.zonelessEnabled=H(Va),this.externalTestViews=new Set,this.beforeRender=new $e,this.afterTick=new $e,this.componentTypes=[],this.components=[],this.isStable=H(zi).hasPendingTasks.pipe(Se(t=>!t)),this._injector=H(un)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const o=t instanceof CD;if(!this._injector.get(qg).done)throw!o&&function Co(e){const n=se(e)||wt(e)||Ft(e);return null!==n&&n.standalone}(t),new S(405,!1);let s;s=o?t:this._injector.get(Ha).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function I3(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Fo),c=s.create(Ge.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(HC,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Gu(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new S(101,!1);const i=re(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,re(i),this.afterTick.next()}}detectChangesInAttachedViews(t){let i=null;this._injector.destroyed||(i=this._injector.get(ja,null,{optional:!0}));let o=0;const r=this.afterRenderEffectManager;for(;o<10;){const s=0===o;if(t||!s){this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:l}of this._views)S3(a,l,s,this.zonelessEnabled)}else i?.begin?.(),i?.end?.();if(o++,r.executeInternalCallbacks(),!this.allViews.some(({_lView:a})=>ca(a))&&(r.execute(),!this.allViews.some(({_lView:a})=>ca(a))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Gu(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Yg,[]);[...this._bootstrapListeners,...i].forEach(o=>o(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Gu(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Gu(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function S3(e,n,t,i){(t||ca(e))&&uu(e,n,t&&!i?0:1)}let P3=(()=>{class e{constructor(){this.zone=H(X),this.changeDetectionScheduler=H(Qr),this.applicationRef=H(Cn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Kg({ngZoneFactory:e,ignoreChangesOutsideZone:n}){return e??=()=>new X(function Zg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}()),[{provide:X,useFactory:e},{provide:Ii,multi:!0,useFactory:()=>{const t=H(P3,{optional:!0});return()=>t.initialize()}},{provide:Ii,multi:!0,useFactory:()=>{const t=H(F3);return()=>{t.initialize()}}},{provide:_b,useFactory:k3},!0===n?{provide:wD,useValue:!0}:[]]}function k3(){const e=H(X),n=H(Pn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let F3=(()=>{class e{constructor(){this.subscription=new an,this.initialized=!1,this.zone=H(X),this.pendingTasks=H(zi)}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(()=>{X.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{X.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dl=(()=>{class e{constructor(){this.appRef=H(Cn),this.taskService=H(zi),this.ngZone=H(X),this.zonelessEnabled=H(Va),this.disableScheduling=H(wD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new an,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 Jp||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&5===t)return;switch(t){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const i=this.useMicrotaskScheduler?ID:ND;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&X.isInAngularZone())}tick(t){if(this.runningTick||this.appRef.destroyed)return;const i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(t)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,ID(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const En=new V("",{providedIn:"root",factory:()=>H(En,de.Optional|de.SkipSelf)||function L3(){return typeof $localize<"u"&&$localize.locale||ys}()}),Qg=new V("");let eo=null;let tn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$3}return e})();function $3(e){return function G3(e,n,t){if(No(e)&&!t){const i=vn(e.index,n);return new Aa(i,i)}return 47&e.type?new Aa(n[Ze],n):null}(Me(),N(),!(16&~e))}class iE{constructor(){}supports(n){return Du(n)}create(n){return new K3(n)}}const Y3=(e,n)=>n;class K3{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||Y3}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,o=0,r=null;for(;t||i;){const s=!i||t&&t.currentIndex<rE(i,o,r)?t:i,a=rE(s,o,r),l=s.currentIndex;if(s===i)o--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)o++;else{r||(r=[]);const c=a-o,u=l-o;if(c!=u){for(let f=0;f<c;f++){const h=f<r.length?r[f]:r[f]=0,m=h+f;u<=m&&m<c&&(r[f]=h+1)}r[s.previousIndex]=u-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=[]),!Du(n))throw new S(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let o,r,s,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)r=n[a],s=this._trackByFn(a,r),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,r,s,a)),Object.is(t.item,r)||this._addIdentityChange(t,r)):(t=this._mismatch(t,r,s,a),i=!0),t=t._next}else o=0,function A2(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(o,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),i=!0),t=t._next,o++}),this.length=o;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,o){let r;return null===n?r=this._itTail:(r=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,r,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,r,o)):n=this._addAfter(new Z3(t,i),r,o),n}_verifyReinsertion(n,t,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?n=this._reinsertAfter(r,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),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 o=n._prevRemoved,r=n._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,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 o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new oE),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 oE),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 Z3{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class J3{constructor(){this._head=null,this._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 oE{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new J3,this.map.set(t,i)),i.add(n)}get(n,t){const o=this.map.get(n);return o?o.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 rE(e,n,t){const i=e.previousIndex;if(null===i)return i;let o=0;return t&&i<t.length&&(o=t[i]),i+n+o}function aE(){return new om([new iE])}let om=(()=>{class e{static#e=this.\u0275prov=A({token:e,providedIn:"root",factory:aE});constructor(t){this.factories=t}static create(t,i){if(null!=i){const o=i.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||aE()),deps:[[e,new rh,new oh]]}}find(t){const i=this.factories.find(o=>o.supports(t));if(null!=i)return i;throw new S(901,!1)}}return e})();function mH(e){try{const{rootComponent:n,appProviders:t,platformProviders:i}=e,o=function U3(e=[]){if(eo)return eo;const n=function JC(e=[],n){return Ge.create({name:n,providers:[{provide:ph,useValue:"platform"},{provide:Qg,useValue:new Set([()=>eo=null])},...e]})}(e);return eo=n,function UC(){!function US(e){vv=e}(()=>{throw new S(600,!1)})}(),function QC(e){e.get(Vb,null)?.forEach(t=>t())}(n),n}(i),r=[Kg({}),{provide:Qr,useExisting:dl},...t||[]],a=new g1({providers:r,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(X);return l.run(()=>{a.resolveInjectorInitializers();const c=a.get(Pn,null);let u;l.runOutsideAngular(()=>{u=l.onError.subscribe({next:h=>{c.handleError(h)}})});const d=()=>a.destroy(),f=o.get(Qg);return f.add(d),a.onDestroy(()=>{u.unsubscribe(),f.delete(d)}),function $C(e,n,t){try{const i=t();return $u(i)?i.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(c,l,()=>{const h=a.get(qg);return h.runInitializers(),h.donePromise.then(()=>{!function yw(e){"string"==typeof e&&(vw=e.toLowerCase().replace(/_/g,"-"))}(a.get(En,ys)||ys);const _=a.get(Cn);return void 0!==n&&_.bootstrap(n),_})})})}catch(n){return Promise.reject(n)}}function am(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function lm(e,n){const t=se(e),i=n.elementInjector||bc();return new Wa(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let FE=null;function pl(){return FE}class GH{}const xt=new V("");var td=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(td||{}),It=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(It||{}),me=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(me||{}),Tn=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Tn||{});const vt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function BE(e,n,t){const i=Xt(e),r=Bn([i[Be.DayPeriodsFormat],i[Be.DayPeriodsStandalone]],n);return Bn(r,t)}function VE(e,n,t){const i=Xt(e),r=Bn([i[Be.DaysFormat],i[Be.DaysStandalone]],n);return Bn(r,t)}function cm(e,n,t){const i=Xt(e),r=Bn([i[Be.MonthsFormat],i[Be.MonthsStandalone]],n);return Bn(r,t)}function nd(e,n){return Bn(Xt(e)[Be.DateFormat],n)}function id(e,n){return Bn(Xt(e)[Be.TimeFormat],n)}function od(e,n){return Bn(Xt(e)[Be.DateTimeFormat],n)}function Ln(e,n){const t=Xt(e),i=t[Be.NumberSymbols][n];if(typeof i>"u"){if(n===vt.CurrencyDecimal)return t[Be.NumberSymbols][vt.Decimal];if(n===vt.CurrencyGroup)return t[Be.NumberSymbols][vt.Group]}return i}function HE(e){if(!e[Be.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[Be.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bn(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function dm(e){const[n,t]=e.split(":");return{hours:+n,minutes:+t}}const ij=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rd={},oj=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Fi=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Fi||{}),we=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(we||{}),Ce=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(Ce||{});function jE(e,n,t,i){let o=function hj(e){if(GE(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[o,r=1,s=1]=e.split("-").map(a=>+a);return sd(o,r-1,s)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let i;if(i=e.match(ij))return function pj(e){const n=new Date(0);let t=0,i=0;const o=e[8]?n.setUTCFullYear:n.setFullYear,r=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),i=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-t,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return r.call(n,s,a,l,c),n}(i)}const n=new Date(e);if(!GE(n))throw new Error(`Unable to convert "${e}" into a date`);return n}(e);n=Li(t,n)||n;let a,s=[];for(;n;){if(a=oj.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;n=u}}let l=o.getTimezoneOffset();i&&(l=$E(i,l),o=function fj(e,n,t){const i=t?-1:1,o=e.getTimezoneOffset();return function dj(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,i*($E(n,o)-o))}(o,i,!0));let c="";return s.forEach(u=>{const d=function uj(e){if(hm[e])return hm[e];let n;switch(e){case"G":case"GG":case"GGG":n=je(Ce.Eras,me.Abbreviated);break;case"GGGG":n=je(Ce.Eras,me.Wide);break;case"GGGGG":n=je(Ce.Eras,me.Narrow);break;case"y":n=yt(we.FullYear,1,0,!1,!0);break;case"yy":n=yt(we.FullYear,2,0,!0,!0);break;case"yyy":n=yt(we.FullYear,3,0,!1,!0);break;case"yyyy":n=yt(we.FullYear,4,0,!1,!0);break;case"Y":n=ud(1);break;case"YY":n=ud(2,!0);break;case"YYY":n=ud(3);break;case"YYYY":n=ud(4);break;case"M":case"L":n=yt(we.Month,1,1);break;case"MM":case"LL":n=yt(we.Month,2,1);break;case"MMM":n=je(Ce.Months,me.Abbreviated);break;case"MMMM":n=je(Ce.Months,me.Wide);break;case"MMMMM":n=je(Ce.Months,me.Narrow);break;case"LLL":n=je(Ce.Months,me.Abbreviated,It.Standalone);break;case"LLLL":n=je(Ce.Months,me.Wide,It.Standalone);break;case"LLLLL":n=je(Ce.Months,me.Narrow,It.Standalone);break;case"w":n=fm(1);break;case"ww":n=fm(2);break;case"W":n=fm(1,!0);break;case"d":n=yt(we.Date,1);break;case"dd":n=yt(we.Date,2);break;case"c":case"cc":n=yt(we.Day,1);break;case"ccc":n=je(Ce.Days,me.Abbreviated,It.Standalone);break;case"cccc":n=je(Ce.Days,me.Wide,It.Standalone);break;case"ccccc":n=je(Ce.Days,me.Narrow,It.Standalone);break;case"cccccc":n=je(Ce.Days,me.Short,It.Standalone);break;case"E":case"EE":case"EEE":n=je(Ce.Days,me.Abbreviated);break;case"EEEE":n=je(Ce.Days,me.Wide);break;case"EEEEE":n=je(Ce.Days,me.Narrow);break;case"EEEEEE":n=je(Ce.Days,me.Short);break;case"a":case"aa":case"aaa":n=je(Ce.DayPeriods,me.Abbreviated);break;case"aaaa":n=je(Ce.DayPeriods,me.Wide);break;case"aaaaa":n=je(Ce.DayPeriods,me.Narrow);break;case"b":case"bb":case"bbb":n=je(Ce.DayPeriods,me.Abbreviated,It.Standalone,!0);break;case"bbbb":n=je(Ce.DayPeriods,me.Wide,It.Standalone,!0);break;case"bbbbb":n=je(Ce.DayPeriods,me.Narrow,It.Standalone,!0);break;case"B":case"BB":case"BBB":n=je(Ce.DayPeriods,me.Abbreviated,It.Format,!0);break;case"BBBB":n=je(Ce.DayPeriods,me.Wide,It.Format,!0);break;case"BBBBB":n=je(Ce.DayPeriods,me.Narrow,It.Format,!0);break;case"h":n=yt(we.Hours,1,-12);break;case"hh":n=yt(we.Hours,2,-12);break;case"H":n=yt(we.Hours,1);break;case"HH":n=yt(we.Hours,2);break;case"m":n=yt(we.Minutes,1);break;case"mm":n=yt(we.Minutes,2);break;case"s":n=yt(we.Seconds,1);break;case"ss":n=yt(we.Seconds,2);break;case"S":n=yt(we.FractionalSeconds,1);break;case"SS":n=yt(we.FractionalSeconds,2);break;case"SSS":n=yt(we.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=ld(Fi.Short);break;case"ZZZZZ":n=ld(Fi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=ld(Fi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=ld(Fi.Long);break;default:return null}return hm[e]=n,n}(u);c+=d?d(o,t,l):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function sd(e,n,t){const i=new Date(0);return i.setFullYear(e,n,t),i.setHours(0,0,0),i}function Li(e,n){const t=function YH(e){return Xt(e)[Be.LocaleId]}(e);if(rd[t]??={},rd[t][n])return rd[t][n];let i="";switch(n){case"shortDate":i=nd(e,Tn.Short);break;case"mediumDate":i=nd(e,Tn.Medium);break;case"longDate":i=nd(e,Tn.Long);break;case"fullDate":i=nd(e,Tn.Full);break;case"shortTime":i=id(e,Tn.Short);break;case"mediumTime":i=id(e,Tn.Medium);break;case"longTime":i=id(e,Tn.Long);break;case"fullTime":i=id(e,Tn.Full);break;case"short":const o=Li(e,"shortTime"),r=Li(e,"shortDate");i=ad(od(e,Tn.Short),[o,r]);break;case"medium":const s=Li(e,"mediumTime"),a=Li(e,"mediumDate");i=ad(od(e,Tn.Medium),[s,a]);break;case"long":const l=Li(e,"longTime"),c=Li(e,"longDate");i=ad(od(e,Tn.Long),[l,c]);break;case"full":const u=Li(e,"fullTime"),d=Li(e,"fullDate");i=ad(od(e,Tn.Full),[u,d])}return i&&(rd[t][n]=i),i}function ad(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,i){return null!=n&&i in n?n[i]:t})),e}function Kn(e,n,t="-",i,o){let r="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,r=t));let s=String(e);for(;s.length<n;)s="0"+s;return i&&(s=s.slice(s.length-n)),r+s}function yt(e,n,t=0,i=!1,o=!1){return function(r,s){let a=function sj(e,n){switch(e){case we.FullYear:return n.getFullYear();case we.Month:return n.getMonth();case we.Date:return n.getDate();case we.Hours:return n.getHours();case we.Minutes:return n.getMinutes();case we.Seconds:return n.getSeconds();case we.FractionalSeconds:return n.getMilliseconds();case we.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,r);if((t>0||a>-t)&&(a+=t),e===we.Hours)0===a&&-12===t&&(a=12);else if(e===we.FractionalSeconds)return function rj(e,n){return Kn(e,3).substring(0,n)}(a,n);const l=Ln(s,vt.MinusSign);return Kn(a,n,l,i,o)}}function je(e,n,t=It.Format,i=!1){return function(o,r){return function aj(e,n,t,i,o,r){switch(t){case Ce.Months:return cm(n,o,i)[e.getMonth()];case Ce.Days:return VE(n,o,i)[e.getDay()];case Ce.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(r){const c=function QH(e){const n=Xt(e);return HE(n),(n[Be.ExtraData][2]||[]).map(i=>"string"==typeof i?dm(i):[dm(i[0]),dm(i[1])])}(n),u=function XH(e,n,t){const i=Xt(e);HE(i);const r=Bn([i[Be.ExtraData][0],i[Be.ExtraData][1]],n)||[];return Bn(r,t)||[]}(n,o,i),d=c.findIndex(f=>{if(Array.isArray(f)){const[h,m]=f,_=s>=h.hours&&a>=h.minutes,D=s<m.hours||s===m.hours&&a<m.minutes;if(h.hours<m.hours){if(_&&D)return!0}else if(_||D)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(-1!==d)return u[d]}return BE(n,o,i)[s<12?0:1];case Ce.Eras:return function KH(e,n){return Bn(Xt(e)[Be.Eras],n)}(n,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${t}`)}}(o,r,e,n,t,i)}}function ld(e){return function(n,t,i){const o=-1*i,r=Ln(t,vt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Fi.Short:return(o>=0?"+":"")+Kn(s,2,r)+Kn(Math.abs(o%60),2,r);case Fi.ShortGMT:return"GMT"+(o>=0?"+":"")+Kn(s,1,r);case Fi.Long:return"GMT"+(o>=0?"+":"")+Kn(s,2,r)+":"+Kn(Math.abs(o%60),2,r);case Fi.Extended:return 0===i?"Z":(o>=0?"+":"")+Kn(s,2,r)+":"+Kn(Math.abs(o%60),2,r);default:throw new Error(`Unknown zone width "${e}"`)}}}const lj=0,cd=4;function UE(e){const n=e.getDay(),t=0===n?-3:cd-n;return sd(e.getFullYear(),e.getMonth(),e.getDate()+t)}function fm(e,n=!1){return function(t,i){let o;if(n){const r=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+r)/7)}else{const r=UE(t),s=function cj(e){const n=sd(e,lj,1).getDay();return sd(e,0,1+(n<=cd?cd:cd+7)-n)}(r.getFullYear()),a=r.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Kn(o,e,Ln(i,vt.MinusSign))}}function ud(e,n=!1){return function(t,i){return Kn(UE(t).getFullYear(),e,Ln(i,vt.MinusSign),n)}}const hm={};function $E(e,n){e=e.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function GE(e){return e instanceof Date&&!isNaN(e.valueOf())}const gj=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function _m(e){const n=parseInt(e);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+e);return n}function YE(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[o,r]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(o.trim()===n)return decodeURIComponent(r)}return null}class Mj{constructor(n,t,i,o){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=o}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 ut=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,o){this._viewContainer=t,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new Mj(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),JE(a,o)}});for(let o=0,r=i.length;o<r;o++){const a=i.get(o).context;a.index=o,a.count=r,a.ngForOf=this._ngForOf}t.forEachIdentityChange(o=>{JE(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(Dn),v(Oe),v(om))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function JE(e,n){e.context.$implicit=n.item}let tt=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new Sj,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){QE("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){QE("ngIfElse",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 ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(v(Dn),v(Oe))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class Sj{constructor(){this.$implicit=null,this.ngIf=null}}function QE(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Dt(n)}'.`)}let Zn=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}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 o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,o),get:(t,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Dn))};static#t=this.\u0275dir=x({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ke]})}return e})();function Jn(e,n){return new S(2100,!1)}const Wj=new V(""),zj=new V("");let fd=(()=>{class e{constructor(t,i,o){this.locale=t,this.defaultTimezone=i,this.defaultOptions=o}transform(t,i,o,r){if(null==t||""===t||t!=t)return null;try{return jE(t,i??this.defaultOptions?.dateFormat??"mediumDate",r||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw Jn()}}static#e=this.\u0275fac=function(i){return new(i||e)(v(En,16),v(Wj,24),v(zj,24))};static#t=this.\u0275pipe=Yt({name:"date",type:e,pure:!0,standalone:!0})}return e})(),tT=(()=>{class e{constructor(t){this._locale=t}transform(t,i,o){if(!function wm(e){return!(null==e||""===e||e!=e)}(t))return null;o||=this._locale;try{return function bj(e,n,t){return function gm(e,n,t,i,o,r,s=!1){let a="",l=!1;if(isFinite(e)){let c=function Cj(e){let i,o,r,s,a,n=Math.abs(e)+"",t=0;for((o=n.indexOf("."))>-1&&(n=n.replace(".","")),(r=n.search(/e/i))>0?(o<0&&(o=r),o+=+n.slice(r+1),n=n.substring(0,r)):o<0&&(o=n.length),r=0;"0"===n.charAt(r);r++);if(r===(a=n.length))i=[0],o=1;else{for(a--;"0"===n.charAt(a);)a--;for(o-=r,i=[],s=0;r<=a;r++,s++)i[s]=Number(n.charAt(r))}return o>22&&(i=i.splice(0,21),t=o-1,o=1),{digits:i,exponent:t,integerLen:o}}(e);s&&(c=function wj(e){if(0===e.digits[0])return e;const n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===n?e.digits.push(0,0):1===n&&e.digits.push(0),e.integerLen+=2),e}(c));let u=n.minInt,d=n.minFrac,f=n.maxFrac;if(r){const C=r.match(gj);if(null===C)throw new Error(`${r} is not a valid digit info`);const I=C[1],P=C[3],B=C[5];null!=I&&(u=_m(I)),null!=P&&(d=_m(P)),null!=B?f=_m(B):null!=P&&d>f&&(f=d)}!function Ej(e,n,t){if(n>t)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${t}).`);let i=e.digits,o=i.length-e.integerLen;const r=Math.min(Math.max(n,o),t);let s=r+e.integerLen,a=i[s];if(s>0){i.splice(Math.max(e.integerLen,s));for(let d=s;d<i.length;d++)i[d]=0}else{o=Math.max(0,o),e.integerLen=1,i.length=Math.max(1,s=r+1),i[0]=0;for(let d=1;d<s;d++)i[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[s-1]++;for(;o<Math.max(0,r);o++)i.push(0);let l=0!==r;const c=n+e.integerLen,u=i.reduceRight(function(d,f,h,m){return m[h]=(f+=d)<10?f:f-10,l&&(0===m[h]&&h>=c?m.pop():l=!1),f>=10?1:0},0);u&&(i.unshift(u),e.integerLen++)}(c,d,f);let h=c.digits,m=c.integerLen;const _=c.exponent;let D=[];for(l=h.every(C=>!C);m<u;m++)h.unshift(0);for(;m<0;m++)h.unshift(0);m>0?D=h.splice(m,h.length):(D=h,h=[0]);const E=[];for(h.length>=n.lgSize&&E.unshift(h.splice(-n.lgSize,h.length).join(""));h.length>n.gSize;)E.unshift(h.splice(-n.gSize,h.length).join(""));h.length&&E.unshift(h.join("")),a=E.join(Ln(t,i)),D.length&&(a+=Ln(t,o)+D.join("")),_&&(a+=Ln(t,vt.Exponential)+"+"+_)}else a=Ln(t,vt.Infinity);return a=e<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(e,function mm(e,n="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),o=i[0],r=i[1],s=-1!==o.indexOf(".")?o.split("."):[o.substring(0,o.lastIndexOf("0")+1),o.substring(o.lastIndexOf("0")+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf("#"));for(let u=0;u<l.length;u++){const d=l.charAt(u);"0"===d?t.minFrac=t.maxFrac=u+1:"#"===d?t.maxFrac=u+1:t.posSuf+=d}const c=a.split(",");if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){const u=o.length-t.posPre.length-t.posSuf.length,d=r.indexOf("#");t.negPre=r.substring(0,d).replace(/'/g,""),t.negSuf=r.slice(d+u).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}(function um(e,n){return Xt(e)[Be.NumberFormats][n]}(n,td.Percent),Ln(n,vt.MinusSign)),n,vt.Group,vt.Decimal,t,!0).replace(new RegExp("%","g"),Ln(n,vt.PercentSign))}(function Cm(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(t),o,i)}catch(r){throw Jn()}}static#e=this.\u0275fac=function(i){return new(i||e)(v(En,16))};static#t=this.\u0275pipe=Yt({name:"percent",type:e,pure:!0,standalone:!0})}return e})();let yi=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({})}return e})();const nT="browser";function iT(e){return e===nT}function oT(e){return"server"===e}class rT{}class OU extends GH{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Tm extends OU{static makeCurrent(){!function $H(e){FE??=e}(new Tm)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}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 AU(){return vl=vl||document.querySelector("base"),vl?vl.getAttribute("href"):null}();return null==t?null:function RU(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){vl=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return YE(document.cookie,n)}}let vl=null,xU=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();const Nm=new V("");let pT=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(r=>r.supports(t)),!i)throw new S(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(k(Nm),k(X))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();class gT{constructor(n){this._doc=n}}const Im="ng-app-id";let mT=(()=>{class e{constructor(t,i,o,r={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=oT(r),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(o=>o.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Im}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(o=>{null!=o.textContent&&i.set(o.textContent,o)}),i}return null}changeUsageCount(t,i){const o=this.styleRef;if(o.has(t)){const r=o.get(t);return r.usage+=i,r.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const o=this.styleNodesInDOM,r=o?.get(i);if(r?.parentNode===t)return o.delete(i),r.removeAttribute(Im),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(Im,this.appId),t.appendChild(s),s}}addStyleToHost(t,i){const o=this.getStyleElement(t,i),r=this.styleRef,s=r.get(i)?.elements;s?s.push(o):r.set(i,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(k(xt),k($c),k(Hb,8),k(Ri))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();const Mm={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"},Sm=/%COMP%/g,BU=new V("",{providedIn:"root",factory:()=>!0});function vT(e,n){return n.map(t=>t.replace(Sm,e))}let yT=(()=>{class e{constructor(t,i,o,r,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=oT(a),this.defaultRenderer=new Om(t,s,l,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Un.ShadowDom&&(i={...i,encapsulation:Un.Emulated});const o=this.getOrCreateRenderer(t,i);return o instanceof DT?o.applyToHost(t):o instanceof Am&&o.applyStyles(),o}getOrCreateRenderer(t,i){const o=this.rendererByCompId;let r=o.get(i.id);if(!r){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(i.encapsulation){case Un.Emulated:r=new DT(l,c,i,this.appId,u,s,a,d);break;case Un.ShadowDom:return new UU(l,c,t,i,s,a,this.nonce,d);default:r=new Am(l,c,i,u,s,a,d)}o.set(i.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(k(pT),k(mT),k($c),k(BU),k(xt),k(Ri),k(X),k(Hb))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();class Om{constructor(n,t,i,o){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Mm[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(bT(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(bT(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new S(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,o){if(o){t=o+":"+t;const r=Mm[o];r?n.setAttributeNS(r,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const o=Mm[i];o?n.removeAttributeNS(o,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,o){o&(Zi.DashCase|Zi.Important)?n.style.setProperty(t,i,o&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){if("string"==typeof n&&!(n=pl().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function bT(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class UU extends Om{constructor(n,t,i,o,r,s,a,l){super(n,r,s,l),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=vT(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}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(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Am extends Om{constructor(n,t,i,o,r,s,a,l){super(n,r,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?vT(l,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class DT extends Am{constructor(n,t,i,o,r,s,a,l){const c=o+"-"+i.id;super(n,t,i,r,s,a,l,c),this.contentAttr=function VU(e){return"_ngcontent-%COMP%".replace(Sm,e)}(c),this.hostAttr=function HU(e){return"_nghost-%COMP%".replace(Sm,e)}(c)}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}}const wT=["alt","control","meta","shift"],GU={"\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"},WU={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};function yl(e,n){return mH({rootComponent:e,...CT(n)})}function CT(e){return{appProviders:[...QU,...e?.providers??[]],platformProviders:ZU}}const ZU=[{provide:Ri,useValue:nT},{provide:Vb,useValue:function qU(){Tm.makeCurrent()},multi:!0},{provide:xt,useFactory:function KU(){return function FP(e){Kh=e}(document),document},deps:[]}],QU=[{provide:ph,useValue:"root"},{provide:Pn,useFactory:function YU(){return new Pn},deps:[]},{provide:Nm,useClass:(()=>{class e extends gT{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}static#e=this.\u0275fac=function(i){return new(i||e)(k(xt))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[xt,X,Ri]},{provide:Nm,useClass:(()=>{class e extends gT{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pl().onAndCancel(t,r.domEventName,s))}static parseEventName(t){const i=t.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),wT.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,i){let o=GU[t.key]||t.key,r="";return i.indexOf("code.")>-1&&(o=t.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),wT.forEach(s=>{s!==o&&(0,WU[s])(t)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(t,i,o){return r=>{e.matchEventFullKeyCode(r,t)&&o.runGuarded(()=>i(r))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(k(xt))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})(),multi:!0,deps:[xt]},yT,mT,pT,{provide:ja,useExisting:yT},{provide:rT,useClass:xU,deps:[]},[]],Wo=new V("Application config");function to(e){return this instanceof to?(this.v=e,this):new to(e)}function ST(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 km(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(r){t[r]=e[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=e[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Fm=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function OT(e){return Ee(e?.then)}function AT(e){return Ee(e[Ff])}function RT(e){return Symbol.asyncIterator&&Ee(e?.[Symbol.asyncIterator])}function PT(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const xT=function C$(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function kT(e){return Ee(e?.[xT])}function FT(e){return function MT(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=t.apply(e,n||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){i[f]&&(o[f]=function(h){return new Promise(function(m,_){r.push([f,h,m,_])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof to?Promise.resolve(f.value.v).then(c,u):d(r[0][2],f)}(i[f](h))}catch(m){d(r[0][3],m)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),r.shift(),r.length&&a(r[0][0],r[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:o}=yield to(t.read());if(o)return yield to(void 0);yield yield to(i)}}finally{t.releaseLock()}})}function LT(e){return Ee(e?.getReader)}function qt(e){if(e instanceof Xe)return e;if(null!=e){if(AT(e))return function E$(e){return new Xe(n=>{const t=e[Ff]();if(Ee(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Fm(e))return function T$(e){return new Xe(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(OT(e))return function N$(e){return new Xe(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Tv)})}(e);if(RT(e))return BT(e);if(kT(e))return function I$(e){return new Xe(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(LT(e))return function M$(e){return BT(FT(e))}(e)}throw PT(e)}function BT(e){return new Xe(n=>{(function S$(e,n){var t,i,o,r;return function NT(e,n,t,i){return new(t||(t=Promise))(function(r,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?r(u.value):function o(r){return r instanceof t?r:new t(function(s){s(r)})}(u.value).then(a,l)}c((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=ST(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=t.return)&&(yield r.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bi(e,n,t,i=0,o=!1){const r=n.schedule(function(){t(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function VT(e,n=0){return Ut((t,i)=>{t.subscribe(pt(i,o=>Bi(i,e,()=>i.next(o),n),()=>Bi(i,e,()=>i.complete(),n),o=>Bi(i,e,()=>i.error(o),n)))})}function HT(e,n=0){return Ut((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function jT(e,n){if(!e)throw new Error("Iterable cannot be null");return new Xe(t=>{Bi(t,n,()=>{const i=e[Symbol.asyncIterator]();Bi(t,n,()=>{i.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function zo(e,n){return n?function k$(e,n){if(null!=e){if(AT(e))return function O$(e,n){return qt(e).pipe(HT(n),VT(n))}(e,n);if(Fm(e))return function R$(e,n){return new Xe(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(OT(e))return function A$(e,n){return qt(e).pipe(HT(n),VT(n))}(e,n);if(RT(e))return jT(e,n);if(kT(e))return function P$(e,n){return new Xe(t=>{let i;return Bi(t,n,()=>{i=e[xT](),Bi(t,n,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void t.error(s)}r?t.complete():t.next(o)},0,!0)}),()=>Ee(i?.return)&&i.return()})}(e,n);if(LT(e))return function x$(e,n){return jT(FT(e),n)}(e,n)}throw PT(e)}(e,n):qt(e)}const{isArray:F$}=Array,{getPrototypeOf:L$,prototype:B$,keys:V$}=Object;function UT(e){if(1===e.length){const n=e[0];if(F$(n))return{args:n,keys:null};if(function H$(e){return e&&"object"==typeof e&&L$(e)===B$}(n)){const t=V$(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}function $T(e){return e&&Ee(e.schedule)}function Lm(e){return e[e.length-1]}function _d(e){return Ee(Lm(e))?e.pop():void 0}function bl(e){return $T(Lm(e))?e.pop():void 0}const{isArray:U$}=Array;function Bm(e){return Se(n=>function $$(e,n){return U$(n)?e(...n):e(n)}(e,n))}function GT(e,n){return e.reduce((t,i,o)=>(t[i]=n[o],t),{})}function Vm(...e){const n=_d(e),{args:t,keys:i}=UT(e),o=new Xe(r=>{const{length:s}=t;if(!s)return void r.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u<s;u++){let d=!1;qt(t[u]).subscribe(pt(r,f=>{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||r.next(i?GT(i,a):a),r.complete())}))}});return n?o.pipe(Bm(n)):o}let WT=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}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#e=this.\u0275fac=function(i){return new(i||e)(v(hn),v(ge))};static#t=this.\u0275dir=x({type:e})}return e})(),qo=(()=>{class e extends WT{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,features:[Te]})}return e})();const nn=new V(""),G$={provide:nn,useExisting:Q(()=>Hm),multi:!0};let Hm=(()=>{class e extends qo{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,o){1&i&&R("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Ne([G$]),Te]})}return e})();const W$={provide:nn,useExisting:Q(()=>no),multi:!0},q$=new V("");let no=(()=>{class e extends WT{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function z$(){const e=pl()?pl().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#e=this.\u0275fac=function(i){return new(i||e)(v(hn),v(ge),v(q$,8))};static#t=this.\u0275dir=x({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,o){1&i&&R("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Ne([W$]),Te]})}return e})();const Ht=new V(""),oo=new V("");function KT(e){return function io(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}(e.value)?{required:!0}:null}function vd(e){return null}function tN(e){return null!=e}function nN(e){return $u(e)?zo(e):e}function iN(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function oN(e,n){return n.map(t=>t(e))}function rN(e){return e.map(n=>function K$(e){return!e.validate}(n)?n:t=>n.validate(t))}function jm(e){return null!=e?function sN(e){if(!e)return null;const n=e.filter(tN);return 0==n.length?null:function(t){return iN(oN(t,n))}}(rN(e)):null}function Um(e){return null!=e?function aN(e){if(!e)return null;const n=e.filter(tN);return 0==n.length?null:function(t){return Vm(oN(t,n).map(nN)).pipe(Se(iN))}}(rN(e)):null}function lN(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function cN(e){return e._rawValidators}function uN(e){return e._rawAsyncValidators}function $m(e){return e?Array.isArray(e)?e:[e]:[]}function yd(e,n){return Array.isArray(e)?e.includes(n):e===n}function dN(e,n){const t=$m(n);return $m(e).forEach(o=>{yd(t,o)||t.push(o)}),t}function fN(e,n){return $m(n).filter(t=>!yd(e,t))}class hN{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=jm(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Um(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_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 on extends hN{get formDirective(){return null}get path(){return null}}class ro extends hN{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class pN{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let so=(()=>{class e extends pN{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(ro,2))};static#t=this.\u0275dir=x({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){2&i&&W("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Te]})}return e})(),Yo=(()=>{class e extends pN{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(v(on,10))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){2&i&&W("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Te]})}return e})();const Dl="VALID",Dd="INVALID",Ns="PENDING",wl="DISABLED";class Is{}class mN extends Is{constructor(n,t){super(),this.value=n,this.source=t}}class zm extends Is{constructor(n,t){super(),this.pristine=n,this.source=t}}class qm extends Is{constructor(n,t){super(),this.touched=n,this.source=t}}class wd extends Is{constructor(n,t){super(),this.status=n,this.source=t}}class e4 extends Is{constructor(n){super(),this.source=n}}class t4 extends Is{constructor(n){super(),this.source=n}}function Ym(e){return(Cd(e)?e.validators:e)||null}function Km(e,n){return(Cd(n)?n.asyncValidators:e)||null}function Cd(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function _N(e,n,t){const i=e.controls;if(!(n?Object.keys(i):i).length)throw new S(1e3,"");if(!i[t])throw new S(1001,"")}function vN(e,n,t){e._forEachChild((i,o)=>{if(void 0===t[o])throw new S(1002,"")})}class Ed{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new $e,this.events=this._events.asObservable(),this._onDisabledChange=[],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 valid(){return this.status===Dl}get invalid(){return this.status===Dd}get pending(){return this.status==Ns}get disabled(){return this.status===wl}get enabled(){return this.status!==wl}get dirty(){return!this.pristine}get untouched(){return!this.touched}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(dN(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(dN(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(fN(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(fN(n,this._rawAsyncValidators))}hasValidator(n){return yd(this._rawValidators,n)}hasAsyncValidator(n){return yd(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 qm(!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(o=>{o.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 qm(!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 zm(!1,i))}markAsPristine(n={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const i=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,i),t&&!1!==n.emitEvent&&this._events.next(new zm(!0,i))}markAsPending(n={}){this.status=Ns;const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new wd(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=wl,this.errors=null,this._forEachChild(o=>{o.disable({...n,onlySelf:!0})}),this._updateValue();const i=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new mN(this.value,i)),this._events.next(new wd(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t},this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Dl,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===Dl||this.status===Ns)&&this._runAsyncValidator(i,n.emitEvent)}const t=n.sourceControl??this;!1!==n.emitEvent&&(this._events.next(new mN(this.value,t)),this._events.next(new wd(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()?wl:Dl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,t){if(this.asyncValidator){this.status=Ns,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const i=nN(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{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,o)=>i&&i._find(o),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 wd(this.status,t)),this._parent&&this._parent._updateControlsErrors(n,t,i)}_initObservables(){this.valueChanges=new j,this.statusChanges=new j}_calculateStatus(){return this._allControlsDisabled()?wl:this.errors?Dd:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ns)?Ns:this._anyControlsHaveStatus(Dd)?Dd:Dl}_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(),o=this.pristine!==i;this.pristine=i,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),o&&this._events.next(new zm(this.pristine,t))}_updateTouched(n={},t){this.touched=this._anyControlsTouched(),this._events.next(new qm(this.touched,t)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Cd(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 n4(e){return Array.isArray(e)?jm(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function i4(e){return Array.isArray(e)?Um(e):e||null}(this._rawAsyncValidators)}}class Ms extends Ed{constructor(n,t,i){super(Ym(t),Km(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}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={}){vN(this,0,n),Object.keys(n).forEach(i=>{_N(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 o=this.controls[i];o&&o.patchValue(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((i,o)=>{i.reset(n?n[o]: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,o)=>((i.enabled||this.disabled)&&(t[o]=i.value),t))}_reduceChildren(n,t){let i=n;return this._forEachChild((o,r)=>{i=t(i,o,r)}),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 o4=Ms;class yN extends Ms{}const Ko=new V("CallSetDisabledState",{providedIn:"root",factory:()=>Cl}),Cl="always";function Td(e,n){return[...n.path,e]}function El(e,n,t=Cl){Zm(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function s4(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&bN(e,n)})}(e,n),function l4(e,n){const t=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function a4(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&bN(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function r4(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Nd(e,n,t=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Md(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Id(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Zm(e,n){const t=cN(e);null!==n.validator?e.setValidators(lN(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=uN(e);null!==n.asyncValidator?e.setAsyncValidators(lN(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();Id(n._rawValidators,o),Id(n._rawAsyncValidators,o)}function Md(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=cN(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.validator);r.length!==o.length&&(t=!0,e.setValidators(r))}}if(null!==n.asyncValidator){const o=uN(e);if(Array.isArray(o)&&o.length>0){const r=o.filter(s=>s!==n.asyncValidator);r.length!==o.length&&(t=!0,e.setAsyncValidators(r))}}}const i=()=>{};return Id(n._rawValidators,i),Id(n._rawAsyncValidators,i),t}function bN(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function DN(e,n){Zm(e,n)}function Qm(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function wN(e,n){e._syncPendingControls(),n.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Xm(e,n){if(!n)return null;let t,i,o;return Array.isArray(n),n.forEach(r=>{r.constructor===no?t=r:function d4(e){return Object.getPrototypeOf(e.constructor)===qo}(r)?i=r:o=r}),o||i||t||null}const h4={provide:on,useExisting:Q(()=>Zo)},Tl=Promise.resolve();let Zo=(()=>{class e extends on{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new j,this.form=new Ms({},jm(t),Um(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Tl.then(()=>{const i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),El(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Tl.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Tl.then(()=>{const i=this._findContainer(t.path),o=new Ms({});DN(o,t),i.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Tl.then(()=>{const i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){Tl.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,wN(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ht,10),v(oo,10),v(Ko,8))};static#t=this.\u0275dir=x({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){1&i&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ne([h4]),Te]})}return e})();function CN(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function EN(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Nl=class extends Ed{constructor(n=null,t,i){super(Ym(t),Km(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Cd(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=EN(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){CN(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){CN(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){EN(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}};let TN=(()=>{class e extends on{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Td(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,features:[Te]})}return e})();const m4={provide:ro,useExisting:Q(()=>ao)},IN=Promise.resolve();let ao=(()=>{class e extends ro{constructor(t,i,o,r,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Nl,this._registered=!1,this.name="",this.update=new j,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Xm(0,r)}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),Qm(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(){El(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){IN.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,o=0!==i&&am(i);IN.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Td(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(v(on,9),v(Ht,10),v(oo,10),v(nn,10),v(tn,8),v(Ko,8))};static#t=this.\u0275dir=x({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"],features:[Ne([m4]),Te,ke]})}return e})(),Ss=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=x({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return e})();const e_=new V(""),D4={provide:ro,useExisting:Q(()=>t_)};let t_=(()=>{class e extends ro{set isDisabled(t){}static#e=this._ngModelWarningSentOnce=!1;constructor(t,i,o,r,s){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=s,this.update=new j,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=Xm(0,o)}ngOnChanges(t){if(this._isControlChanged(t)){const i=t.form.previousValue;i&&Nd(i,this,!1),El(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Qm(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nd(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static#t=this.\u0275fac=function(i){return new(i||e)(v(Ht,10),v(oo,10),v(nn,10),v(e_,8),v(Ko,8))};static#n=this.\u0275dir=x({type:e,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ne([D4]),Te,ke]})}return e})();const w4={provide:on,useExisting:Q(()=>Sd)};let Sd=(()=>{class e extends on{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new j,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Md(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 El(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){Nd(t.control||null,t,!1),function f4(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.submitted=!0,wN(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new e4(this.control)),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new t4(this.form))}_updateDomValue(){this.directives.forEach(t=>{const i=t.control,o=this.form.get(t.path);i!==o&&(Nd(i||null,t),(e=>e instanceof Nl)(o)&&(El(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const i=this.form.get(t.path);DN(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const i=this.form.get(t.path);i&&function c4(e,n){return Md(e,n)}(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zm(this.form,this),this._oldForm&&Md(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||e)(v(Ht,10),v(oo,10),v(Ko,8))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){1&i&&R("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ne([w4]),Te,ke]})}return e})();const C4={provide:on,useExisting:Q(()=>n_)};let n_=(()=>{class e extends TN{constructor(t,i,o){super(),this.name=null,this._parent=t,this._setValidators(i),this._setAsyncValidators(o)}_checkParentType(){AN(this._parent)}static#e=this.\u0275fac=function(i){return new(i||e)(v(on,13),v(Ht,10),v(oo,10))};static#t=this.\u0275dir=x({type:e,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[Ne([C4]),Te]})}return e})();const E4={provide:on,useExisting:Q(()=>Od)};let Od=(()=>{class e extends on{constructor(t,i,o){super(),this.name=null,this._parent=t,this._setValidators(i),this._setAsyncValidators(o)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Td(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){AN(this._parent)}static#e=this.\u0275fac=function(i){return new(i||e)(v(on,13),v(Ht,10),v(oo,10))};static#t=this.\u0275dir=x({type:e,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[Ne([E4]),Te]})}return e})();function AN(e){return!(e instanceof n_||e instanceof Sd||e instanceof Od)}const N4={provide:nn,useExisting:Q(()=>lo),multi:!0};function PN(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let lo=(()=>{class e extends qo{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=PN(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function I4(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,o){1&i&&R("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ne([N4]),Te]})}return e})(),Os=(()=>{class e{constructor(t,i,o){this._element=t,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(PN(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(v(ge),v(hn),v(lo,9))};static#t=this.\u0275dir=x({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const M4={provide:nn,useExisting:Q(()=>i_),multi:!0};function xN(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let i_=(()=>{class e extends qo{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const o=t.map(r=>this._getOptionId(r));i=(r,s)=>{r._setSelected(o.indexOf(s.toString())>-1)}}else i=(o,r)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const o=[],r=i.selectedOptions;if(void 0!==r){const s=r;for(let a=0;a<s.length;a++){const c=this._getOptionValue(s[a].value);o.push(c)}}else{const s=i.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const c=this._getOptionValue(l.value);o.push(c)}}}this.value=o,t(o)}}_registerOption(t){const i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){const i=function S4(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,o){1&i&&R("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ne([M4]),Te]})}return e})(),As=(()=>{class e{constructor(t,i,o){this._element=t,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(xN(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(xN(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(i){return new(i||e)(v(ge),v(hn),v(i_,9))};static#t=this.\u0275dir=x({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),Jo=(()=>{class e{constructor(){this._validator=vd}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):vd,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=x({type:e,features:[ke]})}return e})();const R4={provide:Ht,useExisting:Q(()=>Ad),multi:!0};let Ad=(()=>{class e extends Jo{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=am,this.createValidator=t=>KT}enabled(t){return t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275dir=x({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,o){2&i&&oe("required",o._enabled?"":null)},inputs:{required:"required"},features:[Ne([R4]),Te]})}return e})(),GN=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({})}return e})();class WN extends Ed{constructor(n,t,i){super(Ym(t),Km(i,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,i={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,t={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,i={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){vN(this,0,n),n.forEach((i,o)=>{_N(this,!1,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,i)=>{n(t,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function zN(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let B4=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,i=null){const o=this._reduceControls(t);let r={};return zN(i)?r=i:null!==i&&(r.validators=i.validator,r.asyncValidators=i.asyncValidator),new Ms(o,r)}record(t,i=null){const o=this._reduceControls(t);return new yN(o,i)}control(t,i,o){let r={};return this.useNonNullable?(zN(i)?r=i:(r.validators=i,r.asyncValidators=o),new Nl(t,{...r,nonNullable:!0})):new Nl(t,i,o)}array(t,i,o){const r=t.map(s=>this._createControl(s));return new WN(r,i,o)}_reduceControls(t){const i={};return Object.keys(t).forEach(o=>{i[o]=this._createControl(t[o])}),i}_createControl(t){return t instanceof Nl||t instanceof Ed?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rd=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ko,useValue:t.callSetDisabledState??Cl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({imports:[GN]})}return e})(),qN=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:e_,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:Ko,useValue:t.callSetDisabledState??Cl}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({imports:[GN]})}return e})();const Il=new Xe(e=>e.complete());function bi(...e){return zo(e,bl(e))}function Qo(e,n,t=1/0){return Ee(n)?Qo((i,o)=>Se((r,s)=>n(i,r,o,s))(qt(e(i,o))),t):("number"==typeof n&&(t=n),Ut((i,o)=>function H4(e,n,t,i,o,r,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&n.complete()},h=_=>c<i?m(_):l.push(_),m=_=>{r&&n.next(_),c++;let D=!1;qt(t(_,u++)).subscribe(pt(n,E=>{o?.(E),r?h(E):n.next(E)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;l.length&&c<i;){const E=l.shift();s?Bi(n,s,()=>m(E)):m(E)}f()}catch(E){n.error(E)}}))};return e.subscribe(pt(n,h,()=>{d=!0,f()})),()=>{a?.()}}(i,o,e,t)))}const j4=["addListener","removeListener"],U4=["addEventListener","removeEventListener"],$4=["on","off"];function bt(e,n,t,i){if(Ee(t)&&(i=t,t=void 0),i)return bt(e,n,t).pipe(Bm(i));const[o,r]=function z4(e){return Ee(e.addEventListener)&&Ee(e.removeEventListener)}(e)?U4.map(s=>a=>e[s](n,a,t)):function G4(e){return Ee(e.addListener)&&Ee(e.removeListener)}(e)?j4.map(YN(e,n)):function W4(e){return Ee(e.on)&&Ee(e.off)}(e)?$4.map(YN(e,n)):[];if(!o&&Fm(e))return Qo(s=>bt(s,n,t))(qt(e));if(!o)throw new TypeError("Invalid event target");return new Xe(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return o(a),()=>r(a)})}function YN(e,n){return t=>i=>e[t](n,i)}class q4 extends an{constructor(n,t){super()}schedule(n,t=0){return this}}const Pd={setInterval(e,n,...t){const{delegate:i}=Pd;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=Pd;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};class KN extends q4{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 o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,t),this}requestAsyncId(n,t,i=0){return Pd.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&&Pd.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 o,i=!1;try{this.work(n)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,ec(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}const ZN={now:()=>(ZN.delegate||Date).now(),delegate:void 0};class Ml{constructor(n,t=Ml.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}Ml.now=ZN.now;class JN extends Ml{constructor(n,t=Ml.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 o_=new JN(KN),Y4=o_;function xd(e=0,n,t=Y4){let i=-1;return null!=n&&($T(n)?t=n:i=n),new Xe(o=>{let r=function K4(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;r<0&&(r=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}const{isArray:Z4}=Array;function QN(e){return 1===e.length&&Z4(e[0])?e[0]:e}function XN(...e){return 1===(e=QN(e)).length?qt(e[0]):new Xe(function J4(e){return n=>{let t=[];for(let i=0;t&&!n.closed&&i<e.length;i++)t.push(qt(e[i]).subscribe(pt(n,o=>{if(t){for(let r=0;r<t.length;r++)r!==i&&t[r].unsubscribe();t=null}n.next(o)})))}}(e))}function eI(...e){const n=bl(e),t=_d(e),{args:i,keys:o}=UT(e);if(0===i.length)return zo([],n);const r=new Xe(function Q4(e,n,t=bo){return i=>{tI(n,()=>{const{length:o}=e,r=new Array(o);let s=o,a=o;for(let l=0;l<o;l++)tI(n,()=>{const c=zo(e[l],n);let u=!1;c.subscribe(pt(i,d=>{r[l]=d,u||(u=!0,a--),a||i.next(t(r.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,o?s=>GT(o,s):bo));return t?r.pipe(Bm(t)):r}function tI(e,n,t){e?Bi(t,e,n):n()}const nI=new Xe(_r);function kd(...e){const n=_d(e),t=QN(e);return t.length?new Xe(i=>{let o=t.map(()=>[]),r=t.map(()=>!1);i.add(()=>{o=r=null});for(let s=0;!i.closed&&s<t.length;s++)qt(t[s]).subscribe(pt(i,a=>{if(o[s].push(a),o.every(l=>l.length)){const l=o.map(c=>c.shift());i.next(n?n(...l):l),o.some((c,u)=>!c.length&&r[u])&&i.complete()}},()=>{r[s]=!0,!o[s].length&&i.complete()}));return()=>{o=r=null}}):Il}function iI(e=1/0){return Qo(bo,e)}function oI(...e){const n=bl(e),t=function j$(e,n){return"number"==typeof Lm(e)?e.pop():n}(e,1/0),i=e;return i.length?1===i.length?qt(i[0]):iI(t)(zo(i,n)):Il}function Fd(...e){return function X4(){return iI(1)}()(zo(e,bl(e)))}function nt(e){return Ut((n,t)=>{qt(e).subscribe(pt(t,()=>t.complete(),_r)),!t.closed&&n.subscribe(t)})}function Qn(e,n){return Ut((t,i)=>{let o=0;t.subscribe(pt(i,r=>e.call(n,r,o++)&&i.next(r)))})}function kt(e){return e<=0?()=>Il:Ut((n,t)=>{let i=0;n.subscribe(pt(t,o=>{++i<=e&&(t.next(o),e<=i&&t.complete())}))})}function r_(...e){const n=bl(e);return Ut((t,i)=>{(n?Fd(e,t,n):Fd(e,t)).subscribe(i)})}function co(e,n=bo){return e=e??tG,Ut((t,i)=>{let o,r=!0;t.subscribe(pt(i,s=>{const a=n(s);(r||!e(o,a))&&(r=!1,o=a,i.next(s))}))})}function tG(e,n){return e===n}function Ld(e,n){return Ut((t,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();t.subscribe(pt(i,l=>{o?.unsubscribe();let c=0;const u=r++;qt(e(l,u)).subscribe(o=pt(i,d=>i.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Rs(e,n,t){const i=Ee(e)||n||t?{next:e,error:n,complete:t}:e;return i?Ut((o,r)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;o.subscribe(pt(r,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),r.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),r.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),r.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)}))}):bo}function s_(...e){const n=_d(e);return Ut((t,i)=>{const o=e.length,r=new Array(o);let s=e.map(()=>!1),a=!1;for(let l=0;l<o;l++)qt(e[l]).subscribe(pt(i,c=>{r[l]=c,!a&&!s[l]&&(s[l]=!0,(a=s.every(bo))&&(s=null))},_r));t.subscribe(pt(i,l=>{if(a){const c=[l,...r];i.next(n?n(...c):c)}}))})}function rI(e,n){return n?t=>Fd(n.pipe(kt(1),function nG(){return Ut((e,n)=>{e.subscribe(pt(n,_r))})}()),t.pipe(rI(e))):Qo((t,i)=>qt(e(t,i)).pipe(kt(1),function iG(e){return Se(()=>e)}(t)))}var sG={left:"right",right:"left",bottom:"top",top:"bottom"};function Bd(e){return e.replace(/left|right|bottom|top/g,function(n){return sG[n]})}function Di(e){return e.split("-")[0]}var aG={start:"end",end:"start"};function sI(e){return e.replace(/start|end/g,function(n){return aG[n]})}var Nn="top",Xn="bottom",ei="right",In="left",a_="auto",Sl=[Nn,Xn,ei,In],Ps="start",Ol="end",aI="viewport",Al="popper",lI=Sl.reduce(function(e,n){return e.concat([n+"-"+Ps,n+"-"+Ol])},[]),cI=[].concat(Sl,[a_]).reduce(function(e,n){return e.concat([n,n+"-"+Ps,n+"-"+Ol])},[]),yG=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Mn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function Xo(e){return e instanceof Mn(e).Element||e instanceof Element}function Vn(e){return e instanceof Mn(e).HTMLElement||e instanceof HTMLElement}function l_(e){return!(typeof ShadowRoot>"u")&&(e instanceof Mn(e).ShadowRoot||e instanceof ShadowRoot)}function uo(e){return((Xo(e)?e.ownerDocument:e.document)||window.document).documentElement}var er=Math.max,Vd=Math.min,xs=Math.round;function c_(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function uI(){return!/^((?!chrome|android).)*safari/i.test(c_())}function ks(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=!1);var i=e.getBoundingClientRect(),o=1,r=1;n&&Vn(e)&&(o=e.offsetWidth>0&&xs(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&xs(i.height)/e.offsetHeight||1);var a=(Xo(e)?Mn(e):window).visualViewport,l=!uI()&&t,c=(i.left+(l&&a?a.offsetLeft:0))/o,u=(i.top+(l&&a?a.offsetTop:0))/r,d=i.width/o,f=i.height/r;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function u_(e){var n=Mn(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function d_(e){return ks(uo(e)).left+u_(e).scrollLeft}function Vi(e){return Mn(e).getComputedStyle(e)}function wi(e){return e?(e.nodeName||"").toLowerCase():null}function Hd(e){return"html"===wi(e)?e:e.assignedSlot||e.parentNode||(l_(e)?e.host:null)||uo(e)}function f_(e){var n=Vi(e);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function dI(e){return["html","body","#document"].indexOf(wi(e))>=0?e.ownerDocument.body:Vn(e)&&f_(e)?e:dI(Hd(e))}function Rl(e,n){var t;void 0===n&&(n=[]);var i=dI(e),o=i===(null==(t=e.ownerDocument)?void 0:t.body),r=Mn(i),s=o?[r].concat(r.visualViewport||[],f_(i)?i:[]):i,a=n.concat(s);return o?a:a.concat(Rl(Hd(s)))}function wG(e){return["table","td","th"].indexOf(wi(e))>=0}function fI(e){return Vn(e)&&"fixed"!==Vi(e).position?e.offsetParent:null}function Pl(e){for(var n=Mn(e),t=fI(e);t&&wG(t)&&"static"===Vi(t).position;)t=fI(t);return t&&("html"===wi(t)||"body"===wi(t)&&"static"===Vi(t).position)?n:t||function CG(e){var n=/firefox/i.test(c_());if(/Trident/i.test(c_())&&Vn(e)&&"fixed"===Vi(e).position)return null;var o=Hd(e);for(l_(o)&&(o=o.host);Vn(o)&&["html","body"].indexOf(wi(o))<0;){var r=Vi(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||n}function hI(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&l_(t)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function h_(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pI(e,n,t){return n===aI?h_(function bG(e,n){var t=Mn(e),i=uo(e),o=t.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=uI();(c||!c&&"fixed"===n)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+d_(e),y:l}}(e,t)):Xo(n)?function EG(e,n){var t=ks(e,!1,"fixed"===n);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(n,t):h_(function DG(e){var n,t=uo(e),i=u_(e),o=null==(n=e.ownerDocument)?void 0:n.body,r=er(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=er(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+d_(e),l=-i.scrollTop;return"rtl"===Vi(o||t).direction&&(a+=er(t.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(uo(e)))}function Fs(e){return e.split("-")[1]}function p_(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gI(e){var l,n=e.reference,t=e.element,i=e.placement,o=i?Di(i):null,r=i?Fs(i):null,s=n.x+n.width/2-t.width/2,a=n.y+n.height/2-t.height/2;switch(o){case Nn:l={x:s,y:n.y-t.height};break;case Xn:l={x:s,y:n.y+n.height};break;case ei:l={x:n.x+n.width,y:a};break;case In:l={x:n.x-t.width,y:a};break;default:l={x:n.x,y:n.y}}var c=o?p_(o):null;if(null!=c){var u="y"===c?"height":"width";switch(r){case Ps:l[c]=l[c]-(n[u]/2-t[u]/2);break;case Ol:l[c]=l[c]+(n[u]/2-t[u]/2)}}return l}function _I(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function vI(e,n){return n.reduce(function(t,i){return t[i]=e,t},{})}function g_(e,n){void 0===n&&(n={});var i=n.placement,o=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,l=void 0===a?"clippingParents":a,c=n.rootBoundary,u=void 0===c?aI:c,d=n.elementContext,f=void 0===d?Al:d,h=n.altBoundary,m=void 0!==h&&h,_=n.padding,D=void 0===_?0:_,E=_I("number"!=typeof D?D:vI(D,Sl)),I=e.rects.popper,P=e.elements[m?f===Al?"reference":Al:f],B=function NG(e,n,t,i){var o="clippingParents"===n?function TG(e){var n=Rl(Hd(e)),i=["absolute","fixed"].indexOf(Vi(e).position)>=0&&Vn(e)?Pl(e):e;return Xo(i)?n.filter(function(o){return Xo(o)&&hI(o,i)&&"body"!==wi(o)}):[]}(e):[].concat(n),r=[].concat(o,[t]),a=r.reduce(function(l,c){var u=pI(e,c,i);return l.top=er(u.top,l.top),l.right=Vd(u.right,l.right),l.bottom=Vd(u.bottom,l.bottom),l.left=er(u.left,l.left),l},pI(e,r[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Xo(P)?P:P.contextElement||uo(e.elements.popper),l,u,s),U=ks(e.elements.reference),ie=gI({reference:U,element:I,strategy:"absolute",placement:o}),ce=h_(Object.assign({},I,ie)),ot=f===Al?ce:U,ft={top:B.top-ot.top+E.top,bottom:ot.bottom-B.bottom+E.bottom,left:B.left-ot.left+E.left,right:ot.right-B.right+E.right},ht=e.modifiersData.offset;if(f===Al&&ht){var ni=ht[o];Object.keys(ft).forEach(function(sn){var ur=[ei,Xn].indexOf(sn)>=0?1:-1,dr=[Nn,Xn].indexOf(sn)>=0?"y":"x";ft[sn]+=ni[dr]*ur})}return ft}const OG={name:"flip",enabled:!0,phase:"main",fn:function SG(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var o=t.mainAxis,r=void 0===o||o,s=t.altAxis,a=void 0===s||s,l=t.fallbackPlacements,c=t.padding,u=t.boundary,d=t.rootBoundary,f=t.altBoundary,h=t.flipVariations,m=void 0===h||h,_=t.allowedAutoPlacements,D=n.options.placement,E=Di(D),I=l||(E!==D&&m?function MG(e){if(Di(e)===a_)return[];var n=Bd(e);return[sI(e),n,sI(n)]}(D):[Bd(D)]),P=[D].concat(I).reduce(function(qs,mo){return qs.concat(Di(mo)===a_?function IG(e,n){void 0===n&&(n={});var o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?cI:l,u=Fs(n.placement),d=u?a?lI:lI.filter(function(m){return Fs(m)===u}):Sl,f=d.filter(function(m){return c.indexOf(m)>=0});0===f.length&&(f=d);var h=f.reduce(function(m,_){return m[_]=g_(e,{placement:_,boundary:o,rootBoundary:r,padding:s})[Di(_)],m},{});return Object.keys(h).sort(function(m,_){return h[m]-h[_]})}(n,{placement:mo,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:_}):mo)},[]),B=n.rects.reference,U=n.rects.popper,ie=new Map,ce=!0,ot=P[0],ft=0;ft<P.length;ft++){var ht=P[ft],ni=Di(ht),sn=Fs(ht)===Ps,ur=[Nn,Xn].indexOf(ni)>=0,dr=ur?"width":"height",On=g_(n,{placement:ht,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),ii=ur?sn?ei:In:sn?Xn:Nn;B[dr]>U[dr]&&(ii=Bd(ii));var yf=Bd(ii),fr=[];if(r&&fr.push(On[ni]<=0),a&&fr.push(On[ii]<=0,On[yf]<=0),fr.every(function(qs){return qs})){ot=ht,ce=!1;break}ie.set(ht,fr)}if(ce)for(var ov=function(mo){var Jl=P.find(function(wf){var hr=ie.get(wf);if(hr)return hr.slice(0,mo).every(function(rv){return rv})});if(Jl)return ot=Jl,"break"},Zl=m?3:1;Zl>0&&"break"!==ov(Zl);Zl--);n.placement!==ot&&(n.modifiersData[i]._skip=!0,n.placement=ot,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function xl(e,n,t){return er(e,Vd(n,t))}function m_(e){var n=ks(e),t=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:i}}const xG={name:"preventOverflow",enabled:!0,phase:"main",fn:function PG(e){var n=e.state,t=e.options,i=e.name,o=t.mainAxis,r=void 0===o||o,s=t.altAxis,a=void 0!==s&&s,f=t.tether,h=void 0===f||f,m=t.tetherOffset,_=void 0===m?0:m,D=g_(n,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),E=Di(n.placement),C=Fs(n.placement),I=!C,P=p_(E),B=function AG(e){return"x"===e?"y":"x"}(P),U=n.modifiersData.popperOffsets,ie=n.rects.reference,ce=n.rects.popper,ot="function"==typeof _?_(Object.assign({},n.rects,{placement:n.placement})):_,ft="number"==typeof ot?{mainAxis:ot,altAxis:ot}:Object.assign({mainAxis:0,altAxis:0},ot),ht=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,ni={x:0,y:0};if(U){if(r){var sn,ur="y"===P?Nn:In,dr="y"===P?Xn:ei,On="y"===P?"height":"width",ii=U[P],yf=ii+D[ur],fr=ii-D[dr],bf=h?-ce[On]/2:0,ov=C===Ps?ie[On]:ce[On],Zl=C===Ps?-ce[On]:-ie[On],Df=n.elements.arrow,qs=h&&Df?m_(Df):{width:0,height:0},mo=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Jl=mo[ur],wf=mo[dr],hr=xl(0,ie[On],qs[On]),rv=I?ie[On]/2-bf-hr-Jl-ft.mainAxis:ov-hr-Jl-ft.mainAxis,Nq=I?-ie[On]/2+bf+hr+wf+ft.mainAxis:Zl+hr+wf+ft.mainAxis,sv=n.elements.arrow&&Pl(n.elements.arrow),Iq=sv?"y"===P?sv.clientTop||0:sv.clientLeft||0:0,SS=null!=(sn=ht?.[P])?sn:0,Sq=ii+Nq-SS,OS=xl(h?Vd(yf,ii+rv-SS-Iq):yf,ii,h?er(fr,Sq):fr);U[P]=OS,ni[P]=OS-ii}if(a){var AS,pr=U[B],Cf="y"===B?"height":"width",RS=pr+D["x"===P?Nn:In],PS=pr-D["x"===P?Xn:ei],av=-1!==[Nn,In].indexOf(E),xS=null!=(AS=ht?.[B])?AS:0,kS=av?RS:pr-ie[Cf]-ce[Cf]-xS+ft.altAxis,FS=av?pr+ie[Cf]+ce[Cf]-xS-ft.altAxis:PS,LS=h&&av?function RG(e,n,t){var i=xl(e,n,t);return i>t?t:i}(kS,pr,FS):xl(h?kS:RS,pr,h?FS:PS);U[B]=LS,ni[B]=LS-pr}n.modifiersData[i]=ni}},requiresIfExists:["offset"]},BG={name:"arrow",enabled:!0,phase:"main",fn:function FG(e){var n,t=e.state,i=e.name,o=e.options,r=t.elements.arrow,s=t.modifiersData.popperOffsets,a=Di(t.placement),l=p_(a),u=[In,ei].indexOf(a)>=0?"height":"width";if(r&&s){var d=function(n,t){return _I("number"!=typeof(n="function"==typeof n?n(Object.assign({},t.rects,{placement:t.placement})):n)?n:vI(n,Sl))}(o.padding,t),f=m_(r),h="y"===l?Nn:In,m="y"===l?Xn:ei,_=t.rects.reference[u]+t.rects.reference[l]-s[l]-t.rects.popper[u],D=s[l]-t.rects.reference[l],E=Pl(r),C=E?"y"===l?E.clientHeight||0:E.clientWidth||0:0,U=C/2-f[u]/2+(_/2-D/2),ie=xl(d[h],U,C-f[u]-d[m]);t.modifiersData[i]=((n={})[l]=ie,n.centerOffset=ie-U,n)}},effect:function LG(e){var n=e.state,i=e.options.element,o=void 0===i?"[data-popper-arrow]":i;null!=o&&("string"==typeof o&&!(o=n.elements.popper.querySelector(o))||hI(n.elements.popper,o)&&(n.elements.arrow=o))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function UG(e,n,t){void 0===t&&(t=!1);var i=Vn(n),o=Vn(n)&&function jG(e){var n=e.getBoundingClientRect(),t=xs(n.width)/e.offsetWidth||1,i=xs(n.height)/e.offsetHeight||1;return 1!==t||1!==i}(n),r=uo(n),s=ks(e,o,t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!t)&&(("body"!==wi(n)||f_(r))&&(a=function HG(e){return e!==Mn(e)&&Vn(e)?function VG(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):u_(e)}(n)),Vn(n)?((l=ks(n,!0)).x+=n.clientLeft,l.y+=n.clientTop):r&&(l.x=d_(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function $G(e){var n=new Map,t=new Set,i=[];function o(r){t.add(r.name),[].concat(r.requires||[],r.requiresIfExists||[]).forEach(function(a){if(!t.has(a)){var l=n.get(a);l&&o(l)}}),i.push(r)}return e.forEach(function(r){n.set(r.name,r)}),e.forEach(function(r){t.has(r.name)||o(r)}),i}function WG(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}var yI={placement:"bottom",modifiers:[],strategy:"absolute"};function bI(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return!n.some(function(i){return!(i&&"function"==typeof i.getBoundingClientRect)})}function qG(e){void 0===e&&(e={});var t=e.defaultModifiers,i=void 0===t?[]:t,o=e.defaultOptions,r=void 0===o?yI:o;return function(a,l,c){void 0===c&&(c=r);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},yI,r),modifiersData:{},elements:{reference:a,popper:l},attributes:{},styles:{}},d=[],f=!1,h={state:u,setOptions:function(E){var C="function"==typeof E?E(u.options):E;_(),u.options=Object.assign({},r,u.options,C),u.scrollParents={reference:Xo(a)?Rl(a):a.contextElement?Rl(a.contextElement):[],popper:Rl(l)};var I=function GG(e){var n=$G(e);return yG.reduce(function(t,i){return t.concat(n.filter(function(o){return o.phase===i}))},[])}(function zG(e){var n=e.reduce(function(t,i){var o=t[i.name];return t[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,t},{});return Object.keys(n).map(function(t){return n[t]})}([].concat(i,u.options.modifiers)));return u.orderedModifiers=I.filter(function(ht){return ht.enabled}),function m(){u.orderedModifiers.forEach(function(D){var C=D.options,P=D.effect;if("function"==typeof P){var B=P({state:u,name:D.name,instance:h,options:void 0===C?{}:C});d.push(B||function(){})}})}(),h.update()},forceUpdate:function(){if(!f){var E=u.elements,C=E.reference,I=E.popper;if(bI(C,I)){u.rects={reference:UG(C,Pl(I),"fixed"===u.options.strategy),popper:m_(I)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(ht){return u.modifiersData[ht.name]=Object.assign({},ht.data)});for(var B=0;B<u.orderedModifiers.length;B++)if(!0!==u.reset){var U=u.orderedModifiers[B],ie=U.fn,ce=U.options;"function"==typeof ie&&(u=ie({state:u,options:void 0===ce?{}:ce,name:U.name,instance:h})||u)}else u.reset=!1,B=-1}}},update:WG(function(){return new Promise(function(D){h.forceUpdate(),D(u)})}),destroy:function(){_(),f=!0}};if(!bI(a,l))return h;function _(){d.forEach(function(D){return D()}),d=[]}return h.setOptions(c).then(function(D){!f&&c.onFirstUpdate&&c.onFirstUpdate(D)}),h}}var jd={passive:!0},QG={top:"auto",right:"auto",bottom:"auto",left:"auto"};function DI(e){var n,t=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=s.x,h=void 0===f?0:f,m=s.y,_=void 0===m?0:m,D="function"==typeof u?u({x:h,y:_}):{x:h,y:_};h=D.x,_=D.y;var E=s.hasOwnProperty("x"),C=s.hasOwnProperty("y"),I=In,P=Nn,B=window;if(c){var U=Pl(t),ie="clientHeight",ce="clientWidth";U===Mn(t)&&"static"!==Vi(U=uo(t)).position&&"absolute"===a&&(ie="scrollHeight",ce="scrollWidth"),(o===Nn||(o===In||o===ei)&&r===Ol)&&(P=Xn,_-=(d&&U===B&&B.visualViewport?B.visualViewport.height:U[ie])-i.height,_*=l?1:-1),o!==In&&(o!==Nn&&o!==Xn||r!==Ol)||(I=ei,h-=(d&&U===B&&B.visualViewport?B.visualViewport.width:U[ce])-i.width,h*=l?1:-1)}var sn,ht=Object.assign({position:a},c&&QG),ni=!0===u?function XG(e,n){var i=e.y,o=n.devicePixelRatio||1;return{x:xs(e.x*o)/o||0,y:xs(i*o)/o||0}}({x:h,y:_},Mn(t)):{x:h,y:_};return h=ni.x,_=ni.y,Object.assign({},ht,l?((sn={})[P]=C?"0":"",sn[I]=E?"0":"",sn.transform=(B.devicePixelRatio||1)<=1?"translate("+h+"px, "+_+"px)":"translate3d("+h+"px, "+_+"px, 0)",sn):((n={})[P]=C?_+"px":"",n[I]=E?h+"px":"",n.transform="",n))}var r8=qG({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function YG(e){var n=e.state,t=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=Mn(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",t.update,jd)}),a&&l.addEventListener("resize",t.update,jd),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",t.update,jd)}),a&&l.removeEventListener("resize",t.update,jd)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function ZG(e){var n=e.state;n.modifiersData[e.name]=gI({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function e8(e){var n=e.state,t=e.options,i=t.gpuAcceleration,o=void 0===i||i,r=t.adaptive,s=void 0===r||r,a=t.roundOffsets,l=void 0===a||a,u={placement:Di(n.placement),variation:Fs(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,DI(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:s,roundOffsets:l})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,DI(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function n8(e){var n=e.state;Object.keys(n.elements).forEach(function(t){var i=n.styles[t]||{},o=n.attributes[t]||{},r=n.elements[t];!Vn(r)||!wi(r)||(Object.assign(r.style,i),Object.keys(o).forEach(function(s){var a=o[s];!1===a?r.removeAttribute(s):r.setAttribute(s,!0===a?"":a)}))})},effect:function i8(e){var n=e.state,t={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,t.popper),n.styles=t,n.elements.arrow&&Object.assign(n.elements.arrow.style,t.arrow),function(){Object.keys(n.elements).forEach(function(i){var o=n.elements[i],r=n.attributes[i]||{},a=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:t[i]).reduce(function(l,c){return l[c]="",l},{});!Vn(o)||!wi(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}},requires:["computeStyles"]}]});const l8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function a8(e){var n=e.state,i=e.name,o=e.options.offset,r=void 0===o?[0,0]:o,s=cI.reduce(function(u,d){return u[d]=function s8(e,n,t){var i=Di(e),o=[In,Nn].indexOf(i)>=0?-1:1,r="function"==typeof t?t(Object.assign({},n,{placement:e})):t,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[In,ei].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(d,n.rects,r),u},{}),a=s[n.placement],c=a.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=a.x,n.modifiersData.popperOffsets.y+=c),n.modifiersData[i]=s}},c8=(e,n)=>({$implicit:e,opened:n});function u8(e,n){}function d8(e,n){if(1&e&&(p(0,"button",3),w(1),M(2,u8,0,0,"ng-template",4),g()),2&e){const t=n.$implicit;b("ngbPanelToggle",t),y(),Pe(" ",t.title," "),y(),b("ngTemplateOutlet",null==t.titleTpl?null:t.titleTpl.templateRef)}}function f8(e,n){}function h8(e,n){}function p8(e,n){if(1&e){const t=le();p(0,"div",8),R("ngbRef",function(o){return F(t),L(T().$implicit.panelDiv=o)}),p(1,"div",9),M(2,h8,0,0,"ng-template",4),g()()}if(2&e){const t=T().$implicit;jo("id",t.id),oe("aria-labelledby",t.id+"-header"),y(2),b("ngTemplateOutlet",(null==t.contentTpl?null:t.contentTpl.templateRef)||null)}}function g8(e,n){if(1&e&&(p(0,"div")(1,"div",5),M(2,f8,0,0,"ng-template",6),g(),M(3,p8,3,3,"div",7),g()),2&e){const t=n.$implicit,i=T(),o=ze(1);pi("accordion-item "+(t.cardClass||"")),y(),pi("accordion-header "+(t.type?"bg-"+t.type:i.type?"bg-"+i.type:"")),Uo("id","",t.id,"-header"),y(),b("ngTemplateOutlet",(null==t.headerTpl?null:t.headerTpl.templateRef)||o)("ngTemplateOutletContext",sl(9,c8,t,t.isOpen)),y(),b("ngIf",!i.destroyOnHide||t.isOpen||t.transitionRunning)}}const m8=["ngbAccordionBody",""];function _8(e,n){}const Ud=["*"];function v8(e,n){if(1&e){const t=le();p(0,"button",1),R("click",function(){return F(t),L(T().close())}),g()}}function y8(e,n){if(1&e){const t=le();p(0,"button",9),R("click",function(){const o=F(t).$implicit,r=T();return r.focus(),L(r.select(o.id,r.NgbSlideEventSource.INDICATOR))}),g()}if(2&e){const t=n.$implicit,i=T();W("active",t.id===i.activeId),oe("aria-labelledby","slide-"+t.id)("aria-controls","slide-"+t.id)("aria-selected",t.id===i.activeId)}}function b8(e,n){}function D8(e,n){if(1&e&&(p(0,"div",10)(1,"span",11),Bt(2,0),g(),M(3,b8,0,0,"ng-template",12),g()),2&e){const t=n.$implicit,i=n.index,o=n.count;b("id","slide-"+t.id),y(2),bs(i+1)(o),rl(2),y(),b("ngTemplateOutlet",t.tplRef)}}function w8(e,n){if(1&e){const t=le();p(0,"button",13),R("click",function(){return F(t),L(T().arrowLeft())}),z(1,"span",14),p(2,"span",11),Bt(3,1),g()()}}function C8(e,n){if(1&e){const t=le();p(0,"button",15),R("click",function(){return F(t),L(T().arrowRight())}),z(1,"span",16),p(2,"span",11),Bt(3,2),g()()}}const E8=["ngbDatepickerDayView",""],T8=["month"],N8=["year"];function I8(e,n){if(1&e&&(p(0,"option",5),w(1),g()),2&e){const t=n.$implicit,i=T();b("value",t),oe("aria-label",i.i18n.getMonthFullName(t,i.date.year)),y(),Re(i.i18n.getMonthShortName(t,i.date.year))}}function M8(e,n){if(1&e&&(p(0,"option",5),w(1),g()),2&e){const t=n.$implicit,i=T();b("value",t),y(),Re(i.i18n.getYearNumerals(t))}}function S8(e,n){if(1&e){const t=le();p(0,"ngb-datepicker-navigation-select",7),R("select",function(o){return F(t),L(T().select.emit(o))}),g()}if(2&e){const t=T();b("date",t.date)("disabled",t.disabled)("months",t.selectBoxes.months)("years",t.selectBoxes.years)}}function O8(e,n){1&e&&z(0,"div",0)}function A8(e,n){1&e&&z(0,"div",0)}function R8(e,n){if(1&e&&(M(0,O8,1,0,"div",9),p(1,"div",10),w(2),g(),M(3,A8,1,0,"div",9)),2&e){const t=n.$implicit,i=n.index,o=T(2);b("ngIf",i>0),y(2),Pe(" ",o.i18n.getMonthLabel(t.firstDate)," "),y(),b("ngIf",i!==o.months.length-1)}}function P8(e,n){1&e&&M(0,R8,4,3,"ng-template",8),2&e&&b("ngForOf",T().months)}function x8(e,n){if(1&e&&(p(0,"div",5),w(1),g()),2&e){const t=T(2);y(),Re(t.i18n.getWeekLabel())}}function k8(e,n){if(1&e&&(p(0,"div",6),w(1),g()),2&e){const t=n.$implicit;y(),Re(t)}}function F8(e,n){if(1&e&&(p(0,"div",2),M(1,x8,2,1,"div",3)(2,k8,2,1,"div",4),g()),2&e){const t=T();y(),b("ngIf",t.datepicker.showWeekNumbers),y(),b("ngForOf",t.viewModel.weekdays)}}function L8(e,n){if(1&e&&(p(0,"div",11),w(1),g()),2&e){const t=T(2).$implicit,i=T();y(),Re(i.i18n.getWeekNumerals(t.number))}}function B8(e,n){}function V8(e,n){if(1&e&&M(0,B8,0,0,"ng-template",14),2&e){const t=T().$implicit;b("ngTemplateOutlet",T(3).datepicker.dayTemplate)("ngTemplateOutletContext",t.context)}}function H8(e,n){if(1&e){const t=le();p(0,"div",12),R("click",function(o){const r=F(t).$implicit;return T(3).doSelect(r),L(o.preventDefault())}),M(1,V8,1,2,"ng-template",13),g()}if(2&e){const t=n.$implicit;W("disabled",t.context.disabled)("hidden",t.hidden)("ngb-dp-today",t.context.today),b("tabindex",t.tabindex),oe("aria-label",t.ariaLabel),y(),b("ngIf",!t.hidden)}}function j8(e,n){if(1&e&&(p(0,"div",8),M(1,L8,2,1,"div",9)(2,H8,2,9,"div",10),g()),2&e){const t=T().$implicit,i=T();y(),b("ngIf",i.datepicker.showWeekNumbers),y(),b("ngForOf",t.days)}}function U8(e,n){1&e&&M(0,j8,3,2,"div",7),2&e&&b("ngIf",!n.$implicit.collapsed)}const $8=["defaultDayTemplate"],G8=["content"];function W8(e,n){if(1&e&&z(0,"div",7),2&e){const i=n.currentMonth,o=n.selected,r=n.disabled,s=n.focused;b("date",n.date)("currentMonth",i)("selected",o)("disabled",r)("focused",s)}}function z8(e,n){if(1&e&&(p(0,"div",12),w(1),g()),2&e){const t=T().$implicit,i=T(2);y(),Pe(" ",i.i18n.getMonthLabel(t.firstDate)," ")}}function q8(e,n){if(1&e&&(p(0,"div",9),M(1,z8,2,1,"div",10),z(2,"ngb-datepicker-month",11),g()),2&e){const t=n.$implicit,i=T(2);y(),b("ngIf","none"===i.navigation||i.displayMonths>1&&"select"===i.navigation),y(),b("month",t.firstDate)}}function Y8(e,n){1&e&&M(0,q8,3,2,"div",8),2&e&&b("ngForOf",T().model.months)}function K8(e,n){if(1&e){const t=le();p(0,"ngb-datepicker-navigation",13),R("navigate",function(o){return F(t),L(T().onNavigateEvent(o))})("select",function(o){return F(t),L(T().onNavigateDateSelect(o))}),g()}if(2&e){const t=T();b("date",t.model.firstDate)("months",t.model.months)("disabled",t.model.disabled)("showSelect","select"===t.model.navigation)("prevDisabled",t.model.prevDisabled)("nextDisabled",t.model.nextDisabled)("selectBoxes",t.model.selectBoxes)}}function Z8(e,n){}function J8(e,n){}const Q8=["dialog"],X8=["ngbNavOutlet",""],e5=e=>({$implicit:e});function t5(e,n){}function n5(e,n){if(1&e&&(p(0,"div",2),M(1,t5,0,0,"ng-template",3),g()),2&e){const t=T().$implicit,i=T();b("item",t)("nav",i.nav)("role",i.paneRole),y(),b("ngTemplateOutlet",(null==t.contentTpl?null:t.contentTpl.templateRef)||null)("ngTemplateOutletContext",Lu(5,e5,t.active||i.isPanelTransitioning(t)))}}function i5(e,n){if(1&e&&M(0,n5,2,7,"div",1),2&e){const t=n.$implicit,i=T();b("ngIf",t.isPanelInDom()||i.isPanelTransitioning(t))}}const o5=(e,n,t)=>({$implicit:e,pages:n,disabled:t}),r5=e=>({disabled:!0,currentPage:e}),s5=(e,n,t)=>({disabled:e,$implicit:n,currentPage:t}),__=(e,n)=>({disabled:e,currentPage:n}),a5=e=>({disabled:e});function l5(e,n){1&e&&(p(0,"span",13),Bt(1,7),g())}function c5(e,n){1&e&&(p(0,"span",13),Bt(1,8),g())}function u5(e,n){1&e&&(p(0,"span",13),Bt(1,9),g())}function d5(e,n){1&e&&(p(0,"span",13),Bt(1,10),g())}function f5(e,n){1&e&&w(0,"...")}function h5(e,n){1&e&&w(0),2&e&&Re(n.$implicit)}function p5(e,n){}function g5(e,n){if(1&e&&(p(0,"a",18),M(1,p5,0,0,"ng-template",12),g()),2&e){const t=T(2).$implicit,i=T(),o=ze(9);y(),b("ngTemplateOutlet",(null==i.tplEllipsis?null:i.tplEllipsis.templateRef)||o)("ngTemplateOutletContext",Lu(2,r5,t))}}function m5(e,n){}function _5(e,n){if(1&e){const t=le();p(0,"a",19),R("click",function(o){F(t);const r=T().$implicit;return T(2).selectPage(r),L(o.preventDefault())}),M(1,m5,0,0,"ng-template",12),g()}if(2&e){const t=T().$implicit,i=T(),o=i.$implicit,r=i.disabled,s=T(),a=ze(11);oe("tabindex",r?"-1":null)("aria-disabled",r?"true":null),y(),b("ngTemplateOutlet",(null==s.tplNumber?null:s.tplNumber.templateRef)||a)("ngTemplateOutletContext",Bu(4,s5,r,t,o))}}function v5(e,n){if(1&e&&(p(0,"li",15),M(1,g5,2,4,"a",16)(2,_5,2,8,"a",17),g()),2&e){const t=n.$implicit,i=T(),o=i.$implicit,r=i.disabled,s=T();W("active",t===o)("disabled",s.isEllipsis(t)||r),oe("aria-current",t===o?"page":null),y(),b("ngIf",s.isEllipsis(t)),y(),b("ngIf",!s.isEllipsis(t))}}function y5(e,n){1&e&&M(0,v5,3,7,"li",14),2&e&&b("ngForOf",n.pages)}function b5(e,n){}function D5(e,n){if(1&e){const t=le();p(0,"li",15)(1,"a",20),R("click",function(o){return F(t),T().selectPage(1),L(o.preventDefault())}),M(2,b5,0,0,"ng-template",12),g()()}if(2&e){const t=T(),i=ze(1);W("disabled",t.previousDisabled()),y(),oe("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),y(),b("ngTemplateOutlet",(null==t.tplFirst?null:t.tplFirst.templateRef)||i)("ngTemplateOutletContext",sl(6,__,t.previousDisabled(),t.page))}}function w5(e,n){}function C5(e,n){if(1&e){const t=le();p(0,"li",15)(1,"a",21),R("click",function(o){F(t);const r=T();return r.selectPage(r.page-1),L(o.preventDefault())}),M(2,w5,0,0,"ng-template",12),g()()}if(2&e){const t=T(),i=ze(3);W("disabled",t.previousDisabled()),y(),oe("tabindex",t.previousDisabled()?"-1":null)("aria-disabled",t.previousDisabled()?"true":null),y(),b("ngTemplateOutlet",(null==t.tplPrevious?null:t.tplPrevious.templateRef)||i)("ngTemplateOutletContext",Lu(6,a5,t.previousDisabled()))}}function E5(e,n){}function T5(e,n){}function N5(e,n){if(1&e){const t=le();p(0,"li",15)(1,"a",22),R("click",function(o){F(t);const r=T();return r.selectPage(r.page+1),L(o.preventDefault())}),M(2,T5,0,0,"ng-template",12),g()()}if(2&e){const t=T(),i=ze(5);W("disabled",t.nextDisabled()),y(),oe("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),y(),b("ngTemplateOutlet",(null==t.tplNext?null:t.tplNext.templateRef)||i)("ngTemplateOutletContext",sl(6,__,t.nextDisabled(),t.page))}}function I5(e,n){}function M5(e,n){if(1&e){const t=le();p(0,"li",15)(1,"a",23),R("click",function(o){F(t);const r=T();return r.selectPage(r.pageCount),L(o.preventDefault())}),M(2,I5,0,0,"ng-template",12),g()()}if(2&e){const t=T(),i=ze(7);W("disabled",t.nextDisabled()),y(),oe("tabindex",t.nextDisabled()?"-1":null)("aria-disabled",t.nextDisabled()?"true":null),y(),b("ngTemplateOutlet",(null==t.tplLast?null:t.tplLast.templateRef)||i)("ngTemplateOutletContext",sl(6,__,t.nextDisabled(),t.page))}}function A5(e,n){if(1&e&&(p(0,"span"),Bt(1,0),vi(2,"percent"),g()),2&e){const t=T();y(2),bs(function bC(e,n,t){const i=e+q,o=N(),r=kr(o,i);return ll(o,i)?gC(o,Jt(),n,r.transform,t,r):r.transform(t)}(2,1,t.getValue()/t.max)),rl(1)}}function R5(e,n){1&e&&w(0),2&e&&Re(100===n.fill?"\u2605":"\u2606")}function P5(e,n){}function x5(e,n){if(1&e){const t=le();p(0,"span",2),w(1),g(),p(2,"span",3),R("mouseenter",function(){const o=F(t).index;return L(T().enter(o+1))})("click",function(){const o=F(t).index;return L(T().handleClick(o+1))}),M(3,P5,0,0,"ng-template",4),g()}if(2&e){const t=n.index,i=T(),o=ze(1);y(),Pe("(",t<i.nextRate?"*":" ",")"),y(),_s("cursor",i.isInteractive()?"pointer":"default"),y(),b("ngTemplateOutlet",i.starTemplate||i.starTemplateFromContent||o)("ngTemplateOutletContext",i.contexts[t])}}function k5(e,n){if(1&e){const t=le();p(0,"button",20),R("click",function(){F(t);const o=T();return L(o.changeHour(o.hourStep))}),z(1,"span",21),p(2,"span",22),Bt(3,1),g()()}if(2&e){const t=T();W("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),b("disabled",t.disabled)}}function F5(e,n){if(1&e){const t=le();p(0,"button",20),R("click",function(){F(t);const o=T();return L(o.changeHour(-o.hourStep))}),z(1,"span",23),p(2,"span",22),Bt(3,2),g()()}if(2&e){const t=T();W("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),b("disabled",t.disabled)}}function L5(e,n){if(1&e){const t=le();p(0,"button",20),R("click",function(){F(t);const o=T();return L(o.changeMinute(o.minuteStep))}),z(1,"span",21),p(2,"span",22),Bt(3,3),g()()}if(2&e){const t=T();W("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),b("disabled",t.disabled)}}function B5(e,n){if(1&e){const t=le();p(0,"button",20),R("click",function(){F(t);const o=T();return L(o.changeMinute(-o.minuteStep))}),z(1,"span",23),p(2,"span",22),Bt(3,4),g()()}if(2&e){const t=T();W("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),b("disabled",t.disabled)}}function V5(e,n){1&e&&(p(0,"div",14),w(1,":"),g())}function H5(e,n){if(1&e){const t=le();p(0,"button",20),R("click",function(){F(t);const o=T(2);return L(o.changeSecond(o.secondStep))}),z(1,"span",21),p(2,"span",22),Bt(3,5),g()()}if(2&e){const t=T(2);W("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),b("disabled",t.disabled)}}function j5(e,n){if(1&e){const t=le();p(0,"button",20),R("click",function(){F(t);const o=T(2);return L(o.changeSecond(-o.secondStep))}),z(1,"span",23),p(2,"span",22),Bt(3,6),g()()}if(2&e){const t=T(2);W("btn-sm",t.isSmallSize)("btn-lg",t.isLargeSize)("disabled",t.disabled),b("disabled",t.disabled)}}function U5(e,n){if(1&e){const t=le();p(0,"div",24),M(1,H5,4,7,"button",12),p(2,"input",25),R("change",function(o){return F(t),L(T().updateSecond(o.target.value))})("blur",function(){return F(t),L(T().handleBlur())})("input",function(o){return F(t),L(T().formatInput(o.target))})("keydown.ArrowUp",function(o){F(t);const r=T();return r.changeSecond(r.secondStep),L(o.preventDefault())})("keydown.ArrowDown",function(o){F(t);const r=T();return r.changeSecond(-r.secondStep),L(o.preventDefault())}),g(),M(3,j5,4,7,"button",12),g()}if(2&e){const t=T();y(),b("ngIf",t.spinners),y(),W("form-control-sm",t.isSmallSize)("form-control-lg",t.isLargeSize),b("value",t.formatMinSec(null==t.model?null:t.model.second))("readOnly",t.readonlyInputs)("disabled",t.disabled),y(),b("ngIf",t.spinners)}}function $5(e,n){1&e&&z(0,"div",14)}function G5(e,n){if(1&e&&(mi(0),Bt(1,7),_i()),2&e){const t=T(2);y(),bs(t.i18n.getAfternoonPeriod()),rl(1)}}function W5(e,n){1&e&&Bt(0,8),2&e&&(bs(T(2).i18n.getMorningPeriod()),rl(0))}function z5(e,n){if(1&e){const t=le();p(0,"div",26)(1,"button",27),R("click",function(){return F(t),L(T().toggleMeridian())}),M(2,G5,2,1,"ng-container",28)(3,W5,1,1,"ng-template",null,0,Vt),g()()}if(2&e){const t=ze(4),i=T();y(),W("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),b("disabled",i.disabled),y(),b("ngIf",i.model&&i.model.hour>=12)("ngIfElse",t)}}function q5(e,n){if(1&e&&(p(0,"strong",3),w(1),g()),2&e){const t=T();y(),Re(t.header)}}function Y5(e,n){}function K5(e,n){if(1&e){const t=le();p(0,"div",4),M(1,Y5,0,0,"ng-template",5),p(2,"button",6),R("click",function(){return F(t),L(T().hide())}),g()()}if(2&e){const t=T(),i=ze(1);y(),b("ngTemplateOutlet",t.contentHeaderTpl||i)}}function Z5(e,n){if(1&e&&(p(0,"span"),w(1),g()),2&e){const t=T().$implicit;pi(T().highlightClass),y(),Re(t)}}function J5(e,n){1&e&&w(0),2&e&&Re(T().$implicit)}function Q5(e,n){if(1&e&&M(0,Z5,2,3,"span",2)(1,J5,1,1,"ng-template",null,0,Vt),2&e){const t=n.odd,i=ze(2);b("ngIf",t)("ngIfElse",i)}}const X5=(e,n,t)=>({result:e,term:n,formatter:t});function eW(e,n){if(1&e&&z(0,"ngb-highlight",2),2&e){const i=n.term;b("result",(0,n.formatter)(n.result))("term",i)}}function tW(e,n){}function nW(e,n){if(1&e){const t=le();p(0,"button",3),R("mouseenter",function(){const o=F(t).index;return L(T().markActive(o))})("click",function(){const o=F(t).$implicit;return L(T().select(o))}),M(1,tW,0,0,"ng-template",4),g()}if(2&e){const t=n.$implicit,i=n.index,o=T(),r=ze(1);W("active",i===o.activeIdx),b("id",o.id+"-"+i),y(),b("ngTemplateOutlet",o.resultTemplate||r)("ngTemplateOutletContext",Bu(5,X5,t,o.term,o.formatter))}}function jt(e){return parseInt(`${e}`,10)}function kl(e){return null!=e?`${e}`:""}function $d(e,n,t=0){return Math.max(Math.min(e,n),t)}function Ls(e){return"string"==typeof e}function it(e){return!isNaN(jt(e))}function et(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function fo(e){return null!=e}function Bs(e){return it(e)?`0${e}`.slice(-2):""}function CI(e,n){return e&&e.className&&e.className.split&&e.className.split(/\s+/).indexOf(n)>=0}function Vs(e){return(e||document.body).getBoundingClientRect()}function EI(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const TI={animation:!0,transitionTimerDelayMs:5},aW=()=>{},{transitionTimerDelayMs:lW}=TI,Fl=new Map,Mt=(e,n,t,i)=>{let o=i.context||{};const r=Fl.get(n);if(r)switch(i.runningTransition){case"continue":return Il;case"stop":e.run(()=>r.transition$.complete()),o=Object.assign(r.context,o),Fl.delete(n)}const s=t(n,i.animation,o)||aW;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return e.run(()=>s()),bi(void 0).pipe(function rW(e){return n=>new Xe(t=>n.subscribe({next:s=>e.run(()=>t.next(s)),error:s=>e.run(()=>t.error(s)),complete:()=>e.run(()=>t.complete())}))}(e));const a=new $e,l=new $e,c=a.pipe(function eG(...e){return n=>Fd(n,bi(...e))}(!0));Fl.set(n,{transition$:a,complete:()=>{l.next(),l.complete()},context:o});const u=function sW(e){const{transitionDelay:n,transitionDuration:t}=window.getComputedStyle(e);return 1e3*(parseFloat(n)+parseFloat(t))}(n);return e.runOutsideAngular(()=>{const d=bt(n,"transitionend").pipe(nt(c),Qn(({target:h})=>h===n));XN(xd(u+lW).pipe(nt(c)),d,l).pipe(nt(c)).subscribe(()=>{Fl.delete(n),e.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()},v_=(e,n,t)=>{let{direction:i,maxSize:o,dimension:r}=t;const{classList:s}=e;function a(){s.add("collapse"),"show"===i?s.add("show"):s.remove("show")}if(n)return o||(o=function uW(e,n){if(typeof navigator>"u")return"0px";const{classList:t}=e,i=t.contains("show");i||t.add("show"),e.style[n]="";const o=e.getBoundingClientRect()[n]+"px";return i||t.remove("show"),o}(e,r),t.maxSize=o,e.style[r]="show"!==i?o:"0px",s.remove("collapse"),s.remove("collapsing"),s.remove("show"),Vs(e),s.add("collapsing")),e.style[r]="show"===i?o:"0px",()=>{a(),s.remove("collapsing"),e.style[r]=""};a()};let tr=(()=>{class e{constructor(){this.animation=TI.animation}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),NI=(()=>{class e{constructor(t){this._ngbConfig=t,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(k(tr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),dW=0,y_=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPanelHeader",""]],standalone:!0}),e})(),II=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPanelTitle",""]],standalone:!0}),e})(),MI=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPanelContent",""]],standalone:!0}),e})(),b_=(()=>{class e{constructor(){this.disabled=!1,this.id="ngb-panel-"+dW++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new j,this.hidden=new j}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=x({type:e,selectors:[["ngb-panel"]],contentQueries:function(t,i,o){if(1&t&&(We(o,II,4),We(o,y_,4),We(o,MI,4)),2&t){let r;fe(r=he())&&(i.titleTpls=r),fe(r=he())&&(i.headerTpls=r),fe(r=he())&&(i.contentTpls=r)}},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"},standalone:!0}),e})(),fW=(()=>{class e{constructor(t){this._El=t,this.ngbRef=new j}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}return e.\u0275fac=function(t){return new(t||e)(v(ge))},e.\u0275dir=x({type:e,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"},standalone:!0}),e})(),SI=(()=>{class e{constructor(t,i){this.accordion=t,this.panel=i}set ngbPanelToggle(t){t&&(this.panel=t)}}return e.\u0275fac=function(t){return new(t||e)(v(Q(()=>D_)),v(b_,9))},e.\u0275dir=x({type:e,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(t,i){1&t&&R("click",function(){return i.accordion.toggle(i.panel.id)}),2&t&&(Qt("disabled",i.panel.disabled),oe("aria-expanded",i.panel.isOpen)("aria-controls",i.panel.id),W("collapsed",!i.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"},standalone:!0}),e})(),D_=(()=>{class e{constructor(t,i,o){this._ngZone=i,this._changeDetector=o,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new j,this.shown=new j,this.hidden=new j,this.animation=t.animation,this.type=t.type,this.closeOtherPanels=t.closeOthers}isExpanded(t){return this.activeIds.indexOf(t)>-1}expand(t){this._changeOpenState(this._findPanelById(t),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(t=>this._changeOpenState(t,!0))}collapse(t){this._changeOpenState(this._findPanelById(t),!1)}collapseAll(){this.panels.forEach(t=>{this._changeOpenState(t,!1)})}toggle(t){const i=this._findPanelById(t);i&&this._changeOpenState(i,!i.isOpen)}ngAfterContentChecked(){Ls(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(t=>{t.isOpen=!t.disabled&&this.activeIds.indexOf(t.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe(kt(1)).subscribe(()=>{this.panels.forEach(t=>{const i=t.panelDiv;i?t.initClassDone||(t.initClassDone=!0,Mt(this._ngZone,i,v_,{animation:!1,runningTransition:"continue",context:{direction:t.isOpen?"show":"hide",dimension:"height"}})):t.initClassDone=!1})})}_changeOpenState(t,i){if(null!=t&&!t.disabled&&t.isOpen!==i){let o=!1;this.panelChange.emit({panelId:t.id,nextState:i,preventDefault:()=>{o=!0}}),o||(t.isOpen=i,t.transitionRunning=!0,i&&this.closeOtherPanels&&this._closeOthers(t.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(t,i=!0){this.panels.forEach(o=>{o.id!==t&&o.isOpen&&(o.isOpen=!1,o.transitionRunning=i)})}_findPanelById(t){return this.panels.find(i=>i.id===t)||null}_updateActiveIds(){this.activeIds=this.panels.filter(t=>t.isOpen&&!t.disabled).map(t=>t.id)}_runTransitions(t){this._changeDetector.detectChanges(),this.panels.forEach(i=>{i.transitionRunning&&Mt(this._ngZone,i.panelDiv,v_,{animation:t,runningTransition:"stop",context:{direction:i.isOpen?"show":"hide",dimension:"height"}}).subscribe(()=>{i.transitionRunning=!1;const{id:r}=i;i.isOpen?(i.shown.emit(),this.shown.emit(r)):(i.hidden.emit(),this.hidden.emit(r))})})}}return e.\u0275fac=function(t){return new(t||e)(v(NI),v(X),v(tn))},e.\u0275cmp=te({type:e,selectors:[["ngb-accordion"]],contentQueries:function(t,i,o){if(1&t&&We(o,b_,4),2&t){let r;fe(r=he())&&(i.panels=r)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(t,i){2&t&&oe("aria-multiselectable",!i.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:[0,"closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0,features:[Ye],decls:3,vars:1,consts:[["t",""],["ngbPanelHeader",""],["ngFor","",3,"ngForOf"],[1,"accordion-button",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"ngbRef","id"],[1,"accordion-body"]],template:function(t,i){1&t&&M(0,d8,3,3,"ng-template",1,0,Vt)(2,g8,4,12,"ng-template",2),2&t&&(y(2),b("ngForOf",i.panels))},dependencies:[ut,Zn,SI,fW,y_,tt],encapsulation:2}),e})(),hW=(()=>{class e{constructor(t){this._ngbConfig=t,this.horizontal=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(k(tr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),OI=(()=>{class e{constructor(t,i,o){this._element=t,this._zone=o,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new j,this.shown=new j,this.hidden=new j,this.animation=i.animation,this.horizontal=i.horizontal}set collapsed(t){this._isCollapsed!==t&&(this._isCollapsed=t,this._afterInit&&this._runTransitionWithEvents(t,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(t=this._isCollapsed){this.collapsed=!t,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(t,i){return Mt(this._zone,this._element.nativeElement,v_,{animation:i,runningTransition:"stop",context:{direction:t?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(t,i){this._runTransition(t,i).subscribe(()=>{t?this.hidden.emit():this.shown.emit()})}}return e.\u0275fac=function(t){return new(t||e)(v(ge),v(hW),v(X))},e.\u0275dir=x({type:e,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(t,i){2&t&&W("collapse-horizontal",i.horizontal)},inputs:{animation:"animation",collapsed:[0,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0}),e})(),pW=0,AI=(()=>{class e{constructor(t){this._item=t}template(){return!1===this._item.destroyOnHide||this._item.animatingBodyCollapse?this._bodyTpl:null}}return e.\u0275fac=function(t){return new(t||e)(v(Q(()=>nr)))},e.\u0275cmp=te({type:e,selectors:[["","ngbAccordionBody",""]],contentQueries:function(t,i,o){if(1&t&&We(o,Oe,7),2&t){let r;fe(r=he())&&(i._bodyTpl=r.first)}},hostVars:2,hostBindings:function(t,i){2&t&&W("accordion-body",!0)},standalone:!0,features:[Ye],attrs:m8,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(t,i){1&t&&M(0,_8,0,0,"ng-template",0),2&t&&b("ngTemplateOutlet",i.template())},dependencies:[Zn],encapsulation:2}),e})(),RI=(()=>{class e{constructor(t,i){this.item=t,this.ngbCollapse=i}}return e.\u0275fac=function(t){return new(t||e)(v(Q(()=>nr)),v(OI))},e.\u0275dir=x({type:e,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region"],hostVars:4,hostBindings:function(t,i){2&t&&(Qt("id",i.item.collapseId),oe("aria-labelledby",i.item.toggleId),W("accordion-collapse",!0))},exportAs:["ngbAccordionCollapse"],standalone:!0,features:[qa([OI])]}),e})(),nr=(()=>{class e{constructor(t,i){this._accordion=t,this._cd=i,this._subscriptions=[],this._collapsed=!0,this._id="ngb-accordion-item-"+pW++,this.animatingBodyCollapse=!1,this.destroyOnHide=this._accordion.destroyOnHide,this.disabled=!1,this.shown=new j,this.hidden=new j}set id(t){Ls(t)&&""!==t&&(this._id=t)}set collapsed(t){if(this.collapsed!==t){if(this.collapsed&&!this._accordion._ensureCanExpand(this))return;this._collapsed=t,this._cd.markForCheck(),this.collapsed||(this.animatingBodyCollapse=!0,this._cd.detectChanges()),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=this.collapsed}}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}ngAfterContentInit(){const{ngbCollapse:t}=this._collapse;t.animation=!1,t.collapsed=this.collapsed,t.animation=this._accordion.animation,this._subscriptions.push(t.hidden.subscribe(()=>{this.animatingBodyCollapse=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id)}),t.shown.subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id)}))}ngOnDestroy(){this._subscriptions.forEach(t=>t.unsubscribe())}toggle(){this.collapsed=!this.collapsed}expand(){this.collapsed=!1}collapse(){this.collapsed=!0}}return e.\u0275fac=function(t){return new(t||e)(v(Q(()=>w_)),v(tn))},e.\u0275dir=x({type:e,selectors:[["","ngbAccordionItem",""]],contentQueries:function(t,i,o){if(1&t&&We(o,RI,7),2&t){let r;fe(r=he())&&(i._collapse=r.first)}},hostVars:3,hostBindings:function(t,i){2&t&&(Qt("id",i.id),W("accordion-item",!0))},inputs:{id:[0,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbAccordionItem"],standalone:!0}),e})(),w_=(()=>{class e{constructor(t){this.destroyOnHide=!0,this.shown=new j,this.hidden=new j,this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=t.animation,this.closeOthers=t.closeOthers}toggle(t){this._getItem(t)?.toggle()}expand(t){this._getItem(t)?.expand()}expandAll(){this.closeOthers?this._items.find(t=>!t.collapsed)||this._items.first.expand():this._items.forEach(t=>t.expand())}collapse(t){this._getItem(t)?.collapse()}collapseAll(){this._items.forEach(t=>t.collapse())}isExpanded(t){const i=this._getItem(t);return!!i&&!i.collapsed}_ensureCanExpand(t){return!(this.closeOthers&&(this._items?(this._items.find(i=>!i.collapsed&&t!==i)?.collapse(),0):this._anItemWasAlreadyExpandedDuringInitialisation||(this._anItemWasAlreadyExpandedDuringInitialisation=!0,0)))}_getItem(t){return this._items.find(i=>i.id===t)}}return e.\u0275fac=function(t){return new(t||e)(v(NI))},e.\u0275dir=x({type:e,selectors:[["","ngbAccordion",""]],contentQueries:function(t,i,o){if(1&t&&We(o,nr,4),2&t){let r;fe(r=he())&&(i._items=r)}},hostVars:2,hostBindings:function(t,i){2&t&&W("accordion",!0)},inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0}),e})(),xI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[D_,AI]}),e})();const _W=({classList:e})=>{e.remove("show")};let vW=(()=>{class e{constructor(t){this._ngbConfig=t,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(k(tr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yW=(()=>{class e{constructor(t,i,o,r){this._renderer=i,this._element=o,this._zone=r,this.closed=new j,this.dismissible=t.dismissible,this.type=t.type,this.animation=t.animation}close(){const t=Mt(this._zone,this._element.nativeElement,_W,{animation:this.animation,runningTransition:"continue"});return t.subscribe(()=>this.closed.emit()),t}ngOnChanges(t){const i=t.type;i&&!i.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${i.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${i.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return e.\u0275fac=function(t){return new(t||e)(v(vW),v(hn),v(ge),v(X))},e.\u0275cmp=te({type:e,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(t,i){2&t&&W("fade",i.animation)("alert-dismissible",i.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[ke,Ye],ngContentSelectors:Ud,decls:2,vars:1,consts:()=>{let n;return n=$localize`:@@ngb.alert.close:Close`,[["type","button","class","btn-close","aria-label",n,3,"click",4,"ngIf"],["type","button","aria-label",n,1,"btn-close",3,"click"]]},template:function(t,i){1&t&&(Ds(),ws(0),M(1,v8,1,0,"button",0)),2&t&&(y(),b("ngIf",i.dismissible))},dependencies:[tt],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),e})(),kI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[yW]}),e})();var Hs=function(e){return e.START="start",e.END="end",e}(Hs||{});const FI=({classList:e})=>e.contains("carousel-item-start")||e.contains("carousel-item-end"),Ll=e=>{e.remove("carousel-item-start"),e.remove("carousel-item-end")},Gd=e=>{Ll(e),e.remove("carousel-item-prev"),e.remove("carousel-item-next")},bW=(e,n,{direction:t})=>{const{classList:i}=e;return n?(FI(e)?Ll(i):(i.add("carousel-item-"+(t===Hs.START?"next":"prev")),Vs(e),i.add("carousel-item-"+t)),()=>{Gd(i),i.add("active")}):(Ll(i),Gd(i),void i.add("active"))},DW=(e,n,{direction:t})=>{const{classList:i}=e;return n?(FI(e)?Ll(i):i.add("carousel-item-"+t),()=>{Gd(i),i.remove("active")}):(Ll(i),Gd(i),void i.remove("active"))};let wW=(()=>{class e{constructor(t){this._ngbConfig=t,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(k(tr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),CW=0,EW=(()=>{class e{constructor(t){this.tplRef=t,this.id="ngb-slide-"+CW++,this.slid=new j}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0}),e})(),TW=(()=>{class e{constructor(t,i,o,r,s){this._platformId=i,this._ngZone=o,this._cd=r,this._container=s,this.NgbSlideEventSource=Bl,this._destroy$=new $e,this._interval$=new Ci(0),this._mouseHover$=new Ci(!1),this._focused$=new Ci(!1),this._pauseOnHover$=new Ci(!1),this._pauseOnFocus$=new Ci(!1),this._pause$=new Ci(!1),this._wrap$=new Ci(!1),this.slide=new j,this.slid=new j,this._transitionIds=null,this.animation=t.animation,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard,this.pauseOnHover=t.pauseOnHover,this.pauseOnFocus=t.pauseOnFocus,this.showNavigationArrows=t.showNavigationArrows,this.showNavigationIndicators=t.showNavigationIndicators}set interval(t){this._interval$.next(t)}get interval(){return this._interval$.value}set wrap(t){this._wrap$.next(t)}get wrap(){return this._wrap$.value}set pauseOnHover(t){this._pauseOnHover$.next(t)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(t){this._pauseOnFocus$.next(t)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(t){this._mouseHover$.next(t)}get mouseHover(){return this._mouseHover$.value}set focused(t){this._focused$.next(t)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(Bl.ARROW_LEFT)}arrowRight(){this.focus(),this.next(Bl.ARROW_RIGHT)}ngAfterContentInit(){iT(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const t=eI([this.slide.pipe(Se(i=>i.current),r_(this.activeId)),this._wrap$,this.slides.changes.pipe(r_(null))]).pipe(Se(([i,o])=>{const r=this.slides.toArray(),s=this._getSlideIdxById(i);return o?r.length>1:s<r.length-1}),co());eI([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,t]).pipe(Se(([i,o,r,s,a,l,c])=>i||o&&r||s&&a||!c?0:l),co(),Ld(i=>i>0?xd(i,i):nI),nt(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Bl.TIMER)))}),this.slides.changes.pipe(nt(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(t=>(e=>{Fl.get(e)?.complete()})(this._getSlideElement(t))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe(kt(1)).subscribe(()=>{for(const{id:t}of this.slides){const i=this._getSlideElement(t);t===this.activeId?i.classList.add("active"):i.classList.remove("active")}})})}ngAfterContentChecked(){let t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const t=this._getSlideElement(this.activeId);t&&t.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(t,i){this._cycleToSelected(t,this._getSlideEventDirection(this.activeId,t),i)}prev(t){this._cycleToSelected(this._getPrevSlide(this.activeId),Hs.END,t)}next(t){this._cycleToSelected(this._getNextSlide(this.activeId),Hs.START,t)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(t,i,o){const r=this._transitionIds;if(r&&(r[0]!==t||r[1]!==this.activeId))return;let s=this._getSlideById(t);if(s&&s.id!==this.activeId){this._transitionIds=[this.activeId,t],this.slide.emit({prev:this.activeId,current:s.id,direction:i,paused:this._pause$.value,source:o});const a={animation:this.animation,runningTransition:"stop",context:{direction:i}},l=[],c=this._getSlideById(this.activeId);if(c){const h=Mt(this._ngZone,this._getSlideElement(c.id),DW,a);h.subscribe(()=>{c.slid.emit({isShown:!1,direction:i,source:o})}),l.push(h)}const u=this.activeId;this.activeId=s.id;const d=this._getSlideById(this.activeId),f=Mt(this._ngZone,this._getSlideElement(s.id),bW,a);f.subscribe(()=>{d?.slid.emit({isShown:!0,direction:i,source:o})}),l.push(f),kd(...l).pipe(kt(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:u,current:s.id,direction:i,paused:this._pause$.value,source:o})})}this._cd.markForCheck()}_getSlideEventDirection(t,i){return this._getSlideIdxById(t)>this._getSlideIdxById(i)?Hs.END:Hs.START}_getSlideById(t){return this.slides.find(i=>i.id===t)||null}_getSlideIdxById(t){const i=this._getSlideById(t);return null!=i?this.slides.toArray().indexOf(i):-1}_getNextSlide(t){const i=this.slides.toArray(),o=this._getSlideIdxById(t);return o===i.length-1?this.wrap?i[0].id:i[i.length-1].id:i[o+1].id}_getPrevSlide(t){const i=this.slides.toArray(),o=this._getSlideIdxById(t);return 0===o?this.wrap?i[i.length-1].id:i[0].id:i[o-1].id}_getSlideElement(t){return this._container.nativeElement.querySelector(`#slide-${t}`)}}return e.\u0275fac=function(t){return new(t||e)(v(wW),v(Ri),v(X),v(tn),v(ge))},e.\u0275cmp=te({type:e,selectors:[["ngb-carousel"]],contentQueries:function(t,i,o){if(1&t&&We(o,EW,4),2&t){let r;fe(r=he())&&(i.slides=r)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(t,i){1&t&&R("keydown.arrowLeft",function(){return i.keyboard&&i.arrowLeft()})("keydown.arrowRight",function(){return i.keyboard&&i.arrowRight()})("mouseenter",function(){return i.mouseHover=!0})("mouseleave",function(){return i.mouseHover=!1})("focusin",function(){return i.focused=!0})("focusout",function(){return i.focused=!1}),2&t&&(oe("aria-activedescendant","slide-"+i.activeId),_s("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[Ye],decls:6,vars:6,consts:()=>{let n,t,i;return n=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,t=$localize`:@@ngb.carousel.previous:Previous`,i=$localize`:@@ngb.carousel.next:Next`,[n,t,i,["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"]]},template:function(t,i){1&t&&(p(0,"div",3),M(1,y8,1,5,"button",4),g(),p(2,"div",5),M(3,D8,4,4,"div",6),g(),M(4,w8,4,0,"button",7)(5,C8,4,0,"button",8)),2&t&&(W("visually-hidden",!i.showNavigationIndicators),y(),b("ngForOf",i.slides),y(2),b("ngForOf",i.slides),y(),b("ngIf",i.showNavigationArrows),y(),b("ngIf",i.showNavigationArrows))},dependencies:[ut,Zn,tt],encapsulation:2,changeDetection:0}),e})();var Bl=function(e){return e.TIMER="timer",e.ARROW_LEFT="arrowLeft",e.ARROW_RIGHT="arrowRight",e.INDICATOR="indicator",e}(Bl||{});let LI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[TW]}),e})(),BI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({}),e})();class St{constructor(n,t,i){this.year=et(n)?n:null,this.month=et(t)?t:null,this.day=et(i)?i:null}static from(n){return n instanceof St?n:n?new St(n.year,n.month,n.day):null}equals(n){return null!=n&&this.year===n.year&&this.month===n.month&&this.day===n.day}before(n){return!!n&&(this.year===n.year?this.month===n.month?this.day!==n.day&&this.day<n.day:this.month<n.month:this.year<n.year)}after(n){return!!n&&(this.year===n.year?this.month===n.month?this.day!==n.day&&this.day>n.day:this.month>n.month:this.year>n.year)}}function js(e,n){return!function NW(e,n){return!e&&!n||!!e&&!!n&&e.equals(n)}(e,n)}function VI(e,n){return!(!e&&!n||e&&n&&e.year===n.year&&e.month===n.month)}function Wd(e,n,t){return e&&n&&e.before(n)?n:e&&t&&e.after(t)?t:e||null}function C_(e,n){const{minDate:t,maxDate:i,disabled:o,markDisabled:r}=n;return!(null==e||o||r&&r(e,{year:e.year,month:e.month})||t&&e.before(t)||i&&e.after(i))}function HI(e){return new St(e.getFullYear(),e.getMonth()+1,e.getDate())}function zd(e){const n=new Date(e.year,e.month-1,e.day,12);return isNaN(n.getTime())||n.setFullYear(e.year),n}let qd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:()=>function kW(){return new FW}(),providedIn:"root"}),e})(),FW=(()=>{class e extends qd{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(t,i="d",o=1){let r=zd(t),s=!0,a=r.getMonth();switch(i){case"y":r.setFullYear(r.getFullYear()+o);break;case"m":a+=o,r.setMonth(a),a%=12,a<0&&(a+=12);break;case"d":r.setDate(r.getDate()+o),s=!1;break;default:return t}return s&&r.getMonth()!==a&&r.setDate(0),HI(r)}getPrev(t,i="d",o=1){return this.getNext(t,i,-o)}getWeekday(t){let o=zd(t).getDay();return 0===o?7:o}getWeekNumber(t,i){7===i&&(i=0);const s=zd(t[(11-i)%7]);s.setDate(s.getDate()+4-(s.getDay()||7));const a=s.getTime();return s.setMonth(0),s.setDate(1),Math.floor(Math.round((a-s.getTime())/864e5)/7)+1}getToday(){return HI(new Date)}isValid(t){if(!(t&&et(t.year)&&et(t.month)&&et(t.day)&&0!==t.year))return!1;const i=zd(t);return!isNaN(i.getTime())&&i.getFullYear()===t.year&&i.getMonth()+1===t.month&&i.getDate()===t.day}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Le(e)))(i||e)}})(),e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),ir=(()=>{class e{getMonthLabel(t){return`${this.getMonthFullName(t.month,t.year)} ${this.getYearNumerals(t.year)}`}getDayNumerals(t){return`${t.day}`}getWeekNumerals(t){return`${t}`}getYearNumerals(t){return`${t}`}getWeekLabel(){return""}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:function(t){let i=null;return i=t?new t:function LW(e){return new BW(e)}(k(En)),i},providedIn:"root"}),e})(),BW=(()=>{class e extends ir{constructor(t){super(),this._locale=t,this._monthsShort=cm(t,It.Standalone,me.Abbreviated),this._monthsFull=cm(t,It.Standalone,me.Wide)}getWeekdayLabel(t,i){const o=VE(this._locale,It.Standalone,void 0===i?me.Short:i);return o.map((s,a)=>o[(a+1)%7])[t-1]||""}getMonthShortName(t){return this._monthsShort[t-1]||""}getMonthFullName(t){return this._monthsFull[t-1]||""}getDayAriaLabel(t){return jE(new Date(t.year,t.month-1,t.day),"fullDate",this._locale)}}return e.\u0275fac=function(t){return new(t||e)(k(En))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),E_=(()=>{class e{constructor(t,i){this._calendar=t,this._i18n=i,this._VALIDATORS={dayTemplateData:o=>{if(this._state.dayTemplateData!==o)return{dayTemplateData:o}},displayMonths:o=>{if(et(o=jt(o))&&o>0&&this._state.displayMonths!==o)return{displayMonths:o}},disabled:o=>{if(this._state.disabled!==o)return{disabled:o}},firstDayOfWeek:o=>{if(et(o=jt(o))&&o>=0&&this._state.firstDayOfWeek!==o)return{firstDayOfWeek:o}},focusVisible:o=>{if(this._state.focusVisible!==o&&!this._state.disabled)return{focusVisible:o}},markDisabled:o=>{if(this._state.markDisabled!==o)return{markDisabled:o}},maxDate:o=>{const r=this.toValidDate(o,null);if(js(this._state.maxDate,r))return{maxDate:r}},minDate:o=>{const r=this.toValidDate(o,null);if(js(this._state.minDate,r))return{minDate:r}},navigation:o=>{if(this._state.navigation!==o)return{navigation:o}},outsideDays:o=>{if(this._state.outsideDays!==o)return{outsideDays:o}},weekdays:o=>{const r=!0===o||!1===o?me.Short:o,s=!0!==o&&!1!==o||o;if(this._state.weekdayWidth!==r||this._state.weekdaysVisible!==s)return{weekdayWidth:r,weekdaysVisible:s}}},this._model$=new $e,this._dateSelect$=new $e,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:me.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe(Qn(t=>t.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(Qn(t=>null!==t))}set(t){let i=Object.keys(t).map(o=>this._VALIDATORS[o](t[o])).reduce((o,r)=>({...o,...r}),{});Object.keys(i).length>0&&this._nextState(i)}focus(t){const i=this.toValidDate(t,null);null!=i&&!this._state.disabled&&js(this._state.focusDate,i)&&this._nextState({focusDate:t})}focusSelect(){C_(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(t){const i=this.toValidDate(t,this._calendar.getToday());null!=i&&!this._state.disabled&&(!this._state.firstDate||VI(this._state.firstDate,i))&&this._nextState({firstDate:i})}select(t,i={}){const o=this.toValidDate(t,null);null!=o&&!this._state.disabled&&(js(this._state.selectedDate,o)&&this._nextState({selectedDate:o}),i.emitEvent&&C_(o,this._state)&&this._dateSelect$.next(o))}toValidDate(t,i){const o=St.from(t);return void 0===i&&(i=this._calendar.getToday()),this._calendar.isValid(o)?o:i}getMonth(t){for(let i of this._state.months)if(t.month===i.number&&t.year===i.year)return i;throw new Error(`month ${t.month} of year ${t.year} not found`)}_nextState(t){const i=this._updateState(t);this._patchContexts(i),this._state=i,this._model$.next(this._state)}_patchContexts(t){const{months:i,displayMonths:o,selectedDate:r,focusDate:s,focusVisible:a,disabled:l,outsideDays:c}=t;t.months.forEach(u=>{u.weeks.forEach(d=>{d.days.forEach(f=>{s&&(f.context.focused=s.equals(f.date)&&a),f.tabindex=!l&&s&&f.date.equals(s)&&s.month===u.number?0:-1,!0===l&&(f.context.disabled=!0),void 0!==r&&(f.context.selected=null!==r&&r.equals(f.date)),u.number!==f.date.month&&(f.hidden="hidden"===c||"collapsed"===c||o>1&&f.date.after(i[0].firstDate)&&f.date.before(i[o-1].lastDate))})})})}_updateState(t){const i=Object.assign({},this._state,t);let o=i.firstDate;if(("minDate"in t||"maxDate"in t)&&(function IW(e,n){if(n&&e&&n.before(e))throw new Error(`'maxDate' ${n} should be greater than 'minDate' ${e}`)}(i.minDate,i.maxDate),i.focusDate=Wd(i.focusDate,i.minDate,i.maxDate),i.firstDate=Wd(i.firstDate,i.minDate,i.maxDate),o=i.focusDate),"disabled"in t&&(i.focusVisible=!1),"selectedDate"in t&&0===this._state.months.length&&(o=i.selectedDate),"focusVisible"in t||"focusDate"in t&&(i.focusDate=Wd(i.focusDate,i.minDate,i.maxDate),o=i.focusDate,0!==i.months.length&&i.focusDate&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in t&&(i.firstDate=Wd(i.firstDate,i.minDate,i.maxDate),o=i.firstDate),o){const s=function RW(e,n,t,i,o){const{displayMonths:r,months:s}=t,a=s.splice(0,s.length);return Array.from({length:r},(c,u)=>{const d=Object.assign(e.getNext(n,"m",u),{day:1});if(s[u]=null,!o){const f=a.findIndex(h=>h.firstDate.equals(d));-1!==f&&(s[u]=a.splice(f,1)[0])}return d}).forEach((c,u)=>{null===s[u]&&(s[u]=function PW(e,n,t,i,o={}){const{dayTemplateData:r,minDate:s,maxDate:a,firstDayOfWeek:l,markDisabled:c,outsideDays:u,weekdayWidth:d,weekdaysVisible:f}=t,h=e.getToday();o.firstDate=null,o.lastDate=null,o.number=n.month,o.year=n.year,o.weeks=o.weeks||[],o.weekdays=o.weekdays||[],n=function xW(e,n,t){const i=e.getDaysPerWeek(),o=new St(n.year,n.month,1),r=e.getWeekday(o)%i;return e.getPrev(o,"d",(i+r-t)%i)}(e,n,l),f||(o.weekdays.length=0);for(let m=0;m<e.getWeeksPerMonth();m++){let _=o.weeks[m];_||(_=o.weeks[m]={number:0,days:[],collapsed:!0});const D=_.days;for(let E=0;E<e.getDaysPerWeek();E++){0===m&&f&&(o.weekdays[E]=i.getWeekdayLabel(e.getWeekday(n),d));const C=new St(n.year,n.month,n.day),I=e.getNext(C),P=i.getDayAriaLabel(C);let B=!!(s&&C.before(s)||a&&C.after(a));!B&&c&&(B=c(C,{month:o.number,year:o.year}));let U=C.equals(h),ie=r?r(C,{month:o.number,year:o.year}):void 0;null===o.firstDate&&C.month===o.number&&(o.firstDate=C),C.month===o.number&&I.month!==o.number&&(o.lastDate=C);let ce=D[E];ce||(ce=D[E]={}),ce.date=C,ce.context=Object.assign(ce.context||{},{$implicit:C,date:C,data:ie,currentMonth:o.number,currentYear:o.year,disabled:B,focused:!1,selected:!1,today:U}),ce.tabindex=-1,ce.ariaLabel=P,ce.hidden=!1,n=I}_.number=e.getWeekNumber(D.map(E=>E.date),l),_.collapsed="collapsed"===u&&D[0].date.month!==o.number&&D[D.length-1].date.month!==o.number}return o}(e,c,t,i,a.shift()||{}))}),s}(this._calendar,o,i,this._i18n,"dayTemplateData"in t||"firstDayOfWeek"in t||"markDisabled"in t||"minDate"in t||"maxDate"in t||"disabled"in t||"outsideDays"in t||"weekdaysVisible"in t);i.months=s,i.firstDate=s[0].firstDate,i.lastDate=s[s.length-1].lastDate,"selectedDate"in t&&!C_(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in t&&(!i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=o);const a=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,l=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;"select"===i.navigation?(("minDate"in t||"maxDate"in t||0===i.selectBoxes.years.length||a)&&(i.selectBoxes.years=function SW(e,n,t){if(!e)return[];const i=n?Math.max(n.year,e.year-500):e.year-10,r=(t?Math.min(t.year,e.year+500):e.year+10)-i+1,s=Array(r);for(let a=0;a<r;a++)s[a]=i+a;return s}(i.firstDate,i.minDate,i.maxDate)),("minDate"in t||"maxDate"in t||0===i.selectBoxes.months.length||a)&&(i.selectBoxes.months=function MW(e,n,t,i){if(!n)return[];let o=e.getMonths(n.year);if(t&&n.year===t.year){const r=o.findIndex(s=>s===t.month);o=o.slice(r)}if(i&&n.year===i.year){const r=o.findIndex(s=>s===i.month);o=o.slice(0,r+1)}return o}(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},("arrows"===i.navigation||"select"===i.navigation)&&(l||a||"minDate"in t||"maxDate"in t||"disabled"in t)&&(i.prevDisabled=i.disabled||function AW(e,n,t){const i=Object.assign(e.getPrev(n,"m"),{day:1});return null!=t&&(i.year===t.year&&i.month<t.month||i.year<t.year&&1===t.month)}(this._calendar,i.firstDate,i.minDate),i.nextDisabled=i.disabled||function OW(e,n,t){const i=Object.assign(e.getNext(n,"m"),{day:1});return null!=t&&i.after(t)}(this._calendar,i.lastDate,i.maxDate))}return i}}return e.\u0275fac=function(t){return new(t||e)(k(qd),k(ir))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();var Yd=function(e){return e[e.PREV=0]="PREV",e[e.NEXT=1]="NEXT",e}(Yd||{});let VW=(()=>{class e{constructor(t){this.i18n=t}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return e.\u0275fac=function(t){return new(t||e)(v(ir))},e.\u0275cmp=te({type:e,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(t,i){2&t&&W("bg-primary",i.selected)("text-white",i.selected)("text-muted",i.isMuted())("outside",i.isMuted())("active",i.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[Ye],attrs:E8,decls:1,vars:1,template:function(t,i){1&t&&w(0),2&t&&Re(i.i18n.getDayNumerals(i.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e})(),HW=(()=>{class e{constructor(t,i){this.i18n=t,this._renderer=i,this.select=new j,this._month=-1,this._year=-1}changeMonth(t){this.select.emit(new St(this.date.year,jt(t),1))}changeYear(t){this.select.emit(new St(jt(t),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return e.\u0275fac=function(t){return new(t||e)(v(ir),v(hn))},e.\u0275cmp=te({type:e,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(t,i){if(1&t&&(Fn(T8,7,ge),Fn(N8,7,ge)),2&t){let o;fe(o=he())&&(i.monthSelect=o.first),fe(o=he())&&(i.yearSelect=o.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[Ye],decls:6,vars:4,consts:()=>{let n,t,i,o;return n=$localize`:@@ngb.datepicker.select-month:Select month`,t=$localize`:@@ngb.datepicker.select-month:Select month`,i=$localize`:@@ngb.datepicker.select-year:Select year`,o=$localize`:@@ngb.datepicker.select-year:Select year`,[["month",""],["year",""],["aria-label",n,"title",t,1,"form-select",3,"change","disabled"],[3,"value",4,"ngFor","ngForOf"],["aria-label",i,"title",o,1,"form-select",3,"change","disabled"],[3,"value"]]},template:function(t,i){if(1&t){const o=le();p(0,"select",2,0),R("change",function(s){return F(o),L(i.changeMonth(s.target.value))}),M(2,I8,2,3,"option",3),g(),p(3,"select",4,1),R("change",function(s){return F(o),L(i.changeYear(s.target.value))}),M(5,M8,2,2,"option",3),g()}2&t&&(b("disabled",i.disabled),y(2),b("ngForOf",i.months),y(),b("disabled",i.disabled),y(2),b("ngForOf",i.years))},dependencies:[ut],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),e})(),jW=(()=>{class e{constructor(t){this.i18n=t,this.navigation=Yd,this.months=[],this.navigate=new j,this.select=new j}onClickPrev(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(t){t.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return e.\u0275fac=function(t){return new(t||e)(v(ir))},e.\u0275cmp=te({type:e,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[Ye],decls:8,vars:4,consts:()=>{let n,t,i,o;return n=$localize`:@@ngb.datepicker.previous-month:Previous month`,t=$localize`:@@ngb.datepicker.previous-month:Previous month`,i=$localize`:@@ngb.datepicker.next-month:Next month`,o=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",n,"title",t,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",i,"title",o,1,"btn","btn-link","ngb-dp-arrow-btn",3,"click","disabled"],[1,"ngb-dp-navigation-select",3,"select","date","disabled","months","years"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(t,i){1&t&&(p(0,"div",0)(1,"button",1),R("click",function(r){return i.onClickPrev(r)}),z(2,"span",2),g()(),M(3,S8,1,4,"ngb-datepicker-navigation-select",3)(4,P8,1,1,null,4),p(5,"div",5)(6,"button",6),R("click",function(r){return i.onClickNext(r)}),z(7,"span",2),g()()),2&t&&(y(),b("disabled",i.prevDisabled),y(2),b("ngIf",i.showSelect),y(),b("ngIf",!i.showSelect),y(2),b("disabled",i.nextDisabled))},dependencies:[tt,ut,HW],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),e})();var ue=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}(ue||{});let UW=(()=>{class e{processKey(t,i){const{state:o,calendar:r}=i;switch(t.which){case ue.PageUp:i.focusDate(r.getPrev(o.focusedDate,t.shiftKey?"y":"m",1));break;case ue.PageDown:i.focusDate(r.getNext(o.focusedDate,t.shiftKey?"y":"m",1));break;case ue.End:i.focusDate(t.shiftKey?o.maxDate:o.lastDate);break;case ue.Home:i.focusDate(t.shiftKey?o.minDate:o.firstDate);break;case ue.ArrowLeft:i.focusDate(r.getPrev(o.focusedDate,"d",1));break;case ue.ArrowUp:i.focusDate(r.getPrev(o.focusedDate,"d",r.getDaysPerWeek()));break;case ue.ArrowRight:i.focusDate(r.getNext(o.focusedDate,"d",1));break;case ue.ArrowDown:i.focusDate(r.getNext(o.focusedDate,"d",r.getDaysPerWeek()));break;case ue.Enter:case ue.Space:i.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),T_=(()=>{class e{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=me.Short}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),N_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:()=>function $W(){return new GW}(),providedIn:"root"}),e})(),GW=(()=>{class e extends N_{fromModel(t){return t&&et(t.year)&&et(t.month)&&et(t.day)?{year:t.year,month:t.month,day:t.day}:null}toModel(t){return t&&et(t.year)&&et(t.month)&&et(t.day)?{year:t.year,month:t.month,day:t.day}:null}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Le(e)))(i||e)}})(),e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),jI=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0}),e})(),I_=(()=>{class e{constructor(t,i,o,r){this.i18n=t,this.datepicker=i,this._keyboardService=o,this._service=r}set month(t){this.viewModel=this._service.getMonth(t)}onKeyDown(t){this._keyboardService.processKey(t,this.datepicker)}doSelect(t){!t.context.disabled&&!t.hidden&&this.datepicker.onDateSelect(t.date)}}return e.\u0275fac=function(t){return new(t||e)(v(ir),v(Q(()=>Kd)),v(UW),v(E_))},e.\u0275cmp=te({type:e,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(t,i){1&t&&R("keydown",function(r){return i.onKeyDown(r)})},inputs:{month:"month"},standalone:!0,features:[Ye],decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"click","tabindex"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){1&t&&M(0,F8,3,2,"div",0)(1,U8,1,1,"ng-template",1),2&t&&(b("ngIf",i.viewModel.weekdays.length>0),y(),b("ngForOf",i.viewModel.weeks))},dependencies:[tt,ut,Zn],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),e})(),Kd=(()=>{class e{constructor(t,i,o,r,s,a,l,c){this._service=t,this._calendar=i,this.i18n=o,this._elementRef=a,this._ngbDateAdapter=l,this._ngZone=c,this._controlValue=null,this._destroyed$=new $e,this._publicState={},this.navigate=new j,this.dateSelect=new j,this.onChange=u=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(u=>this[u]=r[u]),t.dateSelect$.pipe(nt(this._destroyed$)).subscribe(u=>{this.dateSelect.emit(u)}),t.model$.pipe(nt(this._destroyed$)).subscribe(u=>{const d=u.firstDate,f=this.model?this.model.firstDate:null;this._publicState={maxDate:u.maxDate,minDate:u.minDate,firstDate:u.firstDate,lastDate:u.lastDate,focusedDate:u.focusDate,months:u.months.map(E=>E.firstDate)};let h=!1;if(!d.equals(f)&&(this.navigate.emit({current:f?{year:f.year,month:f.month}:null,next:{year:d.year,month:d.month},preventDefault:()=>h=!0}),h&&null!==f))return void this._service.open(f);const m=u.selectedDate,_=u.focusDate,D=this.model?this.model.focusDate:null;this.model=u,js(m,this._controlValue)&&(this._controlValue=m,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(m))),js(_,D)&&D&&u.focusVisible&&this.focus(),s.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(t){this._service.focus(St.from(t))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe(kt(1)).subscribe(()=>{const t=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');t&&t.focus()})}navigateTo(t){this._service.open(St.from(t?t.day?t:{...t,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const t=bt(this._contentEl.nativeElement,"focusin"),i=bt(this._contentEl.nativeElement,"focusout"),{nativeElement:o}=this._elementRef;oI(t,i).pipe(Qn(({target:r,relatedTarget:s})=>!(CI(r,"ngb-dp-day")&&CI(s,"ngb-dp-day")&&o.contains(r)&&o.contains(s))),nt(this._destroyed$)).subscribe(({type:r})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===r})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const t={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(i=>t[i]=this[i]),this._service.set(t),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(t){const i={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(o=>o in t).forEach(o=>i[o]=this[o]),this._service.set(i),"startDate"in t){const{currentValue:o,previousValue:r}=t.startDate;VI(r,o)&&this.navigateTo(this.startDate)}}onDateSelect(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})}onNavigateDateSelect(t){this._service.open(t)}onNavigateEvent(t){switch(t){case Yd.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case Yd.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._service.set({disabled:t})}writeValue(t){this._controlValue=St.from(this._ngbDateAdapter.fromModel(t)),this._service.select(this._controlValue)}}return e.\u0275fac=function(t){return new(t||e)(v(E_),v(qd),v(ir),v(T_),v(tn),v(ge),v(N_),v(X))},e.\u0275cmp=te({type:e,selectors:[["ngb-datepicker"]],contentQueries:function(t,i,o){if(1&t&&We(o,jI,7),2&t){let r;fe(r=he())&&(i.contentTemplate=r.first)}},viewQuery:function(t,i){if(1&t&&(Fn($8,7),Fn(G8,7)),2&t){let o;fe(o=he())&&(i._defaultDayTemplate=o.first),fe(o=he())&&(i._contentEl=o.first)}},hostVars:2,hostBindings:function(t,i){2&t&&W("disabled",i.model.disabled)},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[Ne([{provide:nn,useExisting:Q(()=>e),multi:!0},E_]),ke,Ye],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],["content",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"navigate","select","date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes"]],template:function(t,i){if(1&t&&(M(0,W8,1,5,"ng-template",null,0,Vt)(2,Y8,1,1,"ng-template",null,1,Vt),p(4,"div",3),M(5,K8,1,7,"ngb-datepicker-navigation",4),g(),p(6,"div",5,2),M(8,Z8,0,0,"ng-template",6),g(),M(9,J8,0,0,"ng-template",6)),2&t){const o=ze(3);y(5),b("ngIf","none"!==i.navigation),y(),W("ngb-dp-months",!i.contentTemplate),y(2),b("ngTemplateOutlet",(null==i.contentTemplate?null:i.contentTemplate.templateRef)||o),y(),b("ngTemplateOutlet",i.footerTemplate)}},dependencies:[tt,ut,Zn,VW,I_,jW],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),e})();const Zd=(e,n)=>!!n&&n.some(t=>t.contains(e)),UI=(e,n)=>!n||null!=function oW(e,n){return!n||typeof e.closest>"u"?null:e.closest(n)}(e,n),WW=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function M_(e,n,t,i,o,r,s,a){t&&e.runOutsideAngular((e=>WW?()=>setTimeout(()=>e(),100):e)(()=>{const c=bt(n,"keydown").pipe(nt(o),Qn(f=>f.which===ue.Escape),Rs(f=>f.preventDefault())),u=bt(n,"mousedown").pipe(Se(f=>{const h=f.target;return 2!==f.button&&!Zd(h,s)&&("inside"===t?Zd(h,r)&&UI(h,a):"outside"===t?!Zd(h,r):UI(h,a)||!Zd(h,r))}),nt(o)),d=bt(n,"mouseup").pipe(s_(u),Qn(([f,h])=>h),function oG(e,n=o_){const t=xd(e,n);return rI(()=>t)}(0),nt(o));XN([c.pipe(Se(f=>0)),d.pipe(Se(f=>1))]).subscribe(f=>e.run(()=>i(f)))}))}const $I=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function GI(e){const n=Array.from(e.querySelectorAll($I)).filter(t=>-1!==t.tabIndex);return[n[0],n[n.length-1]]}const WI=(e,n,t,i=!1)=>{e.runOutsideAngular(()=>{const o=bt(n,"focusin").pipe(nt(t),Se(r=>r.target));bt(n,"keydown").pipe(nt(t),Qn(r=>r.which===ue.Tab),s_(o)).subscribe(([r,s])=>{const[a,l]=GI(n);(s===a||s===n)&&r.shiftKey&&(l.focus(),r.preventDefault()),s===l&&!r.shiftKey&&(a.focus(),r.preventDefault())}),i&&bt(n,"click").pipe(nt(t),s_(o),Se(r=>r[1])).subscribe(r=>r.focus())})};let qW=(()=>{class e{constructor(t){this._element=t.documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}}return e.\u0275fac=function(t){return new(t||e)(k(xt))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const YW=/\s+/,KW=/ +/gi,ZW={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},QW=/^left/,XW=/^right/,e6=/^start/,t6=/^end/;function zI({placement:e,baseClass:n},t){let i=Array.isArray(e)?e:e.split(YW),r=i.findIndex(c=>"auto"===c);r>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(c){null==i.find(u=>-1!==u.search("^"+c))&&i.splice(r++,1,c)});const s=i.map(c=>function JW(e,n){const[t,i]=ZW[e];return n&&i||t}(c,t.isRTL()));return{placement:s.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!n,phase:"write",fn({state:c}){const u=new RegExp(n+"(-[a-z]+)*","gi"),d=c.elements.popper,f=c.placement;let h=d.className;h=h.replace(u,""),h+=` ${function n6(e,n){let[t,i]=n.split("-");const o=t.replace(QW,"start").replace(XW,"end");let r=[o];if(i){let s=i;("left"===t||"right"===t)&&(s=s.replace(e6,"top").replace(t6,"bottom")),r.push(`${o}-${s}`)}return e&&(r=r.map(s=>`${e}-${s}`)),r.join(" ")}(n,f)}`,h=h.trim().replace(KW," "),d.className=h}},OG,xG,BG,{enabled:!0,name:"flip",options:{fallbackPlacements:s}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function qI(e){return e}function S_(){const e=H(qW);let n=null;return{createPopper(t){if(!n){let o=(t.updatePopperOptions||qI)(zI(t,e));n=r8(t.hostElement,t.targetElement,o)}},update(){n&&n.update()},setOptions(t){if(n){let o=(t.updatePopperOptions||qI)(zI(t,e));n.setOptions(o)}},destroy(){n&&(n.destroy(),n=null)}}}let YI=(()=>{class e extends T_{constructor(){super(...arguments),this.autoClose=!0,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=t=>t,this.restoreFocus=!0}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Le(e)))(i||e)}})(),e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function O_(e){return n=>(n.modifiers.push(l8,{name:"offset",options:{offset:()=>e}}),n)}let Jd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:()=>function i6(){return new o6}(),providedIn:"root"}),e})(),o6=(()=>{class e extends Jd{parse(t){if(null!=t){const i=t.trim().split("-");if(1===i.length&&it(i[0]))return{year:jt(i[0]),month:null,day:null};if(2===i.length&&it(i[0])&&it(i[1]))return{year:jt(i[0]),month:jt(i[1]),day:null};if(3===i.length&&it(i[0])&&it(i[1])&&it(i[2]))return{year:jt(i[0]),month:jt(i[1]),day:jt(i[2])}}return null}format(t){return t?`${t.year}-${it(t.month)?Bs(t.month):""}-${it(t.day)?Bs(t.day):""}`:""}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Le(e)))(i||e)}})(),e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),KI=(()=>{class e{constructor(t,i,o,r,s,a,l,c,u,d){this._parserFormatter=t,this._elRef=i,this._vcRef=o,this._renderer=r,this._ngZone=s,this._calendar=a,this._dateAdapter=l,this._document=c,this._changeDetector=u,this._cRef=null,this._disabled=!1,this._elWithFocus=null,this._model=null,this._destroyCloseHandlers$=new $e,this.dateSelect=new j,this.navigate=new j,this.closed=new j,this._onChange=f=>{},this._onTouched=()=>{},this._validatorChange=()=>{},["autoClose","container","positionTarget","placement","popperOptions"].forEach(f=>this[f]=d[f]),this._positioning=S_()}get disabled(){return this._disabled}set disabled(t){this._disabled=""===t||t&&"false"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}registerOnValidatorChange(t){this._validatorChange=t}setDisabledState(t){this.disabled=t}validate(t){const{value:i}=t;if(null!=i){const o=this._fromDateStruct(this._dateAdapter.fromModel(i));if(!o)return{ngbDate:{invalid:i}};if(this.minDate&&o.before(St.from(this.minDate)))return{ngbDate:{minDate:{minDate:this.minDate,actual:i}}};if(this.maxDate&&o.after(St.from(this.maxDate)))return{ngbDate:{maxDate:{maxDate:this.maxDate,actual:i}}}}return null}writeValue(t){this._model=this._fromDateStruct(this._dateAdapter.fromModel(t)),this._writeModelValue(this._model)}manualDateChange(t,i=!1){const o=t!==this._inputValue;o&&(this._inputValue=t,this._model=this._fromDateStruct(this._parserFormatter.parse(t))),(o||!i)&&this._onChange(this._model?this._dateAdapter.toModel(this._model):""===t?null:t),i&&this._model&&this._writeModelValue(this._model)}isOpen(){return!!this._cRef}open(){if(!this.isOpen()){let t;if(this._cRef=this._vcRef.createComponent(Kd),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._dateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(i=>{this.writeValue(i),this._onChange(i),this._onTouched()}),this._cRef.changeDetectorRef.detectChanges(),this._cRef.instance.setDisabledState(this.disabled),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._cRef.location.nativeElement),this._elWithFocus=this._document.activeElement,WI(this._ngZone,this._cRef.location.nativeElement,this.closed,!0),setTimeout(()=>this._cRef?.instance.focus()),t=Ls(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget instanceof HTMLElement?this.positionTarget:this._elRef.nativeElement,this._ngZone.runOutsideAngular(()=>{this._cRef&&(this._positioning.createPopper({hostElement:t,targetElement:this._cRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:i=>this.popperOptions(O_([0,2])(i))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),this.positionTarget&&!t)throw new Error("ngbDatepicker could not find element declared in [positionTarget] to position against.");this._setCloseHandlers()}}close(){if(this.isOpen()){this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._destroyCloseHandlers$.next(),this.closed.emit(),this._changeDetector.markForCheck();let t=this._elWithFocus;Ls(this.restoreFocus)?t=this._document.querySelector(this.restoreFocus):void 0!==this.restoreFocus&&(t=this.restoreFocus),t&&t.focus?t.focus():this._document.body.focus()}}toggle(){this.isOpen()?this.close():this.open()}navigateTo(t){this.isOpen()&&this._cRef.instance.navigateTo(t)}onBlur(){this._onTouched()}onFocus(){this._elWithFocus=this._elRef.nativeElement}ngOnChanges(t){if((t.minDate||t.maxDate)&&(this._validatorChange(),this.isOpen()&&(t.minDate&&(this._cRef.instance.minDate=this.minDate),t.maxDate&&(this._cRef.instance.maxDate=this.maxDate),this._cRef.instance.ngOnChanges(t))),t.datepickerClass){const{currentValue:i,previousValue:o}=t.datepickerClass;this._applyPopupClass(i,o)}t.autoClose&&this.isOpen()&&this._setCloseHandlers()}ngOnDestroy(){this.close()}_applyDatepickerInputs(t){["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showNavigation","showWeekNumbers","weekdays"].forEach(i=>{void 0!==this[i]&&t.setInput(i,this[i])}),t.setInput("startDate",this.startDate||this._model)}_applyPopupClass(t,i){const o=this._cRef?.location.nativeElement;o&&(t&&this._renderer.addClass(o,t),i&&this._renderer.removeClass(o,i))}_applyPopupStyling(t){this._renderer.addClass(t,"dropdown-menu"),this._renderer.addClass(t,"show"),"body"===this.container&&this._renderer.addClass(t,"ngb-dp-body"),this._applyPopupClass(this.datepickerClass)}_subscribeForDatepickerOutputs(t){t.navigate.subscribe(i=>this.navigate.emit(i)),t.dateSelect.subscribe(i=>{this.dateSelect.emit(i),(!0===this.autoClose||"inside"===this.autoClose)&&this.close()})}_writeModelValue(t){const i=this._parserFormatter.format(t);this._inputValue=i,this._renderer.setProperty(this._elRef.nativeElement,"value",i),this.isOpen()&&(this._cRef.instance.writeValue(this._dateAdapter.toModel(t)),this._onTouched())}_fromDateStruct(t){const i=t?new St(t.year,t.month,t.day):null;return this._calendar.isValid(i)?i:null}_setCloseHandlers(){this._destroyCloseHandlers$.next(),M_(this._ngZone,this._document,this.autoClose,()=>this.close(),this._destroyCloseHandlers$,[],[this._elRef.nativeElement,this._cRef.location.nativeElement])}}return e.\u0275fac=function(t){return new(t||e)(v(Jd),v(ge),v(Dn),v(hn),v(X),v(qd),v(N_),v(xt),v(tn),v(YI))},e.\u0275dir=x({type:e,selectors:[["input","ngbDatepicker",""]],hostVars:1,hostBindings:function(t,i){1&t&&R("input",function(r){return i.manualDateChange(r.target.value)})("change",function(r){return i.manualDateChange(r.target.value,!0)})("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()}),2&t&&Qt("disabled",i.disabled)},inputs:{autoClose:"autoClose",datepickerClass:"datepickerClass",dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",minDate:"minDate",maxDate:"maxDate",navigation:"navigation",outsideDays:"outsideDays",placement:"placement",popperOptions:"popperOptions",restoreFocus:"restoreFocus",showWeekNumbers:"showWeekNumbers",startDate:"startDate",container:"container",positionTarget:"positionTarget",weekdays:"weekdays",disabled:"disabled"},outputs:{dateSelect:"dateSelect",navigate:"navigate",closed:"closed"},exportAs:["ngbDatepicker"],standalone:!0,features:[Ne([{provide:nn,useExisting:Q(()=>e),multi:!0},{provide:Ht,useExisting:Q(()=>e),multi:!0},{provide:T_,useExisting:YI}]),ke]}),e})();new Date(1882,10,12),new Date(2174,10,25);let x_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[Kd,I_]}),e})(),oM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({}),e})();class sr{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}}class p6{constructor(n,t,i,o,r,s){this._componentType=n,this._injector=t,this._viewContainerRef=i,this._renderer=o,this._ngZone=r,this._applicationRef=s,this._windowRef=null,this._contentRef=null}open(n,t,i=!1){this._windowRef||(this._contentRef=this._getContentRef(n,t),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:o}=this._windowRef.location,r=this._ngZone.onStable.pipe(kt(1),Qo(()=>Mt(this._ngZone,o,({classList:s})=>s.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:r}}close(n=!1){return this._windowRef?Mt(this._ngZone,this._windowRef.location.nativeElement,({classList:t})=>t.remove("show"),{animation:n,runningTransition:"stop"}).pipe(Rs(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):bi(void 0)}_getContentRef(n,t){if(n){if(n instanceof Oe){const i=n.createEmbeddedView(t);return this._applicationRef.attachView(i),new sr([i.rootNodes],i)}return new sr([[this._renderer.createText(`${n}`)]])}return new sr([])}}let g6=(()=>{class e{constructor(t,i){this._el=t,this._zone=i}ngOnInit(){this._zone.onStable.asObservable().pipe(kt(1)).subscribe(()=>{Mt(this._zone,this._el.nativeElement,(t,i)=>{i&&Vs(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Mt(this._zone,this._el.nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return e.\u0275fac=function(t){return new(t||e)(v(ge),v(X))},e.\u0275cmp=te({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(t,i){2&t&&(pi("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),W("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[Ye],decls:0,vars:0,template:function(t,i){},encapsulation:2}),e})();class rM{close(n){}dismiss(n){}}class m6{constructor(n,t,i,o){this._windowCmptRef=n,this._contentRef=t,this._backdropCmptRef=i,this._beforeDismiss=o,this._closed=new $e,this._dismissed=new $e,this._hidden=new $e,n.instance.dismissEvent.subscribe(r=>{this.dismiss(r)}),this.result=new Promise((r,s)=>{this._resolve=r,this._reject=s}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(nt(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(nt(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(n){this._windowCmptRef&&(this._closed.next(n),this._resolve(n),this._removeModalElements())}_dismiss(n){this._dismissed.next(n),this._reject(n),this._removeModalElements()}dismiss(n){if(this._windowCmptRef)if(this._beforeDismiss){const t=this._beforeDismiss();!function wI(e){return e&&e.then}(t)?!1!==t&&this._dismiss(n):t.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():bi(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),kd(n,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var k_=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}(k_||{});let _6=(()=>{class e{constructor(t,i,o){this._document=t,this._elRef=i,this._zone=o,this._closed$=new $e,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new j,this.shown=new $e,this.hidden=new $e}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":Ls(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(kt(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,i={animation:this.animation,runningTransition:"stop"},s=kd(Mt(this._zone,t,()=>t.classList.remove("show"),i),Mt(this._zone,this._dialogEl.nativeElement,()=>{},i));return s.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),s}_show(){const t={animation:this.animation,runningTransition:"continue"};kd(Mt(this._zone,this._elRef.nativeElement,(r,s)=>{s&&Vs(r),r.classList.add("show")},t),Mt(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{bt(t,"keydown").pipe(nt(this._closed$),Qn(o=>o.which===ue.Escape)).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(k_.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;bt(this._dialogEl.nativeElement,"mousedown").pipe(nt(this._closed$),Rs(()=>i=!1),Ld(()=>bt(t,"mouseup").pipe(nt(this._closed$),kt(1))),Qn(({target:o})=>t===o)).subscribe(()=>{i=!0}),bt(t,"click").pipe(nt(this._closed$)).subscribe(({target:o})=>{t===o&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(k_.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const i=t.querySelector("[ngbAutofocus]"),o=GI(t)[0];(i||o||t).focus()}}_restoreFocus(){const t=this._document.body,i=this._elWithFocus;let o;o=i&&i.focus&&t.contains(i)?i:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Mt(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return e.\u0275fac=function(t){return new(t||e)(v(xt),v(ge),v(X))},e.\u0275cmp=te({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(t,i){if(1&t&&Fn(Q8,7),2&t){let o;fe(o=he())&&(i._dialogEl=o.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(t,i){2&t&&(oe("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy),pi("modal d-block"+(i.windowClass?" "+i.windowClass:"")),W("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[Ye],ngContentSelectors:Ud,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(t,i){1&t&&(Ds(),p(0,"div",1,0)(2,"div",2),ws(3),g()()),2&t&&pi("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+i.fullscreenClass+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),e})(),v6=(()=>{class e{constructor(t){this._document=t}hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,o=i.style,{overflow:r,paddingRight:s}=o;if(t>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);o.paddingRight=`${a+t}px`}return o.overflow="hidden",()=>{t>0&&(o.paddingRight=s),o.overflow=r}}}return e.\u0275fac=function(t){return new(t||e)(k(xt))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),y6=(()=>{class e{constructor(t,i,o,r,s,a,l){this._applicationRef=t,this._injector=i,this._environmentInjector=o,this._document=r,this._scrollBar=s,this._rendererFactory=a,this._ngZone=l,this._activeWindowCmptHasChanged=new $e,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new j,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const c=this._windowCmpts[this._windowCmpts.length-1];WI(this._ngZone,c.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(c.location.nativeElement)}})}_restoreScrollBar(){const t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,i,o){const r=o.container instanceof HTMLElement?o.container:fo(o.container)?this._document.querySelector(o.container):this._document.body,s=this._rendererFactory.createRenderer(null,null);if(!r)throw new Error(`The specified modal container "${o.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const a=new rM,l=(t=o.injector||t).get(un,null)||this._environmentInjector,c=this._getContentRef(t,l,i,a,o);let u=!1!==o.backdrop?this._attachBackdrop(r):void 0,d=this._attachWindowComponent(r,c.nodes),f=new m6(d,c,u,o.beforeDismiss);return this._registerModalRef(f),this._registerWindowCmpt(d),f.hidden.pipe(kt(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=h=>{f.close(h)},a.dismiss=h=>{f.dismiss(h)},this._applyWindowOptions(d.instance,o),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),u&&u.instance&&(this._applyBackdropOptions(u.instance,o),u.changeDetectorRef.detectChanges()),d.changeDetectorRef.detectChanges(),f}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(i=>i.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let i=lm(g6,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_attachWindowComponent(t,i){let o=lm(_6,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(o.hostView),t.appendChild(o.location.nativeElement),o}_applyWindowOptions(t,i){this._windowAttributes.forEach(o=>{fo(i[o])&&(t[o]=i[o])})}_applyBackdropOptions(t,i){this._backdropAttributes.forEach(o=>{fo(i[o])&&(t[o]=i[o])})}_getContentRef(t,i,o,r,s){return o?o instanceof Oe?this._createFromTemplateRef(o,r):Ls(o)?this._createFromString(o):this._createFromComponent(t,i,o,r,s):new sr([])}_createFromTemplateRef(t,i){const r=t.createEmbeddedView({$implicit:i,close(s){i.close(s)},dismiss(s){i.dismiss(s)}});return this._applicationRef.attachView(r),new sr([r.rootNodes],r)}_createFromString(t){const i=this._document.createTextNode(`${t}`);return new sr([[i]])}_createFromComponent(t,i,o,r,s){const l=lm(o,{environmentInjector:i,elementInjector:Ge.create({providers:[{provide:rM,useValue:r}],parent:t})}),c=l.location.nativeElement;return s.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new sr([[c]],l.hostView,l)}_setAriaHidden(t){const i=t.parentElement;i&&t!==this._document.body&&(Array.from(i.children).forEach(o=>{o!==t&&"SCRIPT"!==o.nodeName&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,i)=>{t?i.setAttribute("aria-hidden",t):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const i=()=>{const o=this._modalRefs.indexOf(t);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(i,i)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const i=this._windowCmpts.indexOf(t);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}}return e.\u0275fac=function(t){return new(t||e)(k(Cn),k(Ge),k(un),k(xt),k(v6),k(ja),k(X))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),b6=(()=>{class e{constructor(t){this._ngbConfig=t,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(k(tr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),D6=(()=>{class e{constructor(t,i,o){this._injector=t,this._modalStack=i,this._config=o}open(t,i={}){const o={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._injector,t,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return e.\u0275fac=function(t){return new(t||e)(k(Ge),k(y6),k(b6))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),sM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({providers:[D6]}),e})();const I6=({classList:e})=>(e.remove("show"),()=>e.remove("active")),M6=(e,n)=>{n&&Vs(e),e.classList.add("show")};let F_=(()=>{class e{constructor(t){this.elRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(ge))},e.\u0275dir=x({type:e,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(t,i){2&t&&(Qt("id",i.item.panelDomId),oe("role",i.role?i.role:i.nav.roles?"tabpanel":void 0)("aria-labelledby",i.item.domId),W("fade",i.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),e})(),cM=(()=>{class e{constructor(t,i){this._cd=t,this._ngZone=i,this._activePane=null}isPanelTransitioning(t){return this._activePane?.item===t}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe(nt(this.nav.destroy$),r_(this._activePane?.item||null),co(),function rG(e){return Qn((n,t)=>e<=t)}(1)).subscribe(t=>{const i={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?Mt(this._ngZone,this._activePane.elRef.nativeElement,I6,i).subscribe(()=>{const o=this._activePane?.item;this._activePane=this._getPaneForItem(t),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),Mt(this._ngZone,this._activePane.elRef.nativeElement,M6,i).subscribe(()=>{t&&(t.shown.emit(),this.nav.shown.emit(t.id))})),o&&(o.hidden.emit(),this.nav.hidden.emit(o.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(t){return this._panes&&this._panes.find(i=>i.item===t)||null}_getActivePane(){return this._panes&&this._panes.find(t=>t.item.active)||null}}return e.\u0275fac=function(t){return new(t||e)(v(tn),v(X))},e.\u0275cmp=te({type:e,selectors:[["","ngbNavOutlet",""]],viewQuery:function(t,i){if(1&t&&Fn(F_,5),2&t){let o;fe(o=he())&&(i._panes=o)}},hostVars:2,hostBindings:function(t,i){2&t&&W("tab-content",!0)},inputs:{paneRole:"paneRole",nav:[0,"ngbNavOutlet","nav"]},standalone:!0,features:[Ye],attrs:X8,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){1&t&&M(0,i5,1,1,"ng-template",0),2&t&&b("ngForOf",i.nav.items)},dependencies:[F_,ut,tt,Zn],encapsulation:2,changeDetection:0}),e})(),uM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[cM]}),e})(),S6=(()=>{class e{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),dM=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0}),e})(),fM=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0}),e})(),hM=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0}),e})(),pM=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0}),e})(),gM=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0}),e})(),mM=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0}),e})(),_M=(()=>{class e{constructor(t){this.templateRef=t}}return e.\u0275fac=function(t){return new(t||e)(v(Oe))},e.\u0275dir=x({type:e,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0}),e})(),vM=(()=>{class e{constructor(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new j(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(t){this._updatePages(t)}ngOnChanges(t){this._updatePages(this.page)}isEllipsis(t){return-1===t}_applyEllipses(t,i){this.ellipses&&(t>0&&(t>2?this.pages.unshift(-1):2===t&&this.pages.unshift(2),this.pages.unshift(1)),i<this.pageCount&&(i<this.pageCount-2?this.pages.push(-1):i===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let t=0,i=this.pageCount,o=Math.floor(this.maxSize/2);return this.page<=o?i=this.maxSize:this.pageCount-this.page<o?t=this.pageCount-this.maxSize:(t=this.page-o-1,i=this.page+(this.maxSize%2==0?o-1:o)),[t,i]}_applyPagination(){let i=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[i,i+this.maxSize]}_setPageInRange(t){const i=this.page;this.page=$d(t,this.pageCount,1),this.page!==i&&it(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),it(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let i=1;i<=this.pageCount;i++)this.pages.push(i);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){let i=0,o=this.pageCount;[i,o]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(i,o),this._applyEllipses(i,o)}}}return e.\u0275fac=function(t){return new(t||e)(v(S6))},e.\u0275cmp=te({type:e,selectors:[["ngb-pagination"]],contentQueries:function(t,i,o){if(1&t&&(We(o,dM,5),We(o,fM,5),We(o,hM,5),We(o,pM,5),We(o,gM,5),We(o,mM,5),We(o,_M,5)),2&t){let r;fe(r=he())&&(i.tplEllipsis=r.first),fe(r=he())&&(i.tplFirst=r.first),fe(r=he())&&(i.tplLast=r.first),fe(r=he())&&(i.tplNext=r.first),fe(r=he())&&(i.tplNumber=r.first),fe(r=he())&&(i.tplPrevious=r.first),fe(r=he())&&(i.tplPages=r.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[ke,Ye],decls:20,vars:12,consts:()=>{let n,t,i,o,r,s,a,l;return n=$localize`:@@ngb.pagination.first:««`,t=$localize`:@@ngb.pagination.previous:«`,i=$localize`:@@ngb.pagination.next:»`,o=$localize`:@@ngb.pagination.last:»»`,r=$localize`:@@ngb.pagination.first-aria:First`,s=$localize`:@@ngb.pagination.previous-aria:Previous`,a=$localize`:@@ngb.pagination.next-aria:Next`,l=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],n,t,i,o,["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",r,"href","",1,"page-link",3,"click"],["aria-label",s,"href","",1,"page-link",3,"click"],["aria-label",a,"href","",1,"page-link",3,"click"],["aria-label",l,"href","",1,"page-link",3,"click"]]},template:function(t,i){if(1&t&&(M(0,l5,2,0,"ng-template",null,0,Vt)(2,c5,2,0,"ng-template",null,1,Vt)(4,u5,2,0,"ng-template",null,2,Vt)(6,d5,2,0,"ng-template",null,3,Vt)(8,f5,1,0,"ng-template",null,4,Vt)(10,h5,1,1,"ng-template",null,5,Vt)(12,y5,1,1,"ng-template",null,6,Vt),p(14,"ul"),M(15,D5,3,9,"li",11)(16,C5,3,8,"li",11)(17,E5,0,0,"ng-template",12)(18,N5,3,9,"li",11)(19,M5,3,9,"li",11),g()),2&t){const o=ze(13);y(14),pi("pagination"+(i.size?" pagination-"+i.size:"")),y(),b("ngIf",i.boundaryLinks),y(),b("ngIf",i.directionLinks),y(),b("ngTemplateOutlet",(null==i.tplPages?null:i.tplPages.templateRef)||o)("ngTemplateOutletContext",Bu(8,o5,i.page,i.pages,i.disabled)),y(),b("ngIf",i.directionLinks),y(),b("ngIf",i.boundaryLinks)}},dependencies:[tt,ut,Zn],encapsulation:2,changeDetection:0}),e})(),yM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[vM]}),e})(),DM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({}),e})(),k6=(()=>{class e{constructor(){this.max=100,this.animated=!1,this.ariaLabel="progress bar",this.striped=!1,this.showValue=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),F6=(()=>{class e{constructor(t){this.value=0,this.max=t.max,this.animated=t.animated,this.ariaLabel=t.ariaLabel,this.striped=t.striped,this.textType=t.textType,this.type=t.type,this.showValue=t.showValue,this.height=t.height}set max(t){this._max=!it(t)||t<=0?100:t}get max(){return this._max}getValue(){return $d(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return e.\u0275fac=function(t){return new(t||e)(v(k6))},e.\u0275cmp=te({type:e,selectors:[["ngb-progressbar"]],hostAttrs:["role","progressbar","aria-valuemin","0",1,"progress"],hostVars:5,hostBindings:function(t,i){2&t&&(oe("aria-valuenow",i.getValue())("aria-valuemax",i.max)("aria-label",i.ariaLabel),_s("height",i.height))},inputs:{max:"max",animated:"animated",ariaLabel:"ariaLabel",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},standalone:!0,features:[Ye],ngContentSelectors:Ud,decls:3,vars:11,consts:()=>{let n;return n=$localize`:@@ngb.progressbar.value:${"\ufffd0\ufffd"}:INTERPOLATION:`,[n,[4,"ngIf"]]},template:function(t,i){1&t&&(Ds(),p(0,"div"),M(1,A5,3,3,"span",1),ws(2),g()),2&t&&(function lw(e,n,t,i,o){Yn(_n,gi,cs(N(),e,n,t,i,o),!0)}("progress-bar",i.type?i.textType?" bg-"+i.type:" text-bg-"+i.type:"","",i.textType?" text-"+i.textType:"",""),_s("width",i.getPercentValue(),"%"),W("progress-bar-animated",i.animated)("progress-bar-striped",i.striped),y(),b("ngIf",i.showValue))},dependencies:[tt,tT],encapsulation:2,changeDetection:0}),e})(),wM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[F6]}),e})(),L6=(()=>{class e{constructor(){this.max=10,this.readonly=!1,this.resettable=!1,this.tabindex=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),B6=(()=>{class e{constructor(t,i){this._changeDetectorRef=i,this.contexts=[],this.disabled=!1,this.hover=new j,this.leave=new j,this.rateChange=new j(!0),this.onChange=o=>{},this.onTouched=()=>{},this.max=t.max,this.readonly=t.readonly,this.tabindex=t.tabindex}ariaValueText(t,i){return`${t} out of ${i}`}isInteractive(){return!this.readonly&&!this.disabled}enter(t){this.isInteractive()&&this._updateState(t),this.hover.emit(t)}handleBlur(){this.onTouched()}handleClick(t){this.isInteractive()&&this.update(this.resettable&&this.rate===t?0:t)}handleKeyDown(t){switch(t.which){case ue.ArrowDown:case ue.ArrowLeft:this.update(this.rate-1);break;case ue.ArrowUp:case ue.ArrowRight:this.update(this.rate+1);break;case ue.Home:this.update(0);break;case ue.End:this.update(this.max);break;default:return}t.preventDefault()}ngOnChanges(t){t.rate&&this.update(this.rate),t.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(t){this.disabled=t}update(t,i=!0){const o=$d(t,this.max,0);this.isInteractive()&&this.rate!==o&&(this.rate=o,this.rateChange.emit(this.rate)),i&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(t){this.update(t,!1),this._changeDetectorRef.markForCheck()}_updateState(t){this.nextRate=t,this.contexts.forEach((i,o)=>i.fill=Math.round(100*$d(t-o,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(t,i)=>({fill:0,index:i}))}}return e.\u0275fac=function(t){return new(t||e)(v(L6),v(tn))},e.\u0275cmp=te({type:e,selectors:[["ngb-rating"]],contentQueries:function(t,i,o){if(1&t&&We(o,Oe,5),2&t){let r;fe(r=he())&&(i.starTemplateFromContent=r.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(t,i){1&t&&R("blur",function(){return i.handleBlur()})("keydown",function(r){return i.handleKeyDown(r)})("mouseleave",function(){return i.reset()}),2&t&&(Qt("tabindex",i.disabled?-1:i.tabindex),oe("aria-valuemax",i.max)("aria-valuenow",i.nextRate)("aria-valuetext",i.ariaValueText(i.nextRate,i.max))("aria-disabled",!!i.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate",tabindex:"tabindex",ariaValueText:"ariaValueText"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},standalone:!0,features:[Ne([{provide:nn,useExisting:Q(()=>e),multi:!0}]),ke,Ye],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"visually-hidden"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){1&t&&M(0,R5,1,1,"ng-template",null,0,Vt)(2,x5,4,5,"ng-template",1),2&t&&(y(2),b("ngForOf",i.contexts))},dependencies:[ut,Zn],encapsulation:2,changeDetection:0}),e})(),CM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[B6]}),e})();class EM{constructor(n,t,i){this.hour=jt(n),this.minute=jt(t),this.second=jt(i)}changeHour(n=1){this.updateHour((isNaN(this.hour)?0:this.hour)+n)}updateHour(n){this.hour=it(n)?(n<0?24+n:n)%24:NaN}changeMinute(n=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+n)}updateMinute(n){it(n)?(this.minute=n%60<0?60+n%60:n%60,this.changeHour(Math.floor(n/60))):this.minute=NaN}changeSecond(n=1){this.updateSecond((isNaN(this.second)?0:this.second)+n)}updateSecond(n){it(n)?(this.second=n<0?60+n%60:n%60,this.changeMinute(Math.floor(n/60))):this.second=NaN}isValid(n=!0){return it(this.hour)&&it(this.minute)&&(!n||it(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let V6=(()=>{class e{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),TM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:()=>function H6(){return new j6}(),providedIn:"root"}),e})(),j6=(()=>{class e extends TM{fromModel(t){return t&&et(t.hour)&&et(t.minute)?{hour:t.hour,minute:t.minute,second:et(t.second)?t.second:null}:null}toModel(t){return t&&et(t.hour)&&et(t.minute)?{hour:t.hour,minute:t.minute,second:et(t.second)?t.second:null}:null}}return e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Le(e)))(i||e)}})(),e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})(),NM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:function(t){let i=null;return i=t?new t:function U6(e){return new $6(e)}(k(En)),i},providedIn:"root"}),e})(),$6=(()=>{class e extends NM{constructor(t){super(),this._periods=BE(t,It.Standalone,me.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return e.\u0275fac=function(t){return new(t||e)(k(En))},e.\u0275prov=A({token:e,factory:e.\u0275fac}),e})();const G6=/[^0-9]/g;let W6=(()=>{class e{constructor(t,i,o,r){this._config=t,this._ngbTimeAdapter=i,this._cd=o,this.i18n=r,this.onChange=s=>{},this.onTouched=()=>{},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}set hourStep(t){this._hourStep=et(t)?t:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(t){this._minuteStep=et(t)?t:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(t){this._secondStep=et(t)?t:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(t){const i=this._ngbTimeAdapter.fromModel(t);this.model=i?new EM(i.hour,i.minute,i.second):new EM,!this.seconds&&(!i||!it(i.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}changeHour(t){this.model?.changeHour(t),this.propagateModelChange()}changeMinute(t){this.model?.changeMinute(t),this.propagateModelChange()}changeSecond(t){this.model?.changeSecond(t),this.propagateModelChange()}updateHour(t){const i=!!this.model&&this.model.hour>=12,o=jt(t);this.model?.updateHour(this.meridian&&(i&&o<12||!i&&12===o)?o+12:o),this.propagateModelChange()}updateMinute(t){this.model?.updateMinute(jt(t)),this.propagateModelChange()}updateSecond(t){this.model?.updateSecond(jt(t)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(t){t.value=t.value.replace(G6,"")}formatHour(t){return it(t)?Bs(this.meridian?t%12==0?12:t%12:t%24):Bs(NaN)}formatMinSec(t){return Bs(it(t)?t:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(t){t.seconds&&!this.seconds&&this.model&&!it(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(t=!0){t&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return e.\u0275fac=function(t){return new(t||e)(v(V6),v(TM),v(tn),v(NM))},e.\u0275cmp=te({type:e,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],standalone:!0,features:[Ne([{provide:nn,useExisting:Q(()=>e),multi:!0}]),ke,Ye],decls:16,vars:25,consts:()=>{let n,t,i,o,r,s,a,l,c,u,d,f,h,m;return n=$localize`:@@ngb.timepicker.HH:HH`,t=$localize`:@@ngb.timepicker.hours:Hours`,i=$localize`:@@ngb.timepicker.MM:MM`,o=$localize`:@@ngb.timepicker.minutes:Minutes`,r=$localize`:@@ngb.timepicker.increment-hours:Increment hours`,s=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`,a=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`,l=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`,c=$localize`:@@ngb.timepicker.SS:SS`,u=$localize`:@@ngb.timepicker.seconds:Seconds`,d=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`,f=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`,h=$localize`:@@ngb.timepicker.PM:${"\ufffd0\ufffd"}:INTERPOLATION:`,m=$localize`:@@ngb.timepicker.AM:${"\ufffd0\ufffd"}:INTERPOLATION:`,[["am",""],r,s,a,l,d,f,h,m,[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",n,"aria-label",t,1,"ngb-tp-input","form-control",3,"change","blur","input","keydown.ArrowUp","keydown.ArrowDown","value","readOnly","disabled"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",i,"aria-label",o,1,"ngb-tp-input","form-control",3,"change","blur","input","keydown.ArrowUp","keydown.ArrowDown","value","readOnly","disabled"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"click","disabled"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],[1,"chevron","ngb-tp-chevron","bottom"],[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",c,"aria-label",u,1,"ngb-tp-input","form-control",3,"change","blur","input","keydown.ArrowUp","keydown.ArrowDown","value","readOnly","disabled"],[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"click","disabled"],[4,"ngIf","ngIfElse"]]},template:function(t,i){1&t&&(p(0,"fieldset",9)(1,"div",10)(2,"div",11),M(3,k5,4,7,"button",12),p(4,"input",13),R("change",function(r){return i.updateHour(r.target.value)})("blur",function(){return i.handleBlur()})("input",function(r){return i.formatInput(r.target)})("keydown.ArrowUp",function(r){return i.changeHour(i.hourStep),r.preventDefault()})("keydown.ArrowDown",function(r){return i.changeHour(-i.hourStep),r.preventDefault()}),g(),M(5,F5,4,7,"button",12),g(),p(6,"div",14),w(7,":"),g(),p(8,"div",15),M(9,L5,4,7,"button",12),p(10,"input",16),R("change",function(r){return i.updateMinute(r.target.value)})("blur",function(){return i.handleBlur()})("input",function(r){return i.formatInput(r.target)})("keydown.ArrowUp",function(r){return i.changeMinute(i.minuteStep),r.preventDefault()})("keydown.ArrowDown",function(r){return i.changeMinute(-i.minuteStep),r.preventDefault()}),g(),M(11,B5,4,7,"button",12),g(),M(12,V5,2,0,"div",17)(13,U5,4,9,"div",18)(14,$5,1,0,"div",17)(15,z5,5,9,"div",19),g()()),2&t&&(W("disabled",i.disabled),b("disabled",i.disabled),y(3),b("ngIf",i.spinners),y(),W("form-control-sm",i.isSmallSize)("form-control-lg",i.isLargeSize),b("value",i.formatHour(null==i.model?null:i.model.hour))("readOnly",i.readonlyInputs)("disabled",i.disabled),y(),b("ngIf",i.spinners),y(4),b("ngIf",i.spinners),y(),W("form-control-sm",i.isSmallSize)("form-control-lg",i.isLargeSize),b("value",i.formatMinSec(null==i.model?null:i.model.minute))("readOnly",i.readonlyInputs)("disabled",i.disabled),y(),b("ngIf",i.spinners),y(),b("ngIf",i.seconds),y(),b("ngIf",i.seconds),y(),b("ngIf",i.meridian),y(),b("ngIf",i.meridian))},dependencies:[tt],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),e})(),IM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[W6]}),e})();const z6=(e,n)=>{const{classList:t}=e;if(n)return t.add("fade"),Vs(e),t.add("show","showing"),()=>{t.remove("showing")};t.add("show")},q6=({classList:e})=>(e.add("showing"),()=>{e.remove("show","showing")});let Y6=(()=>{class e{constructor(t){this._ngbConfig=t,this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(t){this._animation=t}}return e.\u0275fac=function(t){return new(t||e)(k(tr))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),K6=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=x({type:e,selectors:[["","ngbToastHeader",""]],standalone:!0}),e})(),Z6=(()=>{class e{constructor(t,i,o,r){this.ariaLive=t,this._zone=o,this._element=r,this.contentHeaderTpl=null,this.shown=new j,this.hidden=new j,null==this.ariaLive&&(this.ariaLive=i.ariaLive),this.delay=i.delay,this.autohide=i.autohide,this.animation=i.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe(kt(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(t){"autohide"in t&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const t=Mt(this._zone,this._element.nativeElement,q6,{animation:this.animation,runningTransition:"stop"});return t.subscribe(()=>{this.hidden.emit()}),t}show(){const t=Mt(this._zone,this._element.nativeElement,z6,{animation:this.animation,runningTransition:"continue"});return t.subscribe(()=>{this.shown.emit()}),t}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}return e.\u0275fac=function(t){return new(t||e)(function Wi(e){return function QR(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 o=0;for(;o<i;){const r=t[o];if(ly(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<i&&"string"==typeof t[o];)o++;else{if(r===n)return t[o+1];o+=2}}}return null}(Me(),e)}("aria-live"),v(Y6),v(X),v(ge))},e.\u0275cmp=te({type:e,selectors:[["ngb-toast"]],contentQueries:function(t,i,o){if(1&t&&We(o,K6,7,Oe),2&t){let r;fe(r=he())&&(i.contentHeaderTpl=r.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(t,i){2&t&&(oe("aria-live",i.ariaLive),W("fade",i.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],standalone:!0,features:[ke,Ye],ngContentSelectors:Ud,decls:5,vars:1,consts:()=>{let n;return n=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"me-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",n,1,"btn-close",3,"click"]]},template:function(t,i){1&t&&(Ds(),M(0,q5,2,1,"ng-template",null,0,Vt)(2,K5,3,1,"ng-template",1),p(3,"div",2),ws(4),g()),2&t&&(y(2),b("ngIf",i.contentHeaderTpl||i.header))},dependencies:[tt,Zn],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2}),e})(),MM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[Z6]}),e})(),SM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({}),e})(),OM=(()=>{class e{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(t){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const i=kl(this.result),o=Array.isArray(this.term)?this.term:[this.term],r=c=>this.accentSensitive?c:EI(c),s=o.map(c=>function iW(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(r(kl(c)))).filter(c=>c),a=this.accentSensitive?i:EI(i),l=s.length?a.split(new RegExp(`(${s.join("|")})`,"gmi")):[i];if(this.accentSensitive)this.parts=l;else{let c=0;this.parts=l.map(u=>i.substring(c,c+=u.length))}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=te({type:e,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[ke,Ye],decls:1,vars:1,consts:[["even",""],["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"]],template:function(t,i){1&t&&M(0,Q5,3,2,"ng-template",1),2&t&&b("ngForOf",i.parts)},dependencies:[tt,ut],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),e})(),J6=(()=>{class e{constructor(){this.activeIdx=0,this.focusFirst=!0,this.formatter=kl,this.selectEvent=new j,this.activeChangeEvent=new j}hasActive(){return this.activeIdx>-1&&this.activeIdx<this.results.length}getActive(){return this.results[this.activeIdx]}markActive(t){this.activeIdx=t,this._activeChanged()}next(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}prev(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}resetActive(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}select(t){this.selectEvent.emit(t)}ngOnInit(){this.resetActive()}_activeChanged(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=te({type:e,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(t,i){1&t&&R("mousedown",function(r){return r.preventDefault()}),2&t&&(Qt("id",i.id),pi("dropdown-menu show"+(i.popupClass?" "+i.popupClass:"")))},inputs:{id:"id",focusFirst:"focusFirst",results:"results",term:"term",formatter:"formatter",resultTemplate:"resultTemplate",popupClass:"popupClass"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],standalone:!0,features:[Ye],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"mouseenter","click","id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,i){1&t&&M(0,eW,1,2,"ng-template",null,0,Vt)(2,nW,2,9,"ng-template",1),2&t&&(y(2),b("ngForOf",i.results))},dependencies:[OM,ut,Zn],encapsulation:2}),e})(),Q6=(()=>{class e{constructor(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-start","bottom-end","top-start","top-end"],this.popperOptions=t=>t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const X6=new V("live announcer delay",{providedIn:"root",factory:function ez(){return 100}});function AM(e,n=!1){let t=e.body.querySelector("#ngb-live");return null==t&&n&&(t=e.createElement("div"),t.setAttribute("id","ngb-live"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true"),t.classList.add("visually-hidden"),e.body.appendChild(t)),t}let tz=(()=>{class e{constructor(t,i){this._document=t,this._delay=i}ngOnDestroy(){const t=AM(this._document);t&&t.parentElement.removeChild(t)}say(t){const i=AM(this._document,!0),o=this._delay;if(null!=i){i.textContent="";const r=()=>i.textContent=t;null===o?r():setTimeout(r,o)}}}return e.\u0275fac=function(t){return new(t||e)(k(xt),k(X6))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nz=0,L_=(()=>{class e{constructor(t,i,o,r,s,a,l,c,u,d,f){this._elementRef=t,this._renderer=o,this._live=l,this._document=c,this._ngZone=u,this._changeDetector=d,this._subscription=null,this._closed$=new $e,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-start",this.selectItem=new j,this.activeDescendant=null,this.popupId="ngb-typeahead-"+nz++,this._onTouched=()=>{},this._onChange=h=>{},this.container=s.container,this.editable=s.editable,this.focusFirst=s.focusFirst,this.showHint=s.showHint,this.placement=s.placement,this.popperOptions=s.popperOptions,this._valueChanges=bt(t.nativeElement,"input").pipe(Se(h=>h.target.value)),this._resubscribeTypeahead=new Ci(null),this._popupService=new p6(J6,r,i,o,this._ngZone,f),this._positioning=S_()}ngOnInit(){this._subscribeToUserInput()}ngOnChanges({ngbTypeahead:t}){t&&!t.firstChange&&(this._unsubscribeFromUserInput(),this._subscribeToUserInput())}ngOnDestroy(){this._closePopup(),this._unsubscribeFromUserInput()}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}writeValue(t){this._writeInputValue(this._formatItemForInput(t)),this.showHint&&(this._inputValueBackup=t)}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}dismissPopup(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}isPopupOpen(){return null!=this._windowRef}handleBlur(){this._resubscribeTypeahead.next(null),this._onTouched()}handleKeyDown(t){if(this.isPopupOpen())switch(t.which){case ue.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case ue.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case ue.Enter:case ue.Tab:{const i=this._windowRef.instance.getActive();fo(i)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(i)),this._closePopup();break}}}_openPopup(){if(!this.isPopupOpen()){this._inputValueBackup=this._elementRef.nativeElement.value;const{windowRef:t}=this._popupService.open();this._windowRef=t,this._windowRef.setInput("id",this.popupId),this._windowRef.setInput("popupClass",this.popupClass),this._windowRef.instance.selectEvent.subscribe(i=>this._selectResultClosePopup(i)),this._windowRef.instance.activeChangeEvent.subscribe(i=>this.activeDescendant=i),"body"===this.container&&(this._renderer.setStyle(this._windowRef.location.nativeElement,"z-index","1055"),this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement)),this._changeDetector.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._windowRef&&(this._positioning.createPopper({hostElement:this._elementRef.nativeElement,targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,updatePopperOptions:i=>this.popperOptions(O_([0,2])(i))}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update()))}),M_(this._ngZone,this._document,"outside",()=>this.dismissPopup(),this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement])}}_closePopup(){this._popupService.close().subscribe(()=>{this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this._closed$.next(),this._windowRef=null,this.activeDescendant=null})}_selectResult(t){let i=!1;this.selectItem.emit({item:t,preventDefault:()=>{i=!0}}),this._resubscribeTypeahead.next(null),i||(this.writeValue(t),this._onChange(t))}_selectResultClosePopup(t){this._selectResult(t),this._closePopup()}_showHint(){if(this.showHint&&this._windowRef?.instance.hasActive()&&null!=this._inputValueBackup){const t=this._inputValueBackup.toLowerCase(),i=this._formatItemForInput(this._windowRef.instance.getActive());t===i.substring(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+i.substring(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,i.length])):this._writeInputValue(i)}}_formatItemForInput(t){return null!=t&&this.inputFormatter?this.inputFormatter(t):kl(t)}_writeInputValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",kl(t))}_subscribeToUserInput(){const t=this._valueChanges.pipe(Rs(i=>{this._inputValueBackup=this.showHint?i:null,this._onChange(this.editable?i:void 0)}),this.ngbTypeahead?this.ngbTypeahead:()=>bi([]));this._subscription=this._resubscribeTypeahead.pipe(Ld(()=>t)).subscribe(i=>{i&&0!==i.length?(this._openPopup(),this._windowRef.instance.focusFirst=this.focusFirst,this._windowRef.instance.results=i,this._windowRef.instance.term=this._elementRef.nativeElement.value,this.resultFormatter&&(this._windowRef.instance.formatter=this.resultFormatter),this.resultTemplate&&(this._windowRef.instance.resultTemplate=this.resultTemplate),this._windowRef.instance.resetActive(),this._windowRef.changeDetectorRef.detectChanges(),this._showHint()):this._closePopup();const o=i?i.length:0;this._live.say(0===o?"No results available":`${o} result${1===o?"":"s"} available`)})}_unsubscribeFromUserInput(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}return e.\u0275fac=function(t){return new(t||e)(v(ge),v(Dn),v(hn),v(Ge),v(Q6),v(X),v(tz),v(xt),v(X),v(tn),v(Cn))},e.\u0275dir=x({type:e,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox"],hostVars:7,hostBindings:function(t,i){1&t&&R("blur",function(){return i.handleBlur()})("keydown",function(r){return i.handleKeyDown(r)}),2&t&&(Qt("autocomplete",i.autocomplete),oe("aria-autocomplete",i.showHint?"both":"list")("aria-activedescendant",i.activeDescendant)("aria-owns",i.isPopupOpen()?i.popupId:null)("aria-expanded",i.isPopupOpen()),W("open",i.isPopupOpen()))},inputs:{autocomplete:"autocomplete",container:"container",editable:"editable",focusFirst:"focusFirst",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate",showHint:"showHint",placement:"placement",popperOptions:"popperOptions",popupClass:"popupClass"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],standalone:!0,features:[Ne([{provide:nn,useExisting:Q(()=>e),multi:!0}]),ke]}),e})(),sf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[OM]}),e})(),RM=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({}),e})();const oz=[xI,kI,LI,BI,x_,oM,sM,uM,RM,yM,DM,wM,CM,IM,MM,SM,sf];let rz=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[oz,xI,kI,LI,BI,x_,oM,sM,uM,RM,yM,DM,wM,CM,IM,MM,SM,sf]}),e})();function sz(e,n){if(1&e&&(p(0,"option",3),w(1),g()),2&e){const t=n.$implicit;jo("value",t),y(),Re(t)}}let PM=(()=>{class e{constructor(){this.values=[],this.changeEvent=new j,this.selectValue="all"}reset(){this.selectValue="all"}searchEvent(t){this.changeEvent.emit({column:this.column,value:t})}removeSpaces(t){return t.replace(" ","-")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-filter-select"]],inputs:{column:"column",values:"values"},outputs:{changeEvent:"changeEvent"},decls:4,vars:6,consts:[[1,"form-control","input-sm",3,"ngModelChange","change","id","name","ngModel"],["value","all","selected",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,o){1&i&&(p(0,"select",0),He("ngModelChange",function(s){return qe(o.selectValue,s)||(o.selectValue=s),s}),R("change",function(s){return o.searchEvent(s.target.value)}),p(1,"option",1),w(2,"--All--"),g(),M(3,sz,2,2,"option",2),g()),2&i&&(Uo("id","",o.removeSpaces(o.column.title),"-filter"),Uo("name","",o.removeSpaces(o.column.title),"-filter"),Ve("ngModel",o.selectValue),y(3),b("ngForOf",o.values))},dependencies:[ut,Os,As,lo,so,ao]})}return e})();var B_=function(e){return e.Ascending="asc",e.Descending="desc",e}(B_||{});function az(e,n){if(1&e&&(p(0,"label",11),w(1),g()),2&e){const t=T().$implicit;Uo("for","",t.title,"-filter"),y(),Re(t.title)}}function lz(e,n){if(1&e&&(mi(0),w(1),_i()),2&e){const t=T().$implicit;y(),Re(t.title)}}function cz(e,n){1&e&&z(0,"div",12),2&e&&b("innerHtml",T().$implicit.popoverContent,Ki)}function uz(e,n){if(1&e&&(p(0,"button",13),z(1,"span",14),g()),2&e){const t=T().$implicit;b("popover",ze(4))("title",t.popoverContent)("outsideClick",!0)("adaptivePosition",!1),y(),b("innerHtml"," "+t.popoverContent,Ki)}}function dz(e,n){if(1&e){const t=le();p(0,"frb-sort-controls",15),R("sortEvent",function(o){F(t);const r=T().$implicit;return L(T().columnClick(r,o))}),g()}2&e&&b("columnName",T().$implicit.title)}function fz(e,n){if(1&e){const t=le();p(0,"div")(1,"frb-filter-select",16),R("changeEvent",function(o){return F(t),L(T(2).searchEvent(o))}),g()()}if(2&e){const t=T().$implicit,i=T();y(),b("column",t)("values",i.getValuesFromField(t.dataPropName))}}function hz(e,n){if(1&e&&(p(0,"th",6),M(1,az,2,3,"label",7)(2,lz,2,1,"ng-container",8)(3,cz,1,1,"ng-template",null,0,Vt)(5,uz,2,5,"button",9)(6,dz,1,1,"frb-sort-controls",10)(7,fz,2,2,"div",8),g()),2&e){const t=n.$implicit;y(),b("ngIf",t.allowFiltering),y(),b("ngIf",!t.allowFiltering),y(3),b("ngIf",t.popoverContent),y(),b("ngIf",t.allowSorting),y(),b("ngIf",t.allowFiltering)}}function pz(e,n){if(1&e&&(p(0,"th",18),z(1,"frb-column-table",19),g()),2&e){const t=T().$implicit,i=T(),o=i.$implicit,r=i.index;y(),b("rowIndex",r)("column",t)("data",o)}}function gz(e,n){if(1&e&&(p(0,"td"),z(1,"frb-column-table",19),g()),2&e){const t=T().$implicit,i=T(),o=i.$implicit,r=i.index;y(),b("rowIndex",r)("column",t)("data",o)}}function mz(e,n){if(1&e&&(mi(0),M(1,pz,2,3,"th",17)(2,gz,2,3,"td",8),_i()),2&e){const t=n.first;y(),b("ngIf",t),y(),b("ngIf",!t)}}function _z(e,n){if(1&e&&(p(0,"tr"),M(1,mz,3,2,"ng-container",4),g()),2&e){const t=T();y(),b("ngForOf",t.tableSettings.getTableColumnSettings())}}function vz(e,n){1&e&&z(0,"frb-pagination",20),2&e&&b("config",T().paginationConfig)}let Ul=(()=>{class e{constructor(){this.title="",this.tableData=[],this.allData=[],this.filterChange=new j,this.sortingChange=new j}ngOnChanges(t){this.childFilters&&t.allData&&this.resetAll()}resetAll(){this.childFilters&&this.childFilters.forEach(t=>t.reset())}searchEvent({column:t,value:i}){t.allowFiltering&&this.filterChange.emit({column:t,filterTerm:i})}getValuesFromField(t){const i=this.allData.map(o=>o[t]);return[...new Set(i)].sort((o,r)=>o.localeCompare(r))}columnClick(t,i){t.sortingType=i?B_.Ascending:B_.Descending,this.sortingChange.emit(t)}ngAfterViewInit(){this.tableSettings.setTableSettings()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-generic-table"]],viewQuery:function(i,o){if(1&i&&Fn(PM,5),2&i){let r;fe(r=he())&&(o.childFilters=r)}},inputs:{title:"title",paginationConfig:"paginationConfig",tableData:"tableData",allData:"allData",tableSettings:"tableSettings"},outputs:{filterChange:"filterChange",sortingChange:"sortingChange"},features:[ke],decls:9,vars:7,consts:[["popTemplate",""],[1,"data-table"],[1,"table","pubtables",3,"title"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[3,"config",4,"ngIf"],["scope","col"],[3,"for",4,"ngIf"],[4,"ngIf"],["type","button","class","icon--btn icon icon__xs icon-alert","triggers","click","placement","auto","container","body",3,"popover","title","outsideClick","adaptivePosition",4,"ngIf"],[3,"columnName","sortEvent",4,"ngIf"],[3,"for"],[3,"innerHtml"],["type","button","triggers","click","placement","auto","container","body",1,"icon--btn","icon","icon__xs","icon-alert",3,"popover","title","outsideClick","adaptivePosition"],[1,"sr-only",3,"innerHtml"],[3,"sortEvent","columnName"],[3,"changeEvent","column","values"],["scope","row",4,"ngIf"],["scope","row"],[3,"rowIndex","column","data"],[3,"config"]],template:function(i,o){1&i&&(p(0,"div",1)(1,"table",2)(2,"thead")(3,"tr"),M(4,hz,8,5,"th",3),g()(),p(5,"tbody"),M(6,_z,2,1,"tr",4),vi(7,"paginate"),g()()(),M(8,vz,1,1,"frb-pagination",5)),2&i&&(y(),jo("title",o.title),y(3),b("ngForOf",o.tableSettings.getTableColumnSettings()),y(2),b("ngForOf",o.paginationConfig?ki(7,4,o.tableData,o.paginationConfig):o.tableData),y(2),b("ngIf",o.paginationConfig))},styles:["th[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff;border-radius:50%;margin-left:2px}"]})}return e})();function yz(e,n){if(1&e&&(mi(0),w(1),_i()),2&e){const t=T();y(),Re(t.rowIndex+1)}}function bz(e,n){if(1&e&&(mi(0),w(1),_i()),2&e){const t=T();y(),Re(t.data[t.column.dataPropName])}}function Dz(e,n){if(1&e&&(mi(0),w(1),_i()),2&e){const t=T();y(),Re(t.data[t.column.dataPropName])}}function wz(e,n){if(1&e&&(mi(0),w(1),vi(2,"date"),_i()),2&e){const t=T();y(),Re(ki(2,1,t.data[t.column.dataPropName],"shortDate"))}}let Cz=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-column-table"]],inputs:{column:"column",data:"data",rowIndex:"rowIndex"},decls:4,vars:4,consts:[[4,"ngIf"]],template:function(i,o){1&i&&M(0,yz,2,1,"ng-container",0)(1,bz,2,1,"ng-container",0)(2,Dz,2,1,"ng-container",0)(3,wz,3,4,"ng-container",0),2&i&&(b("ngIf","rowNumberTemplate"===o.column.templateName),y(),b("ngIf","textTemplate"===o.column.templateName),y(),b("ngIf","numberTemplate"===o.column.templateName),y(),b("ngIf","dateTemplate"===o.column.templateName))},dependencies:[tt,fd]})}return e})(),Ez=(()=>{class e{constructor(){this.columnName="column",this.sortEvent=new j}sort(t=!0){this.sortEvent.emit(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-sort-controls"]],inputs:{columnName:"columnName"},outputs:{sortEvent:"sortEvent"},decls:7,vars:2,consts:[[1,"sortControls"],["type","button",1,"ascending","btn","btn-sort","btn-link",3,"click"],[1,"sorter"],["type","button","tabindex","0",1,"descending","btn","btn-sort","btn-link",3,"click"]],template:function(i,o){1&i&&(p(0,"div",0)(1,"button",1),R("click",function(){return o.sort()}),p(2,"span",2),w(3,"Asc"),g()(),p(4,"button",3),R("click",function(){return o.sort(!1)}),p(5,"span",2),w(6,"Desc"),g()()()),2&i&&(y(2),oe("aria-label","Sort "+o.columnName+" by ascending"),y(3),oe("aria-label","Sort "+o.columnName+" by descending"))},styles:[".sorter[_ngcontent-%COMP%]{margin:3px;cursor:pointer}.btn-sort[_ngcontent-%COMP%]{color:#fff;text-decoration:underline;padding:0;font-size:1.2rem;font-weight:700}"]})}return e})();class Tz{constructor(n,t){this.open=n,this.close=t||n}isManual(){return"manual"===this.open||"manual"===this.close}}const Nz={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function V_(e,n=Nz){const t=(e||"").trim();if(0===t.length)return[];const i=t.split(/\s+/).map(r=>r.split(":")).map(r=>{const s=n[r[0]]||r;return new Tz(s[0],s[1])}),o=i.filter(r=>r.isManual());if(o.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===o.length&&i.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return i}const Ot=typeof window<"u"&&window||{};let Hi;function kM(){const e=Ot.document.createElement("span");e.innerText="testing bs version",e.classList.add("d-none"),e.classList.add("pl-1"),Ot.document.head.appendChild(e);const n=Ot.getComputedStyle(e).paddingLeft;return n&&parseFloat(n)?(Ot.document.head.removeChild(e),"bs4"):(Ot.document.head.removeChild(e),"bs5")}function Gs(){return{isBs4:(Hi||(Hi=kM()),"bs4"===Hi),isBs5:(Hi||(Hi=kM()),"bs5"===Hi)}}typeof console>"u"||console;const $l={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=$l;i&&(n=i.requestAnimationFrame,t=i.cancelAnimationFrame);const o=n(r=>{t=void 0,e(r)});return new an(()=>t?.(o))},requestAnimationFrame(...e){const{delegate:n}=$l;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:n}=$l;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},Fz=new class kz extends JN{flush(n){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===t&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===t&&i.shift();)n.unsubscribe();throw o}}}(class xz extends KN{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=$l.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,t,i);const{actions:r}=n;null!=t&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==t&&($l.cancelAnimationFrame(t),n._scheduled=void 0)}});var LM=function(e){return e.top="top",e.bottom="bottom",e.left="left",e.right="right",e.auto="auto",e.end="right",e.start="left",e["top left"]="top left",e["top right"]="top right",e["right top"]="right top",e["right bottom"]="right bottom",e["bottom right"]="bottom right",e["bottom left"]="bottom left",e["left bottom"]="left bottom",e["left top"]="left top",e["top start"]="top left",e["top end"]="top right",e["end top"]="right top",e["end bottom"]="right bottom",e["bottom end"]="bottom right",e["bottom start"]="bottom left",e["start bottom"]="start bottom",e["start top"]="left top",e}(LM||{}),af=function(e){return e.top="top",e.bottom="bottom",e.left="start",e.right="end",e.auto="auto",e.end="end",e.start="start",e["top left"]="top start",e["top right"]="top end",e["right top"]="end top",e["right bottom"]="end bottom",e["bottom right"]="bottom end",e["bottom left"]="bottom start",e["left bottom"]="start bottom",e["left top"]="start top",e["top start"]="top start",e["top end"]="top end",e["end top"]="end top",e["end bottom"]="end bottom",e["bottom end"]="bottom end",e["bottom start"]="bottom start",e["start bottom"]="start bottom",e["start top"]="start top",e}(af||{});function ar(e,n){if(1!==e.nodeType)return[];const i=e.ownerDocument.defaultView?.getComputedStyle(e,null);return n?i&&i[n]:i}function H_(e){if(!e)return document.documentElement;let i,t=e?.offsetParent;for(;null===t&&e.nextElementSibling&&i!==e.nextElementSibling;)i=e.nextElementSibling,t=i.offsetParent;const o=t&&t.nodeName;return o&&"BODY"!==o&&"HTML"!==o?t&&-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===ar(t,"position")?H_(t):t:i?i.ownerDocument.documentElement:document.documentElement}function j_(e){return null!==e.parentNode?j_(e.parentNode):e}function lf(e,n){if(!(e&&e.nodeType&&n&&n.nodeType))return document.documentElement;const t=e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING,i=t?e:n,o=t?n:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);const s=r.commonAncestorContainer;if(e!==s&&n!==s||i.contains(o))return function Lz(e){const{nodeName:n}=e;return"BODY"!==n&&("HTML"===n||H_(e.firstElementChild)===e)}(s)?s:H_(s);const a=j_(e);return a.host?lf(a.host,n):lf(e,j_(n).host)}function BM(e){if(!e||!e.parentElement)return document.documentElement;let n=e.parentElement;for(;n?.parentElement&&"none"===ar(n,"transform");)n=n.parentElement;return n||document.documentElement}function VM(e,n){const t="x"===n?"Left":"Top",i="Left"===t?"Right":"Bottom";return parseFloat(e[`border${t}Width`])+parseFloat(e[`border${i}Width`])}function HM(e,n,t,i){return Math.max(n[`offset${e}`],n[`scroll${e}`],t[`client${e}`],t[`offset${e}`],t[`scroll${e}`],0)}function jM(e){const n=e.body,t=e.documentElement;return{height:HM("Height",n,t),width:HM("Width",n,t)}}function Gl(e){return{...e,right:(e.left||0)+e.width,bottom:(e.top||0)+e.height}}function Qe(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function UM(e){const n=e.getBoundingClientRect();if(!(n&&Qe(n.top)&&Qe(n.left)&&Qe(n.bottom)&&Qe(n.right)))return n;const t={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},i="HTML"===e.nodeName?jM(e.ownerDocument):void 0,o=i?.width||e.clientWidth||Qe(n.right)&&Qe(t.left)&&n.right-t.left||0,r=i?.height||e.clientHeight||Qe(n.bottom)&&Qe(t.top)&&n.bottom-t.top||0;let s=e.offsetWidth-o,a=e.offsetHeight-r;if(s||a){const l=ar(e);s-=VM(l,"x"),a-=VM(l,"y"),t.width-=s,t.height-=a}return Gl(t)}function U_(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function $_(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}const{overflow:n,overflowX:t,overflowY:i}=ar(e);return/(auto|scroll|overlay)/.test(String(n)+String(i)+String(t))?e:$_(U_(e))}function G_(e,n,t=!1){const i="HTML"===n.nodeName,o=UM(e),r=UM(n),a=($_(e),ar(n)),l=parseFloat(a.borderTopWidth),c=parseFloat(a.borderLeftWidth);t&&i&&(r.top=Math.max(r.top??0,0),r.left=Math.max(r.left??0,0));const u=Gl({top:(o.top??0)-(r.top??0)-l,left:(o.left??0)-(r.left??0)-c,width:o.width,height:o.height});if(u.marginTop=0,u.marginLeft=0,i){const d=parseFloat(a.marginTop),f=parseFloat(a.marginLeft);Qe(u.top)&&(u.top-=l-d),Qe(u.bottom)&&(u.bottom-=l-d),Qe(u.left)&&(u.left-=c-f),Qe(u.right)&&(u.right-=c-f),u.marginTop=d,u.marginLeft=f}return u}function $M(e,n="top"){const t="top"===n?"scrollTop":"scrollLeft",i=e.nodeName;return"BODY"===i||"HTML"===i?(e.ownerDocument.scrollingElement||e.ownerDocument.documentElement)[t]:e[t]}function GM(e){const n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===ar(e,"position")||GM(U_(e)))}function W_(e,n,t=0,i,o=!1){let r={top:0,left:0};const s=o?BM(e):lf(e,n);if("viewport"===i)r=function Vz(e,n=!1){const t=e.ownerDocument.documentElement,i=G_(e,t),o=Math.max(t.clientWidth,window.innerWidth||0),r=Math.max(t.clientHeight,window.innerHeight||0),s=n?0:$M(t),a=n?0:$M(t,"left");return Gl({top:s-Number(i?.top)+Number(i?.marginTop),left:a-Number(i?.left)+Number(i?.marginLeft),width:o,height:r})}(s,o);else{let a;"scrollParent"===i?(a=$_(U_(n)),"BODY"===a.nodeName&&(a=e.ownerDocument.documentElement)):a="window"===i?e.ownerDocument.documentElement:i;const l=G_(a,s,o);if(l&&"HTML"===a.nodeName&&!GM(s)){const{height:c,width:u}=jM(e.ownerDocument);Qe(r.top)&&Qe(l.top)&&Qe(l.marginTop)&&(r.top+=l.top-l.marginTop),Qe(r.top)&&(r.bottom=Number(c)+Number(l.top)),Qe(r.left)&&Qe(l.left)&&Qe(l.marginLeft)&&(r.left+=l.left-l.marginLeft),Qe(r.top)&&(r.right=Number(u)+Number(l.left))}else l&&(r=l)}return Qe(r.left)&&(r.left+=t),Qe(r.top)&&(r.top+=t),Qe(r.right)&&(r.right-=t),Qe(r.bottom)&&(r.bottom-=t),r}function Hz({width:e,height:n}){return e*n}function WM(e,n,t,i,o=["top","bottom","right","left"],r="viewport",s=0){if(-1===e.indexOf("auto"))return e;const a=W_(t,i,s,r),l={top:{width:a?.width??0,height:(n?.top??0)-(a?.top??0)},right:{width:(a?.right??0)-(n?.right??0),height:a?.height??0},bottom:{width:a?.width??0,height:(a?.bottom??0)-(n?.bottom??0)},left:{width:(n.left??0)-(a?.left??0),height:a?.height??0}},c=Object.keys(l).map(h=>({position:h,...l[h],area:Hz(l[h])})).sort((h,m)=>m.area-h.area);let u=c.filter(({width:h,height:m})=>h>=t.clientWidth&&m>=t.clientHeight);u=u.filter(({position:h})=>o.some(m=>m===h));const d=u.length>0?u[0].position:c[0].position,f=e.split(" ")[1];return t.className=t.className.replace(/bs-tooltip-auto/g,`bs-tooltip-${Gs().isBs5?af[d]:d}`),d+(f?`-${f}`:"")}const cf=(e,n=0)=>e?parseFloat(e):n;function zM(e){const t=e.ownerDocument.defaultView?.getComputedStyle(e),i=cf(t?.marginTop)+cf(t?.marginBottom),o=cf(t?.marginLeft)+cf(t?.marginRight);return{width:Number(e.offsetWidth)+o,height:Number(e.offsetHeight)+i}}function qM(e,n,t){return G_(n,t?BM(e):lf(e,n),t)}function z_(e,n,t){const i=t.split(" ")[0],o=zM(e),r={width:o.width,height:o.height},s=-1!==["right","left"].indexOf(i),a=s?"top":"left",l=s?"left":"top",c=s?"height":"width",u=s?"width":"height";return r[a]=(n[a]??0)+n[c]/2-o[c]/2,r[l]=i===l?(n[l]??0)-o[u]:n[function Uz(e){const n={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,t=>n[t])}(l)]??0,r}function YM(e,n){return!!e.modifiers[n]?.enabled}const Gz={top:["top","top start","top end"],bottom:["bottom","bottom start","bottom end"],start:["start","start top","start bottom"],end:["end","end top","end bottom"]};function uf(e,n){return!!Gs().isBs5&&Gz[n].includes(e)}function KM(e){return Gs().isBs5?uf(e,"end")?"ms-2":uf(e,"start")?"me-2":uf(e,"top")?"mb-2":uf(e,"bottom")?"mt-2":"":""}function ZM(e,n,t){!e||!n||Object.keys(n).forEach(i=>{let o="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&function Bz(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(Number(e))}(n[i])&&(o="px"),t?t.setStyle(e,i,`${String(n[i])}${o}`):e.style[i]=String(n[i])+o})}function zz(e){let n=e.offsets.target;const t=e.instance.target.querySelector(".arrow");if(!t)return e;const i=-1!==["left","right"].indexOf(e.placement.split(" ")[0]),o=i?"height":"width",r=i?"Top":"Left",s=r.toLowerCase(),a=i?"left":"top",l=i?"bottom":"right",c=zM(t)[o],u=e.placement.split(" ")[1];(e.offsets.host[l]??0)-c<(n[s]??0)&&(n[s]-=(n[s]??0)-((e.offsets.host[l]??0)-c)),Number(e.offsets.host[s])+Number(c)>(n[l]??0)&&(n[s]+=Number(e.offsets.host[s])+Number(c)-Number(n[l])),n=Gl(n);const d=ar(e.instance.target),f=parseFloat(d[`margin${r}`])||0,h=parseFloat(d[`border${r}Width`])||0;let m;if(u){const D=parseFloat(d.borderRadius)||0,E=Number(f+h+D);m=s===u?Number(e.offsets.host[s])+E:Number(e.offsets.host[s])+Number(e.offsets.host[o]-E)}else m=Number(e.offsets.host[s])+Number(e.offsets.host[o]/2-c/2);let _=m-(n[s]??0)-f-h;return _=Math.max(Math.min(n[o]-(c+5),_),0),e.offsets.arrow={[s]:Math.round(_),[a]:""},e.instance.arrow=t,e}function qz(e){if(e.offsets.target=Gl(e.offsets.target),!YM(e.options,"flip"))return e.offsets.target={...e.offsets.target,...z_(e.instance.target,e.offsets.host,e.placement)},e;const n=W_(e.instance.target,e.instance.host,0,"viewport",!1);let t=e.placement.split(" ")[0],i=e.placement.split(" ")[1]||"";const a=WM("auto",e.offsets.host,e.instance.target,e.instance.host,e.options.allowedPositions),l=[t,a];return l.forEach((c,u)=>{if(t!==c||l.length===u+1)return;t=e.placement.split(" ")[0];const d="left"===t&&Math.floor(e.offsets.target.right??0)>Math.floor(e.offsets.host.left??0)||"right"===t&&Math.floor(e.offsets.target.left??0)<Math.floor(e.offsets.host.right??0)||"top"===t&&Math.floor(e.offsets.target.bottom??0)>Math.floor(e.offsets.host.top??0)||"bottom"===t&&Math.floor(e.offsets.target.top??0)<Math.floor(e.offsets.host.bottom??0),f=Math.floor(e.offsets.target.left??0)<Math.floor(n.left??0),h=Math.floor(e.offsets.target.right??0)>Math.floor(n.right??0),m=Math.floor(e.offsets.target.top??0)<Math.floor(n.top??0),_=Math.floor(e.offsets.target.bottom??0)>Math.floor(n.bottom??0),D="left"===t&&f||"right"===t&&h||"top"===t&&m||"bottom"===t&&_,E=-1!==["top","bottom"].indexOf(t),C=E&&"left"===i&&f||E&&"right"===i&&h||!E&&"left"===i&&m||!E&&"right"===i&&_;(d||D||C)&&((d||D)&&(t=l[u+1]),C&&(i=function $z(e){return"right"===e?"left":"left"===e?"right":e}(i)),e.placement=t+(i?` ${i}`:""),e.offsets.target={...e.offsets.target,...z_(e.instance.target,e.offsets.host,e.placement)})}),e}function Kz(e){if(!YM(e.options,"preventOverflow"))return e;const n="transform",t=e.instance.target.style,{top:i,left:o,[n]:r}=t;t.top="",t.left="",t[n]="";const s=W_(e.instance.target,e.instance.host,0,e.options.modifiers.preventOverflow?.boundariesElement||"scrollParent",!1);t.top=i,t.left=o,t[n]=r;const l={primary(c){let u=e.offsets.target[c];return(e.offsets.target[c]??0)<(s[c]??0)&&(u=Math.max(e.offsets.target[c]??0,s[c]??0)),{[c]:u}},secondary(c){const u="right"===c,d=u?"left":"top";let h=e.offsets.target[d];return(e.offsets.target[c]??0)>(s[c]??0)&&(h=Math.min(e.offsets.target[d]??0,(s[c]??0)-e.offsets.target[u?"width":"height"])),{[d]:h}}};return["left","right","top","bottom"].forEach(c=>{const u=-1!==["left","top","start"].indexOf(c)?l.primary:l.secondary;e.offsets.target={...e.offsets.target,...u(c)}}),e}function Zz(e){const n=e.placement,t=n.split(" ")[0],i=n.split(" ")[1];if(i){const{host:o,target:r}=e.offsets,s=-1!==["bottom","top"].indexOf(t),a=s?"left":"top",l=s?"width":"height",c={start:{[a]:o[a]},end:{[a]:(o[a]??0)+o[l]-r[l]}};e.offsets.target={...r,[a]:a===i?c.start[a]:c.end[a]}}return e}const Qz=new class Jz{position(n,t){return this.offset(n,t)}offset(n,t){return qM(t,n)}positionElements(n,t,i,o,r){const s=[qz,Zz,Kz,zz],l=function Yz(e,n,t,i){if(!e||!n)return;const o=qM(e,n);!t.match(/^(auto)*\s*(left|right|top|bottom|start|end)*$/)&&!t.match(/^(left|right|top|bottom|start|end)*(?: (left|right|top|bottom|start|end))*$/)&&(t="auto");const r=!!t.match(/auto/g);let s=t.match(/auto\s(left|right|top|bottom|start|end)/)?t.split(" ")[1]||"auto":t;const a=s.match(/^(left|right|top|bottom|start|end)* ?(?!\1)(left|right|top|bottom|start|end)?/);return a&&(s=a[1]+(a[2]?` ${a[2]}`:"")),-1!==["left right","right left","top bottom","bottom top"].indexOf(s)&&(s="auto"),s=WM(s,o,e,n,i?i.allowedPositions:void 0),{options:i||{modifiers:{}},instance:{target:e,host:n,arrow:void 0},offsets:{target:z_(e,o,s),host:o,arrow:void 0},positionFixed:!1,placement:s,placementAuto:r}}(t,n,LM[i],r);if(l)return s.reduce((c,u)=>u(c),l)}};let q_=(()=>{class e{constructor(t,i,o){this.update$$=new $e,this.positionElements=new Map,this.isDisabled=!1,iT(o)&&t.runOutsideAngular(()=>{this.triggerEvent$=oI(bt(window,"scroll",{passive:!0}),bt(window,"resize",{passive:!0}),bi(0,Fz),this.update$$),this.triggerEvent$.subscribe(()=>{this.isDisabled||this.positionElements.forEach(r=>{!function Xz(e,n,t,i,o,r){const s=Qz.positionElements(e,n,t,i,o);if(!s)return;const a=function jz(e){return{width:e.offsets.target.width,height:e.offsets.target.height,left:Math.floor(e.offsets.target.left??0),top:Math.round(e.offsets.target.top??0),bottom:Math.round(e.offsets.target.bottom??0),right:Math.floor(e.offsets.target.right??0)}}(s);ZM(n,{"will-change":"transform",top:"0px",left:"0px",transform:`translate3d(${a.left}px, ${a.top}px, 0px)`},r),s.instance.arrow&&ZM(s.instance.arrow,s.offsets.arrow,r),function Wz(e,n){const t=e.instance.target;let i=t.className;const o=Gs().isBs5?af[e.placement]:e.placement;e.placementAuto&&(i=i.replace(/bs-popover-auto/g,`bs-popover-${o}`),i=i.replace(/ms-2|me-2|mb-2|mt-2/g,""),i=i.replace(/bs-tooltip-auto/g,`bs-tooltip-${o}`),i=i.replace(/\sauto/g,` ${o}`),-1!==i.indexOf("popover")&&(i=i+" "+KM(o)),-1!==i.indexOf("popover")&&-1===i.indexOf("popover-auto")&&(i+=" popover-auto"),-1!==i.indexOf("tooltip")&&-1===i.indexOf("tooltip-auto")&&(i+=" tooltip-auto")),i=i.replace(/left|right|top|bottom|end|start/g,`${o.split(" ")[0]}`),n?n.setAttribute(t,"class",i):t.className=i}(s,r)}(df(r.target),df(r.element),r.attachment,r.appendToBody,this.options,i.createRenderer(null,null))})})})}position(t){this.addPositionElement(t)}get event$(){return this.triggerEvent$}disable(){this.isDisabled=!0}enable(){this.isDisabled=!1}addPositionElement(t){this.positionElements.set(df(t.element),t)}calcPosition(){this.update$$.next(null)}deletePositionElement(t){this.positionElements.delete(df(t))}setOptions(t){this.options=t}}return e.\u0275fac=function(t){return new(t||e)(k(X),k(ja),k(Ri))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function df(e){return"string"==typeof e?document.querySelector(e):e instanceof ge?e.nativeElement:e??null}class Wl{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}}class e7{constructor(n,t,i,o,r,s,a,l,c){this._viewContainerRef=n,this._renderer=t,this._elementRef=i,this._injector=o,this._componentFactoryResolver=r,this._ngZone=s,this._applicationRef=a,this._posService=l,this._document=c,this.onBeforeShow=new j,this.onShown=new j,this.onBeforeHide=new j,this.onHidden=new j,this._providers=[],this._isHiding=!1,this.containerDefaultSelector="body",this._listenOpts={},this._globalListener=Function.prototype}get isShown(){return!this._isHiding&&!!this._componentRef}attach(n){return this._componentFactory=this._componentFactoryResolver.resolveComponentFactory(n),this}to(n){return this.container=n||this.container,this}position(n){return n?(this.attachment=n.attachment||this.attachment,this._elementRef=n.target||this._elementRef,this):this}provide(n){return this._providers.push(n),this}show(n={}){if(this._subscribePositioning(),this._innerComponent=void 0,!this._componentRef){this.onBeforeShow.emit(),this._contentRef=this._getContentRef(n.content,n.context,n.initialState);const t=Ge.create({providers:this._providers,parent:this._injector});if(!this._componentFactory)return;if(this._componentRef=this._componentFactory.create(t,this._contentRef.nodes),this._applicationRef.attachView(this._componentRef.hostView),this.instance=this._componentRef.instance,Object.assign(this._componentRef.instance,n),this.container instanceof ge&&this.container.nativeElement.appendChild(this._componentRef.location.nativeElement),"string"==typeof this.container&&typeof this._document<"u"){const i=this._document.querySelector(this.container)||this._document.querySelector(this.containerDefaultSelector);if(!i)return;i.appendChild(this._componentRef.location.nativeElement)}!this.container&&this._elementRef&&this._elementRef.nativeElement.parentElement&&this._elementRef.nativeElement.parentElement.appendChild(this._componentRef.location.nativeElement),this._contentRef.componentRef&&(this._innerComponent=this._contentRef.componentRef.instance,this._contentRef.componentRef.changeDetectorRef.markForCheck(),this._contentRef.componentRef.changeDetectorRef.detectChanges()),this._componentRef.changeDetectorRef.markForCheck(),this._componentRef.changeDetectorRef.detectChanges(),this.onShown.emit(n.id?{id:n.id}:this._componentRef.instance)}return this._registerOutsideClick(),this._componentRef}hide(n){if(!this._componentRef)return this;this._posService.deletePositionElement(this._componentRef.location),this.onBeforeHide.emit(this._componentRef.instance);const t=this._componentRef.location.nativeElement;return t.parentNode?.removeChild(t),this._contentRef?.componentRef?.destroy(),this._viewContainerRef&&this._contentRef?.viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef?.viewRef?.destroy(),this._contentRef=void 0,this._componentRef=void 0,this._removeGlobalListener(),this.onHidden.emit(n?{id:n}:null),this}toggle(){this.isShown?this.hide():this.show()}dispose(){this.isShown&&this.hide(),this._unsubscribePositioning(),this._unregisterListenersFn&&this._unregisterListenersFn()}listen(n){this.triggers=n.triggers||this.triggers,this._listenOpts.outsideClick=n.outsideClick,this._listenOpts.outsideEsc=n.outsideEsc,n.target=n.target||this._elementRef?.nativeElement;const t=this._listenOpts.hide=()=>n.hide?n.hide():void this.hide(),i=this._listenOpts.show=r=>{n.show?n.show(r):this.show(r),r()};return this._renderer&&(this._unregisterListenersFn=function Iz(e,n){const t=V_(n.triggers),i=n.target;if(1===t.length&&t[0].isManual())return Function.prototype;const o=[],r=[],s=()=>{r.forEach(a=>o.push(a())),r.length=0};return t.forEach(a=>{const l=a.open===a.close,c=l?n.toggle:n.show;if(!l&&a.close&&n.hide){const u=e.listen(i,a.close,n.hide);r.push(()=>u)}c&&o.push(e.listen(i,a.open,()=>c(s)))}),()=>{o.forEach(a=>a())}}(this._renderer,{target:n.target,triggers:n.triggers,show:i,hide:t,toggle:r=>{this.isShown?t():i(r)}})),this}_removeGlobalListener(){this._globalListener&&(this._globalListener(),this._globalListener=Function.prototype)}attachInline(n,t){return n&&t&&(this._inlineViewRef=n.createEmbeddedView(t)),this}_registerOutsideClick(){if(this._componentRef&&this._componentRef.location){if(this._listenOpts.outsideClick){const n=this._componentRef.location.nativeElement;setTimeout(()=>{this._renderer&&this._elementRef&&(this._globalListener=function Mz(e,n){return n.outsideClick?e.listen("document","click",t=>{n.target&&n.target.contains(t.target)||n.targets&&n.targets.some(i=>i.contains(t.target))||n.hide&&n.hide()}):Function.prototype}(this._renderer,{targets:[n,this._elementRef.nativeElement],outsideClick:this._listenOpts.outsideClick,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))})}this._listenOpts.outsideEsc&&this._renderer&&this._elementRef&&(this._globalListener=function Sz(e,n){return n.outsideEsc?e.listen("document","keyup.esc",t=>{n.target&&n.target.contains(t.target)||n.targets&&n.targets.some(i=>i.contains(t.target))||n.hide&&n.hide()}):Function.prototype}(this._renderer,{targets:[this._componentRef.location.nativeElement,this._elementRef.nativeElement],outsideEsc:this._listenOpts.outsideEsc,hide:()=>this._listenOpts.hide&&this._listenOpts.hide()}))}}getInnerComponent(){return this._innerComponent}_subscribePositioning(){this._zoneSubscription||!this.attachment||(this.onShown.subscribe(()=>{this._posService.position({element:this._componentRef?.location,target:this._elementRef,attachment:this.attachment,appendToBody:"body"===this.container})}),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>{this._componentRef&&this._posService.calcPosition()}))}_unsubscribePositioning(){this._zoneSubscription&&(this._zoneSubscription.unsubscribe(),this._zoneSubscription=void 0)}_getContentRef(n,t,i){if(!n)return new Wl([]);if(n instanceof Oe){if(this._viewContainerRef){const s=this._viewContainerRef.createEmbeddedView(n,t);return s.markForCheck(),new Wl([s.rootNodes],s)}const r=n.createEmbeddedView({});return this._applicationRef.attachView(r),new Wl([r.rootNodes],r)}if("function"==typeof n){const r=this._componentFactoryResolver.resolveComponentFactory(n),s=Ge.create({providers:this._providers,parent:this._injector}),a=r.create(s);return Object.assign(a.instance,i),this._applicationRef.attachView(a.hostView),new Wl([[a.location.nativeElement]],a.hostView,a)}const o=this._renderer?[this._renderer.createText(`${n}`)]:[];return new Wl([o])}}let JM=(()=>{class e{constructor(t,i,o,r,s,a){this._componentFactoryResolver=t,this._ngZone=i,this._injector=o,this._posService=r,this._applicationRef=s,this._document=a}createLoader(t,i,o){return new e7(i,o,t,this._injector,this._componentFactoryResolver,this._ngZone,this._applicationRef,this._posService,this._document)}}return e.\u0275fac=function(t){return new(t||e)(k(Ha),k(X),k(Ge),k(q_),k(Cn),k(xt))},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const t7=["*"];function n7(e,n){if(1&e&&(p(0,"h3",3),w(1),g()),2&e){const t=T();y(),Re(t.title)}}let Y_=(()=>{class e{constructor(){this.adaptivePosition=!0,this.placement="top",this.triggers="click",this.outsideClick=!1,this.delay=0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),i7=(()=>{class e{constructor(t){this._placement="top",Object.assign(this,t)}set placement(t){this._placement=this._bsVersions.isBs5?af[t]:t}get _bsVersions(){return Gs()}checkMarginNecessity(){return KM(this._placement)}}return e.\u0275fac=function(t){return new(t||e)(v(Y_))},e.\u0275cmp=te({type:e,selectors:[["popover-container"]],hostAttrs:["role","tooltip",2,"display","block"],hostVars:7,hostBindings:function(t,i){2&t&&(oe("id",i.popoverId),pi("popover in popover-"+i._placement+" bs-popover-"+i._placement+" "+i._placement+" "+i.containerClass+" "+i.checkMarginNecessity()),W("show",!i._bsVersions.isBs3)("bs3",i._bsVersions.isBs3))},inputs:{placement:"placement",title:"title"},ngContentSelectors:t7,decls:4,vars:1,consts:[[1,"popover-arrow","arrow"],["class","popover-title popover-header",4,"ngIf"],[1,"popover-content","popover-body"],[1,"popover-title","popover-header"]],template:function(t,i){1&t&&(Ds(),z(0,"div",0),M(1,n7,2,1,"h3",1),p(2,"div",2),ws(3),g()),2&t&&(y(),b("ngIf",i.title))},dependencies:[tt],styles:[".bs3.popover-top[_nghost-%COMP%]{margin-bottom:10px}.bs3.popover.top[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-2px}.bs3.popover.top[_nghost-%COMP%]{margin-bottom:10px}.popover.bottom[_nghost-%COMP%] > .arrow[_ngcontent-%COMP%]{margin-left:-4px}.bs3.bs-popover-left[_nghost-%COMP%]{margin-right:.5rem}.bs3.bs-popover-right[_nghost-%COMP%] .arrow[_ngcontent-%COMP%], .bs3.bs-popover-left[_nghost-%COMP%] .arrow[_ngcontent-%COMP%]{margin:.3rem 0}"],changeDetection:0}),e})(),o7=0,r7=(()=>{class e{constructor(t,i,o,r,s,a){this._elementRef=i,this._renderer=o,this._positionService=a,this.popoverId=o7++,this.adaptivePosition=!0,this.placement="top",this.outsideClick=!1,this.triggers="click",this.containerClass="",this.delay=0,this._isInited=!1,this._popover=s.createLoader(i,r,o).provide({provide:Y_,useValue:t}),Object.assign(this,t),this.onShown=this._popover.onShown,this.onHidden=this._popover.onHidden,typeof window<"u"&&i.nativeElement.addEventListener("click",function(){try{i.nativeElement.focus()}catch{return}})}get isOpen(){return this._popover.isShown}set isOpen(t){t?this.show():this.hide()}setAriaDescribedBy(){this._ariaDescribedby=this.isOpen?`ngx-popover-${this.popoverId}`:void 0,this._ariaDescribedby?(this._popover.instance&&(this._popover.instance.popoverId=this._ariaDescribedby),this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ariaDescribedby)):this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby")}show(){if(this._popover.isShown||!this.popover||this._delayTimeoutId)return;this._positionService.setOptions({modifiers:{flip:{enabled:this.adaptivePosition},preventOverflow:{enabled:this.adaptivePosition,boundariesElement:this.boundariesElement||"scrollParent"}}});const t=()=>{this._delayTimeoutId&&(this._delayTimeoutId=void 0),this._popover.attach(i7).to(this.container).position({attachment:this.placement}).show({content:this.popover,context:this.popoverContext,placement:this.placement,title:this.popoverTitle,containerClass:this.containerClass}),!this.adaptivePosition&&this._popover._componentRef&&(this._positionService.calcPosition(),this._positionService.deletePositionElement(this._popover._componentRef.location)),this.isOpen=!0,this.setAriaDescribedBy()},i=()=>{this._popoverCancelShowFn&&this._popoverCancelShowFn()};if(this.delay){const o=xd(this.delay).subscribe(()=>{t(),i()});this.triggers&&V_(this.triggers).forEach(r=>{r.close&&(this._popoverCancelShowFn=this._renderer.listen(this._elementRef.nativeElement,r.close,()=>{o.unsubscribe(),i()}))})}else t()}hide(){this._delayTimeoutId&&(clearTimeout(this._delayTimeoutId),this._delayTimeoutId=void 0),this.isOpen&&(this._popover.hide(),this.setAriaDescribedBy(),this.isOpen=!1)}toggle(){if(this.isOpen)return this.hide();this.show()}ngOnInit(){this._isInited||(this._isInited=!0,this._popover.listen({triggers:this.triggers,outsideClick:this.outsideClick,show:()=>this.show(),hide:()=>this.hide()}))}ngOnDestroy(){this._popover.dispose()}}return e.\u0275fac=function(t){return new(t||e)(v(Y_),v(ge),v(hn),v(Dn),v(JM),v(q_))},e.\u0275dir=x({type:e,selectors:[["","popover",""]],inputs:{adaptivePosition:"adaptivePosition",boundariesElement:"boundariesElement",popover:"popover",popoverContext:"popoverContext",popoverTitle:"popoverTitle",placement:"placement",outsideClick:"outsideClick",triggers:"triggers",container:"container",containerClass:"containerClass",isOpen:"isOpen",delay:"delay"},outputs:{onShown:"onShown",onHidden:"onHidden"},exportAs:["bs-popover"]}),e})(),s7=(()=>{class e{static forRoot(){return{ngModule:e,providers:[JM,q_]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({imports:[yi]}),e})(),a7=(()=>{class e extends Jd{constructor(){super(...arguments),this.DELIMITER="/"}parse(t){if(t){const i=t.split(this.DELIMITER);return{month:parseInt(i[0],10),day:parseInt(i[1],10),year:parseInt(i[2],10)}}return null}format(t){return t?t.month+this.DELIMITER+t.day+this.DELIMITER+t.year:""}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();class K_{constructor(){this.change=new j,this.instances={},this.DEFAULT_ID="DEFAULT_PAGINATION_ID"}defaultId(){return this.DEFAULT_ID}register(n){return null==n.id&&(n.id=this.DEFAULT_ID),this.instances[n.id]?this.updateInstance(n):(this.instances[n.id]=n,!0)}updateInstance(n){let t=!1;for(let i in this.instances[n.id])n[i]!==this.instances[n.id][i]&&(this.instances[n.id][i]=n[i],t=!0);return t}getCurrentPage(n){return this.instances[n]?this.instances[n].currentPage:1}setCurrentPage(n,t){if(this.instances[n]){let i=this.instances[n];t<=Math.ceil(i.totalItems/i.itemsPerPage)&&1<=t&&(this.instances[n].currentPage=t,this.change.emit(n))}}setTotalItems(n,t){this.instances[n]&&0<=t&&(this.instances[n].totalItems=t,this.change.emit(n))}setItemsPerPage(n,t){this.instances[n]&&(this.instances[n].itemsPerPage=t,this.change.emit(n))}getInstance(n=this.DEFAULT_ID){return this.instances[n]?this.clone(this.instances[n]):{}}clone(n){var t={};for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t}}const _7=Number.MAX_SAFE_INTEGER;let Z_=(()=>{class e{constructor(t){this.service=t,this.state={}}transform(t,i){if(!(t instanceof Array)){let d=i.id||this.service.defaultId();return this.state[d]?this.state[d].slice:t}let a,l,o=i.totalItems&&i.totalItems!==t.length,r=this.createInstance(t,i),s=r.id,c=r.itemsPerPage,u=this.service.register(r);if(!o&&t instanceof Array){if(c=+c||_7,a=(r.currentPage-1)*c,l=a+c,this.stateIsIdentical(s,t,a,l))return this.state[s].slice;{let f=t.slice(a,l);return this.saveState(s,t,f,a,l),this.service.change.emit(s),f}}return u&&this.service.change.emit(s),this.saveState(s,t,t,a,l),t}createInstance(t,i){return this.checkConfig(i),{id:null!=i.id?i.id:this.service.defaultId(),itemsPerPage:+i.itemsPerPage||0,currentPage:+i.currentPage||1,totalItems:+i.totalItems||t.length}}checkConfig(t){const o=["itemsPerPage","currentPage"].filter(r=>!(r in t));if(0<o.length)throw new Error(`PaginatePipe: Argument is missing the following required properties: ${o.join(", ")}`)}saveState(t,i,o,r,s){this.state[t]={collection:i,size:i.length,slice:o,start:r,end:s}}stateIsIdentical(t,i,o,r){let s=this.state[t];return!(!s||s.size!==i.length||s.start!==o||s.end!==r)&&s.slice.every((l,c)=>l===i[o+c])}}return e.\u0275fac=function(t){return new(t||e)(v(K_,16))},e.\u0275pipe=Yt({name:"paginate",type:e,pure:!1}),e})(),v7=(()=>{class e{constructor(t,i){this.service=t,this.changeDetectorRef=i,this.maxSize=7,this.pageChange=new j,this.pageBoundsCorrection=new j,this.pages=[],this.changeSub=this.service.change.subscribe(o=>{this.id===o&&(this.updatePageLinks(),this.changeDetectorRef.markForCheck(),this.changeDetectorRef.detectChanges())})}ngOnInit(){void 0===this.id&&(this.id=this.service.defaultId()),this.updatePageLinks()}ngOnChanges(t){this.updatePageLinks()}ngOnDestroy(){this.changeSub.unsubscribe()}previous(){this.checkValidId(),this.setCurrent(this.getCurrent()-1)}next(){this.checkValidId(),this.setCurrent(this.getCurrent()+1)}isFirstPage(){return 1===this.getCurrent()}isLastPage(){return this.getLastPage()===this.getCurrent()}setCurrent(t){this.pageChange.emit(t)}getCurrent(){return this.service.getCurrentPage(this.id)}getLastPage(){let t=this.service.getInstance(this.id);return t.totalItems<1?1:Math.ceil(t.totalItems/t.itemsPerPage)}getTotalItems(){return this.service.getInstance(this.id).totalItems}checkValidId(){null==this.service.getInstance(this.id).id&&console.warn(`PaginationControlsDirective: the specified id "${this.id}" does not match any registered PaginationInstance`)}updatePageLinks(){let t=this.service.getInstance(this.id);const i=this.outOfBoundCorrection(t);i!==t.currentPage?setTimeout(()=>{this.pageBoundsCorrection.emit(i),this.pages=this.createPageArray(t.currentPage,t.itemsPerPage,t.totalItems,this.maxSize)}):this.pages=this.createPageArray(t.currentPage,t.itemsPerPage,t.totalItems,this.maxSize)}outOfBoundCorrection(t){const i=Math.ceil(t.totalItems/t.itemsPerPage);return i<t.currentPage&&0<i?i:t.currentPage<1?1:t.currentPage}createPageArray(t,i,o,r){r=+r;let s=[];const a=Math.max(Math.ceil(o/i),1),l=Math.ceil(r/2),c=t<=l,u=a-l<t,d=!c&&!u;let f=r<a,h=1;for(;h<=a&&h<=r;){let m,_=this.calculatePageNumber(h,t,r,a);m=f&&(2===h&&(d||u)||h===r-1&&(d||c))?"...":_,s.push({label:m,value:_}),h++}return s}calculatePageNumber(t,i,o,r){let s=Math.ceil(o/2);return t===o?r:1===t?t:o<r?r-s<i?r-o+t:s<i?i-s+t:t:t}}return e.\u0275fac=function(t){return new(t||e)(v(K_),v(tn))},e.\u0275dir=x({type:e,selectors:[["pagination-template"],["","pagination-template",""]],inputs:{id:"id",maxSize:"maxSize"},outputs:{pageChange:"pageChange",pageBoundsCorrection:"pageBoundsCorrection"},exportAs:["paginationApi"],features:[ke]}),e})(),J_=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=be({type:e}),e.\u0275inj=ve({providers:[K_],imports:[[yi]]}),e})();function y7(e,n){if(1&e){const t=le();p(0,"a",10),R("click",function(){return F(t),T(),L(ze(1).previous())})("keyup.enter",function(){return F(t),T(),L(ze(1).previous())}),w(1,"Previous"),g()}}function b7(e,n){1&e&&(p(0,"span",11),w(1," Previous "),g())}function D7(e,n){if(1&e){const t=le();p(0,"li",12)(1,"a",13),R("click",function(){const o=F(t).$implicit;return T(),L(ze(1).setCurrent(o.value))})("keyup.enter",function(){const o=F(t).$implicit;return T(),L(ze(1).setCurrent(o.value))}),w(2),g()()}if(2&e){const t=n.$implicit;T();const i=ze(1);W("active",i.getCurrent()===t.value),y(),W("disabled",i.getCurrent()!==t.value),oe("aria-label",t.value===i.getCurrent()?"Page "+t.value+" (currently active page)":"Page "+t.value),y(),Re(t.label)}}function w7(e,n){if(1&e){const t=le();p(0,"a",14),R("click",function(){return F(t),T(),L(ze(1).next())})("keyup.enter",function(){return F(t),T(),L(ze(1).next())}),w(1,"Next"),g()}}function C7(e,n){1&e&&(p(0,"span",15),w(1," Next "),g())}let Q_=(()=>{class e{constructor(){this.config={itemsPerPage:20,currentPage:1}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-pagination"]],inputs:{config:"config"},decls:10,vars:9,consts:[["p","paginationApi"],[3,"pageChange"],[1,"pagination"],[1,"pagination-previous"],["tabindex","0","role","button","aria-label","Previous page",3,"click","keyup.enter",4,"ngIf"],["aria-label","Previous page",4,"ngIf"],["class","pagination-page",3,"active",4,"ngFor","ngForOf"],[1,"pagination-next"],["tabindex","0","role","button","aria-label","Next page",3,"click","keyup.enter",4,"ngIf"],["aria-label","Next page",4,"ngIf"],["tabindex","0","role","button","aria-label","Previous page",3,"click","keyup.enter"],["aria-label","Previous page"],[1,"pagination-page"],["tabindex","0","role","button",3,"click","keyup.enter"],["tabindex","0","role","button","aria-label","Next page",3,"click","keyup.enter"],["aria-label","Next page"]],template:function(i,o){if(1&i){const r=le();p(0,"pagination-template",1,0),R("pageChange",function(a){return F(r),L(o.config.currentPage=a)}),p(2,"ul",2)(3,"li",3),M(4,y7,2,0,"a",4)(5,b7,2,0,"span",5),g(),M(6,D7,3,6,"li",6),p(7,"li",7),M(8,w7,2,0,"a",8)(9,C7,2,0,"span",9),g()()()}if(2&i){const r=ze(1);y(3),W("disabled",r.isFirstPage()),y(),b("ngIf",!r.isFirstPage()),y(),b("ngIf",r.isFirstPage()),y(),b("ngForOf",r.pages),y(),W("disabled",r.isLastPage()),y(),b("ngIf",!r.isLastPage()),y(),b("ngIf",r.isLastPage())}},dependencies:[ut,tt,v7]})}return e})(),ff=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({providers:[{provide:Jd,useClass:a7}],imports:[yi,Rd,s7.forRoot(),qN,x_,J_]})}return e})();!function fC(e,n,t){const i=e.\u0275cmp;i.directiveDefs=_c(n,!1),i.pipeDefs=_c(t,!0)}(Ul,function(){return[ut,tt,r7,Cz,Ez,PM,Q_]},function(){return[Z_]});class E7{constructor(){this.showColumnFiltersRow=!1}getShowColumnFiltersRow(){return this.showColumnFiltersRow}createColumns(n,t,i){const o=this.createColumnSettingsMap(t),r=this.createTableColumns(n,o);return this.setSortingSettings(r,i),r}createColumnSettingsMap(n){const t=new Map;return n.forEach(i=>{const o=i.key;if(!t.has(o)){const r=Object.assign(i);t.set(o,r)}}),t}createTableColumns(n,t){const i=[];let o="";if(n.forEach(r=>{const s=t.get(r);t.has(r)&&void 0!==s?i.push(s):o+=r+", "}),""!==o)throw"Can not create column settings with key(s):"+o+", add TableColumnSettings with that key(s) or remove it from OrderedColumnsKey collection.";return i}setSortingSettings(n,t){n.forEach(i=>{!1!==i.allowSorting&&(i.allowSorting=!0),null!==t&&i.key===t.columnKey&&(i.sortingType=t.sortingType)})}}class hf{constructor(){this.columnBuilderService=new E7}getFirstSortingSettings(){return null}setTableSettings(){this.columnSettings=this.columnBuilderService.createColumns(this.getOrderedColumnKeys(),this.getColumnSettings(),this.getFirstSortingSettings())}getTableColumnSettings(){return this.columnSettings}showFilterRow(){return this.columnBuilderService.getShowColumnFiltersRow()}}var pe=function(e){return e.RowNumber="rowNumberTemplate",e.Text="textTemplate",e.Number="numberTemplate",e.Date="dateTemplate",e}(pe||{});let T7=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({imports:[yi,Rd,sf,ff]})}return e})();function zl(e,n=o_){return Ut((t,i)=>{let o=null,r=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const c=r;r=null,i.next(c)}};function l(){const c=s+e,u=n.now();if(u<c)return o=this.schedule(void 0,c-u),void i.add(o);a()}t.subscribe(pt(i,c=>{r=c,s=n.now(),o||(o=n.schedule(l,e),i.add(o))},()=>{a(),i.complete()},void 0,()=>{r=o=null}))})}function Hn(e,n){const t=Ee(e)?e:()=>e,i=o=>o.error(t());return new Xe(n?o=>n.schedule(i,0,o):i)}function rn(e){return Ut((n,t)=>{let r,i=null,o=!1;i=n.subscribe(pt(t,void 0,void 0,s=>{r=qt(e(s,rn(e)(n))),i?(i.unsubscribe(),i=null,r.subscribe(t)):o=!0})),o&&(i.unsubscribe(),i=null,r.subscribe(t))})}function QM(e,n,t,i,o,r,s){try{var a=e[r](s),l=a.value}catch(c){return void t(c)}a.done?n(l):Promise.resolve(l).then(i,o)}function XM(e){return function(){var n=this,t=arguments;return new Promise(function(i,o){var r=e.apply(n,t);function s(l){QM(r,i,o,s,a,"next",l)}function a(l){QM(r,i,o,s,a,"throw",l)}s(void 0)})}}function eS(e){return Ut((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}class pf{}class gf{}class jn{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const o=t.slice(0,i),r=o.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(o,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,i)=>{this.setHeaderEntries(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 o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...i),this.headers.set(t,o);break;case"d":const r=n.value;if(r){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===r.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)}}setHeaderEntries(n,t){const i=(Array.isArray(t)?t:[t]).map(r=>r.toString()),o=n.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class I7{encodeKey(n){return tS(n)}encodeValue(n){return tS(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const S7=/%(\d[a-f0-9])/gi,O7={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function tS(e){return encodeURIComponent(e).replace(S7,(n,t)=>O7[t]??n)}function mf(e){return`${e}`}class ho{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new I7,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M7(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const r=o.indexOf("="),[s,a]=-1==r?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,r)),n.decodeValue(o.slice(r+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],o=Array.isArray(i)?i.map(mf):[mf(i)];this.map.set(t,o)})):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 o=n[i];Array.isArray(o)?o.forEach(r=>{t.push({param:i,value:r,op:"a"})}):t.push({param:i,value:o,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 ho({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(mf(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 o=i.indexOf(mf(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class A7{constructor(){this.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 nS(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function iS(e){return typeof Blob<"u"&&e instanceof Blob}function oS(e){return typeof FormData<"u"&&e instanceof FormData}class ql{constructor(n,t,i,o){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function R7(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,r=o):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers??=new jn,this.context??=new A7,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 ho,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||nS(this.body)||iS(this.body)||oS(this.body)||function P7(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof ho?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||oS(this.body)?null:iS(this.body)?this.body.type||null:nS(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ho?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const t=n.method||this.method,i=n.url||this.url,o=n.responseType||this.responseType,r=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,u=n.params||this.params;const d=n.context??this.context;return void 0!==n.setHeaders&&(c=Object.keys(n.setHeaders).reduce((f,h)=>f.set(h,n.setHeaders[h]),c)),n.setParams&&(u=Object.keys(n.setParams).reduce((f,h)=>f.set(h,n.setParams[h]),u)),new ql(t,i,s,{params:u,headers:c,context:d,reportProgress:l,responseType:o,withCredentials:a,transferCache:r})}}var po=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}(po||{});class X_{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 _f extends X_{constructor(n={}){super(n),this.type=po.ResponseHeader}clone(n={}){return new _f({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 lr extends X_{constructor(n={}){super(n),this.type=po.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new lr({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 Ws extends X_{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,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 ev(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 Yl=(()=>{class e{constructor(t){this.handler=t}request(t,i,o={}){let r;if(t instanceof ql)r=t;else{let l,c;l=o.headers instanceof jn?o.headers:new jn(o.headers),o.params&&(c=o.params instanceof ho?o.params:new ho({fromObject:o.params})),r=new ql(t,i,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=bi(r).pipe(function N7(e,n){return Ee(n)?Qo(e,n,1):Qo(e,1)}(l=>this.handler.handle(l)));if(t instanceof ql||"events"===o.observe)return s;const a=s.pipe(Qn(l=>l instanceof lr));switch(o.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return a.pipe(Se(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(Se(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(Se(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Se(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}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 ho).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,o={}){return this.request("PATCH",t,ev(o,i))}post(t,i,o={}){return this.request("POST",t,ev(o,i))}put(t,i,o={}){return this.request("PUT",t,ev(o,i))}static#e=this.\u0275fac=function(i){return new(i||e)(k(pf))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();const F7=/^\)\]\}',?\n/;function sS(e){if(e.url)return e.url;const n="X-Request-URL".toLocaleLowerCase();return e.headers.get(n)}let tv=(()=>{class e{constructor(){this.fetchImpl=H(B7,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=H(X)}handle(t){return new Xe(i=>{const o=new AbortController;return this.doRequest(t,o.signal,i).then(nv,r=>i.error(new Ws({error:r}))),()=>o.abort()})}doRequest(t,i,o){var r=this;return XM(function*(){const s=r.createRequestInit(t);let a;try{const m=r.fetchImpl(t.urlWithParams,{signal:i,...s});(function V7(e){e.then(nv,nv)})(m),o.next({type:po.Sent}),a=yield m}catch(m){return void o.error(new Ws({error:m,status:m.status??0,statusText:m.statusText,url:t.urlWithParams,headers:m.headers}))}const l=new jn(a.headers),c=a.statusText,u=sS(a)??t.urlWithParams;let d=a.status,f=null;if(t.reportProgress&&o.next(new _f({headers:l,status:d,statusText:c,url:u})),a.body){const m=a.headers.get("content-length"),_=[],D=a.body.getReader();let C,I,E=0;const P=typeof Zone<"u"&&Zone.current;yield r.ngZone.runOutsideAngular(XM(function*(){for(;;){const{done:U,value:ie}=yield D.read();if(U)break;if(_.push(ie),E+=ie.length,t.reportProgress){I="text"===t.responseType?(I??"")+(C??=new TextDecoder).decode(ie,{stream:!0}):void 0;const ce=()=>o.next({type:po.DownloadProgress,total:m?+m:void 0,loaded:E,partialText:I});P?P.run(ce):ce()}}}));const B=r.concatChunks(_,E);try{const U=a.headers.get("Content-Type")??"";f=r.parseBody(t,B,U)}catch(U){return void o.error(new Ws({error:U,headers:new jn(a.headers),status:a.status,statusText:a.statusText,url:sS(a)??t.urlWithParams}))}}0===d&&(d=f?200:0),d>=200&&d<300?(o.next(new lr({body:f,headers:l,status:d,statusText:c,url:u})),o.complete()):o.error(new Ws({error:f,headers:l,status:d,statusText:c,url:u}))})()}parseBody(t,i,o){switch(t.responseType){case"json":const r=(new TextDecoder).decode(i).replace(F7,"");return""===r?null:JSON.parse(r);case"text":return(new TextDecoder).decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(t){const i={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((r,s)=>i[r]=s.join(",")),i.Accept??="application/json, text/plain, */*",!i["Content-Type"]){const r=t.detectContentTypeHeader();null!==r&&(i["Content-Type"]=r)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:o}}concatChunks(t,i){const o=new Uint8Array(i);let r=0;for(const s of t)o.set(s,r),r+=s.length;return o}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();class B7{}function nv(){}function aS(e,n){return n(e)}function H7(e,n){return(t,i)=>n.intercept(t,{handle:o=>e(o,i)})}const U7=new V(""),Kl=new V(""),lS=new V(""),cS=new V("",{providedIn:"root",factory:()=>!0});function $7(){let e=null;return(n,t)=>{null===e&&(e=(H(U7,{optional:!0})??[]).reduceRight(H7,aS));const i=H(zi);if(H(cS)){const r=i.add();return e(n,t).pipe(eS(()=>i.remove(r)))}return e(n,t)}}let uS=(()=>{class e extends pf{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=H(zi),this.contributeToStability=H(cS)}handle(t){if(null===this.chain){const i=Array.from(new Set([...this.injector.get(Kl),...this.injector.get(lS,[])]));this.chain=i.reduceRight((o,r)=>function j7(e,n,t){return(i,o)=>function vh(e,n){e instanceof Ir&&e.assertNotDestroyed();const i=$i(e),o=ln(void 0);try{return n()}finally{$i(i),ln(o)}}(t,()=>n(i,r=>e(r,o)))}(o,r,this.injector),aS)}if(this.contributeToStability){const i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(eS(()=>this.pendingTasks.remove(i)))}return this.chain(t,i=>this.backend.handle(i))}static#e=this.\u0275fac=function(i){return new(i||e)(k(gf),k(un))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();const Y7=/^\)\]\}',?\n/;let fS=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new S(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?zo(i.\u0275loadImpl()):bi(null)).pipe(Ld(()=>new Xe(r=>{const s=i.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((_,D)=>s.setRequestHeader(_,D.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const _=t.detectContentTypeHeader();null!==_&&s.setRequestHeader("Content-Type",_)}if(t.responseType){const _=t.responseType.toLowerCase();s.responseType="json"!==_?_:"text"}const a=t.serializeBody();let l=null;const c=()=>{if(null!==l)return l;const _=s.statusText||"OK",D=new jn(s.getAllResponseHeaders()),E=function K7(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return l=new _f({headers:D,status:s.status,statusText:_,url:E}),l},u=()=>{let{headers:_,status:D,statusText:E,url:C}=c(),I=null;204!==D&&(I=typeof s.response>"u"?s.responseText:s.response),0===D&&(D=I?200:0);let P=D>=200&&D<300;if("json"===t.responseType&&"string"==typeof I){const B=I;I=I.replace(Y7,"");try{I=""!==I?JSON.parse(I):null}catch(U){I=B,P&&(P=!1,I={error:U,text:I})}}P?(r.next(new lr({body:I,headers:_,status:D,statusText:E,url:C||void 0})),r.complete()):r.error(new Ws({error:I,headers:_,status:D,statusText:E,url:C||void 0}))},d=_=>{const{url:D}=c(),E=new Ws({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});r.error(E)};let f=!1;const h=_=>{f||(r.next(c()),f=!0);let D={type:po.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),"text"===t.responseType&&s.responseText&&(D.partialText=s.responseText),r.next(D)},m=_=>{let D={type:po.UploadProgress,loaded:_.loaded};_.lengthComputable&&(D.total=_.total),r.next(D)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),r.next({type:po.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||e)(k(rT))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();const iv=new V(""),hS=new V("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),pS=new V("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class gS{}let Q7=(()=>{class e{constructor(t,i,o){this.doc=t,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=YE(t,this.cookieName),this.lastCookieString=t),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||e)(k(xt),k(Ri),k(hS))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac})}return e})();function X7(e,n){const t=e.url.toLowerCase();if(!H(iv)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const i=H(gS).getToken(),o=H(pS);return null!=i&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,i)})),n(e)}var go=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}(go||{});function zs(...e){const n=[Yl,fS,uS,{provide:pf,useExisting:uS},{provide:gf,useFactory:()=>H(tv,{optional:!0})??H(fS)},{provide:Kl,useValue:X7,multi:!0},{provide:iv,useValue:!0},{provide:gS,useClass:Q7}];for(const t of e)n.push(...t.\u0275providers);return function na(e){return{\u0275providers:e}}(n)}const mS=new V("");function e9(){return function cr(e,n){return{\u0275kind:e,\u0275providers:n}}(go.LegacyInterceptors,[{provide:mS,useFactory:$7},{provide:Kl,useExisting:mS,multi:!0}])}let c9=(()=>{class e{getCounties(){return this.http.get("/consumerscommunities/files/state_county_names.json").pipe(rn(t=>(console.log(t),Hn(t.json()))))}getCountyData(){return this.http.get("/consumerscommunities/files/npr_metrics_dashboard_county_thresholds.json").pipe(rn(t=>(console.log(t),Hn(t.json()))))}getCombinedData(){return this.http.get("/consumerscommunities/files/npr_metrics_dashboard_msa_and_metro_div_thresholds.json").pipe(rn(t=>(console.log(t),Hn(t.json()))))}constructor(t){this.http=t}static#e=this.\u0275fac=function(i){return new(i||e)(k(Yl))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),u9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-spinner"]],decls:3,vars:0,consts:[["role","status",1,"spinner"],[1,"sr-only"]],template:function(i,o){1&i&&(p(0,"span",0)(1,"span",1),w(2,"Loading"),g()())},styles:['.spinner[_ngcontent-%COMP%]{height:32px;width:32px;box-sizing:border-box;display:inline-block;position:relative;color:#3a6c9c}.spinner[_ngcontent-%COMP%]:after, .spinner[_ngcontent-%COMP%]:before{border-width:4px;height:32px;width:32px;border-radius:50%;border-style:solid;box-sizing:border-box;content:"";display:block;left:0;position:absolute;top:0}.spinner[_ngcontent-%COMP%]:before{border-color:inherit;opacity:.2}.spinner[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_spin .8s linear infinite;border-bottom-color:transparent;border-left-color:inherit;border-right-color:transparent;border-top-color:transparent;transform:translateZ(0)}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}'],changeDetection:0})}return e})();var dt=function(e){return e.State="State_Name",e.County="County_Name",e.CountyCode="County_Code",e.Product="Product",e.Test="Test",e.Income="Income",e.Improve="Needs to Improve",e.Low="Low Satisfactory",e.High="High Satisfactory",e.Outstanding="Outstanding",e}(dt||{});let d9=(()=>{class e extends hf{getOrderedColumnKeys(){return[dt.State,dt.County,dt.CountyCode,dt.Product,dt.Test,dt.Income,dt.Improve,dt.Low,dt.High,dt.Outstanding]}getColumnSettings(){return[{key:dt.State,title:"State Name",templateName:pe.Text,dataPropName:"State_Name",allowSorting:!1,popoverContent:"Name of the state in which the county is located."},{key:dt.County,title:"County Name",dataPropName:"County_Name",templateName:pe.Text,allowSorting:!1,popoverContent:"Name of the county to which the thresholds apply."},{key:dt.CountyCode,title:"County Code",dataPropName:"County_Code",templateName:pe.Text,popoverContent:"Combined state and county Federal Information Processing System (FIPS) code used to uniquely identify the county where the thresholds apply.",allowSorting:!1},{key:dt.Product,title:"Product",dataPropName:"Product",templateName:pe.Text,popoverContent:"Loan product to which the thresholds apply (mortgage, small business, or small farm).",allowSorting:!1,allowFiltering:!0},{key:dt.Test,title:"Test",dataPropName:"Test",popoverContent:"Name of Distribution Tests in the proposed Retail Lending Test in the Notice of Proposed Rulemaking (Geographic or Borrower).",templateName:pe.Text,allowFiltering:!0,allowSorting:!1},{key:dt.Income,title:"Income",dataPropName:"Income",templateName:pe.Number,allowFiltering:!0,allowSorting:!1,popoverContent:"Both the Geographic and Borrower Distribution Tests have separate metrics for different income levels. The income-level categories vary across different product lines and Distribution Tests. Mortgage loan products can have Geographic and Borrower tests for low- and/or moderate-income areas/borrowers. Small business and small farm loan products can also have Geographic tests for low- and/or moderate areas, but their Borrower tests are only for those businesses and farms with gross annual revenue (GAR) of $1 million or less (low, moderate, or GAR<$1M)."},{key:dt.Improve,title:"Needs to Improve (%)",dataPropName:"Needs to Improve",templateName:pe.Number,allowSorting:!1,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "Needs to Improve" for a given Product, Test, and Income level.'},{key:dt.Low,title:"Low Satisfactory (%)",dataPropName:"Low Satisfactory",templateName:pe.Number,allowSorting:!1,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "Low Satisfactory" for a given Product, Test, and Income level.'},{key:dt.High,title:"High Satisfactory (%)",dataPropName:"High Satisfactory",templateName:pe.Number,allowSorting:!1,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "High Satisfactory" for a given Product, Test, and Income level.'},{key:dt.Outstanding,title:"Outstanding (%)",dataPropName:"Outstanding",templateName:pe.Number,allowSorting:!1,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "Outstanding" for a given Product, Test, and Income level.'}]}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),f9=(()=>{class e{constructor(t){this.countyTableSettings=t,this.items=[],this.filteredItems=[],this.filterEvents=[]}ngOnInit(){this.countyTableSettings.setTableSettings()}ngOnChanges(t){this.filteredItems=this.items}sort(t){this.filteredItems.sort("asc"===t.sortingType?(i,o)=>i[t.dataPropName]>o[t.dataPropName]?1:-1:(i,o)=>i[t.dataPropName]<o[t.dataPropName]?1:-1)}filter(t){if("all"===t.filterTerm)this.filterEvents=this.filterEvents.filter(i=>i.column.dataPropName!==t.column.dataPropName);else if(-1!==this.filterEvents.findIndex(i=>i.column.dataPropName===t.column.dataPropName)){const i=this.filterEvents.findIndex(o=>o.column.dataPropName===t.column.dataPropName);this.filterEvents[i]=t}else this.filterEvents.push(t);this.filteredItems=this.items,0!==this.filterEvents.length&&this.filterEvents.forEach(i=>{this.filteredItems=this.filteredItems.filter(o=>o[i.column.dataPropName]===i.filterTerm)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(d9))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-county-table"]],inputs:{items:"items"},features:[ke],decls:1,vars:4,consts:[[3,"sortingChange","filterChange","tableData","allData","title","tableSettings"]],template:function(i,o){1&i&&(p(0,"frb-generic-table",0),R("sortingChange",function(s){return o.sort(s)})("filterChange",function(s){return o.filter(s)}),g()),2&i&&b("tableData",o.filteredItems)("allData",o.items)("title","County Performance Thresholds")("tableSettings",o.countyTableSettings)},dependencies:[Ul]})}return e})();var At=function(e){return e.MSA="MSA-MD Code",e.Title="Title",e.Product="Product",e.Test="Test",e.Income="Income",e.Improve="Needs to Improve",e.Low="Low Satisfactory",e.High="High Satisfactory",e.Outstanding="Outstanding",e}(At||{});let h9=(()=>{class e extends hf{getOrderedColumnKeys(){return[At.MSA,At.Title,At.Product,At.Test,At.Income,At.Improve,At.Low,At.High,At.Outstanding]}getColumnSettings(){return[{key:At.MSA,title:"MSA-MD Code",templateName:pe.Text,dataPropName:"MSA-MD Code",popoverContent:"OMB code for the metropolitan statistical area (MSA) or metropolitan division (MD)",allowSorting:!1},{key:At.Title,title:"MSA-MD Title",dataPropName:"Title",templateName:pe.Text,allowSorting:!1,popoverContent:"Title of the metropolitan statistical area/metropolitan division."},{key:At.Product,title:"Product",dataPropName:"Product",templateName:pe.Text,popoverContent:"Loan product to which the thresholds apply (mortgage, small business, or small farm).",allowFiltering:!0,allowSorting:!1},{key:At.Test,title:"Test",dataPropName:"Test",popoverContent:"Name of Distribution Tests in the proposed Retail Lending Test in the Notice of Proposed Rulemaking (Geographic or Borrower).",templateName:pe.Text,allowFiltering:!0,allowSorting:!1},{key:At.Income,title:"Income",dataPropName:"Income",templateName:pe.Number,allowFiltering:!0,allowSorting:!1,popoverContent:"Both the Geographic and Borrower Distribution Tests have separate metrics for different income levels. The income-level categories vary across different product lines and Distribution Tests. Mortgage loan products can have Geographic and Borrower tests for low- and/or moderate-income areas/borrowers. Small business and small farm loan products can also have Geographic tests for low- and/or moderate areas, but their Borrower tests are only for those businesses and farms with gross annual revenue (GAR) of $1 million or less (low, moderate, or GAR<$1M)."},{key:At.Improve,title:"Needs to Improve (%)",dataPropName:"Needs to Improve",allowSorting:!1,templateName:pe.Number,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "Needs to Improve" for a given Product, Test, and Income level.'},{key:At.Low,title:"Low Satisfactory (%)",dataPropName:"Low Satisfactory",allowSorting:!1,templateName:pe.Number,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "Low Satisfactory" for a given Product, Test, and Income level.'},{key:At.High,title:"High Satisfactory (%)",dataPropName:"High Satisfactory",allowSorting:!1,templateName:pe.Number,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "High Satisfactory" for a given Product, Test, and Income level.'},{key:At.Outstanding,title:"Outstanding (%)",dataPropName:"Outstanding",allowSorting:!1,templateName:pe.Number,popoverContent:'Lower threshold for the percent of a bank\'s loans in a given area that would be required to receive a recommended performance rating of "Outstanding" for a given Product, Test, and Income level.'}]}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),p9=(()=>{class e{constructor(t){this.MSATableSettings=t,this.items=[],this.filteredItems=[],this.filterEvents=[]}ngOnInit(){this.MSATableSettings.setTableSettings()}ngOnChanges(t){this.filteredItems=this.items}sort(t){this.filteredItems.sort("asc"===t.sortingType?(i,o)=>i[t.dataPropName]>o[t.dataPropName]?1:-1:(i,o)=>i[t.dataPropName]<o[t.dataPropName]?1:-1)}filter(t){if("all"===t.filterTerm)this.filterEvents=this.filterEvents.filter(i=>i.column.dataPropName!==t.column.dataPropName);else if(-1!==this.filterEvents.findIndex(i=>i.column.dataPropName===t.column.dataPropName)){const i=this.filterEvents.findIndex(o=>o.column.dataPropName===t.column.dataPropName);this.filterEvents[i]=t}else this.filterEvents.push(t);this.filteredItems=this.items,0!==this.filterEvents.length&&this.filterEvents.forEach(i=>{this.filteredItems=this.filteredItems.filter(o=>o[i.column.dataPropName]===i.filterTerm)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(h9))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-msa-table"]],inputs:{items:"items"},features:[ke],decls:1,vars:4,consts:[[3,"sortingChange","filterChange","tableData","allData","title","tableSettings"]],template:function(i,o){1&i&&(p(0,"frb-generic-table",0),R("sortingChange",function(s){return o.sort(s)})("filterChange",function(s){return o.filter(s)}),g()),2&i&&b("tableData",o.filteredItems)("allData",o.items)("title","MSA-MD Performance Thresholds")("tableSettings",o.MSATableSettings)},dependencies:[Ul]})}return e})();function g9(e,n){if(1&e&&(p(0,"option",21),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function m9(e,n){1&e&&(p(0,"p",22),w(1," Please select a County. "),g())}function _9(e,n){if(1&e&&(p(0,"option",21),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function v9(e,n){if(1&e&&(p(0,"div",1)(1,"div",2),z(2,"frb-county-table",23),g()()),2&e){const t=T();y(2),b("items",t.filteredCountyData)}}function y9(e,n){if(1&e&&(p(0,"div",1)(1,"div",2),z(2,"frb-msa-table",23),g()()),2&e){const t=T();y(2),b("items",t.filteredMsaData)}}function b9(e,n){1&e&&(p(0,"div",1)(1,"div",24),z(2,"frb-spinner"),g()())}let D9=(()=>{class e{constructor(t){this.metricsService=t,this.ranSearch="",this.states=[],this.counties=[],this.msas=[],this.stateCounty=[],this.countyData=[],this.filteredCountyData=[],this.msaData=[],this.filteredMsaData=[],this.state="",this.county="",this.msaText="",this.countyError=!1,this.showSpinner=!1,this.searchMSA=i=>i.pipe(zl(200),co(),Se(o=>this.msas.filter(r=>r.toLowerCase().indexOf(o.toLowerCase())>-1).slice(0,10)))}ngOnInit(){this.metricsService.getCounties().pipe(kt(1)).subscribe(t=>{this.states=Array.from(new Set(t.map(({State_Name:i})=>i))),this.stateCounty=t}),this.metricsService.getCombinedData().pipe(kt(1)).subscribe(t=>{this.msaData=t,this.msas=Array.from(new Set(t.filter(i=>i.Title).map(i=>i.Title))),"MSA"===this.ranSearch&&this.search()}),this.metricsService.getCountyData().pipe(kt(1)).subscribe(t=>{this.countyData=t,"county"===this.ranSearch&&this.search()})}clear(){this.state="",this.county="",this.msaText="",this.filteredCountyData=[],this.filteredMsaData=[],this.countyError=!1}getCountyFromState(t){this.counties=Array.from(new Set(this.stateCounty.filter(i=>i.State_Name===t).map(({County_Name:i})=>i).sort((i,o)=>i.localeCompare(o)))),this.county=""}search(){""!==this.state?this.stateSearch():""!==this.msaText&&this.msaSearch()}msaSearch(){this.msaData.length?(this.showSpinner=!1,this.filteredMsaData=this.msaData.filter(t=>t.Title===this.msaText)):(this.ranSearch="MSA",this.showSpinner=!0)}stateSearch(){this.countyData.length?""===this.county?(this.countyError=!0,this.showSpinner=!1):(this.showSpinner=!1,this.countyError=!1,this.filteredCountyData=this.countyData.filter(t=>t.County_Name===this.county&&t.State_Name===this.state)):(this.ranSearch="county",this.showSpinner=!0)}disableSubmit(){return(""===this.msaText||void 0===this.msaText)&&""===this.county}static#e=this.\u0275fac=function(i){return new(i||e)(v(c9))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-cra-filter"]],decls:60,vars:16,consts:[["id","article",1,"col-xs-12","col-sm-8","col-md-9"],[1,"row"],[1,"col-xs-12"],[1,"col-xs-12","col-sm-6"],["for","searchText"],["type","text","id","searchText","placeholder","Enter MSA-MD Title","name","searchText",1,"form-control",3,"ngModelChange","ngModel","ngbTypeahead","editable","disabled"],[1,"col-xs-12","col-sm-6","pt-xs"],[1,"form-group"],["for","state"],["id","state","name","state",1,"form-control",3,"ngModelChange","ngModel","disabled"],["value","","selected","","disabled","","hidden",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-xs-12","col-sm-6","col-sm-offset-6"],["for","county"],["class","form-error","role","alert",4,"ngIf"],["id","county","name","county",1,"form-control",3,"ngModelChange","required","disabled","ngModel"],[1,"row","padded-row"],[1,"btn-spaced"],["type","button",1,"btn","btn-default",3,"click"],["type","submit",1,"btn","btn-default",3,"click","disabled"],["class","row",4,"ngIf"],[3,"value"],["role","alert",1,"form-error"],[3,"items"],[1,"col-xs-12","text-center"]],template:function(i,o){1&i&&(p(0,"div",0)(1,"h3"),w(2,"Proposed Retail Lending Test Thresholds Search Tool"),g(),p(3,"form")(4,"div",1)(5,"div",2)(6,"p"),w(7," The agencies' Community Reinvestment Act (CRA) Notice of Proposed Rulemaking (NPR) includes a proposed Retail Lending Test that would establish thresholds and performance ranges for, as applicable, home mortgage, automobile, small business, and small farm lending to low- and moderate-income individuals, small businesses, and small farms. "),g(),p(8,"p"),w(9," The below Proposed Retail Lending Test Thresholds Search Tool provides illustrative examples of the thresholds and performance ranges related to the proposed Retail Lending Test described in the NPR. Given available data, the Search Tool is limited to home mortgage (as a single category), small business, and small farm loan products. These illustrative examples of thresholds and performance ranges are based on historical loan data submitted by CRA and Home Mortgage Disclosure Act (HMDA) reporting lenders aggregated over the 2017-19 timeframe and demographic and geographic definitions based on 2019 data. "),g(),p(10,"h5"),w(11,"Disclaimer:"),g(),p(12,"p"),w(13," Please note that the below-referenced thresholds are illustrative examples based on historical lending data and are only provided for informational use to provide context for the NPR's proposed Retail Lending Test. These thresholds are not intended for supervisory purposes with respect to the agencies' current CRA regulations. "),g(),p(14,"p"),w(15," There are a number of differences between the performance thresholds proposed in the NPR and those provided here, due largely to data availability. Small business loans were identified based on loan amount rather than borrower size, and no data on small business lending to borrowers with gross annual revenues of less than $250,000 were available. Additionally, all residential mortgage loans were aggregated in a single category, as distinctions between closed-end and open-end home mortgages were not reported by lenders until 2018 HMDA data was released. The estimates shown here, therefore, should be understood as approximations regarding what the performance thresholds would have been under the proposed Retail Lending Test. "),g(),p(16,"h5"),w(17,"How to Use Search Tool"),g(),p(18,"p"),w(19," Users may select a County, Metropolitan Statistical Area (MSA), or a Metropolitan Division (MD), and view the Geographic and Borrower performance thresholds for each of the listed products. "),g(),p(20,"p"),w(21," To find the performance threshold for a desired geographic area, enter either an MSA-MD Title or State and County, and click Submit. Please note that geographies without low- or moderate-income census tracts will return a blank cell. To explore the data further, please download the MSA-based or County-based data for in CSV format by clicking the Download icon. "),g(),z(22,"br"),p(23,"p")(24,"strong"),w(25,"Please select either MSA-MD Title or State and County"),g()(),z(26,"br"),g()(),p(27,"div",1)(28,"div",3)(29,"label",4),w(30,"MSA-MD Title:"),g(),p(31,"input",5),He("ngModelChange",function(s){return qe(o.msaText,s)||(o.msaText=s),s}),g()(),p(32,"div",6)(33,"div",7)(34,"label",8),w(35,"State: "),g(),p(36,"select",9),He("ngModelChange",function(s){return qe(o.state,s)||(o.state=s),s}),R("ngModelChange",function(){return o.getCountyFromState(o.state)}),p(37,"option",10),w(38,"Select a State"),g(),M(39,g9,2,2,"option",11),g()()()(),p(40,"div",1)(41,"div",12)(42,"div",7)(43,"label",13),w(44,"County: "),g(),M(45,m9,2,0,"p",14),p(46,"select",15),He("ngModelChange",function(s){return qe(o.county,s)||(o.county=s),s}),p(47,"option",10),w(48,"Select a County"),g(),M(49,_9,2,2,"option",11),g()()()(),p(50,"div",16)(51,"div",2)(52,"div",17)(53,"button",18),R("click",function(){return o.clear()}),w(54," Clear "),g(),p(55,"button",19),R("click",function(){return o.search()}),w(56," Submit "),g()()()()()(),M(57,v9,3,1,"div",20)(58,y9,3,1,"div",20)(59,b9,3,0,"div",20)),2&i&&(y(31),Ve("ngModel",o.msaText),b("ngbTypeahead",o.searchMSA)("editable",!1)("disabled",""!==o.state),y(5),Ve("ngModel",o.state),b("disabled",""!==o.msaText&&void 0!==o.msaText),y(3),b("ngForOf",o.states),y(6),b("ngIf",o.countyError),y(),b("required",""!==o.state)("disabled",""===o.state),Ve("ngModel",o.county),y(3),b("ngForOf",o.counties),y(6),b("disabled",o.disableSubmit()),y(2),b("ngIf",o.filteredCountyData.length),y(),b("ngIf",o.filteredMsaData.length),y(),b("ngIf",o.showSpinner))},dependencies:[ut,tt,Ss,Os,As,no,lo,so,Yo,Ad,ao,Zo,L_,u9,f9,p9],styles:["label{font-weight:700}.btn-spaced button{margin-right:5px}form .dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}form .dropdown-item:hover,form .dropdown-item:focus{color:#1e2125;background-color:#e9ecef}form .dropdown-item.active,form .dropdown-item:active{color:#fff;text-decoration:none;background-color:#3a6c9c}.pt-xs{padding-top:15px}@media (min-width: 768px){.pt-xs{padding-top:0}}.form-control{max-width:100%}\n"],encapsulation:2})}return e})(),w9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-cra-ratings-threshold"]],standalone:!0,features:[Ye],decls:1,vars:0,template:function(i,o){1&i&&z(0,"frb-cra-filter")},dependencies:[T7,D9]})}return e})(),ES=(()=>{class e{constructor(t){this._http=t,this.URLEACMS="files/ea-cms-recent.json",this.URLEAOld="files/ea-old.json",this.URLActionTypes="files/actiontypes.json"}getAllActionTypes(){return this._http.get(this.URLActionTypes)}getTestEAData(){return Vm([this._http.get(this.URLEACMS),this._http.get(this.URLEAOld)]).pipe(rn(t=>(console.log(t),Hn(t.json()))))}getFilterJoinedData(t,i,o,r){return Vm([this._http.get(this.URLEACMS).pipe(Se(s=>s.eaitems.filter(a=>(0==+t?a:"Cease and Desist"===t?-1!==a.type.indexOf(t)||-1!==a.type.indexOf("Consent Order"):-1!==a.type.indexOf(t))&&(0==+i?a:a.edt.toString().substring(0,4)===i)&&(0==+o?a:a.tdt.toString().substring(0,4)===o)&&(void 0!==a.bkorg&&a.bkorg.replace(/&/g,"&").toLowerCase().includes(r)?a.bkorg.replace(/&/g,"&").toLowerCase().includes(r):void 0!==a.person&&a.person.replace(/&/g,"&").toLowerCase().includes(r)?a.person.replace(/&/g,"&").toLowerCase().includes(r):void 0!==a.porg&&a.porg.replace(/&/g,"&").toLowerCase().includes(r)?a.porg.replace(/&/g,"&").toLowerCase().includes(r):"no-matches-return-zero"===a.bkorg)))),this._http.get(this.URLEAOld).pipe(Se(s=>s.eaitems.filter(a=>(0==+t?a:"Cease and Desist"===t?-1!==a.type.indexOf(t)||-1!==a.type.indexOf("Consent Order"):-1!==a.type.indexOf(t))&&(0==+i?a:a.edt.toString().substring(0,4)===i)&&(0==+o?a:a.tdt.toString().substring(0,4)===o)&&(void 0!==a.bkorg&&a.bkorg.replace(/&/g,"&").toLowerCase().includes(r)?a.bkorg.replace(/&/g,"&").toLowerCase().includes(r):void 0!==a.person&&a.person.replace(/&/g,"&").toLowerCase().includes(r)?a.person.replace(/&/g,"&").toLowerCase().includes(r):void 0!==a.porg&&a.porg.replace(/&/g,"&").toLowerCase().includes(r)?a.porg.replace(/&/g,"&").toLowerCase().includes(r):"no-matches-return-zero"===a.bkorg))),rn(s=>(console.log(s),Hn(s.json()))))])}getStartData(){return this._http.get(this.URLEACMS).pipe(Rs(t=>console.log(t)),rn(t=>(console.log(t),Hn(t.json()))))}getFilteredData(t,i,o){return"all"===o?this._http.get(this.URLEACMS).pipe(Se(r=>r.filter(s=>t<=new Date(s.edt)&&new Date(s.edt)<=i)),rn(r=>(console.log(r),Hn(r.json())))):this._http.get(this.URLEACMS).pipe(Se(r=>r.filter(s=>o.includes(s.type)&&t<=new Date(s.edt)&&new Date(s.edt)<=i)),Rs(r=>console.log("filter:"+r)),rn(r=>(console.log(r),Hn(r.json()))))}static#e=this.\u0275fac=function(i){return new(i||e)(k(Yl))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),C9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({providers:[ES,zs(e9())],imports:[yi,Rd,rz,ff,J_]})}return e})();function E9(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;jo("value",t.value),y(),Pe(" ",t.name," ")}}function T9(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function N9(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function I9(e,n){1&e&&(p(0,"div"),w(1," No Results. Please try a new Search. "),g())}function M9(e,n){if(1&e&&(p(0,"div"),w(1," The database contains "),p(2,"b"),w(3),g(),w(4," records that match your search criteria. "),g()),2&e){const t=T(2);y(3),Re(t.filteredActions.length)}}function S9(e,n){if(1&e&&(p(0,"span"),w(1),vi(2,"date"),g()),2&e){const t=T().$implicit;y(),Re(ki(2,1,t.tdt,"MM/dd/yyyy"))}}function O9(e,n){1&e&&z(0,"span")}function A9(e,n){1&e&&z(0,"div",60),2&e&&b("innerHTML",T().$implicit.bkorg,Ki)}function R9(e,n){if(1&e&&(p(0,"em"),w(1," *"),z(2,"span",60),g()),2&e){const t=T().$implicit;y(2),b("innerHTML",t.note,Ki)}}function P9(e,n){1&e&&z(0,"div",60),2&e&&b("innerHTML",T().$implicit.porg,Ki)}function x9(e,n){1&e&&z(0,"span",60),2&e&&b("innerHTML",T(2).$implicit.note,Ki)}function k9(e,n){if(1&e&&(p(0,"em"),w(1," *"),M(2,x9,1,1,"span",56),g()),2&e){const t=T().$implicit;y(2),b("ngIf",t.person&&t.note)}}function F9(e,n){if(1&e&&(p(0,"a",61),vi(1,"date"),w(2),g()),2&e){const t=T().$implicit;xg("title","View enforcement action effective ",ki(1,6,t.edt,"MM/dd/yyyy")," for ",t.bkorg,"",t.person,""),jo("href",t.url,Xc),y(2),Pe("",t.urlname," ")}}function L9(e,n){if(1&e&&(p(0,"tbody")(1,"tr")(2,"td",53),w(3),vi(4,"date"),g(),p(5,"td",54),M(6,S9,3,4,"span",29)(7,O9,1,0,"span",29),g(),p(8,"td",55)(9,"b"),M(10,A9,1,1,"div",56),g(),M(11,R9,3,1,"em",29),g(),p(12,"td",57)(13,"b"),w(14),g(),z(15,"br"),M(16,P9,1,1,"div",56)(17,k9,3,1,"em",29),g(),p(18,"td",58),w(19),z(20,"br"),p(21,"span",43),M(22,F9,3,9,"a",59),g()()()()),2&e){const t=n.$implicit;y(3),Pe(" ",ki(4,10,t.edt,"MM/dd/yyyy")," "),y(3),b("ngIf","1950-01-01"!==t.tdt),y(),b("ngIf","1950-01-01"===t.tdt),y(3),b("ngIf",t.bkorg),y(),b("ngIf",t.bkorg&&t.note),y(3),Re(t.person),y(2),b("ngIf",t.porg),y(),b("ngIf",t.person&&t.note),y(2),Pe(" ",t.type," \xa0"),y(3),b("ngIf",t.urlname)}}function B9(e,n){if(1&e){const t=le();p(0,"div"),M(1,I9,2,0,"div",29)(2,M9,5,1,"div",29),p(3,"div",31)(4,"table",32)(5,"thead")(6,"tr",33)(7,"th",34),w(8,"Action date"),g(),p(9,"th",35),w(10," Party subject to action "),g(),p(11,"th",36),w(12," Enforcement action "),p(13,"div",37)(14,"button",38),R("click",function(){return F(t),L(T().sortActionType("asc"))}),p(15,"span",39),w(16,"Asc"),g()(),p(17,"button",40),R("click",function(){return F(t),L(T().sortActionType("desc"))}),p(18,"span",41),w(19,"Desc"),g()()()()(),p(20,"tr",33)(21,"th",42)(22,"b"),w(23,"Effective"),g(),z(24,"br"),p(25,"span",43),w(26,"(mm/dd/yyyy)"),g(),w(27,"\xa0 "),p(28,"div",37)(29,"button",38),R("click",function(){return F(t),L(T().sortEffectiveDate("old"))}),p(30,"span",44),w(31,"Asc"),g()(),p(32,"button",40),R("click",function(){return F(t),L(T().sortEffectiveDate("recent"))}),p(33,"span",45),w(34,"Desc"),g()()()(),p(35,"th",46)(36,"b"),w(37,"Termination"),g(),z(38,"br"),p(39,"span",43),w(40,"(mm/dd/yyyy)"),g(),w(41,"\xa0 "),p(42,"div",37)(43,"button",38),R("click",function(){return F(t),L(T().sortTerminationDate("old"))}),p(44,"span",47),w(45,"Asc"),g()(),p(46,"button",40),R("click",function(){return F(t),L(T().sortTerminationDate("recent"))}),p(47,"span",48),w(48,"Desc"),g()()()(),p(49,"th",49)(50,"b"),w(51,"Banking organization"),g()(),p(52,"th",50)(53,"b"),w(54,"Individual"),g(),z(55,"br"),w(56,"(institution affiliation) "),g()()(),M(57,L9,23,13,"tbody",51),vi(58,"paginate"),g()(),z(59,"frb-pagination",52),g()}if(2&e){const t=T();y(),b("ngIf",0===t.filteredActions.length),y(),b("ngIf",0!==t.filteredActions.length),y(55),b("ngForOf",ki(58,4,t.pagedItems,t.paginationConfig)),y(2),b("config",t.paginationConfig)}}let V9=(()=>{class e{constructor(t){if(this.actionservice=t,this.filteredActions=[],this.copyActions=[],this.cachedActions=[],this.EfffilteredActions=[],this.TypefilteredActions=[],this.TextFilteredActions=[],this.sortedActions=[],this.actionTypes=[],this.EffectiveYears=[],this.TerminationYears=[],this.searchText="",this.types="0",this.effDates="0",this.termDates="0",this.pagedItems=[],this.storedEffectiveYear="0",this.storedTerminationYear="0",this.storedEATypeFilter="0",this.storedEATextFilter="",this.eaStoredPage=1,this.storedEAText="",this.selectedEASort="effdtdesc",this.storedEASort="effdtdesc",this.paginationConfig={itemsPerPage:10,currentPage:1},sessionStorage.getItem("storageUsed")){const i=sessionStorage.getItem("effYearFilter");i&&(this.storedEffectiveYear=i);const o=sessionStorage.getItem("termYearFilter");o&&(this.storedTerminationYear=o);const r=sessionStorage.getItem("eaTypeFilter");r&&(this.storedEATypeFilter=r);const s=sessionStorage.getItem("eaTextFilter");s&&(this.storedEATextFilter=s);const a=sessionStorage.getItem("eaPageFilter");a&&(this.eaStoredPage=+a);const l=sessionStorage.getItem("eaSortFilter");l&&(this.storedEASort=l)}}ngOnInit(){this.getAllTypes(),this.getEffectiveDateYears(),window.sessionStorage.getItem("storageUsed")?(this.types=this.storedEATypeFilter,this.effDates=this.storedEffectiveYear,this.termDates=this.storedTerminationYear,this.searchText=this.storedEATextFilter,this.getEADataFilter(this.storedEATypeFilter,this.storedEffectiveYear,this.storedTerminationYear,this.storedEATextFilter,this.eaStoredPage)):(this.eaStoredPage=1,this.getEADataStart())}getAllTypes(){this.actionservice.getAllActionTypes().subscribe(t=>{this.actionTypes=t})}filterByActionType(t){this.filteredActions="0"===t?this.cachedActions:this.cachedActions.filter(i=>i.type===t)}getEADataStart(){this.actionservice.getTestEAData().subscribe(([t,i])=>{this.filteredActions=t.eaitems.concat(i.eaitems),this.cachedActions=this.filteredActions,this.pagedItems=this.filteredActions})}getEADataFilter(t,i,o,r,s){sessionStorage.setItem("storageUsed","yes"),sessionStorage.setItem("effYearFilter",i),sessionStorage.setItem("termYearFilter",o),sessionStorage.setItem("eaTypeFilter",t),sessionStorage.setItem("eaTextFilter",r);const l=sessionStorage.getItem("eaSortFilter");l&&(this.storedEASort=l),r=r.toLowerCase(),this.actionservice.getFilterJoinedData(t,i,o,r).subscribe(([c,u])=>{this.filteredActions=c.concat(u),this.pagedItems=this.getStateSortedData(this.filteredActions)},c=>{throw c},()=>this.pagedItems=this.filteredActions),this.paginationConfig.currentPage=1}getEffectiveDateYears(){this.EffectiveYears=[];const t=(new Date).getFullYear();for(let i=1989;i<=t;i++)this.EffectiveYears.push(i);this.EffectiveYears.sort((i,o)=>o-i),this.TerminationYears=this.EffectiveYears}getStateSortedData(t){switch(this.storedEASort){case"effdtdesc":case"termdtdesc":default:return t.sort(this.sortByEffDateDESC);case"effdtasc":case"termdtasc":return t.sort(this.sortByEffDate);case"typedesc":return t.sort(this.sortByTypeDESC);case"typeasc":return t.sort(this.sortByType)}}sortEffectiveDate(t){"recent"===t?(this.selectedEASort="effdtdesc",sessionStorage.setItem("eaSortFilter",this.selectedEASort),this.pagedItems=this.filteredActions.sort(this.sortByEffDateDESC)):(this.selectedEASort="effdtasc",sessionStorage.setItem("eaSortFilter",this.selectedEASort),this.pagedItems=this.filteredActions.sort(this.sortByEffDate))}sortByEffDate(t,i){return t.edt>i.edt?1:t.edt===i.edt?0:-1}sortByEffDateDESC(t,i){return t.edt<i.edt?1:t.edt===i.edt?0:-1}sortTerminationDate(t){"recent"===t?(this.selectedEASort="termdtdesc",sessionStorage.setItem("eaSortFilter",this.selectedEASort),this.pagedItems=this.filteredActions.sort(this.sortByTermDateDESC)):(this.selectedEASort="termdtasc",sessionStorage.setItem("eaSortFilter",this.selectedEASort),this.pagedItems=this.filteredActions.sort(this.sortByTermDate))}sortByTermDate(t,i){const o=Number(new Date(t.tdt)),r=Number(new Date(i.tdt));return o>r?1:o===r?0:-1}sortByTermDateDESC(t,i){const o=Number(new Date(t.tdt)),r=Number(new Date(i.tdt));return o<r?1:o===r?0:-1}sortActionType(t){"desc"===t?(this.selectedEASort="typedesc",sessionStorage.setItem("eaSortFilter",this.selectedEASort),this.pagedItems=this.filteredActions.sort(this.sortByTypeDESC)):(this.selectedEASort="typeasc",sessionStorage.setItem("eaSortFilter",this.selectedEASort),this.pagedItems=this.filteredActions.sort(this.sortByType))}sortByType(t,i){return t.type>i.type?1:-1}sortByTypeDESC(t,i){return t.type<i.type?1:-1}clearSearch(){this.types="0",this.effDates="0",this.termDates="0",this.searchText="",this.sortEffectiveDate("recent"),this.eaStoredPage=1,this.storedEASort="effdtdesc",sessionStorage.clear(),this.getEADataFilter(this.storedEATypeFilter,this.storedEffectiveYear,this.storedTerminationYear,this.storedEATextFilter,this.eaStoredPage)}static#e=this.\u0275fac=function(i){return new(i||e)(v(ES))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-enforcement-filter"]],decls:74,vars:8,consts:[["actionsForm","ngForm"],[1,"col-xs-12","col-sm-4","col-md-3"],["id","t4_nav",1,"t4_nav","list-group"],["href","/supervisionreg/enforcementactions.htm",1,"list-group-item","active"],["href","/supervisionreg/enforcement-actions-about.htm",1,"list-group-item"],["id","article",1,"col-xs-12","col-sm-8","col-md-9"],[3,"ngSubmit"],[1,"row"],[1,"col-xs-12"],[1,"col-sm-6"],["for","types",2,"font-weight","bold"],["id","types","name","types",1,"form-control",3,"ngModelChange","ngModel"],["value","0","selected",""],[3,"value",4,"ngFor","ngForOf"],[1,"form-group"],["for","effDates",2,"font-weight","bold"],["id","effDates","name","effDates",1,"form-control",3,"ngModelChange","ngModel"],["for","searchText",2,"font-weight","bold"],["type","text","id","searchText","placeholder","search text here","name","searchText",1,"form-control",2,"width","200px",3,"ngModelChange","ngModel"],["for","termDates",2,"font-weight","bold"],["id","termDates","name","termDates",1,"form-control",3,"ngModelChange","ngModel"],[1,"btn-spaced"],["type","button",1,"btn","btn-default",3,"click"],["type","submit",1,"btn","btn-default"],[1,"form-group",2,"padding-bottom","0"],["href","/supervisionreg/files/enforcementactions.csv",1,"btn","btn-default"],[2,"margin-top","5px"],["href","/supervisionreg/search-enforcement-actions-data-definitions.htm"],["href","/supervisionreg/enforcement-actions-about.htm"],[4,"ngIf"],[3,"value"],[1,"data-table"],["title","List of Enforcement Actions","summary","List of Enforcement Actions that match the search criteria. The table is divided into three columns. The left-hand column is Action date and is divided into two sub-columns. The first sub-column is Effective date and the second is Termination date. The middle column is Party subject to action and is divided into two sub-columns. The first sub-column is Banking organization and the second is Individual (Institution affiliation). The right-hand column is Enforcement action.",1,"table","pubtables"],[2,"vertical-align","bottom","background-color","#c0c0c0"],["colspan","2","id","actionDate",2,"width","220px"],["colspan","2","id","party",2,"width","375px"],["rowspan","2","id","action",2,"width","200px"],[1,"sortControls"],["type","button",1,"ascending","btn","btn-sort","btn-link",3,"click"],["aria-label","Sort Enforcement action by ascending",1,"sorter"],["type","button","tabindex","0",1,"descending","btn","btn-sort","btn-link",3,"click"],["aria-label","Sort Enforcement action by descending",1,"sorter"],["id","effective","axis","actionDate",2,"width","110px"],[1,"smalltext"],["aria-label","Sort Effective date by ascending",1,"sorter"],["aria-label","Sort Effective date by descending",1,"sorter"],["id","termination","axis","actionDate",2,"width","110px"],["aria-label","Sort Termination date by ascending",1,"sorter"],["aria-label","Sort Termination date by descending",1,"sorter"],["id","organization","axis","party",2,"width","200px"],["id","individual","axis","party",2,"width","175px"],[4,"ngFor","ngForOf"],[3,"config"],["headers","actionDate effective",1,"left3",2,"width","110px"],["headers","actionDate termination",1,"left3",2,"width","110px"],["headers","party organization",1,"left3",2,"width","200px"],[3,"innerHTML",4,"ngIf"],["headers","party individual",1,"left3",2,"width","175px"],["headers","action",1,"left3",2,"width","200px"],[3,"title","href",4,"ngIf"],[3,"innerHTML"],[3,"title","href"]],template:function(i,o){if(1&i){const r=le();p(0,"div",1)(1,"div",2)(2,"a",3),w(3,"Search"),g(),p(4,"a",4),w(5,"About"),g()()(),p(6,"div",5)(7,"h3"),w(8,"Search Enforcement Actions"),g(),p(9,"p"),w(10," To find enforcement actions against an entity supervised by the Federal Reserve, enter the NAME of the party subject to action in the search form below. The search form can be used with or without the NAME of the party by selecting A TYPE of action, a year of action or termination, or all three. "),g(),p(11,"form",6,0),R("ngSubmit",function(){return F(r),L(o.getEADataFilter(o.types,o.effDates,o.termDates,o.searchText,1))}),p(13,"div",7)(14,"div",8)(15,"h4"),w(16," Select search criteria; you can search on any field or combination of fields. "),g()()(),p(17,"div",7)(18,"div",9)(19,"label",10),w(20,"Type of action: "),g(),p(21,"select",11),He("ngModelChange",function(a){return F(r),qe(o.types,a)||(o.types=a),L(a)}),p(22,"option",12),w(23,"--All--"),g(),M(24,E9,2,2,"option",13),g()(),p(25,"div",9)(26,"div",14)(27,"label",15),w(28,"Year of action: "),g(),p(29,"select",16),He("ngModelChange",function(a){return F(r),qe(o.effDates,a)||(o.effDates=a),L(a)}),p(30,"option",12),w(31,"--All--"),g(),M(32,T9,2,2,"option",13),g()()()(),p(33,"div",7)(34,"div",9)(35,"div",14)(36,"label",17),w(37,"Party subject to action: "),g(),p(38,"input",18),He("ngModelChange",function(a){return F(r),qe(o.searchText,a)||(o.searchText=a),L(a)}),g()()(),p(39,"div",9)(40,"div",14)(41,"label",19),w(42,"Year of termination: "),g(),p(43,"select",20),He("ngModelChange",function(a){return F(r),qe(o.termDates,a)||(o.termDates=a),L(a)}),p(44,"option",12),w(45,"--All--"),g(),M(46,N9,2,2,"option",13),g()()()(),p(47,"div",7)(48,"div",9)(49,"div",21)(50,"button",22),R("click",function(){return F(r),L(o.clearSearch())}),w(51," Clear "),g(),p(52,"button",23),w(53,"Submit"),g()()(),p(54,"div",9)(55,"div",24)(56,"a",25),w(57,"Download All (CSV)"),g(),p(58,"p",26)(59,"a",27),w(60,"Data Definitions"),g()()()()(),p(61,"div",7)(62,"p")(63,"strong"),w(64,"Disclaimer:"),g(),w(65," This platform is intended to provide the enforcement actions taken by the Federal Reserve System in a searchable and downloadable format, but is not guaranteed to be comprehensive. The primary source for the enforcement actions are the Federal Reserve Board's press releases and other official communications. The names of the financial institutions contained herein reflect the institutions' identities when the enforcement actions were finalized and do not necessarily represent their current identities. "),g(),p(66,"p"),w(67,' This platform includes letters issued by the Federal Reserve since 2008 to individuals under Section 19 of the Federal Deposit Insurance Act, referred to as "Section 19 Letters." Section 19 Letters advise individuals that they cannot, among other things, act as an employee, officer, director, or agent of insured depository institutions or holding companies because of the individuals\' conviction or other criminal disposition with respect to certain categories of crimes. Under the law, the prohibitions outlined in certain Section 19 Letters may have expired and the individual might no longer be prohibited from holding a position at insured depository institutions or holding companies. Although the Federal Reserve Board is making Section 19 Letters searchable and downloadable, users of this platform should conduct their own inquiry regarding the current status of any prohibition identified in this platform. '),g(),p(68,"p"),w(69,' Please reference the "'),p(70,"a",28),w(71,"About Enforcement Actions"),g(),w(72,'" page for additional information, including the entities supervised by the Federal Reserve, the types of formal enforcement actions taken by the Federal Reserve, and the statutes which guide the publication of formal enforcement actions. '),g()()()(),M(73,B9,60,7,"div",29)}2&i&&(y(21),Ve("ngModel",o.types),y(3),b("ngForOf",o.actionTypes),y(5),Ve("ngModel",o.effDates),y(3),b("ngForOf",o.EffectiveYears),y(6),Ve("ngModel",o.searchText),y(5),Ve("ngModel",o.termDates),y(3),b("ngForOf",o.TerminationYears),y(27),b("ngIf",o.filteredActions))},dependencies:[ut,tt,Ss,Os,As,no,lo,so,Yo,ao,Zo,Q_,fd,Z_],styles:[".sorter[_ngcontent-%COMP%]{margin:3px;cursor:pointer}.btn-sort[_ngcontent-%COMP%]{color:#fff;text-decoration:underline;padding:0;font-size:1.2rem;font-weight:700}.btn-spaced[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:5px}"]})}return e})(),H9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-enforcement-actions"]],standalone:!0,features:[Ye],decls:1,vars:0,template:function(i,o){1&i&&z(0,"frb-enforcement-filter")},dependencies:[C9,V9]})}return e})(),j9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({imports:[yi,qN,ff,J_]})}return e})(),U9=(()=>{class e{constructor(t,i){this.http=t,this.appConfig=i,this.publicationsFile=this.appConfig.publicationsFile,this.publicationsCategoryFile=this.appConfig.publicationsCategoryFile}getPublications(){return this.http.get(this.publicationsFile).pipe(Se(t=>t.map(i=>({...i,date:new Date(i.date)}))),rn(t=>{throw new Error(t)}))}getCategories(){return this.http.get(this.publicationsCategoryFile).pipe(rn(t=>{throw new Error(t)}))}static#e=this.\u0275fac=function(i){return new(i||e)(k(Yl),k(Wo))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function $9(e,n){if(1&e&&(p(0,"div",4)(1,"label",5),z(2,"input",6),w(3),g()()),2&e){const t=n.$implicit,i=n.index,o=T();y(2),xu("id","checkbox-",i,"-",o.id,""),xu("name","checkbox-",i,"-",o.id,""),b("formControl",t),y(),Pe(" ",o.description[i]," ")}}let G9=(()=>{class e{constructor(){this.array="",this.group=new o4({}),this.description=[],this.controls=[],this.id=Math.random().toString(36).substring(2)}ngOnInit(){this.controls=this.arr.controls}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-checkboxes"]],inputs:{array:"array",group:"group",description:"description",arr:"arr"},decls:4,vars:3,consts:[[1,"eventSearch__inputs"],[1,"form-group",3,"formGroup"],[1,"row",3,"formArrayName"],["class","checkbox",4,"ngFor","ngForOf"],[1,"checkbox"],[1,"neLabel"],["type","checkbox",3,"id","name","formControl"]],template:function(i,o){1&i&&(p(0,"div",0)(1,"div",1)(2,"div",2),M(3,$9,4,8,"div",3),g()()()),2&i&&(y(),b("formGroup",o.group),y(),b("formArrayName",o.array),y(),b("ngForOf",o.controls))},dependencies:[ut,Hm,so,Yo,t_,Sd,Od]})}return e})(),W9=(()=>{class e{constructor(){this.uniqueLabel="Select date",this.dateChange=new j}dateSelect(){this.dateChange.emit(this.model)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-datepicker"]],inputs:{uniqueLabel:"uniqueLabel",model:"model",minDate:"minDate",maxDate:"maxDate"},outputs:{dateChange:"dateChange"},decls:6,vars:5,consts:[["d","ngbDatepicker"],[1,"input-group","date","datepicker"],["type","text","placeholder","mm/dd/yyyy","ngbDatepicker","",1,"form-control",3,"ngModelChange","dateSelect","ngModel","minDate","maxDate"],[1,"input-group-btn"],["type","button",1,"btn","btn-default","openCalendarStart",3,"click"],[1,"icon","icon--centered","icon__xs","icon-calendar-no-circle"]],template:function(i,o){if(1&i){const r=le();p(0,"div",1)(1,"input",2,0),He("ngModelChange",function(a){return F(r),qe(o.model,a)||(o.model=a),L(a)}),R("dateSelect",function(){return F(r),L(o.dateSelect())}),g(),p(3,"span",3)(4,"button",4),R("click",function(){return F(r),L(ze(2).toggle())}),z(5,"span",5),g()()()}2&i&&(y(),Ve("ngModel",o.model),b("minDate",o.minDate)("maxDate",o.maxDate),oe("aria-label",o.uniqueLabel),y(3),oe("aria-label","Open Calendar to "+o.uniqueLabel.toLowerCase()))},dependencies:[no,so,ao,KI],styles:[".ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:0rem;height:0rem;padding-left:0;padding-top:0}.datepicker .ngb-dp-day{position:relative;height:3.5rem;width:3.5rem;padding-top:8px}.datepicker [ngbDatepickerDayView]{height:3.5rem;width:3.5rem}.ngb-dp-month>ngb-datepicker-month-view>.ngb-dp-week:last-child{padding-bottom:0rem}.datepicker .ngb-dp-weekday{width:3.5rem;height:2.5rem;color:#fff;background-color:#163855;font-weight:700;border-right:solid #fff 1px;border-top:solid #fff 1px}.ngb-dp-weekday:first-child{border-left:solid #fff 1px}.ngb-dp-month:last-child .ngb-dp-week{padding-right:0}.ngb-dp-month:first-child .ngb-dp-week{padding-left:0}.ngb-dp-day:link,.ngb-dp-day:focus,.ngb-dp-day:hover,.ngb-dp-day:active,.ngb-dp-day:visited{background-color:#b2b2b2}ngb-datepicker-navigation{display:flex;padding-bottom:10px;padding-top:10px;background-color:#163855}.datepicker ngb-datepicker-navigation-select>select{padding:.25rem .5rem;font-size:1.5rem;line-height:1.25;height:inherit;display:inline-block}.ngb-dp-weekday{color:#fff}.datepicker .bg-primary{color:#000}\n"],encapsulation:2})}return e})(),z9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["pw-filter-item"]],inputs:{item:"item"},decls:13,vars:8,consts:[[1,"row"],[1,"col-xs-3","col-md-2","eventlist__time"],[1,"itemDate",3,"dateTime"],[1,"col-xs-9","col-md-10","eventlist__event"],[1,"itemTitle"],[3,"href","innerHtml"],[1,"eventlist__press"]],template:function(i,o){1&i&&(p(0,"div",0)(1,"div",1)(2,"time",2),w(3),vi(4,"date"),g()(),p(5,"div",3)(6,"p")(7,"span",4),z(8,"a",5),g()(),p(9,"p",6)(10,"b")(11,"em"),w(12),g()()()()()),2&i&&(y(2),b("dateTime",o.item.date),y(),Re(ki(4,5,o.item.date,"shortDate")),y(5),b("href",o.item.url,Xc)("innerHtml",o.item.title,Ki),y(4),Re(o.item.category))},dependencies:[fd]})}return e})(),q9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["pw-filter-accessible"]],decls:52,vars:0,consts:[["tabindex","0",1,"sr-only","sr-only-focusable"]],template:function(i,o){1&i&&(p(0,"div",0)(1,"h5"),w(2,"Calendar Keyboard Shortcuts"),g(),p(3,"ul")(4,"li")(5,"kbd"),w(6,"Left"),g(),w(7,": Move focus to the previous date. Will move to the last date of the previous view, if the current date is the first date of a view. "),g(),p(8,"li")(9,"kbd"),w(10,"Right"),g(),w(11,": Move focus to the next date. Will move to the first date of the following view, if the current date is the last date of a view. "),g(),p(12,"li")(13,"kbd"),w(14,"Up"),g(),w(15,": Move focus to the same column of the previous row. Will wrap to the appropriate row in the previous view. "),g(),p(16,"li")(17,"kbd"),w(18,"Down"),g(),w(19,": Move focus to the same column of the following row. Will wrap to the appropriate row in the following view. "),g(),p(20,"li")(21,"kbd"),w(22,"PgUp"),g(),w(23,": Move focus to the same date of the previous view. If that date does not exist, focus is placed on the last date of the month. "),g(),p(24,"li")(25,"kbd"),w(26,"PgDn"),g(),w(27,": Move focus to the same date of the following view. If that date does not exist, focus is placed on the last date of the month. "),g(),p(28,"li")(29,"kbd"),w(30,"Home"),g(),w(31,": Move to the first date of the view."),g(),p(32,"li")(33,"kbd"),w(34,"End"),g(),w(35,": Move to the last date of the view."),g(),p(36,"li")(37,"kbd"),w(38,"Enter/Space"),g(),w(39,": Select date."),g(),p(40,"li")(41,"kbd"),w(42,"Ctrl+Up"),g(),w(43,": Move to an upper mode."),g(),p(44,"li")(45,"kbd"),w(46,"Ctrl+Down"),g(),w(47,": Move to a lower mode."),g(),p(48,"li")(49,"kbd"),w(50,"Esc"),g(),w(51,": Will close popup, and move focus to the input."),g()()())}})}return e})();function Y9(e,n){if(1&e){const t=le();p(0,"div",12)(1,"frb-datepicker",13),R("dateChange",function(o){return F(t),L(T().dateSelect(o,"from"))}),g(),p(2,"p",14),w(3,"to"),g(),p(4,"frb-datepicker",13),R("dateChange",function(o){return F(t),L(T().dateSelect(o,"to"))}),g()()}if(2&e){const t=T();y(),b("uniqueLabel","Select from date")("model",t.fromModel.date)("minDate",t.fromModel.minDate)("maxDate",t.fromModel.maxDate),y(3),b("uniqueLabel","Select to date")("model",t.toModel.date)("minDate",t.toModel.minDate)("maxDate",t.toModel.maxDate)}}function K9(e,n){1&e&&z(0,"pw-filter-item",15),2&e&&b("item",n.$implicit)}let Z9=(()=>{class e{constructor(t,i){this.formBuilder=t,this.publicationsService=i,this.searchForm=this.formBuilder.group({options:this.formBuilder.array([])}),this.descriptions=[],this.items=[],this.filteredItems=[],this.categories=[],this.config={itemsPerPage:20,currentPage:1}}ngOnInit(){this.publicationsService.getPublications().subscribe(t=>{this.filteredItems=this.items=this.sortByDate(t,"desc"),this.setDatePickers(t)}),this.publicationsService.getCategories().subscribe(t=>{this.categories=t,this.categories.forEach(i=>{this.descriptions.push(i.label);const o=this.formBuilder.control(!1);this.options.push(o)})})}sortByDate(t,i){if("asc"===i)return t.sort((o,r)=>+o.date-+r.date);if("desc"===i)return t.sort((o,r)=>+r.date-+o.date);throw new Error("Unspecificed direction")}onSubmit(){this.filteredItems=[];let t=!1;this.searchForm.value.options.map((i,o)=>{if(i){const r=this.categories[o].name,s=this.items.filter(a=>a.category===r);this.filteredItems.push(...s),t=!0}}),!t&&!this.filteredItems.length&&(this.filteredItems=this.items),this.filteredItems=this.filteredItems.filter(i=>i.date.getTime()>=new Date(this.fromModel.date.year,this.fromModel.date.month-1,this.fromModel.date.day).getTime()&&i.date.getTime()<=new Date(this.toModel.date.year,this.toModel.date.month-1,this.toModel.date.day).getTime()),this.config.currentPage=1,this.filteredItems=this.sortByDate(this.filteredItems,"desc")}get options(){return this.searchForm.get("options")}setDatePickers(t){const i=new Date(t.reduce((a,l)=>l.date<a.date?l:a).date),o=new Date(t.reduce((a,l)=>l.date>a.date?l:a).date),r={day:o.getDate(),month:o.getMonth()+1,year:o.getFullYear()},s={day:i.getDate(),month:i.getMonth()+1,year:i.getFullYear()};this.fromModel={minDate:s,date:s,maxDate:r},this.toModel={minDate:s,date:r,maxDate:r}}dateSelect(t,i){if("to"===i)this.toModel.date=t,this.fromModel.maxDate=t;else{if("from"!==i)throw new Error("Datepicker not found");this.fromModel.date=t,this.toModel.minDate=t}}static#e=this.\u0275fac=function(i){return new(i||e)(v(B4),v(U9))};static#t=this.\u0275cmp=te({type:e,selectors:[["pw-pub-filter"]],decls:25,vars:10,consts:[[1,"col-xs-12","col-sm-8","col-md-10","angularEvents"],[1,"eventSearch","form-inline"],[1,"eventSearch__label"],[1,"form-control-static"],[1,"eventSearch__inputs"],["class","input-group input-group-sm",4,"ngIf"],[3,"array","group","description","arr"],[1,"eventSearch__submit"],["type","button",1,"btn","btn-link",3,"click"],[1,"icon","icon__sm","icon--right","icon-more"],[3,"item",4,"ngFor","ngForOf"],[3,"config"],[1,"input-group","input-group-sm"],[3,"dateChange","uniqueLabel","model","minDate","maxDate"],[1,"input-group","eventSearch__label--middle"],[3,"item"]],template:function(i,o){1&i&&(p(0,"div",0)(1,"h3"),w(2,"Filter by:"),g(),z(3,"pw-filter-accessible"),p(4,"form",1)(5,"div",2)(6,"p",3)(7,"strong")(8,"legend"),w(9,"Date:"),g()()()(),p(10,"div",4),M(11,Y9,5,8,"div",5),g(),p(12,"div",2)(13,"p",3)(14,"strong")(15,"legend"),w(16,"Type:"),g()()()(),z(17,"frb-checkboxes",6),p(18,"div",7)(19,"button",8),R("click",function(){return o.onSubmit()}),w(20," Submit"),z(21,"span",9),g()()(),M(22,K9,1,1,"pw-filter-item",10),vi(23,"paginate"),z(24,"frb-pagination",11),g()),2&i&&(y(11),b("ngIf",o.fromModel&&o.toModel),y(6),b("array","options")("group",o.searchForm)("description",o.descriptions)("arr",o.options),y(5),b("ngForOf",ki(23,7,o.filteredItems,o.config)),y(2),b("config",o.config))},dependencies:[ut,tt,Ss,Yo,G9,W9,Q_,z9,q9,Z_]})}return e})(),J9=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-publications-filter"]],standalone:!0,features:[Ye],decls:1,vars:0,template:function(i,o){1&i&&z(0,"pw-pub-filter")},dependencies:[yi,j9,Z9]})}return e})(),TS=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=be({type:e});static#n=this.\u0275inj=ve({imports:[yi,sf,Rd,ff]})}return e})();var Sn=function(e){return e.institutionName="Institution Name",e.dateAccessEffective="Date Access Effective",e.federalDepositInsurance="Federal Deposit Insurance",e.state="State",e.city="City",e.reserveBankDistrict="Reserve Bank District",e}(Sn||{});let Q9=(()=>{class e extends hf{getOrderedColumnKeys(){return[Sn.institutionName,Sn.dateAccessEffective,Sn.city,Sn.state,Sn.reserveBankDistrict,Sn.federalDepositInsurance]}getColumnSettings(){return[{key:Sn.state,title:"State",templateName:pe.Text,dataPropName:"state",allowSorting:!0,allowFiltering:!1,popoverContent:"The State field shows the state where the institution's charter is registered with the appropriate regulatory authority."},{key:Sn.city,title:"City",dataPropName:"city",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,popoverContent:"The City field shows the city where the institution's charter is registered with the appropriate regulatory authority."},{key:Sn.institutionName,title:"Institution Name",dataPropName:"institutionName",templateName:pe.Text,popoverContent:"The Institution Name field shows the name of the institution.",allowSorting:!0,allowFiltering:!1},{key:Sn.federalDepositInsurance,title:"Federal Deposit Insurance",dataPropName:"federalDepositInsurance",templateName:pe.Text,popoverContent:"The Federal Deposit Insurance field shows whether the institution has federal deposit insurance. If the institution is federally insured, this field shows whether its deposits are insured by the Federal Deposit Insurance Corporation (FDIC) or the National Credit Union Administration (NCUA).",allowSorting:!0,allowFiltering:!1},{key:Sn.reserveBankDistrict,title:"Reserve Bank District",dataPropName:"reserveBankDistrict",popoverContent:"The Reserve Bank District field shows the Federal Reserve District from which the institution accesses a Reserve Bank master account and financial services.",templateName:pe.Text,allowFiltering:!1,allowSorting:!0},{key:Sn.dateAccessEffective,title:"Date Access Effective",dataPropName:"dateAccessEffective",dataSortingType:"date",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,popoverContent:"The Date Access Effective field shows the date on which Federal Reserve systems indicate an institution began to access a Reserve Bank master account and financial services."}]}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),X9=(()=>{class e{constructor(t){this.existingAccess=t,this.items=[],this.filteredItems=[],this.filterEvents=[]}ngOnInit(){this.existingAccess.setTableSettings(),this.filteredItems=this.items}ngOnChanges(t){this.filteredItems=this.items}sort(t){this.filteredItems.sort("asc"===t.sortingType?(i,o)=>i[t.dataPropName]===o[t.dataPropName]?i.institutionName<o.institutionName?-1:1:"date"===t.dataSortingType?new Date(i[t.dataPropName]).getTime()<new Date(o[t.dataPropName]).getTime()?-1:1:i[t.dataPropName]<o[t.dataPropName]?-1:1:(i,o)=>i[t.dataPropName]===o[t.dataPropName]?i.institutionName<o.institutionName?-1:1:"date"===t.dataSortingType?new Date(i[t.dataPropName]).getTime()>new Date(o[t.dataPropName]).getTime()?-1:1:i[t.dataPropName]>o[t.dataPropName]?-1:1)}filter(t){if("all"===t.filterTerm)this.filterEvents=this.filterEvents.filter(i=>i.column.dataPropName!==t.column.dataPropName);else if(-1!==this.filterEvents.findIndex(i=>i.column.dataPropName===t.column.dataPropName)){const i=this.filterEvents.findIndex(o=>o.column.dataPropName===t.column.dataPropName);this.filterEvents[i]=t}else this.filterEvents.push(t);this.filteredItems=this.items,0!==this.filterEvents.length&&this.filterEvents.forEach(i=>{this.filteredItems=this.filteredItems.filter(o=>o[i.column.dataPropName]===i.filterTerm)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(Q9))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-existing-access-table"]],inputs:{items:"items",config:"config"},features:[ke],decls:1,vars:5,consts:[[3,"sortingChange","filterChange","tableData","paginationConfig","allData","title","tableSettings"]],template:function(i,o){1&i&&(p(0,"frb-generic-table",0),R("sortingChange",function(s){return o.sort(s)})("filterChange",function(s){return o.filter(s)}),g()),2&i&&b("tableData",o.filteredItems)("paginationConfig",o.config)("allData",o.items)("title","Institutions with existing access")("tableSettings",o.existingAccess)},dependencies:[Ul]})}return e})(),NS=(()=>{class e{getExistingData(){return this.http.get(this.appConfig.existingData).pipe(rn(t=>(console.log(t),Hn(()=>t.json()))))}getRequestorData(){return this.http.get(this.appConfig.requestorData).pipe(rn(t=>(console.log(t),Hn(()=>t.json()))))}constructor(t,i){this.http=t,this.appConfig=i}static#e=this.\u0275fac=function(i){return new(i||e)(k(Yl),k(Wo))};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),IS=(()=>{class e{getStates(){return bi([{short:"AL",full:"Alabama"},{short:"AK",full:"Alaska"},{short:"AZ",full:"Arizona"},{short:"AR",full:"Arkansas"},{short:"CA",full:"California"},{short:"CO",full:"Colorado"},{short:"CT",full:"Connecticut"},{short:"DE",full:"Delaware"},{short:"DC",full:"District Of Columbia"},{short:"FL",full:"Florida"},{short:"GA",full:"Georgia"},{short:"HI",full:"Hawaii"},{short:"ID",full:"Idaho"},{short:"IL",full:"Illinois"},{short:"IN",full:"Indiana"},{short:"IA",full:"Iowa"},{short:"KS",full:"Kansas"},{short:"KY",full:"Kentucky"},{short:"LA",full:"Louisiana"},{short:"ME",full:"Maine"},{short:"MD",full:"Maryland"},{short:"MA",full:"Massachusetts"},{short:"MI",full:"Michigan"},{short:"MN",full:"Minnesota"},{short:"MS",full:"Mississippi"},{short:"MO",full:"Missouri"},{short:"MT",full:"Montana"},{short:"NE",full:"Nebraska"},{short:"NV",full:"Nevada"},{short:"NH",full:"New Hampshire"},{short:"NJ",full:"New Jersey"},{short:"NM",full:"New Mexico"},{short:"NY",full:"New York"},{short:"NC",full:"North Carolina"},{short:"ND",full:"North Dakota"},{short:"OH",full:"Ohio"},{short:"OK",full:"Oklahoma"},{short:"OR",full:"Oregon"},{short:"PA",full:"Pennsylvania"},{short:"RI",full:"Rhode Island"},{short:"SC",full:"South Carolina"},{short:"SD",full:"South Dakota"},{short:"TN",full:"Tennessee"},{short:"TX",full:"Texas"},{short:"UT",full:"Utah"},{short:"VT",full:"Vermont"},{short:"VA",full:"Virginia"},{short:"WA",full:"Washington"},{short:"WV",full:"West Virginia"},{short:"WI",full:"Wisconsin"},{short:"WY",full:"Wyoming"},{short:"PR",full:"Puerto Rico"},{short:"GU",full:"Guam"},{short:"AS",full:"American Samoa"},{short:"VI",full:"Virgin Islands"},{short:"MP",full:"Northern Mariana Islands"}]).pipe(rn(t=>(console.log(t),Hn(()=>t.json()))))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),MS=(()=>{class e{getReserveBanks(){return bi([{district_number:1,district:"Boston"},{district_number:2,district:"New York"},{district_number:3,district:"Philadelphia"},{district_number:4,district:"Cleveland"},{district_number:5,district:"Richmond"},{district_number:6,district:"Atlanta"},{district_number:7,district:"Chicago"},{district_number:8,district:"St. Louis"},{district_number:9,district:"Minneapolis"},{district_number:10,district:"Kansas City"},{district_number:11,district:"Dallas"},{district_number:12,district:"San Francisco"}]).pipe(rn(t=>(console.log(t),Hn(()=>t.json()))))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const eq=["table"],tq=["results"];function nq(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function iq(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;b("value",t.short),y(),Pe(" ",t.full," ")}}function oq(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function rq(e,n){if(1&e&&(p(0,"option",30),w(1),g()),2&e){const t=n.$implicit;b("value",t.district),y(),Pe(" ",t.district," ")}}function sq(e,n){if(1&e&&z(0,"frb-existing-access-table",31),2&e){const t=T();b("items",t.filteredItems)("config",t.config)}}function aq(e,n){1&e&&(p(0,"div"),w(1," No Results. Please try a new Search. "),g())}let lq=(()=>{class e{constructor(t,i,o){this.accountDisclosureService=t,this.stateService=i,this.reserveBanksService=o,this.allStates=[],this.cities=[],this.filteredCity=[],this.FDI=[],this.dates=[],this.institutionNames=[],this.states=[],this.filteredItems=[],this.existingItems=[],this.selectState="",this.selectYear="",this.selectDeposit="",this.selectDistrict="",this.districts=[],this.config={itemsPerPage:20,currentPage:1},this.searchCity=r=>r.pipe(zl(200),co(),Se(s=>this.filteredCity.filter(a=>a.toLowerCase().indexOf(s.toLowerCase())>-1).slice(0,10))),this.searchIName=r=>r.pipe(zl(200),co(),Se(s=>this.institutionNames.filter(a=>a.toLowerCase().indexOf(s.toLowerCase())>-1).slice(0,10)))}ngOnInit(){this.stateService.getStates().subscribe(t=>{this.allStates=t}),this.reserveBanksService.getReserveBanks().subscribe(t=>{this.districts=t}),this.accountDisclosureService.getExistingData().subscribe(t=>{this.filteredItems=this.existingItems=t,this.cities=Array.from(new Set(t.filter(i=>i.city).map(i=>i.city))),this.filteredCity=this.cities,t.forEach(i=>{const o=this.allStates.find(r=>r.short===i.state);o&&!this.states.find(r=>r.full===o.full)&&this.states.push(o)}),this.states.sort((i,o)=>i.full.localeCompare(o.full)),this.institutionNames=Array.from(new Set(t.filter(i=>i.institutionName).map(i=>i.institutionName))),this.FDI=Array.from(new Set(t.filter(i=>i.federalDepositInsurance).map(i=>i.federalDepositInsurance))),this.dates=Array.from(new Set(t.filter(i=>i.dateAccessEffective).map(i=>new Date(i.dateAccessEffective).getFullYear().toString()).sort((i,o)=>o.localeCompare(i))))})}clear(){this.filteredItems=this.existingItems,this.selectCity=void 0,this.selectState="",this.selectIName=void 0,this.selectYear="",this.selectDeposit="",this.selectDistrict="",this.filteredCity=this.cities}search(){const t=[];this.selectIName&&t.push(o=>o.institutionName===this.selectIName),this.selectCity&&t.push(o=>o.city===this.selectCity),this.selectYear&&t.push(o=>new Date(o.dateAccessEffective).getFullYear().toString()===this.selectYear),this.selectState&&t.push(o=>o.state.toLowerCase()===this.selectState.toLowerCase()),this.selectDistrict&&t.push(o=>o.reserveBankDistrict.toLowerCase()===this.selectDistrict.toLowerCase()),this.selectDeposit&&t.push(o=>o.federalDepositInsurance.toLowerCase()===this.selectDeposit.toLowerCase()),this.filteredItems=t.reduce((i,o)=>i.filter(o),this.existingItems),this.config.currentPage=1,this.filteredItems.length?this.table.nativeElement.focus():this.results.nativeElement.focus()}disableSubmit(){return!0}onStateChange(){this.filteredCity=Array.from(new Set(this.existingItems.filter(t=>t.state===this.selectState).map(t=>t.city)))}static#e=this.\u0275fac=function(i){return new(i||e)(v(NS),v(IS),v(MS))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-existing-access"]],viewQuery:function(i,o){if(1&i&&(Fn(eq,5),Fn(tq,5)),2&i){let r;fe(r=he())&&(o.table=r.first),fe(r=he())&&(o.results=r.first)}},decls:72,vars:16,consts:[["table",""],["results",""],[1,"row"],[1,"col-xs-12"],[1,"col-xs-12","col-sm-6"],["for","name"],["type","text","id","name","placeholder","Enter Institution Name","name","name",1,"form-control",3,"ngModelChange","ngModel","ngbTypeahead","editable"],[1,"col-xs-12","col-sm-6","pt-xs"],[1,"form-group"],["for","searchText"],["type","text","id","searchText","placeholder","Enter City","name","searchText",1,"form-control",3,"ngModelChange","ngModel","ngbTypeahead","editable"],["for","date-eff"],["id","date-eff","name","date-eff",1,"form-control",3,"ngModelChange","ngModel"],["value","","selected",""],[3,"value",4,"ngFor","ngForOf"],["for","state"],["id","state","name","state",1,"form-control",3,"ngModelChange","change","ngModel"],["for","fdi"],["id","fdi","name","fdi",1,"form-control",3,"ngModelChange","ngModel"],["for","district"],["id","district","name","district",1,"form-control",3,"ngModelChange","ngModel"],[1,"row","padded-row"],[1,"col-xs-6"],[1,"btn-spaced"],["type","button",1,"btn","btn-default",3,"click"],["href","/paymentsystems/account-and-access-disclosure/holder-data.csv",1,"btn","btn-default"],["href","/paymentsystems/master-accounts-data-definitions.htm"],["tabindex","-1",1,"col-xs-12"],[3,"items","config",4,"ngIf"],[4,"ngIf"],[3,"value"],[3,"items","config"]],template:function(i,o){if(1&i){const r=le();p(0,"div",2)(1,"div",3)(2,"p"),w(3," The Existing Access database consists of financial institutions that have access to Reserve Bank financial services. These institutions either have their own Reserve Bank master account or access Reserve Bank financial services by settling transactions in the master account of another depository institution. "),g(),p(4,"form")(5,"div",2)(6,"div",4)(7,"label",5),w(8,"Institution Name:"),g(),p(9,"input",6),He("ngModelChange",function(a){return F(r),qe(o.selectIName,a)||(o.selectIName=a),L(a)}),g()(),p(10,"div",7)(11,"div",8)(12,"label",9),w(13,"City:"),g(),p(14,"input",10),He("ngModelChange",function(a){return F(r),qe(o.selectCity,a)||(o.selectCity=a),L(a)}),g()()()(),p(15,"div",2)(16,"div",4)(17,"div",8)(18,"label",11),w(19,"Date Access Effective: "),g(),p(20,"select",12),He("ngModelChange",function(a){return F(r),qe(o.selectYear,a)||(o.selectYear=a),L(a)}),p(21,"option",13),w(22,"Select Year"),g(),M(23,nq,2,2,"option",14),g()()(),p(24,"div",7)(25,"div",8)(26,"label",15),w(27,"State: "),g(),p(28,"select",16),He("ngModelChange",function(a){return F(r),qe(o.selectState,a)||(o.selectState=a),L(a)}),R("change",function(){return F(r),L(o.onStateChange())}),p(29,"option",13),w(30,"Select a State"),g(),M(31,iq,2,2,"option",14),g()()()(),p(32,"div",2)(33,"div",4)(34,"div",8)(35,"label",17),w(36,"Federal Deposit Insurance: "),g(),p(37,"select",18),He("ngModelChange",function(a){return F(r),qe(o.selectDeposit,a)||(o.selectDeposit=a),L(a)}),p(38,"option",13),w(39,"Select Type"),g(),M(40,oq,2,2,"option",14),g()()(),p(41,"div",4)(42,"div",8)(43,"label",19),w(44,"Reserve Bank District: "),g(),p(45,"select",20),He("ngModelChange",function(a){return F(r),qe(o.selectDistrict,a)||(o.selectDistrict=a),L(a)}),p(46,"option",13),w(47,"Select a District"),g(),M(48,rq,2,2,"option",14),g()()()(),p(49,"div",21)(50,"div",22)(51,"div",23)(52,"button",24),R("click",function(){return F(r),L(o.clear())}),w(53," Clear "),g(),p(54,"button",24),R("click",function(){return F(r),L(o.search())}),w(55," Submit "),g()()(),p(56,"div",22)(57,"p")(58,"a",25),w(59,"Download All (CSV)"),g()(),p(60,"p")(61,"a",26),w(62,"Data Definitions"),g()()()()()(),p(63,"div",3)(64,"p"),w(65,"Data current as of: August 31, 2024"),g()(),p(66,"div",27,0),M(68,sq,1,2,"frb-existing-access-table",28),g(),p(69,"div",27,1),M(71,aq,2,0,"div",29),g()()}2&i&&(y(9),Ve("ngModel",o.selectIName),b("ngbTypeahead",o.searchIName)("editable",!1),y(5),Ve("ngModel",o.selectCity),b("ngbTypeahead",o.searchCity)("editable",!1),y(6),Ve("ngModel",o.selectYear),y(3),b("ngForOf",o.dates),y(5),Ve("ngModel",o.selectState),y(3),b("ngForOf",o.states),y(6),Ve("ngModel",o.selectDeposit),y(3),b("ngForOf",o.FDI),y(5),Ve("ngModel",o.selectDistrict),y(3),b("ngForOf",o.districts),y(20),b("ngIf",o.filteredItems.length),y(3),b("ngIf",o.existingItems.length&&0===o.filteredItems.length))},dependencies:[ut,tt,L_,Ss,Os,As,no,lo,so,Yo,ao,Zo,X9],styles:["label{font-weight:700}.btn-spaced button{margin-right:5px}form .dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}form .dropdown-item:hover,form .dropdown-item:focus{color:#1e2125;background-color:#e9ecef}form .dropdown-item.active,form .dropdown-item:active{color:#fff;text-decoration:none;background-color:#3a6c9c}.pt-xs{padding-top:15px}@media (min-width: 768px){.pt-xs{padding-top:0}}.form-control{max-width:100%}\n"],encapsulation:2})}return e})(),cq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-adp-existing"]],standalone:!0,features:[Ye],decls:1,vars:0,template:function(i,o){1&i&&z(0,"frb-existing-access")},dependencies:[yi,TS,lq]})}return e})();var Rt=function(e){return e.institutionName="Institution Name",e.dateSubmitted="Date Submitted",e.federalDepositInsurance="Federal Deposit Insurance",e.state="State",e.city="City",e.district="Reserve Bank District",e.action="Action",e.actionDate="Action Date",e.accessRequestTierInitial="Access Request Tier",e}(Rt||{});let dq=(()=>{class e extends hf{getOrderedColumnKeys(){return[Rt.institutionName,Rt.city,Rt.state,Rt.dateSubmitted,Rt.action,Rt.actionDate,Rt.accessRequestTierInitial,Rt.district,Rt.federalDepositInsurance]}getColumnSettings(){return[{key:Rt.state,title:"State",templateName:pe.Text,dataPropName:"state",allowSorting:!0,popoverContent:"The State field shows the state where the institution's charter is registered with the appropriate regulatory authority."},{key:Rt.city,title:"City",dataPropName:"city",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,popoverContent:"The City field shows the city where the institution's charter is registered with the appropriate regulatory authority."},{key:Rt.institutionName,title:"Institution Name",dataPropName:"institutionName",templateName:pe.Text,popoverContent:"The Institution Name field shows the name of the institution.",allowSorting:!0},{key:Rt.federalDepositInsurance,title:"Federal Deposit Insurance",dataPropName:"federalDepositInsurance",templateName:pe.Text,popoverContent:"The Federal Deposit Insurance field shows whether the institution has federal deposit insurance. If the institution is federally insured, this field shows whether its deposits are insured by the Federal Deposit Insurance Corporation (FDIC) or the National Credit Union Administration (NCUA).",allowSorting:!0,allowFiltering:!1},{key:Rt.district,title:"Reserve Bank District",dataPropName:"reserveBankDistrict",popoverContent:"The Reserve Bank District field shows the Federal Reserve District from which the institution would access a Reserve Bank master account and financial services.",templateName:pe.Text,allowFiltering:!1,allowSorting:!0},{key:Rt.dateSubmitted,title:"Date Submitted",dataPropName:"dateSubmitted",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,dataSortingType:"date",popoverContent:"The Date Submitted field shows the date when the institution requested access."},{key:Rt.action,title:"Action",dataPropName:"action",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,popoverContent:"The Action field shows whether the access request is awaiting review (pending), has been declined (rejected), has been granted (approved), or has been voluntarily withdrawn by the requester (withdrawn)."},{key:Rt.actionDate,title:"Action Date",dataPropName:"actionDate",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,dataSortingType:"date",popoverContent:"The Action Date field shows the date when a specific action was taken regarding the access request."},{key:Rt.accessRequestTierInitial,title:"Access Request Initial Tier",dataPropName:"accessRequestTierInitial",templateName:pe.Text,allowFiltering:!1,allowSorting:!0,popoverContent:'The Access Request Tier field shows whether the requester is classified as Tier 1, Tier 2, or Tier 3 under the <a href="/newsevents/pressreleases/other20220815a.htm">Account Access Guidelines</a>.'}]}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Le(e)))(o||e)}})();static#t=this.\u0275prov=A({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),fq=(()=>{class e{constructor(t){this.existingAccess=t,this.items=[],this.filteredItems=[],this.filterEvents=[]}ngOnInit(){this.existingAccess.setTableSettings(),this.filteredItems=this.items}ngOnChanges(t){this.filteredItems=this.items}sort(t){this.filteredItems.sort("asc"===t.sortingType?(i,o)=>i[t.dataPropName]===o[t.dataPropName]?i.institutionName<o.institutionName?-1:1:"date"===t.dataSortingType?new Date(i[t.dataPropName]).getTime()<new Date(o[t.dataPropName]).getTime()?-1:1:i[t.dataPropName]<o[t.dataPropName]?-1:1:(i,o)=>i[t.dataPropName]===o[t.dataPropName]?i.institutionName<o.institutionName?-1:1:"date"===t.dataSortingType?new Date(i[t.dataPropName]).getTime()>new Date(o[t.dataPropName]).getTime()?-1:1:i[t.dataPropName]>o[t.dataPropName]?-1:1)}filter(t){if("all"===t.filterTerm)this.filterEvents=this.filterEvents.filter(i=>i.column.dataPropName!==t.column.dataPropName);else if(-1!==this.filterEvents.findIndex(i=>i.column.dataPropName===t.column.dataPropName)){const i=this.filterEvents.findIndex(o=>o.column.dataPropName===t.column.dataPropName);this.filterEvents[i]=t}else this.filterEvents.push(t);this.filteredItems=this.items,0!==this.filterEvents.length&&this.filterEvents.forEach(i=>{this.filteredItems=this.filteredItems.filter(o=>o[i.column.dataPropName]===i.filterTerm)})}static#e=this.\u0275fac=function(i){return new(i||e)(v(dq))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-pending-request-table"]],inputs:{items:"items",config:"config"},features:[ke],decls:1,vars:5,consts:[[3,"sortingChange","filterChange","tableData","paginationConfig","allData","title","tableSettings"]],template:function(i,o){1&i&&(p(0,"frb-generic-table",0),R("sortingChange",function(s){return o.sort(s)})("filterChange",function(s){return o.filter(s)}),g()),2&i&&b("tableData",o.filteredItems)("paginationConfig",o.config)("allData",o.items)("title","MSA-MD Performance Thresholds")("tableSettings",o.existingAccess)},dependencies:[Ul]})}return e})();const hq=["table"],pq=["results"];function gq(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function mq(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t.short),y(),Pe(" ",t.full," ")}}function _q(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function vq(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t.district),y(),Pe(" ",t.district," ")}}function yq(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function bq(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function Dq(e,n){if(1&e&&(p(0,"option",36),w(1),g()),2&e){const t=n.$implicit;b("value",t),y(),Pe(" ",t," ")}}function wq(e,n){if(1&e&&z(0,"frb-pending-request-table",37),2&e){const t=T();b("items",t.filteredItems)("config",t.config)}}function Cq(e,n){1&e&&(p(0,"div"),w(1," No Results. Please try a new Search. "),g())}let Eq=(()=>{class e{constructor(t,i,o){this.accountDisclosureService=t,this.stateService=i,this.reserveBanksService=o,this.allStates=[],this.cities=[],this.FDI=[],this.dates=[],this.institutionNames=[],this.actionDate=[],this.actions=[],this.aqTiers=[],this.states=[],this.filteredItems=[],this.existingItems=[],this.selectState="",this.selectTier="",this.selectYear="",this.selectDeposit="",this.selectDistrict="",this.selectAction="",this.selectActionYear="",this.districts=[],this.config={itemsPerPage:20,currentPage:1},this.filteredCity=[],this.searchCity=r=>r.pipe(zl(200),co(),Se(s=>this.filteredCity.filter(a=>a.toLowerCase().indexOf(s.toLowerCase())>-1).slice(0,10))),this.searchIName=r=>r.pipe(zl(200),co(),Se(s=>this.institutionNames.filter(a=>a.toLowerCase().indexOf(s.toLowerCase())>-1).slice(0,10)))}ngOnInit(){this.stateService.getStates().subscribe(t=>{this.allStates=t}),this.reserveBanksService.getReserveBanks().subscribe(t=>{this.districts=t}),this.accountDisclosureService.getRequestorData().subscribe(t=>{this.filteredItems=this.existingItems=t,this.cities=Array.from(new Set(t.filter(i=>i.city).map(i=>i.city))),this.filteredCity=this.cities,t.forEach(i=>{const o=this.allStates.find(r=>r.short===i.state);o&&!this.states.find(r=>r.full===o.full)&&this.states.push(o)}),this.states.sort((i,o)=>i.full.localeCompare(o.full)),this.institutionNames=Array.from(new Set(t.filter(i=>i.institutionName).map(i=>i.institutionName))),this.actionDate=Array.from(new Set(t.filter(i=>i.actionDate).map(i=>new Date(i.actionDate).getFullYear().toString()))).sort((i,o)=>o.localeCompare(i)),this.dates=Array.from(new Set(t.filter(i=>i.dateSubmitted).map(i=>4===i.dateSubmitted.length?i.dateSubmitted:new Date(i.dateSubmitted).getFullYear().toString()))).sort((i,o)=>o.localeCompare(i)),this.FDI=Array.from(new Set(t.filter(i=>i.federalDepositInsurance).map(i=>i.federalDepositInsurance))),this.aqTiers=Array.from(new Set(t.filter(i=>i.accessRequestTierInitial).map(i=>i.accessRequestTierInitial).sort((i,o)=>i.localeCompare(o)))),this.actions=Array.from(new Set(t.filter(i=>i.action).map(i=>i.action.trim()).sort((i,o)=>i.localeCompare(o))))})}clear(){this.filteredItems=this.existingItems,this.selectCity=void 0,this.selectIName=void 0,this.selectState="",this.selectYear="",this.selectDeposit="",this.selectAction="",this.selectDistrict="",this.selectTier="",this.selectActionYear="",this.filteredCity=this.cities}search(){const t=[];this.selectIName&&t.push(o=>o.institutionName===this.selectIName),this.selectCity&&t.push(o=>o.city===this.selectCity),this.selectTier&&t.push(o=>o.accessRequestTierInitial===this.selectTier),this.selectState&&t.push(o=>o.state.toLowerCase()===this.selectState.toLowerCase()),this.selectAction&&t.push(o=>o.action===this.selectAction),this.selectActionYear&&t.push(o=>new Date(o.actionDate).getFullYear().toString()===this.selectActionYear),this.selectYear&&t.push(o=>4===o.dateSubmitted.length?o.dateSubmitted===this.selectYear:new Date(o.dateSubmitted).getFullYear().toString()===this.selectYear),this.selectDistrict&&t.push(o=>o.reserveBankDistrict.toLowerCase()===this.selectDistrict.toLowerCase()),this.selectDeposit&&t.push(o=>o.federalDepositInsurance===this.selectDeposit),this.filteredItems=t.reduce((i,o)=>i.filter(o),this.existingItems),this.filteredItems.length?this.table.nativeElement.focus():this.results.nativeElement.focus()}disableSubmit(){return!0}onStateChange(){this.filteredCity=Array.from(new Set(this.existingItems.filter(t=>t.state===this.selectState).map(t=>t.city)))}static#e=this.\u0275fac=function(i){return new(i||e)(v(NS),v(IS),v(MS))};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-access-requests"]],viewQuery:function(i,o){if(1&i&&(Fn(hq,5),Fn(pq,5)),2&i){let r;fe(r=he())&&(o.table=r.first),fe(r=he())&&(o.results=r.first)}},decls:98,vars:22,consts:[["table",""],["results",""],[1,"row"],[1,"col-xs-12"],[1,"col-xs-12","col-sm-6"],["for","name"],["type","text","id","name","placeholder","Enter Institution Name","name","name",1,"form-control",3,"ngModelChange","ngModel","ngbTypeahead","editable"],[1,"col-xs-12","col-sm-6","pt-xs"],[1,"form-group"],["for","searchText"],["type","text","id","searchText","placeholder","Enter City","name","searchText",1,"form-control",3,"ngModelChange","ngModel","ngbTypeahead","editable"],["for","date-eff"],["id","date-eff","name","date-eff",1,"form-control",3,"ngModelChange","ngModel"],["value","","selected",""],[3,"value",4,"ngFor","ngForOf"],["for","state"],["id","state","name","state",1,"form-control",3,"ngModelChange","change","ngModel"],["for","action"],["id","action","name","action",1,"form-control",3,"ngModelChange","ngModel"],["for","district"],["id","district","name","district",1,"form-control",3,"ngModelChange","ngModel"],["for","actionDate"],["id","actionDate","name","actionDate",1,"form-control",3,"ngModelChange","ngModel"],["for","tier"],["id","tier","name","tier",1,"form-control",3,"ngModelChange","ngModel"],["for","fdi"],["id","fdi","name","fdi",1,"form-control",3,"ngModelChange","ngModel"],[1,"row","padded-row"],[1,"col-xs-6"],[1,"btn-spaced"],["type","button",1,"btn","btn-default",3,"click"],["href","/paymentsystems/account-and-access-disclosure/requestor-data.csv",1,"btn","btn-default"],["href","/paymentsystems/master-accounts-data-definitions.htm"],["tabindex","-1",1,"col-xs-12"],[3,"items","config",4,"ngIf"],[4,"ngIf"],[3,"value"],[3,"items","config"]],template:function(i,o){if(1&i){const r=le();p(0,"div",2)(1,"div",3)(2,"p"),w(3," The Access Requests database consists of financial institutions that have requested access to Reserve Bank financial services after December 23, 2022 (or that had submitted an access request that was pending on December 23, 2022), along with the status of these requests. These institutions either are seeking their own Reserve Bank master account or intend to access to Reserve Bank financial services by settling transactions in the master account of another depository institution. "),g(),p(4,"form")(5,"div",2)(6,"div",4)(7,"label",5),w(8,"Institution Name:"),g(),p(9,"input",6),He("ngModelChange",function(a){return F(r),qe(o.selectIName,a)||(o.selectIName=a),L(a)}),g()(),p(10,"div",7)(11,"div",8)(12,"label",9),w(13,"City:"),g(),p(14,"input",10),He("ngModelChange",function(a){return F(r),qe(o.selectCity,a)||(o.selectCity=a),L(a)}),g()()()(),p(15,"div",2)(16,"div",4)(17,"div",8)(18,"label",11),w(19,"Date Submitted: "),g(),p(20,"select",12),He("ngModelChange",function(a){return F(r),qe(o.selectYear,a)||(o.selectYear=a),L(a)}),p(21,"option",13),w(22,"Select Year"),g(),M(23,gq,2,2,"option",14),g()()(),p(24,"div",7)(25,"div",8)(26,"label",15),w(27,"State: "),g(),p(28,"select",16),He("ngModelChange",function(a){return F(r),qe(o.selectState,a)||(o.selectState=a),L(a)}),R("change",function(){return F(r),L(o.onStateChange())}),p(29,"option",13),w(30,"Select a State"),g(),M(31,mq,2,2,"option",14),g()()()(),p(32,"div",2)(33,"div",4)(34,"div",8)(35,"label",17),w(36,"Action: "),g(),p(37,"select",18),He("ngModelChange",function(a){return F(r),qe(o.selectAction,a)||(o.selectAction=a),L(a)}),p(38,"option",13),w(39,"Select Action"),g(),M(40,_q,2,2,"option",14),g()()(),p(41,"div",4)(42,"div",8)(43,"label",19),w(44,"Reserve Bank District: "),g(),p(45,"select",20),He("ngModelChange",function(a){return F(r),qe(o.selectDistrict,a)||(o.selectDistrict=a),L(a)}),p(46,"option",13),w(47,"Select a District"),g(),M(48,vq,2,2,"option",14),g()()()(),p(49,"div",2)(50,"div",4)(51,"div",8)(52,"label",21),w(53,"Action Date: "),g(),p(54,"select",22),He("ngModelChange",function(a){return F(r),qe(o.selectActionYear,a)||(o.selectActionYear=a),L(a)}),p(55,"option",13),w(56,"Select Year"),g(),M(57,yq,2,2,"option",14),g()()(),p(58,"div",4)(59,"div",8)(60,"label",23),w(61,"Access Request Tier: "),g(),p(62,"select",24),He("ngModelChange",function(a){return F(r),qe(o.selectTier,a)||(o.selectTier=a),L(a)}),p(63,"option",13),w(64,"Select tier"),g(),M(65,bq,2,2,"option",14),g()()()(),p(66,"div",2)(67,"div",4)(68,"div",8)(69,"label",25),w(70,"Federal Deposit Insurance: "),g(),p(71,"select",26),He("ngModelChange",function(a){return F(r),qe(o.selectDeposit,a)||(o.selectDeposit=a),L(a)}),p(72,"option",13),w(73,"Select Type"),g(),M(74,Dq,2,2,"option",14),g()()()(),p(75,"div",27)(76,"div",28)(77,"div",29)(78,"button",30),R("click",function(){return F(r),L(o.clear())}),w(79," Clear "),g(),p(80,"button",30),R("click",function(){return F(r),L(o.search())}),w(81," Submit "),g()()(),p(82,"div",28)(83,"p")(84,"a",31),w(85,"Download All (CSV)"),g()(),p(86,"p")(87,"a",32),w(88,"Data Definitions"),g()()()()()(),p(89,"div",3)(90,"p"),w(91,"Data current as of: August 31, 2024"),g()(),p(92,"div",33,0),M(94,wq,1,2,"frb-pending-request-table",34),g(),p(95,"div",33,1),M(97,Cq,2,0,"div",35),g()()}2&i&&(y(9),Ve("ngModel",o.selectIName),b("ngbTypeahead",o.searchIName)("editable",!1),y(5),Ve("ngModel",o.selectCity),b("ngbTypeahead",o.searchCity)("editable",!1),y(6),Ve("ngModel",o.selectYear),y(3),b("ngForOf",o.dates),y(5),Ve("ngModel",o.selectState),y(3),b("ngForOf",o.allStates),y(6),Ve("ngModel",o.selectAction),y(3),b("ngForOf",o.actions),y(5),Ve("ngModel",o.selectDistrict),y(3),b("ngForOf",o.districts),y(6),Ve("ngModel",o.selectActionYear),y(3),b("ngForOf",o.actionDate),y(5),Ve("ngModel",o.selectTier),y(3),b("ngForOf",o.aqTiers),y(6),Ve("ngModel",o.selectDeposit),y(3),b("ngForOf",o.FDI),y(20),b("ngIf",o.filteredItems.length),y(3),b("ngIf",o.existingItems.length&&0===o.filteredItems.length))},dependencies:[ut,tt,L_,Ss,Os,As,no,lo,so,Yo,ao,Zo,fq],styles:["label{font-weight:700}.btn-spaced button{margin-right:5px}form .dropdown-item{display:block;width:100%;padding:.25rem 1rem;clear:both;font-weight:400;color:#212529;text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}form .dropdown-item:hover,form .dropdown-item:focus{color:#1e2125;background-color:#e9ecef}form .dropdown-item.active,form .dropdown-item:active{color:#fff;text-decoration:none;background-color:#3a6c9c}.pt-xs{padding-top:15px}@media (min-width: 768px){.pt-xs{padding-top:0}}.form-control{max-width:100%}\n"],encapsulation:2})}return e})(),Tq=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=te({type:e,selectors:[["frb-adp-requests"]],standalone:!0,features:[Ye],decls:1,vars:0,template:function(i,o){1&i&&z(0,"frb-access-requests")},dependencies:[yi,TS,Eq]})}return e})();fetch("/config/app-config.json").then(e=>e.json()).then(e=>{document.querySelector("frb-cra-ratings-threshold")&&yl(w9,{providers:[{provide:Wo,useValue:e},zs()]}),document.querySelector("frb-publications-filter")&&yl(J9,{providers:[{provide:Wo,useValue:e},zs()]}),document.querySelector("frb-enforcement-actions")&&yl(H9,{providers:[{provide:Wo,useValue:e},zs()]}),document.querySelector("frb-adp-existing")&&yl(cq,{providers:[{provide:Wo,useValue:e},zs()]}),document.querySelector("frb-adp-requests")&&yl(Tq,{providers:[{provide:Wo,useValue:e},zs()]})})}},Ef=>{Ef(Ef.s=814)}]);