From 50d3a386d0976031f612bd6d4795da8c48d51a89 Mon Sep 17 00:00:00 2001 From: "k.polyntsov" Date: Thu, 21 Nov 2024 21:35:39 +0200 Subject: [PATCH] chore(release): 19.0.5 --- CHANGELOG.md | 7 +++++++ docs/index.html | 2 +- .../{main.c48b18e9e5eefcd0.js => main.7ad077ad2aacf437.js} | 2 +- package-lock.json | 4 ++-- package.json | 2 +- projects/ngx-select-ex/package.json | 2 +- 6 files changed, 13 insertions(+), 6 deletions(-) rename docs/{main.c48b18e9e5eefcd0.js => main.7ad077ad2aacf437.js} (99%) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2a11b5d..26e1c7f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [19.0.5](https://github.com/optimistex/ngx-select-ex/compare/v19.0.4...v19.0.5) (2024-11-21) + + +### Bug Fixes + +* license ([e63d768](https://github.com/optimistex/ngx-select-ex/commit/e63d768d29d5a4bf64c28bef96f78cb3192b944c)) + ### [19.0.4](https://github.com/optimistex/ngx-select-ex/compare/v19.0.3...v19.0.4) (2024-11-21) diff --git a/docs/index.html b/docs/index.html index 3d90ce32..4a2827b7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -38,5 +38,5 @@ Loading... - + diff --git a/docs/main.c48b18e9e5eefcd0.js b/docs/main.7ad077ad2aacf437.js similarity index 99% rename from docs/main.c48b18e9e5eefcd0.js rename to docs/main.7ad077ad2aacf437.js index 4a3afdaf..d6054da4 100644 --- a/docs/main.c48b18e9e5eefcd0.js +++ b/docs/main.7ad077ad2aacf437.js @@ -1 +1 @@ -(self.webpackChunkngx_select_ex_demo=self.webpackChunkngx_select_ex_demo||[]).push([[792],{538:(he,U,x)=>{"use strict";var u=x(213);let K=null;function se(){return K}class G{}const Q=new u.nKC(""),nl=/\s+/,ar=[];let du=(()=>{class i{_ngEl;_renderer;initialClasses=ar;rawClass;stateMap=new Map;constructor(r,s){this._ngEl=r,this._renderer=s}set klass(r){this.initialClasses=null!=r?r.trim().split(nl):ar}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(nl):r}ngDoCheck(){for(const s of this.initialClasses)this._updateState(s,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const s of r)this._updateState(s,!0);else if(null!=r)for(const s of Object.keys(r))this._updateState(s,!!r[s]);this._applyStateDiff()}_updateState(r,s){const d=this.stateMap.get(r);void 0!==d?(d.enabled!==s&&(d.changed=!0,d.enabled=s),d.touched=!0):this.stateMap.set(r,{enabled:s,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const s=r[0],d=r[1];d.changed?(this._toggleClass(s,d.enabled),d.changed=!1):d.touched||(d.enabled&&this._toggleClass(s,!1),this.stateMap.delete(s)),d.touched=!1}}_toggleClass(r,s){(r=r.trim()).length>0&&r.split(nl).forEach(d=>{s?this._renderer.addClass(this._ngEl.nativeElement,d):this._renderer.removeClass(this._ngEl.nativeElement,d)})}static \u0275fac=function(s){return new(s||i)(u.rXU(u.aKT),u.rXU(u.sFG))};static \u0275dir=u.FsC({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return i})();class Oe{$implicit;ngForOf;index;count;constructor(l,r,s,d){this.$implicit=l,this.ngForOf=r,this.index=s,this.count=d}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 hu=(()=>{class i{_viewContainer;_template;_differs;set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(r,s,d){this._viewContainer=r,this._template=s,this._differs=d}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const s=this._viewContainer;r.forEachOperation((d,g,_)=>{if(null==d.previousIndex)s.createEmbeddedView(this._template,new Oe(d.item,this._ngForOf,-1,-1),null===_?void 0:_);else if(null==_)s.remove(null===g?void 0:g);else if(null!==g){const D=s.get(g);s.move(D,_),xo(D,d)}});for(let d=0,g=s.length;d{xo(s.get(d.currentIndex),d)})}static ngTemplateContextGuard(r,s){return!0}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static \u0275dir=u.FsC({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return i})();function xo(i,l){i.context.$implicit=l.item}let pu=(()=>{class i{_viewContainer;_context=new Jr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(r,s){this._viewContainer=r,this._thenTemplateRef=s}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Es("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Es("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(r,s){return!0}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b),u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return i})();class Jr{$implicit=null;ngIf=null}function Es(i,l){if(l&&!l.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${(0,u.Tbb)(l)}'.`)}let Ir=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(r){this._viewContainerRef=r}ngOnChanges(r){if(this._shouldRecreateView(r)){const s=this._viewContainerRef;if(this._viewRef&&s.remove(s.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const d=this._createContextForwardProxy();this._viewRef=s.createEmbeddedView(this.ngTemplateOutlet,d,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,s,d)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,s,d),get:(r,s,d)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,s,d)}})}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b))};static \u0275dir=u.FsC({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[u.OA$]})}return i})(),cr=(()=>{class i{transform(r){return JSON.stringify(r,null,2)}static \u0275fac=function(s){return new(s||i)};static \u0275pipe=u.EJ8({name:"json",type:i,pure:!1})}return i})(),ge=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})();const qe="browser";function Ze(i){return"server"===i}class Ke extends G{supportsDOMEvents=!0}class Pe extends Ke{static makeCurrent(){!function $(i){K??=i}(new Pe)}onAndCancel(l,r,s){return l.addEventListener(r,s),()=>{l.removeEventListener(r,s)}}dispatchEvent(l,r){l.dispatchEvent(r)}remove(l){l.remove()}createElement(l,r){return(r=r||this.getDefaultDocument()).createElement(l)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(l){return l.nodeType===Node.ELEMENT_NODE}isShadowRoot(l){return l instanceof DocumentFragment}getGlobalEventTarget(l,r){return"window"===r?window:"document"===r?l:"body"===r?l.body:null}getBaseHref(l){const r=function de(){return ln=ln||document.querySelector("base"),ln?ln.getAttribute("href"):null}();return null==r?null:function Oo(i){return new URL(i,document.baseURI).pathname}(r)}resetBaseElement(){ln=null}getUserAgent(){return window.navigator.userAgent}getCookie(l){return function ie(i,l){l=encodeURIComponent(l);for(const r of i.split(";")){const s=r.indexOf("="),[d,g]=-1==s?[r,""]:[r.slice(0,s),r.slice(s+1)];if(d.trim()===l)return decodeURIComponent(g)}return null}(document.cookie,l)}}let ln=null,xi=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Qe=new u.nKC("");let no=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(r,s){this._zone=s,r.forEach(d=>{d.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,s,d){return this._findPluginFor(s).addEventListener(r,s,d)}getZone(){return this._zone}_findPluginFor(r){let s=this._eventNameToPlugin.get(r);if(s)return s;if(s=this._plugins.find(g=>g.supports(r)),!s)throw new u.wOt(5101,!1);return this._eventNameToPlugin.set(r,s),s}static \u0275fac=function(s){return new(s||i)(u.KVO(Qe),u.KVO(u.SKi))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Ro{_doc;constructor(l){this._doc=l}manager}const Zn="ng-app-id";function Po(i){for(const l of i)l.remove()}function Mu(i,l){const r=l.createElement("style");return r.textContent=i,r}function Si(i,l){const r=l.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",i),r}let oo=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(r,s,d,g={}){this.doc=r,this.appId=s,this.nonce=d,this.isServer=Ze(g),function ro(i,l,r){const s=i.head?.querySelectorAll(`style[${Zn}="${l}"]`);if(s)for(const d of s)d.textContent&&(d.removeAttribute(Zn),r.set(d.textContent,{usage:0,elements:[d]}))}(r,s,this.inline),this.hosts.add(r.head)}addStyles(r,s){for(const d of r)this.addUsage(d,this.inline,Mu);s?.forEach(d=>this.addUsage(d,this.external,Si))}removeStyles(r,s){for(const d of r)this.removeUsage(d,this.inline);s?.forEach(d=>this.removeUsage(d,this.external))}addUsage(r,s,d){const g=s.get(r);g?g.usage++:s.set(r,{usage:1,elements:[...this.hosts].map(_=>this.addElement(_,d(r,this.doc)))})}removeUsage(r,s){const d=s.get(r);d&&(d.usage--,d.usage<=0&&(Po(d.elements),s.delete(r)))}ngOnDestroy(){for(const[,{elements:r}]of[...this.inline,...this.external])Po(r);this.hosts.clear()}addHost(r){this.hosts.add(r);for(const[s,{elements:d}]of this.inline)d.push(this.addElement(r,Mu(s,this.doc)));for(const[s,{elements:d}]of this.external)d.push(this.addElement(r,Si(s,this.doc)))}removeHost(r){this.hosts.delete(r)}addElement(r,s){return this.nonce&&s.setAttribute("nonce",this.nonce),this.isServer&&s.setAttribute(Zn,this.appId),r.appendChild(s)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q),u.KVO(u.sZ2),u.KVO(u.BIS,8),u.KVO(u.Agw))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Zt={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"},Z=/%COMP%/g,Ai=new u.nKC("",{providedIn:"root",factory:()=>!0});function it(i,l){return l.map(r=>r.replace(Z,i))}let pt=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(r,s,d,g,_,D,w,T=null){this.eventManager=r,this.sharedStylesHost=s,this.appId=d,this.removeStylesOnCompDestroy=g,this.doc=_,this.platformId=D,this.ngZone=w,this.nonce=T,this.platformIsServer=Ze(D),this.defaultRenderer=new Vs(r,_,w,this.platformIsServer)}createRenderer(r,s){if(!r||!s)return this.defaultRenderer;this.platformIsServer&&s.encapsulation===u.gXe.ShadowDom&&(s={...s,encapsulation:u.gXe.Emulated});const d=this.getOrCreateRenderer(r,s);return d instanceof xh?d.applyToHost(r):d instanceof ml&&d.applyStyles(),d}getOrCreateRenderer(r,s){const d=this.rendererByCompId;let g=d.get(s.id);if(!g){const _=this.doc,D=this.ngZone,w=this.eventManager,T=this.sharedStylesHost,O=this.removeStylesOnCompDestroy,j=this.platformIsServer;switch(s.encapsulation){case u.gXe.Emulated:g=new xh(w,T,s,this.appId,O,_,D,j);break;case u.gXe.ShadowDom:return new Bs(w,T,r,s,_,D,this.nonce,j);default:g=new ml(w,T,s,O,_,D,j)}d.set(s.id,g)}return g}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(s){return new(s||i)(u.KVO(no),u.KVO(oo),u.KVO(u.sZ2),u.KVO(Ai),u.KVO(Q),u.KVO(u.Agw),u.KVO(u.SKi),u.KVO(u.BIS))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Vs{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(l,r,s,d){this.eventManager=l,this.doc=r,this.ngZone=s,this.platformIsServer=d}destroy(){}destroyNode=null;createElement(l,r){return r?this.doc.createElementNS(Zt[r]||r,l):this.doc.createElement(l)}createComment(l){return this.doc.createComment(l)}createText(l){return this.doc.createTextNode(l)}appendChild(l,r){(kn(l)?l.content:l).appendChild(r)}insertBefore(l,r,s){l&&(kn(l)?l.content:l).insertBefore(r,s)}removeChild(l,r){r.remove()}selectRootElement(l,r){let s="string"==typeof l?this.doc.querySelector(l):l;if(!s)throw new u.wOt(-5104,!1);return r||(s.textContent=""),s}parentNode(l){return l.parentNode}nextSibling(l){return l.nextSibling}setAttribute(l,r,s,d){if(d){r=d+":"+r;const g=Zt[d];g?l.setAttributeNS(g,r,s):l.setAttribute(r,s)}else l.setAttribute(r,s)}removeAttribute(l,r,s){if(s){const d=Zt[s];d?l.removeAttributeNS(d,r):l.removeAttribute(`${s}:${r}`)}else l.removeAttribute(r)}addClass(l,r){l.classList.add(r)}removeClass(l,r){l.classList.remove(r)}setStyle(l,r,s,d){d&(u.czy.DashCase|u.czy.Important)?l.style.setProperty(r,s,d&u.czy.Important?"important":""):l.style[r]=s}removeStyle(l,r,s){s&u.czy.DashCase?l.style.removeProperty(r):l.style[r]=""}setProperty(l,r,s){null!=l&&(l[r]=s)}setValue(l,r){l.nodeValue=r}listen(l,r,s){if("string"==typeof l&&!(l=se().getGlobalEventTarget(this.doc,l)))throw new Error(`Unsupported event target ${l} for event ${r}`);return this.eventManager.addEventListener(l,r,this.decoratePreventDefault(s))}decoratePreventDefault(l){return r=>{if("__ngUnwrap__"===r)return l;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>l(r)):l(r))&&r.preventDefault()}}}function kn(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class Bs extends Vs{sharedStylesHost;hostEl;shadowRoot;constructor(l,r,s,d,g,_,D,w){super(l,g,_,w),this.sharedStylesHost=r,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const T=it(d.id,d.styles);for(const j of T){const re=document.createElement("style");D&&re.setAttribute("nonce",D),re.textContent=j,this.shadowRoot.appendChild(re)}const O=d.getExternalStyles?.();if(O)for(const j of O){const re=Si(j,g);D&&re.setAttribute("nonce",D),this.shadowRoot.appendChild(re)}}nodeOrShadowRoot(l){return l===this.hostEl?this.shadowRoot:l}appendChild(l,r){return super.appendChild(this.nodeOrShadowRoot(l),r)}insertBefore(l,r,s){return super.insertBefore(this.nodeOrShadowRoot(l),r,s)}removeChild(l,r){return super.removeChild(null,r)}parentNode(l){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(l)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ml extends Vs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(l,r,s,d,g,_,D,w){super(l,g,_,D),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=d,this.styles=w?it(w,s.styles):s.styles,this.styleUrls=s.getExternalStyles?.(w)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class xh extends ml{contentAttr;hostAttr;constructor(l,r,s,d,g,_,D,w){const T=d+"-"+s.id;super(l,r,s,g,_,D,w,T),this.contentAttr=function ut(i){return"_ngcontent-%COMP%".replace(Z,i)}(T),this.hostAttr=function gl(i){return"_nghost-%COMP%".replace(Z,i)}(T)}applyToHost(l){this.applyStyles(),this.setAttribute(l,this.hostAttr,"")}createElement(l,r){const s=super.createElement(l,r);return super.setAttribute(s,this.contentAttr,""),s}}let xu=(()=>{class i extends Ro{constructor(r){super(r)}supports(r){return!0}addEventListener(r,s,d){return r.addEventListener(s,d,!1),()=>this.removeEventListener(r,s,d)}removeEventListener(r,s,d){return r.removeEventListener(s,d)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Su=["alt","control","meta","shift"],e_={"\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"},Au={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let tC=(()=>{class i extends Ro{constructor(r){super(r)}supports(r){return null!=i.parseEventName(r)}addEventListener(r,s,d){const g=i.parseEventName(s),_=i.eventCallback(g.fullKey,d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>se().onAndCancel(r,g.domEventName,_))}static parseEventName(r){const s=r.toLowerCase().split("."),d=s.shift();if(0===s.length||"keydown"!==d&&"keyup"!==d)return null;const g=i._normalizeKey(s.pop());let _="",D=s.indexOf("code");if(D>-1&&(s.splice(D,1),_="code."),Su.forEach(T=>{const O=s.indexOf(T);O>-1&&(s.splice(O,1),_+=T+".")}),_+=g,0!=s.length||0===g.length)return null;const w={};return w.domEventName=d,w.fullKey=_,w}static matchEventFullKeyCode(r,s){let d=e_[r.key]||r.key,g="";return s.indexOf("code.")>-1&&(d=r.code,g="code."),!(null==d||!d)&&(d=d.toLowerCase()," "===d?d="space":"."===d&&(d="dot"),Su.forEach(_=>{_!==d&&(0,Au[_])(r)&&(g+=_+".")}),g+=d,g===s)}static eventCallback(r,s,d){return g=>{i.matchEventFullKeyCode(g,r)&&d.runGuarded(()=>s(g))}}static _normalizeKey(r){return"esc"===r?"escape":r}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();function t_(i){return{appProviders:[...Sh,...i?.providers??[]],platformProviders:sC}}const sC=[{provide:u.Agw,useValue:qe},{provide:u.PLl,useValue:function rC(){Pe.makeCurrent()},multi:!0},{provide:Q,useFactory:function iC(){return(0,u.TL$)(document),document},deps:[]}],Sh=[{provide:u.H8p,useValue:"root"},{provide:u.zcH,useFactory:function oC(){return new u.zcH},deps:[]},{provide:Qe,useClass:xu,multi:!0,deps:[Q,u.SKi,u.Agw]},{provide:Qe,useClass:tC,multi:!0,deps:[Q]},pt,oo,no,{provide:u._9s,useExisting:pt},{provide:class ur{},useClass:xi,deps:[]},[]];let _l=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:function(s){let d=null;return d=s?new(s||i):u.KVO(Ae),d},providedIn:"root"})}return i})(),Ae=(()=>{class i extends _l{_doc;constructor(r){super(),this._doc=r}sanitize(r,s){if(null==s)return null;switch(r){case u.WPN.NONE:return s;case u.WPN.HTML:return(0,u.ZF7)(s,"HTML")?(0,u.rcV)(s):(0,u.h9k)(this._doc,String(s)).toString();case u.WPN.STYLE:return(0,u.ZF7)(s,"Style")?(0,u.rcV)(s):s;case u.WPN.SCRIPT:if((0,u.ZF7)(s,"Script"))return(0,u.rcV)(s);throw new u.wOt(5200,!1);case u.WPN.URL:return(0,u.ZF7)(s,"URL")?(0,u.rcV)(s):(0,u.$MX)(String(s));case u.WPN.RESOURCE_URL:if((0,u.ZF7)(s,"ResourceURL"))return(0,u.rcV)(s);throw new u.wOt(5201,!1);default:throw new u.wOt(5202,!1)}}bypassSecurityTrustHtml(r){return(0,u.Kcf)(r)}bypassSecurityTrustStyle(r){return(0,u.cWb)(r)}bypassSecurityTrustScript(r){return(0,u.UyX)(r)}bypassSecurityTrustUrl(r){return(0,u.osQ)(r)}bypassSecurityTrustResourceUrl(r){return(0,u.e5t)(r)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Oh=(()=>{class i{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=(0,u.WQX)(u.An2,{optional:!0});loadingSchedulerFn=(0,u.WQX)(Rh,{optional:!0});_engine;constructor(r,s,d,g,_){this.doc=r,this.delegate=s,this.zone=d,this.animationType=g,this.moduleImpl=_}ngOnDestroy(){this._engine?.flush()}loadImpl(){const r=()=>this.moduleImpl??x.e(8).then(x.bind(x,8)).then(d=>d);let s;return s=this.loadingSchedulerFn?this.loadingSchedulerFn(r):r(),s.catch(d=>{throw new u.wOt(5300,!1)}).then(({\u0275createEngine:d,\u0275AnimationRendererFactory:g})=>{this._engine=d(this.animationType,this.doc);const _=new g(this.delegate,this._engine,this.zone);return this.delegate=_,_})}createRenderer(r,s){const d=this.delegate.createRenderer(r,s);if(0===d.\u0275type)return d;"boolean"==typeof d.throwOnSyntheticProps&&(d.throwOnSyntheticProps=!1);const g=new Fu(d);return s?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(_=>{const D=_.createRenderer(r,s);g.use(D),this.scheduler?.notify(11)}).catch(_=>{g.use(d)}),g}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(s){u.QTQ()};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Fu{delegate;replay=[];\u0275type=1;constructor(l){this.delegate=l}use(l){if(this.delegate=l,null!==this.replay){for(const r of this.replay)r(l);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(l,r){return this.delegate.createElement(l,r)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}get destroyNode(){return this.delegate.destroyNode}appendChild(l,r){this.delegate.appendChild(l,r)}insertBefore(l,r,s,d){this.delegate.insertBefore(l,r,s,d)}removeChild(l,r,s){this.delegate.removeChild(l,r,s)}selectRootElement(l,r){return this.delegate.selectRootElement(l,r)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,r,s,d){this.delegate.setAttribute(l,r,s,d)}removeAttribute(l,r,s){this.delegate.removeAttribute(l,r,s)}addClass(l,r){this.delegate.addClass(l,r)}removeClass(l,r){this.delegate.removeClass(l,r)}setStyle(l,r,s,d){this.delegate.setStyle(l,r,s,d)}removeStyle(l,r,s){this.delegate.removeStyle(l,r,s)}setProperty(l,r,s){this.shouldReplay(r)&&this.replay.push(d=>d.setProperty(l,r,s)),this.delegate.setProperty(l,r,s)}setValue(l,r){this.delegate.setValue(l,r)}listen(l,r,s){return this.shouldReplay(r)&&this.replay.push(d=>d.listen(l,r,s)),this.delegate.listen(l,r,s)}shouldReplay(l){return null!==this.replay&&l.startsWith("@")}}const Rh=new u.nKC(""),ku={providers:[(0,u.Jn2)({eventCoalescing:!0}),function yl(i="animations"){return(0,u.ngT)("NgAsyncAnimations"),(0,u.EmA)([{provide:u._9s,useFactory:(l,r,s)=>new Oh(l,r,s,i),deps:[Q,pt,u.SKi]},{provide:u.bc$,useValue:"noop"===i?"NoopAnimations":"BrowserAnimations"}])}()]};function ne(i){return this instanceof ne?(this.v=i,this):new ne(i)}function we(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,l=i[Symbol.asyncIterator];return l?l.call(i):(i=function Pu(i){var l="function"==typeof Symbol&&Symbol.iterator,r=l&&i[l],s=0;if(r)return r.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(g){r[g]=i[g]&&function(_){return new Promise(function(D,w){!function d(g,_,D,w){Promise.resolve(w).then(function(T){g({value:T,done:D})},_)}(D,w,(_=i[g](_)).done,_.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Cl=i=>i&&"number"==typeof i.length&&"function"!=typeof i;var je=x(71);function gr(i){return(0,je.T)(i?.then)}var vt=x(226),ju=x(494);function Gh(i){return(0,je.T)(i[ju.s])}function zh(i){return Symbol.asyncIterator&&(0,je.T)(i?.[Symbol.asyncIterator])}function El(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const wl=function Hu(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $s(i){return(0,je.T)(i?.[wl])}function Wh(i){return function Lu(i,l,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,s=r.apply(i,l||[]),g=[];return d=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),D("next"),D("throw"),D("return",function _(W){return function(_e){return Promise.resolve(_e).then(W,j)}}),d[Symbol.asyncIterator]=function(){return this},d;function D(W,_e){s[W]&&(d[W]=function(De){return new Promise(function(Le,Ve){g.push([W,De,Le,Ve])>1||w(W,De)})},_e&&(d[W]=_e(d[W])))}function w(W,_e){try{!function T(W){W.value instanceof ne?Promise.resolve(W.value.v).then(O,j):re(g[0][2],W)}(s[W](_e))}catch(De){re(g[0][3],De)}}function O(W){w("next",W)}function j(W){w("throw",W)}function re(W,_e){W(_e),g.shift(),g.length&&w(g[0][0],g[0][1])}}(this,arguments,function*(){const r=i.getReader();try{for(;;){const{value:s,done:d}=yield ne(r.read());if(d)return yield ne(void 0);yield yield ne(s)}}finally{r.releaseLock()}})}function Uu(i){return(0,je.T)(i?.getReader)}var $u=x(334);function un(i){if(i instanceof vt.c)return i;if(null!=i){if(Gh(i))return function qh(i){return new vt.c(l=>{const r=i[ju.s]();if((0,je.T)(r.subscribe))return r.subscribe(l);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(Cl(i))return function Kh(i){return new vt.c(l=>{for(let r=0;r{i.then(r=>{l.closed||(l.next(r),l.complete())},r=>l.error(r)).then(null,$u.m)})}(i);if(zh(i))return Qh(i);if($s(i))return function Gu(i){return new vt.c(l=>{for(const r of i)if(l.next(r),l.closed)return;l.complete()})}(i);if(Uu(i))return function Ot(i){return Qh(Wh(i))}(i)}throw El(i)}function Qh(i){return new vt.c(l=>{(function Vo(i,l){var r,s,d,g;return function Ph(i,l,r,s){return new(r||(r=Promise))(function(g,_){function D(O){try{T(s.next(O))}catch(j){_(j)}}function w(O){try{T(s.throw(O))}catch(j){_(j)}}function T(O){O.done?g(O.value):function d(g){return g instanceof r?g:new r(function(_){_(g)})}(O.value).then(D,w)}T((s=s.apply(i,l||[])).next())})}(this,void 0,void 0,function*(){try{for(r=we(i);!(s=yield r.next()).done;)if(l.next(s.value),l.closed)return}catch(_){d={error:_}}finally{try{s&&!s.done&&(g=r.return)&&(yield g.call(r))}finally{if(d)throw d.error}}l.complete()})})(i,l).catch(r=>l.error(r))})}function Me(i,l,r,s=0,d=!1){const g=l.schedule(function(){r(),d?i.add(this.schedule(null,s)):this.unsubscribe()},s);if(i.add(g),!d)return g}var bn=x(974),dn=x(360);function Xh(i,l=0){return(0,bn.N)((r,s)=>{r.subscribe((0,dn._)(s,d=>Me(s,i,()=>s.next(d),l),()=>Me(s,i,()=>s.complete(),l),d=>Me(s,i,()=>s.error(d),l)))})}function Yh(i,l=0){return(0,bn.N)((r,s)=>{s.add(i.schedule(()=>r.subscribe(s),l))})}function tp(i,l){if(!i)throw new Error("Iterable cannot be null");return new vt.c(r=>{Me(r,l,()=>{const s=i[Symbol.asyncIterator]();Me(r,l,()=>{s.next().then(d=>{d.done?r.complete():r.next(d.value)})},0,!0)})})}function Dn(i,l){return l?function Ml(i,l){if(null!=i){if(Gh(i))return function Jh(i,l){return un(i).pipe(Yh(l),Xh(l))}(i,l);if(Cl(i))return function Gs(i,l){return new vt.c(r=>{let s=0;return l.schedule(function(){s===i.length?r.complete():(r.next(i[s++]),r.closed||this.schedule())})})}(i,l);if(gr(i))return function ep(i,l){return un(i).pipe(Yh(l),Xh(l))}(i,l);if(zh(i))return tp(i,l);if($s(i))return function mr(i,l){return new vt.c(r=>{let s;return Me(r,l,()=>{s=i[wl](),Me(r,l,()=>{let d,g;try{({value:d,done:g}=s.next())}catch(_){return void r.error(_)}g?r.complete():r.next(d)},0,!0)}),()=>(0,je.T)(s?.return)&&s.return()})}(i,l);if(Uu(i))return function Il(i,l){return tp(Wh(i),l)}(i,l)}throw El(i)}(i,l):un(i)}const{isArray:zu}=Array,{getPrototypeOf:np,prototype:rp,keys:h_}=Object;function Bo(i){if(1===i.length){const l=i[0];if(zu(l))return{args:l,keys:null};if(function zs(i){return i&&"object"==typeof i&&np(i)===rp}(l)){const r=h_(l);return{args:r.map(s=>l[s]),keys:r}}}return{args:i,keys:null}}function op(i){return i&&(0,je.T)(i.schedule)}function Ws(i){return i[i.length-1]}function Tl(i){return(0,je.T)(Ws(i))?i.pop():void 0}function qs(i){return op(Ws(i))?i.pop():void 0}var Cn=x(354);const{isArray:yC}=Array;function Ks(i){return(0,Cn.T)(l=>function vC(i,l){return yC(l)?i(...l):i(l)}(i,l))}function Wu(i,l){return i.reduce((r,s,d)=>(r[s]=l[d],r),{})}var We=x(413);let qu=(()=>{class i{_renderer;_elementRef;onChange=r=>{};onTouched=()=>{};constructor(r,s){this._renderer=r,this._elementRef=s}setProperty(r,s){this._renderer.setProperty(this._elementRef.nativeElement,r,s)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.aKT))};static \u0275dir=u.FsC({type:i})}return i})(),kr=(()=>{class i extends qu{static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,features:[u.Vt3]})}return i})();const Rt=new u.nKC(""),g_={provide:Rt,useExisting:(0,u.Rfq)(()=>Qs),multi:!0},m_=new u.nKC("");let Qs=(()=>{class i extends qu{_compositionMode;_composing=!1;constructor(r,s,d){super(r,s),this._compositionMode=d,null==this._compositionMode&&(this._compositionMode=!function Zs(){const i=se()?se().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(m_,8))};static \u0275dir=u.FsC({type:i,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(s,d){1&s&&u.bIt("input",function(_){return d._handleInput(_.target.value)})("blur",function(){return d.onTouched()})("compositionstart",function(){return d._compositionStart()})("compositionend",function(_){return d._compositionEnd(_.target.value)})},standalone:!1,features:[u.Jv_([g_]),u.Vt3]})}return i})();const Pt=new u.nKC(""),Or=new u.nKC("");function Xu(i){return null!=i}function Yu(i){return(0,u.jNT)(i)?Dn(i):i}function lp(i){let l={};return i.forEach(r=>{l=null!=r?{...l,...r}:l}),0===Object.keys(l).length?null:l}function ea(i,l){return l.map(r=>r(i))}function cp(i){return i.map(l=>function jo(i){return!i.validate}(l)?l:r=>l.validate(r))}function Al(i){return null!=i?function Ju(i){if(!i)return null;const l=i.filter(Xu);return 0==l.length?null:function(r){return lp(ea(r,l))}}(cp(i)):null}function ao(i){return null!=i?function Ho(i){if(!i)return null;const l=i.filter(Xu);return 0==l.length?null:function(r){return function ip(...i){const l=Tl(i),{args:r,keys:s}=Bo(i),d=new vt.c(g=>{const{length:_}=r;if(!_)return void g.complete();const D=new Array(_);let w=_,T=_;for(let O=0;O<_;O++){let j=!1;un(r[O]).subscribe((0,dn._)(g,re=>{j||(j=!0,T--),D[O]=re},()=>w--,void 0,()=>{(!w||!j)&&(T||g.next(s?Wu(s,D):D),g.complete())}))}});return l?d.pipe(Ks(l)):d}(ea(r,l).map(Yu)).pipe((0,Cn.T)(lp))}}(cp(i)):null}function bt(i,l){return null===i?[l]:Array.isArray(i)?[...i,l]:[i,l]}function up(i){return i._rawValidators}function ed(i){return i._rawAsyncValidators}function ta(i){return i?Array.isArray(i)?i:[i]:[]}function Nl(i,l){return Array.isArray(i)?i.includes(l):i===l}function td(i,l){const r=ta(l);return ta(i).forEach(d=>{Nl(r,d)||r.push(d)}),r}function na(i,l){return ta(l).filter(r=>!Nl(i,r))}class dp{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(l){this._rawValidators=l||[],this._composedValidatorFn=Al(this._rawValidators)}_setAsyncValidators(l){this._rawAsyncValidators=l||[],this._composedAsyncValidatorFn=ao(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(l){this._onDestroyCallbacks.push(l)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(l=>l()),this._onDestroyCallbacks=[]}reset(l=void 0){this.control&&this.control.reset(l)}hasError(l,r){return!!this.control&&this.control.hasError(l,r)}getError(l,r){return this.control?this.control.getError(l,r):null}}class $t extends dp{name;get formDirective(){return null}get path(){return null}}class _r extends dp{_parent=null;name=null;valueAccessor=null}class ra{_cd;constructor(l){this._cd=l}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Uo=(()=>{class i extends ra{constructor(r){super(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(_r,2))};static \u0275dir=u.FsC({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(s,d){2&s&&u.AVh("ng-untouched",d.isUntouched)("ng-touched",d.isTouched)("ng-pristine",d.isPristine)("ng-dirty",d.isDirty)("ng-valid",d.isValid)("ng-invalid",d.isInvalid)("ng-pending",d.isPending)},standalone:!1,features:[u.Vt3]})}return i})();const Rl="VALID",oa="INVALID",co="PENDING",Yn="DISABLED";class ki{}class pp extends ki{value;source;constructor(l,r){super(),this.value=l,this.source=r}}class Jn extends ki{pristine;source;constructor(l,r){super(),this.pristine=l,this.source=r}}class $o extends ki{touched;source;constructor(l,r){super(),this.touched=l,this.source=r}}class ia extends ki{status;source;constructor(l,r){super(),this.status=l,this.source=r}}function Ll(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}class id{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(l,r){this._assignValidators(l),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(l){this._rawValidators=this._composedValidatorFn=l}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(l){this._rawAsyncValidators=this._composedAsyncValidatorFn=l}get parent(){return this._parent}get status(){return(0,u.O8t)(this.statusReactive)}set status(l){(0,u.O8t)(()=>this.statusReactive.set(l))}_status=(0,u.EWP)(()=>this.statusReactive());statusReactive=(0,u.vPA)(void 0);get valid(){return this.status===Rl}get invalid(){return this.status===oa}get pending(){return this.status==co}get disabled(){return this.status===Yn}get enabled(){return this.status!==Yn}errors;get pristine(){return(0,u.O8t)(this.pristineReactive)}set pristine(l){(0,u.O8t)(()=>this.pristineReactive.set(l))}_pristine=(0,u.EWP)(()=>this.pristineReactive());pristineReactive=(0,u.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,u.O8t)(this.touchedReactive)}set touched(l){(0,u.O8t)(()=>this.touchedReactive.set(l))}_touched=(0,u.EWP)(()=>this.touchedReactive());touchedReactive=(0,u.vPA)(!1);get untouched(){return!this.touched}_events=new We.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(l){this._assignValidators(l)}setAsyncValidators(l){this._assignAsyncValidators(l)}addValidators(l){this.setValidators(td(l,this._rawValidators))}addAsyncValidators(l){this.setAsyncValidators(td(l,this._rawAsyncValidators))}removeValidators(l){this.setValidators(na(l,this._rawValidators))}removeAsyncValidators(l){this.setAsyncValidators(na(l,this._rawAsyncValidators))}hasValidator(l){return Nl(this._rawValidators,l)}hasAsyncValidator(l){return Nl(this._rawAsyncValidators,l)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(l={}){const r=!1===this.touched;this.touched=!0;const s=l.sourceControl??this;this._parent&&!l.onlySelf&&this._parent.markAsTouched({...l,sourceControl:s}),r&&!1!==l.emitEvent&&this._events.next(new $o(!0,s))}markAllAsTouched(l={}){this.markAsTouched({onlySelf:!0,emitEvent:l.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(l))}markAsUntouched(l={}){const r=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const s=l.sourceControl??this;this._forEachChild(d=>{d.markAsUntouched({onlySelf:!0,emitEvent:l.emitEvent,sourceControl:s})}),this._parent&&!l.onlySelf&&this._parent._updateTouched(l,s),r&&!1!==l.emitEvent&&this._events.next(new $o(!1,s))}markAsDirty(l={}){const r=!0===this.pristine;this.pristine=!1;const s=l.sourceControl??this;this._parent&&!l.onlySelf&&this._parent.markAsDirty({...l,sourceControl:s}),r&&!1!==l.emitEvent&&this._events.next(new Jn(!1,s))}markAsPristine(l={}){const r=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const s=l.sourceControl??this;this._forEachChild(d=>{d.markAsPristine({onlySelf:!0,emitEvent:l.emitEvent})}),this._parent&&!l.onlySelf&&this._parent._updatePristine(l,s),r&&!1!==l.emitEvent&&this._events.next(new Jn(!0,s))}markAsPending(l={}){this.status=co;const r=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new ia(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.markAsPending({...l,sourceControl:r})}disable(l={}){const r=this._parentMarkedDirty(l.onlySelf);this.status=Yn,this.errors=null,this._forEachChild(d=>{d.disable({...l,onlySelf:!0})}),this._updateValue();const s=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new pp(this.value,s)),this._events.next(new ia(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...l,skipPristineCheck:r},this),this._onDisabledChange.forEach(d=>d(!0))}enable(l={}){const r=this._parentMarkedDirty(l.onlySelf);this.status=Rl,this._forEachChild(s=>{s.enable({...l,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent}),this._updateAncestors({...l,skipPristineCheck:r},this),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(l,r){this._parent&&!l.onlySelf&&(this._parent.updateValueAndValidity(l),l.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(l){this._parent=l}getRawValue(){return this.value}updateValueAndValidity(l={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const s=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Rl||this.status===co)&&this._runAsyncValidator(s,l.emitEvent)}const r=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new pp(this.value,r)),this._events.next(new ia(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.updateValueAndValidity({...l,sourceControl:r})}_updateTreeValidity(l={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(l)),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yn:Rl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(l,r){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator={emitEvent:!1!==r};const s=Yu(this.asyncValidator(this));this._asyncValidationSubscription=s.subscribe(d=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(d,{emitEvent:r,shouldHaveEmitted:l})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const l=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,l}return!1}setErrors(l,r={}){this.errors=l,this._updateControlsErrors(!1!==r.emitEvent,this,r.shouldHaveEmitted)}get(l){let r=l;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((s,d)=>s&&s._find(d),this)}getError(l,r){const s=r?this.get(r):this;return s&&s.errors?s.errors[l]:null}hasError(l,r){return!!this.getError(l,r)}get root(){let l=this;for(;l._parent;)l=l._parent;return l}_updateControlsErrors(l,r,s){this.status=this._calculateStatus(),l&&this.statusChanges.emit(this.status),(l||s)&&this._events.next(new ia(this.status,r)),this._parent&&this._parent._updateControlsErrors(l,r,s)}_initObservables(){this.valueChanges=new u.bkB,this.statusChanges=new u.bkB}_calculateStatus(){return this._allControlsDisabled()?Yn:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(oa)?oa:Rl}_anyControlsHaveStatus(l){return this._anyControls(r=>r.status===l)}_anyControlsDirty(){return this._anyControls(l=>l.dirty)}_anyControlsTouched(){return this._anyControls(l=>l.touched)}_updatePristine(l,r){const s=!this._anyControlsDirty(),d=this.pristine!==s;this.pristine=s,this._parent&&!l.onlySelf&&this._parent._updatePristine(l,r),d&&this._events.next(new Jn(this.pristine,r))}_updateTouched(l={},r){this.touched=this._anyControlsTouched(),this._events.next(new $o(this.touched,r)),this._parent&&!l.onlySelf&&this._parent._updateTouched(l,r)}_onDisabledChange=[];_registerOnCollectionChange(l){this._onCollectionChange=l}_setUpdateStrategy(l){Ll(l)&&null!=l.updateOn&&(this._updateOn=l.updateOn)}_parentMarkedDirty(l){return!l&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(l){return null}_assignValidators(l){this._rawValidators=Array.isArray(l)?l.slice():l,this._composedValidatorFn=function Pl(i){return Array.isArray(i)?Al(i):i||null}(this._rawValidators)}_assignAsyncValidators(l){this._rawAsyncValidators=Array.isArray(l)?l.slice():l,this._composedAsyncValidatorFn=function tt(i){return Array.isArray(i)?ao(i):i||null}(this._rawAsyncValidators)}}const uo=new u.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>la}),la="always";function ca(i,l,r=la){(function yp(i,l){const r=up(i);null!==l.validator?i.setValidators(bt(r,l.validator)):"function"==typeof r&&i.setValidators([r]);const s=ed(i);null!==l.asyncValidator?i.setAsyncValidators(bt(s,l.asyncValidator)):"function"==typeof s&&i.setAsyncValidators([s]);const d=()=>i.updateValueAndValidity();sd(l._rawValidators,d),sd(l._rawAsyncValidators,d)})(i,l),l.valueAccessor.writeValue(i.value),(i.disabled||"always"===r)&&l.valueAccessor.setDisabledState?.(i.disabled),function MC(i,l){l.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&Go(i,l)})}(i,l),function da(i,l){const r=(s,d)=>{l.valueAccessor.writeValue(s),d&&l.viewToModelUpdate(s)};i.registerOnChange(r),l._registerOnDestroy(()=>{i._unregisterOnChange(r)})}(i,l),function T_(i,l){l.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&Go(i,l),"submit"!==i.updateOn&&i.markAsTouched()})}(i,l),function IC(i,l){if(l.valueAccessor.setDisabledState){const r=s=>{l.valueAccessor.setDisabledState(s)};i.registerOnDisabledChange(r),l._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}(i,l)}function ua(i,l,r=!0){const s=()=>{};l.valueAccessor&&(l.valueAccessor.registerOnChange(s),l.valueAccessor.registerOnTouched(s)),function ad(i,l){let r=!1;if(null!==i){if(null!==l.validator){const d=up(i);if(Array.isArray(d)&&d.length>0){const g=d.filter(_=>_!==l.validator);g.length!==d.length&&(r=!0,i.setValidators(g))}}if(null!==l.asyncValidator){const d=ed(i);if(Array.isArray(d)&&d.length>0){const g=d.filter(_=>_!==l.asyncValidator);g.length!==d.length&&(r=!0,i.setAsyncValidators(g))}}}const s=()=>{};return sd(l._rawValidators,s),sd(l._rawAsyncValidators,s),r}(i,l),i&&(l._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function sd(i,l){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(l)})}function Go(i,l){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),l.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function zo(i,l){if(!i.hasOwnProperty("model"))return!1;const r=i.model;return!!r.isFirstChange()||!Object.is(l,r.currentValue)}function Oi(i,l){if(!l)return null;let r,s,d;return Array.isArray(l),l.forEach(g=>{g.constructor===Qs?r=g:function ha(i){return Object.getPrototypeOf(i.constructor)===kr}(g)?s=g:d=g}),d||s||r||null}function Hl(i,l){const r=i.indexOf(l);r>-1&&i.splice(r,1)}function bp(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}Promise.resolve();const dd=class extends id{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(l=null,r,s){super(function sa(i){return(Ll(i)?i.validators:i)||null}(r),function od(i,l){return(Ll(l)?l.asyncValidators:i)||null}(s,r)),this._applyFormState(l),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ll(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=bp(l)?l.value:l)}setValue(l,r={}){this.value=this._pendingValue=l,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(l,r={}){this.setValue(l,r)}reset(l=this.defaultValue,r={}){this._applyFormState(l),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(l){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(l){this._onChange.push(l)}_unregisterOnChange(l){Hl(this._onChange,l)}registerOnDisabledChange(l){this._onDisabledChange.push(l)}_unregisterOnDisabledChange(l){Hl(this._onDisabledChange,l)}_forEachChild(l){}_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(l){bp(l)?(this.value=this._pendingValue=l.value,l.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=l}},Gt=dd,Dp={provide:_r,useExisting:(0,u.Rfq)(()=>Wo)},Cp=Promise.resolve();let Wo=(()=>{class i extends _r{_changeDetectorRef;callSetDisabledState;control=new dd;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new u.bkB;constructor(r,s,d,g,_,D){super(),this._changeDetectorRef=_,this.callSetDisabledState=D,this._parent=r,this._setValidators(s),this._setAsyncValidators(d),this.valueAccessor=Oi(0,g)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const s=r.name.previousValue;this.formDirective.removeControl({name:s,path:this._getPath(s)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),zo(r,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(r){this.viewModel=r,this.update.emit(r)}_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(){ca(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(r){Cp.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const s=r.isDisabled.currentValue,d=0!==s&&(0,u.L39)(s);Cp.then(()=>{d&&!this.control.disabled?this.control.disable():!d&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function Pn(i,l){return[...l.path,i]}(r,this._parent):[r]}static \u0275fac=function(s){return new(s||i)(u.rXU($t,9),u.rXU(Pt,10),u.rXU(Or,10),u.rXU(Rt,10),u.rXU(u.gRc,8),u.rXU(uo,8))};static \u0275dir=u.FsC({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[u.Jv_([Dp]),u.Vt3,u.OA$]})}return i})();const $l=new u.nKC(""),Tp={provide:_r,useExisting:(0,u.Rfq)(()=>qo)};let qo=(()=>{class i extends _r{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(r){}model;update=new u.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(r,s,d,g,_){super(),this._ngModelWarningConfig=g,this.callSetDisabledState=_,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=Oi(0,d)}ngOnChanges(r){if(this._isControlChanged(r)){const s=r.form.previousValue;s&&ua(s,this,!1),ca(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}zo(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ua(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}static \u0275fac=function(s){return new(s||i)(u.rXU(Pt,10),u.rXU(Or,10),u.rXU(Rt,10),u.rXU($l,8),u.rXU(uo,8))};static \u0275dir=u.FsC({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[u.Jv_([Tp]),u.Vt3,u.OA$]})}return i})(),Pi=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})(),va=(()=>{class i{static withConfig(r){return{ngModule:i,providers:[{provide:uo,useValue:r.callSetDisabledState??la}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Pi]})}return i})(),Td=(()=>{class i{static withConfig(r){return{ngModule:i,providers:[{provide:$l,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:uo,useValue:r.callSetDisabledState??la}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Pi]})}return i})();var fo=x(412),Li=x(669);function Vi(...i){const l=qs(i),r=Tl(i),{args:s,keys:d}=Bo(i);if(0===s.length)return Dn([],l);const g=new vt.c(function xd(i,l,r=Li.D){return s=>{Sd(l,()=>{const{length:d}=i,g=new Array(d);let _=d,D=d;for(let w=0;w{const T=Dn(i[w],l);let O=!1;T.subscribe((0,dn._)(s,j=>{g[w]=j,O||(O=!0,D--),D||s.next(r(g.slice()))},()=>{--_||s.complete()}))},s)},s)}}(s,l,d?_=>Wu(d,_):Li.D));return r?g.pipe(Ks(r)):g}function Sd(i,l,r){i?Me(r,i,l):l()}function Bi(i,l,r=1/0){return(0,je.T)(l)?Bi((s,d)=>(0,Cn.T)((g,_)=>l(s,g,d,_))(un(i(s,d))),r):("number"==typeof l&&(r=l),(0,bn.N)((s,d)=>function Mt(i,l,r,s,d,g,_,D){const w=[];let T=0,O=0,j=!1;const re=()=>{j&&!w.length&&!T&&l.complete()},W=De=>T{g&&l.next(De),T++;let Le=!1;un(r(De,O++)).subscribe((0,dn._)(l,Ve=>{d?.(Ve),g?W(Ve):l.next(Ve)},()=>{Le=!0},void 0,()=>{if(Le)try{for(T--;w.length&&T_e(Ve)):_e(Ve)}re()}catch(Ve){l.error(Ve)}}))};return i.subscribe((0,dn._)(l,W,()=>{j=!0,re()})),()=>{D?.()}}(s,d,i,r)))}function Xo(i=1/0){return Bi(Li.D,i)}var ji=x(983);function ba(...i){const l=qs(i),r=function p_(i,l){return"number"==typeof Ws(i)?i.pop():l}(i,1/0),s=i;return s.length?1===s.length?un(s[0]):Xo(r)(Dn(s,l)):ji.w}function Vr(...i){return Dn(i,qs(i))}var Lp=x(343);function Vn(i){return(0,bn.N)((l,r)=>{un(i).subscribe((0,dn._)(r,()=>r.complete(),Lp.l)),!r.closed&&l.subscribe(r)})}function Hi(i,l=Li.D){return i=i??G_,(0,bn.N)((r,s)=>{let d,g=!0;r.subscribe((0,dn._)(s,_=>{const D=l(_);(g||!i(d,D))&&(g=!1,d=D,s.next(_))}))})}function G_(i,l){return i===l}var Ad=x(707);function z_(i={}){const{connector:l=()=>new We.B,resetOnError:r=!0,resetOnComplete:s=!0,resetOnRefCountZero:d=!0}=i;return g=>{let _,D,w,T=0,O=!1,j=!1;const re=()=>{D?.unsubscribe(),D=void 0},W=()=>{re(),_=w=void 0,O=j=!1},_e=()=>{const De=_;W(),De?.unsubscribe()};return(0,bn.N)((De,Le)=>{T++,!j&&!O&&re();const Ve=w=w??l();Le.add(()=>{T--,0===T&&!j&&!O&&(D=st(_e,d))}),Ve.subscribe(Le),!_&&T>0&&(_=new Ad.Ms({next:Ft=>Ve.next(Ft),error:Ft=>{j=!0,re(),D=st(W,r,Ft),Ve.error(Ft)},complete:()=>{O=!0,re(),D=st(W,s),Ve.complete()}}),un(De).subscribe(_))})(g)}}function st(i,l,...r){if(!0===l)return void i();if(!1===l)return;const s=new Ad.Ms({next:()=>{s.unsubscribe(),i()}});return un(l(...r)).subscribe(s)}const nt=(i,l)=>(i.push(l),i);function Ui(){return(0,bn.N)((i,l)=>{(function W_(i,l){return(0,bn.N)(function Vp(i,l,r,s,d){return(g,_)=>{let D=r,w=l,T=0;g.subscribe((0,dn._)(_,O=>{const j=T++;w=D?i(w,O,j):(D=!0,O),s&&_.next(w)},d&&(()=>{D&&_.next(w),_.complete()})))}}(i,l,arguments.length>=2,!1,!0))})(nt,[])(i).subscribe(l)})}var fn=x(359);class Yo extends fn.yU{constructor(l,r){super()}schedule(l,r=0){return this}}const ho={setInterval(i,l,...r){const{delegate:s}=ho;return s?.setInterval?s.setInterval(i,l,...r):setInterval(i,l,...r)},clearInterval(i){const{delegate:l}=ho;return(l?.clearInterval||clearInterval)(i)},delegate:void 0};var Ql=x(908);class Nd extends Yo{constructor(l,r){super(l,r),this.scheduler=l,this.work=r,this.pending=!1}schedule(l,r=0){var s;if(this.closed)return this;this.state=l;const d=this.id,g=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(g,d,r)),this.pending=!0,this.delay=r,this.id=null!==(s=this.id)&&void 0!==s?s:this.requestAsyncId(g,this.id,r),this}requestAsyncId(l,r,s=0){return ho.setInterval(l.flush.bind(l,this),s)}recycleAsyncId(l,r,s=0){if(null!=s&&this.delay===s&&!1===this.pending)return r;null!=r&&ho.clearInterval(r)}execute(l,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(l,r);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(l,r){let d,s=!1;try{this.work(l)}catch(g){s=!0,d=g||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),d}unsubscribe(){if(!this.closed){const{id:l,scheduler:r}=this,{actions:s}=r;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Ql.o)(s,this),null!=l&&(this.id=this.recycleAsyncId(r,l,null)),this.delay=null,super.unsubscribe()}}}const Fd={now:()=>(Fd.delegate||Date).now(),delegate:void 0};class po{constructor(l,r=po.now){this.schedulerActionCtor=l,this.now=r}schedule(l,r=0,s){return new this.schedulerActionCtor(this,l).schedule(s,r)}}po.now=Fd.now;class Da extends po{constructor(l,r=po.now){super(l,r),this.actions=[],this._active=!1}flush(l){const{actions:r}=this;if(this._active)return void r.push(l);let s;this._active=!0;do{if(s=l.execute(l.state,l.delay))break}while(l=r.shift());if(this._active=!1,s){for(;l=r.shift();)l.unsubscribe();throw s}}}const er=new Da(Nd),q_=er;function $i(i,l=er){return(0,bn.N)((r,s)=>{let d=null,g=null,_=null;const D=()=>{if(d){d.unsubscribe(),d=null;const T=g;g=null,s.next(T)}};function w(){const T=_+i,O=l.now();if(O{g=T,_=l.now(),d||(d=l.schedule(w,i),s.add(d))},()=>{D(),s.complete()},void 0,()=>{g=d=null}))})}var Bn=x(964);function Ca(i,l,r){const s=(0,je.T)(i)||l||r?{next:i,error:l,complete:r}:i;return s?(0,bn.N)((d,g)=>{var _;null===(_=s.subscribe)||void 0===_||_.call(s);let D=!0;d.subscribe((0,dn._)(g,w=>{var T;null===(T=s.next)||void 0===T||T.call(s,w),g.next(w)},()=>{var w;D=!1,null===(w=s.complete)||void 0===w||w.call(s),g.complete()},w=>{var T;D=!1,null===(T=s.error)||void 0===T||T.call(s,w),g.error(w)},()=>{var w,T;D&&(null===(w=s.unsubscribe)||void 0===w||w.call(s)),null===(T=s.finalize)||void 0===T||T.call(s)}))}):Li.D}var Ea=x(667);function kd(i){if("string"!=typeof i)throw new TypeError("Expected a string");return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const wa=["*"],Lt=["main"],K_=["input"],at=["choiceMenu"],Z_=(i,l)=>({"ngx-select_multiple form-control":i,"open show":l}),Q_=i=>({"ngx-select__disabled":i}),Od=i=>({"ngx-select__allow-clear":i}),Bp=(i,l)=>({$implicit:i,index:0,text:l}),jp=(i,l,r)=>({$implicit:i,index:l,text:r}),X_=i=>[i],OC=(i,l)=>({"ngx-select__item_active active":i,"ngx-select__item_disabled disabled":l}),Hp=(i,l,r,s)=>({$implicit:i,text:l,index:r,subIndex:s}),Y_=i=>({$implicit:i});function Xl(i,l){if(1&i&&(u.j41(0,"span",20),u.nrm(1,"span",21),u.k0s()),2&i){const r=u.XpG(2);u.R7$(),u.Y8G("innerHtml",r.placeholder,u.npT)}}function Rd(i,l){if(1&i&&(u.j41(0,"span",22),u.eu8(1,23),u.k0s()),2&i){const r=u.XpG(2),s=u.sdS(8);u.Y8G("ngClass",u.eq3(3,Od,r.allowClear)),u.R7$(),u.Y8G("ngTemplateOutlet",r.templateSelectedOption||s)("ngTemplateOutletContext",u.l_i(5,Bp,r.optionsSelected[0],r.sanitize(r.optionsSelected[0].text)))}}function Pd(i,l){if(1&i){const r=u.RV6();u.j41(0,"a",24),u.bIt("click",function(d){u.eBV(r);const g=u.XpG(2);return u.Njj(g.optionRemove(g.optionsSelected[0],d))}),u.nrm(1,"i",25),u.k0s()}if(2&i){const r=u.XpG(2);u.Y8G("ngClass",r.setBtnSize())}}function Gi(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",12)(1,"div",13),u.bIt("click",function(){u.eBV(r);const d=u.XpG();return u.Njj(d.optionsOpen())}),u.DNE(2,Xl,2,1,"span",14)(3,Rd,2,8,"span",15),u.j41(4,"span",16),u.DNE(5,Pd,2,1,"a",17),u.nrm(6,"i",18)(7,"i",19),u.k0s()()()}if(2&i){const r=u.XpG();u.R7$(),u.Y8G("ngClass",r.setFormControlSize(r.setBtnSize())),u.R7$(),u.Y8G("ngIf",!r.optionsSelected.length),u.R7$(),u.Y8G("ngIf",r.optionsSelected.length),u.R7$(2),u.Y8G("ngIf",r.canClearNotMultiple())}}function Yl(i,l){if(1&i){const r=u.RV6();u.j41(0,"span")(1,"span",28),u.bIt("click",function(d){return u.eBV(r),u.Njj(d.stopPropagation())}),u.eu8(2,23),u.j41(3,"a",29),u.bIt("click",function(d){const g=u.eBV(r).$implicit,_=u.XpG(2);return u.Njj(_.optionRemove(g,d))}),u.nrm(4,"i",25),u.k0s()()()}if(2&i){const r=l.$implicit,s=l.index,d=u.XpG(2),g=u.sdS(8);u.R7$(),u.Y8G("ngClass",d.setBtnSize()),u.R7$(),u.Y8G("ngTemplateOutlet",d.templateSelectedOption||g)("ngTemplateOutletContext",u.sMw(4,jp,r,s,d.sanitize(r.text))),u.R7$(),u.Y8G("ngClass",d.setBtnSize())}}function Jl(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",26),u.bIt("click",function(){u.eBV(r);const d=u.XpG();return u.Njj(d.inputClick(d.inputElRef&&d.inputElRef.value))}),u.DNE(1,Yl,5,8,"span",27),u.k0s()}if(2&i){const r=u.XpG();u.R7$(),u.Y8G("ngForOf",r.optionsSelected)("ngForTrackBy",r.trackByOption)}}function zi(i,l){if(1&i){const r=u.RV6();u.j41(0,"input",30,3),u.bIt("keyup",function(d){u.eBV(r);const g=u.sdS(1),_=u.XpG();return u.Njj(_.inputKeyUp(g.value,d))})("click",function(){u.eBV(r);const d=u.sdS(1),g=u.XpG();return u.Njj(g.inputClick(d.value))}),u.k0s()}if(2&i){const r=u.XpG();u.Y8G("ngClass",r.setFormControlSize())("tabindex",!1===r.multiple?-1:0)("disabled",r.disabled)("placeholder",r.optionsSelected.length?"":r.placeholder)("autocomplete",r.autocomplete)}}function Ld(i,l){1&i&&u.nrm(0,"div",39)}function Vd(i,l){if(1&i&&(u.j41(0,"div",40),u.EFF(1),u.k0s()),2&i){const r=u.XpG().$implicit,s=u.XpG(2);u.R7$(),u.JRh(s.asGroup(r).label)}}function Up(i,l){if(1&i){const r=u.RV6();u.j41(0,"a",41,5),u.bIt("mouseenter",function(){const d=u.eBV(r).$implicit,g=u.XpG(3);return u.Njj(g.onMouseEnter({activeOption:g.asOpt(d),filteredOptionList:g.optionsFiltered,index:g.optionsFiltered.indexOf(d)}))})("click",function(d){const g=u.eBV(r).$implicit,_=u.XpG(3);return u.Njj(_.optionSelect(_.asOpt(g),d))}),u.eu8(2,23),u.k0s()}if(2&i){const r=l.$implicit,s=l.index,d=u.XpG().index,g=u.XpG(2),_=u.sdS(8);u.Y8G("ngClass",u.l_i(3,OC,g.asOpt(r).active,g.asOpt(r).disabled)),u.R7$(2),u.Y8G("ngTemplateOutlet",g.templateOption||_)("ngTemplateOutletContext",u.ziG(6,Hp,r,g.asOpt(r).highlightedText,d,s))}}function $p(i,l){if(1&i&&(u.j41(0,"li",35),u.DNE(1,Ld,1,0,"div",36)(2,Vd,2,1,"div",37)(3,Up,3,11,"a",38),u.k0s()),2&i){const r=l.$implicit,s=l.index,d=u.XpG(2);u.R7$(),u.Y8G("ngIf","optgroup"===r.type&&s>0),u.R7$(),u.Y8G("ngIf","optgroup"===r.type),u.R7$(),u.Y8G("ngForOf",d.asGroup(r).optionsFiltered||u.eq3(4,X_,r))("ngForTrackBy",d.trackByOption)}}function Bd(i,l){if(1&i&&(u.j41(0,"li",42),u.eu8(1,23),u.k0s()),2&i){const r=u.XpG(2),s=u.sdS(10);u.R7$(),u.Y8G("ngTemplateOutlet",r.templateOptionNotFound||s)("ngTemplateOutletContext",u.eq3(2,Y_,r.inputText))}}function J_(i,l){if(1&i){const r=u.RV6();u.j41(0,"ngx-select-choices",31),u.bIt("focusin",function(d){u.eBV(r);const g=u.XpG();return u.Njj(g.choiceMenuFocus(d))}),u.j41(1,"ul",32,4),u.DNE(3,$p,4,6,"li",33)(4,Bd,2,4,"li",34),u.k0s()()}if(2&i){const r=u.XpG();u.Y8G("appendTo",r.appendTo)("show",r.showChoiceMenu())("selectionChanges",r.selectionChanges),u.R7$(),u.AVh("show",r.showChoiceMenu()),u.Y8G("ngClass",r.dropDownMenuOtherClasses),u.R7$(2),u.Y8G("ngForOf",r.optionsFiltered)("ngForTrackBy",r.trackByOption),u.R7$(),u.Y8G("ngIf",!r.optionsFiltered.length)}}function ey(i,l){1&i&&u.nrm(0,"span",21),2&i&&u.Y8G("innerHtml",l.text,u.npT)}function Wi(i,l){if(1&i&&u.EFF(0),2&i){const r=u.XpG();u.SpI(" ",r.noResultsFound," ")}}class yr{value;text;disabled;data;_parent;type="option";highlightedText;active;constructor(l,r,s,d,g=null){this.value=l,this.text=r,this.disabled=s,this.data=d,this._parent=g}get parent(){return this._parent}cacheHighlightText;cacheRenderedText=null;renderText(l,r){return(this.cacheHighlightText!==r||null===this.cacheRenderedText)&&(this.cacheHighlightText=r,this.cacheRenderedText=l.bypassSecurityTrustHtml(this.cacheHighlightText?(this.text+"").replace(new RegExp(kd(this.cacheHighlightText),"gi"),"$&"):this.text)),this.cacheRenderedText}}class Ia{label;options;type="optgroup";optionsFiltered;constructor(l,r=[]){this.label=l,this.options=r,this.filter(()=>!0)}filter(l){this.optionsFiltered=this.options.filter(r=>l(r))}}let jd=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option",""]],standalone:!1})}return i})(),Gp=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option-selected",""]],standalone:!1})}return i})(),Hd=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option-not-found",""]],standalone:!1})}return i})(),RC=(()=>{class i{renderer;ngZone;appendTo;show;selectionChanges;choiceMenuEl;selectEl;destroy$=new We.B;disposeResizeListener;get position(){return this.appendTo?"absolute":""}constructor(r,s,d){this.renderer=r,this.ngZone=s,this.choiceMenuEl=d.nativeElement}ngOnInit(){this.selectionChanges.pipe(Vn(this.destroy$)).subscribe(()=>this.delayedPositionUpdate()),this.selectEl=this.choiceMenuEl.parentElement}ngOnChanges(r){r.show?.currentValue&&this.delayedPositionUpdate()}ngOnDestroy(){this.destroy$.next(),this.appendTo&&(this.renderer.removeChild(this.choiceMenuEl.parentNode,this.choiceMenuEl),this.disposeResizeListener&&this.disposeResizeListener())}ngAfterContentInit(){this.appendTo&&(this.appendChoiceMenu(),this.handleDocumentResize(),this.delayedPositionUpdate())}appendChoiceMenu(){const r=this.getAppendToElement();if(!r)throw new Error(`appendTo selector ${this.appendTo} did not found any element`);this.renderer.appendChild(r,this.choiceMenuEl)}getAppendToElement(){return document.querySelector(this.appendTo)}handleDocumentResize(){this.disposeResizeListener=this.renderer.listen("window","resize",()=>{this.updatePosition()})}delayedPositionUpdate(){this.appendTo&&this.ngZone.runOutsideAngular(()=>{window.requestAnimationFrame(()=>{this.updatePosition()})})}updatePosition(){if(this.show){const r=this.getViewportOffset(this.selectEl),s=this.getParentOffset(this.choiceMenuEl),d=this.getAppendToElement(),_=r.left+d.scrollLeft-s.left;this.choiceMenuEl.style.top=`${r.top+d.scrollTop-s.top+r.height}px`,this.choiceMenuEl.style.bottom="auto",this.choiceMenuEl.style.left=`${_}px`,this.choiceMenuEl.style.width=`${r.width}px`,this.choiceMenuEl.style.minWidth=`${r.width}px`}}getStyles(r){return window.getComputedStyle(r)}getStyleProp(r,s){return this.getStyles(r)[s]}isStatic(r){return"static"===(this.getStyleProp(r,"position")||"static")}getOffsetParent(r){let s=r.offsetParent;for(;s&&s!==document.documentElement&&this.isStatic(s);)s=s.offsetParent;return s||document.documentElement}getViewportOffset(r){const s=r.getBoundingClientRect(),d=window.scrollY-document.documentElement.clientTop,g=window.scrollX-document.documentElement.clientLeft;return{height:s.height||r.offsetHeight,width:s.width||r.offsetWidth,top:s.top+d,bottom:s.bottom+d,left:s.left+g,right:s.right+g}}getParentOffset(r){let s={width:0,height:0,top:0,left:0,right:0,bottom:0};if("fixed"===this.getStyleProp(r,"position"))return s;const d=this.getOffsetParent(r);return d!==document.documentElement&&(s=this.getViewportOffset(d)),s.top+=d.clientTop,s.left+=d.clientLeft,s}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.SKi),u.rXU(u.aKT))};static \u0275cmp=u.VBU({type:i,selectors:[["ngx-select-choices"]],hostVars:2,hostBindings:function(s,d){2&s&&u.xc7("position",d.position)},inputs:{appendTo:"appendTo",show:"show",selectionChanges:"selectionChanges"},standalone:!1,features:[u.OA$],ngContentSelectors:wa,decls:1,vars:0,template:function(s,d){1&s&&(u.NAR(),u.SdG(0))},encapsulation:2})}return i})();const Ud=new u.nKC("NGX_SELECT_OPTIONS");var Yt=function(i){return i[i.first=0]="first",i[i.previous=1]="previous",i[i.next=2]="next",i[i.last=3]="last",i[i.firstSelected=4]="firstSelected",i[i.firstIfOptionActiveInvisible=5]="firstIfOptionActiveInvisible",i}(Yt||{});function go(i,l){return l in i}let zp,En=(()=>{class i{sanitizer;cd;items;optionValueField="id";optionTextField="text";optGroupLabelField="label";optGroupOptionsField="options";multiple=!1;allowClear=!1;placeholder="";noAutoComplete=!1;disabled=!1;defaultValue=[];autoSelectSingleOption=!1;autoClearSearch=!1;noResultsFound="No results found";keepSelectedItems=!1;size="default";searchCallback;autoActiveOnMouseEnter=!0;showOptionNotFoundForEmptyItems=!1;isFocused=!1;keepSelectMenuOpened=!1;autocomplete="off";dropDownMenuOtherClasses="";noSanitize=!1;appendTo;keyCodeToRemoveSelected="Delete";keyCodeToOptionsOpen=["Enter","NumpadEnter"];keyCodeToOptionsClose="Escape";keyCodeToOptionsSelect=["Enter","NumpadEnter"];keyCodeToNavigateFirst="ArrowLeft";keyCodeToNavigatePrevious="ArrowUp";keyCodeToNavigateNext="ArrowDown";keyCodeToNavigateLast="ArrowRight";typed=new u.bkB;focus=new u.bkB;blur=new u.bkB;open=new u.bkB;close=new u.bkB;select=new u.bkB;remove=new u.bkB;navigated=new u.bkB;selectionChanges=new u.bkB;mainElRef;inputElRef;choiceMenuElRef;templateOption;templateSelectedOption;templateOptionNotFound;optionsOpened=!1;optionsFiltered;optionActive;itemsDiffer;defaultValueDiffer;actualValue=[];subjOptions=new fo.t([]);subjSearchText=new fo.t("");subjOptionsSelected=new fo.t([]);subjExternalValue=new fo.t([]);subjDefaultValue=new fo.t([]);subjRegisterOnChange=new We.B;cacheOptionsFilteredFlat;cacheElementOffsetTop;_focusToInput=!1;get inputText(){return this.inputElRef&&this.inputElRef.nativeElement?this.inputElRef.nativeElement.value:""}constructor(r,s,d,g){let _;this.sanitizer=s,this.cd=d,Object.assign(this,g),this.itemsDiffer=r.find([]).create(null),this.defaultValueDiffer=r.find([]).create(null),this.typed.subscribe(w=>this.subjSearchText.next(w)),this.subjOptionsSelected.subscribe(w=>this.selectionChanges.emit(w));const D=Vi([ba(this.subjExternalValue.pipe((0,Cn.T)(w=>_=null===w?[]:[].concat(w))),this.subjOptionsSelected.pipe((0,Cn.T)(w=>w.map(T=>T.value)))),this.subjDefaultValue]).pipe((0,Cn.T)(([w,T])=>{const O=Ea(w,T)?[]:w;return O.length?O:T}),Hi((w,T)=>Ea(w,T)),z_());Vi([D,this.subjRegisterOnChange]).pipe((0,Cn.T)(([w])=>w)).subscribe(w=>{this.actualValue=w,Ea(w,_)||(_=w,this.onChange(this.multiple?w:w.length?w[0]:null))}),Vi([this.subjOptions.pipe(Bi(w=>Dn(w).pipe(Bi(T=>T instanceof yr?Vr(T):T instanceof Ia?Dn(T.options):ji.w),Ui()))),D]).pipe($i(0)).subscribe(([w,T])=>{const O=[];if(T.forEach(j=>{const re=w.find(W=>W.value===j);re&&O.push(re)}),this.keepSelectedItems){const j=O.map(W=>W.value),re=this.subjOptionsSelected.value.filter(W=>-1===j.indexOf(W.value));O.push(...re)}Ea(O,this.subjOptionsSelected.value)||(this.subjOptionsSelected.next(O),this.cd.markForCheck())}),Vi([this.subjOptions,this.subjOptionsSelected,this.subjSearchText]).pipe((0,Cn.T)(([w,T,O])=>(this.optionsFiltered=this.filterOptions(O,w,T).map(j=>(j instanceof yr?j.highlightedText=this.highlightOption(j):j instanceof Ia&&j.options.map(re=>(re.highlightedText=this.highlightOption(re),re)),j)),this.cacheOptionsFilteredFlat=null,this.navigateOption(Yt.firstIfOptionActiveInvisible),this.cd.markForCheck(),T)),Bi(w=>this.optionsFilteredFlat().pipe((0,Bn.p)(T=>this.autoSelectSingleOption&&1===T.length&&!w.length)))).subscribe(w=>{this.subjOptionsSelected.next(w),this.cd.markForCheck()})}asGroup=r=>r;asOpt=r=>r;setFormControlSize(r={},s=!0){return Object.assign(s?{"form-control-sm input-sm":"small"===this.size,"form-control-lg input-lg":"large"===this.size}:{},r)}setBtnSize(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}}get optionsSelected(){return this.subjOptionsSelected.value}mainClicked(r){r.clickedSelectComponent=this,this.isFocused||(this.isFocused=!0,this.focus.emit())}choiceMenuFocus(r){this.appendTo&&(r.clickedSelectComponent=this)}documentClick(r){r.clickedSelectComponent!==this&&(this.optionsOpened&&(this.optionsClose(),this.cd.detectChanges()),this.isFocused&&(this.isFocused=!1,this.blur.emit()))}optionsFilteredFlat(){return this.cacheOptionsFilteredFlat?Vr(this.cacheOptionsFilteredFlat):Dn(this.optionsFiltered).pipe(Bi(r=>r instanceof yr?Vr(r):r instanceof Ia?Dn(r.optionsFiltered):ji.w),(0,Bn.p)(r=>!r.disabled),Ui(),Ca(r=>this.cacheOptionsFilteredFlat=r))}navigateOption(r){this.optionsFilteredFlat().pipe((0,Cn.T)(s=>{const d={index:-1,activeOption:null,filteredOptionList:s};let g;switch(r){case Yt.first:d.index=0;break;case Yt.previous:g=s.indexOf(this.optionActive)-1,d.index=g>=0?g:s.length-1;break;case Yt.next:g=s.indexOf(this.optionActive)+1,d.index=gD.value===this.optionActive.value))),d.index=_>0?_:0}return d.activeOption=s[d.index],d})).subscribe(s=>this.optionActivate(s))}ngDoCheck(){this.itemsDiffer.diff(this.items)&&this.subjOptions.next(this.buildOptions(this.items));const r=this.defaultValue?[].concat(this.defaultValue):[];this.defaultValueDiffer.diff(r)&&this.subjDefaultValue.next(r)}ngAfterContentChecked(){if(this._focusToInput&&this.checkInputVisibility()&&this.inputElRef&&this.inputElRef.nativeElement!==document.activeElement&&(this._focusToInput=!1,this.inputElRef.nativeElement.focus()),this.choiceMenuElRef){const s=this.choiceMenuElRef.nativeElement.querySelector("a.ngx-select__item_active.active");s&&s.offsetHeight>0&&this.ensureVisibleElement(s)}}ngOnDestroy(){this.cd.detach()}canClearNotMultiple(){return this.allowClear&&!!this.subjOptionsSelected.value.length&&(!this.subjDefaultValue.value.length||this.subjDefaultValue.value[0]!==this.actualValue[0])}focusToInput(){this._focusToInput=!0}inputKeyDown(r){const s=[].concat(this.keyCodeToOptionsSelect,this.keyCodeToNavigateFirst,this.keyCodeToNavigatePrevious,this.keyCodeToNavigateNext,this.keyCodeToNavigateLast),d=[].concat(this.keyCodeToOptionsOpen,this.keyCodeToRemoveSelected);if(this.optionsOpened&&-1!==s.indexOf(r.code))switch(r.preventDefault(),r.stopPropagation(),r.code){case[].concat(this.keyCodeToOptionsSelect).indexOf(r.code)+1&&r.code:this.optionSelect(this.optionActive),this.navigateOption(Yt.next);break;case this.keyCodeToNavigateFirst:this.navigateOption(Yt.first);break;case this.keyCodeToNavigatePrevious:this.navigateOption(Yt.previous);break;case this.keyCodeToNavigateLast:this.navigateOption(Yt.last);break;case this.keyCodeToNavigateNext:this.navigateOption(Yt.next)}else if(!this.optionsOpened&&-1!==d.indexOf(r.code))switch(r.preventDefault(),r.stopPropagation(),r.code){case[].concat(this.keyCodeToOptionsOpen).indexOf(r.code)+1&&r.code:this.optionsOpen();break;case this.keyCodeToRemoveSelected:(this.multiple||this.canClearNotMultiple())&&this.optionRemove(this.subjOptionsSelected.value[this.subjOptionsSelected.value.length-1],r)}}trackByOption(r,s){return s instanceof yr?s.value:s instanceof Ia?s.label:s}checkInputVisibility(){return!0===this.multiple||this.optionsOpened&&!this.noAutoComplete}inputKeyUp(r="",s){s.code===this.keyCodeToOptionsClose?this.optionsClose():this.optionsOpened&&-1===["ArrowDown","ArrowUp","ArrowLeft","ArrowDown"].indexOf(s.code)?this.typed.emit(r):!this.optionsOpened&&r&&this.optionsOpen(r)}inputClick(r=""){this.optionsOpened||this.optionsOpen(r)}sanitize(r){return this.noSanitize?r||null:r?this.sanitizer.bypassSecurityTrustHtml(r):null}highlightOption(r){return r.renderText(this.sanitizer,this.inputElRef?this.inputElRef.nativeElement.value:"")}optionSelect(r,s=null){s&&(s.preventDefault(),s.stopPropagation()),r&&!r.disabled&&(this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).concat([r])),this.select.emit(r.value),this.keepSelectMenuOpened||this.optionsClose(),this.onTouched())}optionRemove(r,s){!this.disabled&&r&&(s.stopPropagation(),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).filter(d=>d!==r)),this.remove.emit(r.value))}optionActivate(r){this.optionActive!==r.activeOption&&(!r.activeOption||!r.activeOption.disabled)&&(this.optionActive&&(this.optionActive.active=!1),this.optionActive=r.activeOption,this.optionActive&&(this.optionActive.active=!0),this.navigated.emit(r),this.cd.detectChanges())}onMouseEnter(r){this.autoActiveOnMouseEnter&&this.optionActivate(r)}filterOptions(r,s,d){const g=new RegExp(kd(r),"i"),_=D=>this.searchCallback?this.searchCallback(r,D):(!r||g.test(D.text))&&(!this.multiple||-1===d.indexOf(D));return s.filter(D=>{if(D instanceof yr)return _(D);if(D instanceof Ia){const w=D;return w.filter(T=>_(T)),w.optionsFiltered.length}})}ensureVisibleElement(r){if(this.choiceMenuElRef&&this.cacheElementOffsetTop!==r.offsetTop){this.cacheElementOffsetTop=r.offsetTop;const s=this.choiceMenuElRef.nativeElement;this.cacheElementOffsetTops.scrollTop+s.clientHeight&&(s.scrollTop=this.cacheElementOffsetTop+r.offsetHeight-s.clientHeight)}}showChoiceMenu(){return this.optionsOpened&&(!!this.subjOptions.value.length||this.showOptionNotFoundForEmptyItems)}optionsOpen(r=""){this.disabled||(this.optionsOpened=!0,this.subjSearchText.next(r),this.navigateOption(!this.multiple&&this.subjOptionsSelected.value.length?Yt.firstSelected:Yt.first),this.focusToInput(),this.open.emit(),this.cd.markForCheck())}optionsClose(){this.optionsOpened=!1,this.close.emit(),this.autoClearSearch&&this.multiple&&this.inputElRef&&(this.inputElRef.nativeElement.value=null)}buildOptions(r){const s=[];return Array.isArray(r)&&r.forEach(d=>{if("object"==typeof d&&null!==d&&go(d,this.optGroupLabelField)&&go(d,this.optGroupOptionsField)&&Array.isArray(d[this.optGroupOptionsField])){const _=new Ia(d[this.optGroupLabelField]);d[this.optGroupOptionsField].forEach(D=>{const w=this.buildOption(D,_);w&&_.options.push(w)}),s.push(_)}else{const _=this.buildOption(d,null);_&&s.push(_)}}),s}buildOption(r,s){let d,g,_;if("string"==typeof r||"number"==typeof r)d=g=r,_=!1;else{if("object"!=typeof r||null===r||!go(r,this.optionValueField)&&!go(r,this.optionTextField))return null;d=go(r,this.optionValueField)?r[this.optionValueField]:r[this.optionTextField],g=go(r,this.optionTextField)?r[this.optionTextField]:r[this.optionValueField],_=!!go(r,"disabled")&&r.disabled}return new yr(d,g,_,r,s)}onChange=r=>r;onTouched=()=>null;writeValue(r){this.subjExternalValue.next(r)}registerOnChange(r){this.onChange=r,this.subjRegisterOnChange.next()}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r,this.cd.markForCheck()}static \u0275fac=function(s){return new(s||i)(u.rXU(u._q3),u.rXU(_l),u.rXU(u.gRc),u.rXU(Ud,8))};static \u0275cmp=u.VBU({type:i,selectors:[["ngx-select"]],contentQueries:function(s,d,g){if(1&s&&(u.wni(g,jd,7,u.C4Q),u.wni(g,Gp,7,u.C4Q),u.wni(g,Hd,7,u.C4Q)),2&s){let _;u.mGM(_=u.lsd())&&(d.templateOption=_.first),u.mGM(_=u.lsd())&&(d.templateSelectedOption=_.first),u.mGM(_=u.lsd())&&(d.templateOptionNotFound=_.first)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Lt,7),u.GBs(K_,5),u.GBs(at,5)),2&s){let g;u.mGM(g=u.lsd())&&(d.mainElRef=g.first),u.mGM(g=u.lsd())&&(d.inputElRef=g.first),u.mGM(g=u.lsd())&&(d.choiceMenuElRef=g.first)}},hostBindings:function(s,d){1&s&&u.bIt("focusin",function(_){return d.documentClick(_)},!1,u.EBC)("click",function(_){return d.documentClick(_)},!1,u.EBC)},inputs:{items:"items",optionValueField:"optionValueField",optionTextField:"optionTextField",optGroupLabelField:"optGroupLabelField",optGroupOptionsField:"optGroupOptionsField",multiple:"multiple",allowClear:"allowClear",placeholder:"placeholder",noAutoComplete:"noAutoComplete",disabled:"disabled",defaultValue:"defaultValue",autoSelectSingleOption:"autoSelectSingleOption",autoClearSearch:"autoClearSearch",noResultsFound:"noResultsFound",keepSelectedItems:"keepSelectedItems",size:"size",searchCallback:"searchCallback",autoActiveOnMouseEnter:"autoActiveOnMouseEnter",showOptionNotFoundForEmptyItems:"showOptionNotFoundForEmptyItems",isFocused:"isFocused",keepSelectMenuOpened:"keepSelectMenuOpened",autocomplete:"autocomplete",dropDownMenuOtherClasses:"dropDownMenuOtherClasses",noSanitize:"noSanitize",appendTo:"appendTo"},outputs:{typed:"typed",focus:"focus",blur:"blur",open:"open",close:"close",select:"select",remove:"remove",navigated:"navigated",selectionChanges:"selectionChanges"},standalone:!1,features:[u.Jv_([{provide:Rt,useExisting:(0,u.Rfq)(()=>i),multi:!0}])],decls:11,vars:12,consts:[["main",""],["defaultTemplateOption",""],["defaultTemplateOptionNotFound",""],["input",""],["choiceMenu",""],["choiceItem",""],[1,"ngx-select","dropdown",3,"click","focusin","focus","keydown","tabindex","ngClass"],[3,"ngClass"],["class","ngx-select__selected",4,"ngIf"],["class","ngx-select__selected",3,"click",4,"ngIf"],["type","text","class","ngx-select__search form-control","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",3,"ngClass","tabindex","disabled","placeholder","autocomplete","keyup","click",4,"ngIf"],[3,"appendTo","show","selectionChanges","focusin",4,"ngIf"],[1,"ngx-select__selected"],[1,"ngx-select__toggle","btn","form-control",3,"click","ngClass"],["class","ngx-select__placeholder text-muted",4,"ngIf"],["class","ngx-select__selected-single pull-left float-left",3,"ngClass",4,"ngIf"],[1,"ngx-select__toggle-buttons"],["class","ngx-select__clear btn btn-sm btn-link",3,"ngClass","click",4,"ngIf"],[1,"dropdown-toggle"],[1,"ngx-select__toggle-caret","caret"],[1,"ngx-select__placeholder","text-muted"],[3,"innerHtml"],[1,"ngx-select__selected-single","pull-left","float-left",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-select__clear","btn","btn-sm","btn-link",3,"click","ngClass"],[1,"ngx-select__clear-icon"],[1,"ngx-select__selected",3,"click"],[4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",1,"ngx-select__selected-plural","btn","btn-default","btn-secondary","btn-sm","btn-xs",3,"click","ngClass"],[1,"ngx-select__clear","btn","btn-sm","btn-link","pull-right","float-right",3,"click","ngClass"],["type","text","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",1,"ngx-select__search","form-control",3,"keyup","click","ngClass","tabindex","disabled","placeholder","autocomplete"],[3,"focusin","appendTo","show","selectionChanges"],["role","menu",1,"ngx-select__choices","dropdown-menu",3,"ngClass"],["class","ngx-select__item-group","role","menuitem",4,"ngFor","ngForOf","ngForTrackBy"],["class","ngx-select__item ngx-select__item_no-found dropdown-header",4,"ngIf"],["role","menuitem",1,"ngx-select__item-group"],["class","divider dropdown-divider",4,"ngIf"],["class","dropdown-header",4,"ngIf"],["href","#","class","ngx-select__item dropdown-item",3,"ngClass","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"divider","dropdown-divider"],[1,"dropdown-header"],["href","#",1,"ngx-select__item","dropdown-item",3,"mouseenter","click","ngClass"],[1,"ngx-select__item","ngx-select__item_no-found","dropdown-header"]],template:function(s,d){if(1&s){const g=u.RV6();u.j41(0,"div",6,0),u.bIt("click",function(D){return u.eBV(g),u.Njj(d.mainClicked(D))})("focusin",function(D){return u.eBV(g),u.Njj(d.mainClicked(D))})("focus",function(){return u.eBV(g),u.Njj(d.focusToInput())})("keydown",function(D){return u.eBV(g),u.Njj(d.inputKeyDown(D))}),u.nrm(2,"div",7),u.DNE(3,Gi,8,4,"div",8)(4,Jl,2,2,"div",9)(5,zi,2,5,"input",10)(6,J_,5,9,"ngx-select-choices",11)(7,ey,1,1,"ng-template",null,1,u.C5r)(9,Wi,1,1,"ng-template",null,2,u.C5r),u.k0s()}2&s&&(u.Y8G("tabindex",d.disabled?-1:0)("ngClass",d.setFormControlSize(u.l_i(7,Z_,!0===d.multiple,d.optionsOpened&&d.optionsFiltered.length),!0===d.multiple)),u.R7$(2),u.Y8G("ngClass",u.eq3(10,Q_,d.disabled)),u.R7$(),u.Y8G("ngIf",!1===d.multiple&&(!d.optionsOpened||d.noAutoComplete)),u.R7$(),u.Y8G("ngIf",!0===d.multiple),u.R7$(),u.Y8G("ngIf",d.checkInputVisibility()),u.R7$(),u.Y8G("ngIf",d.isFocused))},dependencies:[du,hu,pu,Ir,RC],styles:['.ngx-select_multiple[_ngcontent-%COMP%]{height:auto;padding:3px 3px 0}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__search[_ngcontent-%COMP%]{background-color:transparent!important;border:none;outline:none;box-shadow:none;height:1.6666em;padding:0;margin-bottom:3px}.ngx-select__disabled[_ngcontent-%COMP%]{background-color:#eceeef;border-radius:4px;position:absolute;width:100%;height:100%;z-index:5;opacity:.6;top:0;left:0;cursor:not-allowed}.ngx-select__toggle[_ngcontent-%COMP%]{outline:0;position:relative;text-align:left!important;color:#333;background-color:#fff;border-color:#ccc;display:inline-flex;align-items:stretch;justify-content:space-between}.ngx-select__toggle[_ngcontent-%COMP%]:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.ngx-select__toggle-buttons[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center}.ngx-select__toggle-caret[_ngcontent-%COMP%]{position:absolute;height:10px;top:50%;right:10px;margin-top:-2px}.ngx-select__placeholder[_ngcontent-%COMP%]{float:left;max-width:100%;text-overflow:ellipsis;overflow:hidden}.ngx-select__clear[_ngcontent-%COMP%]{margin-right:10px;padding:0;border:none}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__clear[_ngcontent-%COMP%]{line-height:initial;margin-left:5px;margin-right:0;color:#000;opacity:.5}.ngx-select__clear-icon[_ngcontent-%COMP%]{display:inline-block;font-size:inherit;cursor:pointer;position:relative;width:1em;height:.75em;padding:0}.ngx-select__clear-icon[_ngcontent-%COMP%]:before, .ngx-select__clear-icon[_ngcontent-%COMP%]:after{content:"";position:absolute;border-top:3px solid;width:100%;top:50%;left:0;margin-top:-1px}.ngx-select__clear-icon[_ngcontent-%COMP%]:before{transform:rotate(45deg)}.ngx-select__clear-icon[_ngcontent-%COMP%]:after{transform:rotate(-45deg)}.ngx-select__choices[_ngcontent-%COMP%]{width:100%;height:auto;max-height:200px;overflow-x:hidden;margin-top:0;position:absolute}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__choices[_ngcontent-%COMP%]{margin-top:1px}.ngx-select__item[_ngcontent-%COMP%]{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;cursor:pointer;text-decoration:none}.ngx-select__item_disabled[_ngcontent-%COMP%], .ngx-select__item_no-found[_ngcontent-%COMP%]{cursor:default}.ngx-select__item_active[_ngcontent-%COMP%]{color:#fff;outline:0;background-color:#428bca}.ngx-select__selected-single[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%]{display:inline-flex;align-items:center;overflow:hidden}.ngx-select__selected-single[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.ngx-select__selected-plural[_ngcontent-%COMP%]{outline:0;margin:0 3px 3px 0}.input-group[_ngcontent-%COMP%] > .dropdown[_ngcontent-%COMP%]{position:static}'],changeDetection:0})}return i})(),Jo=(()=>{class i{static forRoot(r){return{ngModule:i,providers:[{provide:Ud,useValue:r}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[ge]})}return i})();try{zp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zp=!1}let Ki,tr=(()=>{class i{_platformId=(0,u.WQX)(u.Agw);isBrowser=this._platformId?function wt(i){return i===qe}(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!zp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Ma(i){return function ty(){if(null==Ki&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ki=!0}))}finally{Ki=Ki||!1}return Ki}()?i:!!i.capture}var jn=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(jn||{});let Ta,ei,ec;function jr(){if("object"!=typeof document||!document)return jn.NORMAL;if(null==Ta){const i=document.createElement("div"),l=i.style;i.dir="rtl",l.width="1px",l.overflow="auto",l.visibility="hidden",l.pointerEvents="none",l.position="absolute";const r=document.createElement("div"),s=r.style;s.width="2px",s.height="1px",i.appendChild(r),document.body.appendChild(i),Ta=jn.NORMAL,0===i.scrollLeft&&(i.scrollLeft=1,Ta=0===i.scrollLeft?jn.NEGATED:jn.INVERTED),i.remove()}return Ta}function xa(i){return i.composedPath?i.composedPath()[0]:i.target}function Na(i,...l){return l.length?l.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var ac=x(697);function lc(i){return(0,Bn.p)((l,r)=>i<=r)}function hn(i){return Array.isArray(i)?i:[i]}function Xi(i){return i instanceof u.aKT?i.nativeElement:i}function sg(...i){return function kE(){return Xo(1)}()(Dn(i,qs(i)))}function Fa(...i){const l=qs(i);return(0,bn.N)((r,s)=>{(l?sg(i,r,l):sg(i,r)).subscribe(s)})}const Oy=new Set;let pn,cc=(()=>{class i{_platform=(0,u.WQX)(tr);_nonce=(0,u.WQX)(u.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Xd}matchMedia(r){return(this._platform.WEBKIT||this._platform.BLINK)&&function Qd(i,l){if(!Oy.has(i))try{pn||(pn=document.createElement("style"),l&&pn.setAttribute("nonce",l),pn.setAttribute("type","text/css"),document.head.appendChild(pn)),pn.sheet&&(pn.sheet.insertRule(`@media ${i} {body{ }}`,0),Oy.add(i))}catch(r){console.error(r)}}(r,this._nonce),this._matchMedia(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Xd(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let Ry=(()=>{class i{_mediaMatcher=(0,u.WQX)(cc);_zone=(0,u.WQX)(u.SKi);_queries=new Map;_destroySubject=new We.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(r){return oi(hn(r)).some(d=>this._registerQuery(d).mql.matches)}observe(r){let g=Vi(oi(hn(r)).map(_=>this._registerQuery(_).observable));return g=sg(g.pipe((0,ac.s)(1)),g.pipe(lc(1),$i(0))),g.pipe((0,Cn.T)(_=>{const D={matches:!1,breakpoints:{}};return _.forEach(({matches:w,query:T})=>{D.matches=D.matches||w,D.breakpoints[T]=w}),D}))}_registerQuery(r){if(this._queries.has(r))return this._queries.get(r);const s=this._mediaMatcher.matchMedia(r),g={observable:new vt.c(_=>{const D=w=>this._zone.run(()=>_.next(w));return s.addListener(D),()=>{s.removeListener(D)}}).pipe(Fa(s),(0,Cn.T)(({matches:_})=>({query:r,matches:_})),Vn(this._destroySubject)),mql:s};return this._queries.set(r,g),g}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function oi(i){return i.map(l=>l.split(",")).reduce((l,r)=>l.concat(r)).map(l=>l.trim())}class dc{_letterKeyStream=new We.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new We.B;selectedItem=this._selectedItem;constructor(l,r){const s="number"==typeof r?.debounceInterval?r.debounceInterval:200;r?.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(l),this._setupKeyHandler(s)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(l){this._selectedItemIndex=l}setItems(l){this._items=l}handleKey(l){const r=l.keyCode;l.key&&1===l.key.length?this._letterKeyStream.next(l.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(l){this._letterKeyStream.pipe(Ca(r=>this._pressedLetters.push(r)),$i(l),(0,Bn.p)(()=>this._pressedLetters.length>0),(0,Cn.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{for(let s=1;sl.disabled;constructor(l,r){this._items=l,l instanceof u.rOR?this._itemChangesSubscription=l.changes.subscribe(s=>this._itemsChanged(s.toArray())):(0,u.Hps)(l)&&(this._effectRef=(0,u.QZP)(()=>this._itemsChanged(l()),{injector:r}))}tabOut=new We.B;change=new We.B;skipPredicate(l){return this._skipPredicateFn=l,this}withWrap(l=!0){return this._wrap=l,this}withVerticalOrientation(l=!0){return this._vertical=l,this}withHorizontalOrientation(l){return this._horizontal=l,this}withAllowedModifierKeys(l){return this._allowedModifierKeys=l,this}withTypeAhead(l=200){this._typeaheadSubscription.unsubscribe();const r=this._getItemsArray();return this._typeahead=new dc(r,{debounceInterval:"number"==typeof l?l:void 0,skipPredicate:s=>this._skipPredicateFn(s)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(s=>{this.setActiveItem(s)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(l=!0){return this._homeAndEnd=l,this}withPageUpDown(l=!0,r=10){return this._pageUpAndDown={enabled:l,delta:r},this}setActiveItem(l){const r=this._activeItem();this.updateActiveItem(l),this._activeItem()!==r&&this.change.next(this._activeItemIndex)}onKeydown(l){const r=l.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(g=>!l[g]||this._allowedModifierKeys.indexOf(g)>-1);switch(r){case 9:return void this.tabOut.next();case 40:if(this._vertical&&d){this.setNextItemActive();break}return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&d){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&d){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&d){const g=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(g>0?g:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&d){const g=this._activeItemIndex+this._pageUpAndDown.delta,_=this._getItemsArray().length;this._setActiveItemByIndex(g<_?g:_-1,-1);break}return;default:return void((d||Na(l,"shiftKey"))&&this._typeahead?.handleKey(l))}this._typeahead?.reset(),l.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(l){const r=this._getItemsArray(),s="number"==typeof l?l:r.indexOf(l);this._activeItem.set(r[s]??null),this._activeItemIndex=s,this._typeahead?.setCurrentSelectedItemIndex(s)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(l){this._wrap?this._setActiveInWrapMode(l):this._setActiveInDefaultMode(l)}_setActiveInWrapMode(l){const r=this._getItemsArray();for(let s=1;s<=r.length;s++){const d=(this._activeItemIndex+l*s+r.length)%r.length;if(!this._skipPredicateFn(r[d]))return void this.setActiveItem(d)}}_setActiveInDefaultMode(l){this._setActiveItemByIndex(this._activeItemIndex+l,l)}_setActiveItemByIndex(l,r){const s=this._getItemsArray();if(s[l]){for(;this._skipPredicateFn(s[l]);)if(!s[l+=r])return;this.setActiveItem(l)}}_getItemsArray(){return(0,u.Hps)(this._items)?this._items():this._items instanceof u.rOR?this._items.toArray():this._items}_itemsChanged(l){this._typeahead?.setItems(l);const r=this._activeItem();if(r){const s=l.indexOf(r);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s,this._typeahead?.setCurrentSelectedItemIndex(s))}}}class tf extends Vy{_origin="program";setFocusOrigin(l){return this._origin=l,this}setActiveItem(l){super.setActiveItem(l),this.activeItem&&this.activeItem.focus(this._origin)}}function hc(i){return 0===i.buttons||0===i.detail}function gg(i){const l=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!l||-1!==l.identifier||null!=l.radiusX&&1!==l.radiusX||null!=l.radiusY&&1!==l.radiusY)}const Qy=new u.nKC("cdk-input-modality-detector-options"),nr={ignoreKeys:[18,17,224,91,16]},si=Ma({passive:!0,capture:!0});let Xy=(()=>{class i{_platform=(0,u.WQX)(tr);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new fo.t(null);_options;_lastTouchMs=0;_onKeydown=r=>{this._options?.ignoreKeys?.some(s=>s===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=xa(r))};_onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(hc(r)?"keyboard":"mouse"),this._mostRecentTarget=xa(r))};_onTouchstart=r=>{gg(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=xa(r))};constructor(){const r=(0,u.WQX)(u.SKi),s=(0,u.WQX)(Q),d=(0,u.WQX)(Qy,{optional:!0});this._options={...nr,...d},this.modalityDetected=this._modality.pipe(lc(1)),this.modalityChanged=this.modalityDetected.pipe(Hi()),this._platform.isBrowser&&r.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,si),s.addEventListener("mousedown",this._onMousedown,si),s.addEventListener("touchstart",this._onTouchstart,si)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,si),document.removeEventListener("mousedown",this._onMousedown,si),document.removeEventListener("touchstart",this._onTouchstart,si))}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var pc=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(pc||{});const me=new u.nKC("cdk-focus-monitor-default-options"),Ra=Ma({passive:!0,capture:!0});let _g=(()=>{class i{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_inputModalityDetector=(0,u.WQX)(Xy);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=(0,u.WQX)(Q,{optional:!0});_stopInputModalityDetector=new We.B;constructor(){const r=(0,u.WQX)(me,{optional:!0});this._detectionMode=r?.detectionMode||pc.IMMEDIATE}_rootNodeFocusAndBlurListener=r=>{for(let d=xa(r);d;d=d.parentElement)"focus"===r.type?this._onFocus(r,d):this._onBlur(r,d)};monitor(r,s=!1){const d=Xi(r);if(!this._platform.isBrowser||1!==d.nodeType)return Vr();const g=function ry(i){if(function $d(){if(null==ec){const i=typeof document<"u"?document.head:null;ec=!(!i||!i.createShadowRoot&&!i.attachShadow)}return ec}()){const l=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&l instanceof ShadowRoot)return l}return null}(d)||this._getDocument(),_=this._elementInfo.get(d);if(_)return s&&(_.checkChildren=!0),_.subject;const D={checkChildren:s,subject:new We.B,rootNode:g};return this._elementInfo.set(d,D),this._registerGlobalListeners(D),D.subject}stopMonitoring(r){const s=Xi(r),d=this._elementInfo.get(s);d&&(d.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(d))}focusVia(r,s,d){const g=Xi(r);g===this._getDocument().activeElement?this._getClosestElementsInfo(g).forEach(([D,w])=>this._originChanged(D,s,w)):(this._setOrigin(s),"function"==typeof g.focus&&g.focus(d))}ngOnDestroy(){this._elementInfo.forEach((r,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(r){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(r)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:r&&this._isLastInteractionFromInputLabel(r)?"mouse":"program"}_shouldBeAttributedToTouch(r){return this._detectionMode===pc.EVENTUAL||!!r?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(r,s){r.classList.toggle("cdk-focused",!!s),r.classList.toggle("cdk-touch-focused","touch"===s),r.classList.toggle("cdk-keyboard-focused","keyboard"===s),r.classList.toggle("cdk-mouse-focused","mouse"===s),r.classList.toggle("cdk-program-focused","program"===s)}_setOrigin(r,s=!1){this._ngZone.runOutsideAngular(()=>{this._origin=r,this._originFromTouchInteraction="touch"===r&&s,this._detectionMode===pc.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(r,s){const d=this._elementInfo.get(s),g=xa(r);!d||!d.checkChildren&&s!==g||this._originChanged(s,this._getFocusOrigin(g),d)}_onBlur(r,s){const d=this._elementInfo.get(s);!d||d.checkChildren&&r.relatedTarget instanceof Node&&s.contains(r.relatedTarget)||(this._setClasses(s),this._emitOrigin(d,null))}_emitOrigin(r,s){r.subject.observers.length&&this._ngZone.run(()=>r.subject.next(s))}_registerGlobalListeners(r){if(!this._platform.isBrowser)return;const s=r.rootNode,d=this._rootNodeFocusListenerCount.get(s)||0;d||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ra),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ra)}),this._rootNodeFocusListenerCount.set(s,d+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Vn(this._stopInputModalityDetector)).subscribe(g=>{this._setOrigin(g,!0)}))}_removeGlobalListeners(r){const s=r.rootNode;if(this._rootNodeFocusListenerCount.has(s)){const d=this._rootNodeFocusListenerCount.get(s);d>1?this._rootNodeFocusListenerCount.set(s,d-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ra),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ra),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(r,s,d){this._setClasses(r,s),this._emitOrigin(d,s),this._lastFocusOrigin=s}_getClosestElementsInfo(r){const s=[];return this._elementInfo.forEach((d,g)=>{(g===r||d.checkChildren&&g.contains(r))&&s.push([g,d])}),s}_isLastInteractionFromInputLabel(r){const{_mostRecentTarget:s,mostRecentModality:d}=this._inputModalityDetector;if("mouse"!==d||!s||s===r||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName||r.disabled)return!1;const g=r.labels;if(g)for(let _=0;_{class i{_elementRef=(0,u.WQX)(u.aKT);_focusMonitor=(0,u.WQX)(_g);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new u.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const r=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(r,1===r.nodeType&&r.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return i})();var vo=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(vo||{});const cf="cdk-high-contrast-black-on-white",yg="cdk-high-contrast-white-on-black",ai="cdk-high-contrast-active";let li=(()=>{class i{_platform=(0,u.WQX)(tr);_hasCheckedHighContrastMode;_document=(0,u.WQX)(Q);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,u.WQX)(Ry).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return vo.NONE;const r=this._document.createElement("div");r.style.backgroundColor="rgb(1,2,3)",r.style.position="absolute",this._document.body.appendChild(r);const s=this._document.defaultView||window,d=s&&s.getComputedStyle?s.getComputedStyle(r):null,g=(d&&d.backgroundColor||"").replace(/ /g,"");switch(r.remove(),g){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return vo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return vo.BLACK_ON_WHITE}return vo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const r=this._document.body.classList;r.remove(ai,cf,yg),this._hasCheckedHighContrastMode=!0;const s=this.getHighContrastMode();s===vo.BLACK_ON_WHITE?r.add(ai,cf):s===vo.WHITE_ON_BLACK&&r.add(ai,yg)}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const ci={};let bg=(()=>{class i{_appId=(0,u.WQX)(u.sZ2);getId(r){return"ng"!==this._appId&&(r+=this._appId),ci.hasOwnProperty(r)||(ci[r]=0),`${r}${ci[r]++}`}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const uf=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:function df(){return(0,u.WQX)(Q)}}),ff=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Pa=(()=>{class i{value="ltr";change=new u.bkB;constructor(){const r=(0,u.WQX)(uf,{optional:!0});r&&(this.value=function hf(i){const l=i?.toLowerCase()||"";return"auto"===l&&typeof navigator<"u"&&navigator?.language?ff.test(navigator.language)?"rtl":"ltr":"rtl"===l?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Dg=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})();const gc=new WeakMap;let pf=(()=>{class i{_appRef;_injector=(0,u.WQX)(u.zZn);_environmentInjector=(0,u.WQX)(u.uvJ);load(r){const s=this._appRef=this._appRef||this._injector.get(u.o8S);let d=gc.get(s);d||(d={loaders:new Set,refs:[]},gc.set(s,d),s.onDestroy(()=>{gc.get(s)?.refs.forEach(g=>g.destroy()),gc.delete(s)})),d.loaders.has(r)||(d.loaders.add(r),d.refs.push((0,u.a0P)(r,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Eg=(()=>{class i{constructor(){(0,u.WQX)(li)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Dg,Dg]})}return i})(),mc=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["structural-styles"]],decls:0,vars:0,template:function(s,d){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return i})();var In=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(In||{});class _c{_renderer;element;config;_animationForciblyDisabledThroughCss;state=In.HIDDEN;constructor(l,r,s,d=!1){this._renderer=l,this.element=r,this.config=s,this._animationForciblyDisabledThroughCss=d}fadeOut(){this._renderer.fadeOutRipple(this)}}const yc=Ma({passive:!0,capture:!0});class Hr{_events=new Map;addHandler(l,r,s,d){const g=this._events.get(r);if(g){const _=g.get(s);_?_.add(d):g.set(s,new Set([d]))}else this._events.set(r,new Map([[s,new Set([d])]])),l.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,yc)})}removeHandler(l,r,s){const d=this._events.get(l);if(!d)return;const g=d.get(r);g&&(g.delete(s),0===g.size&&d.delete(r),0===d.size&&(this._events.delete(l),document.removeEventListener(l,this._delegateEventHandler,yc)))}_delegateEventHandler=l=>{const r=xa(l);r&&this._events.get(l.type)?.forEach((s,d)=>{(d===r||d.contains(r))&&s.forEach(g=>g.handleEvent(l))})}}const Mg={enterDuration:225,exitDuration:150},La=Ma({passive:!0,capture:!0}),Tg=["mousedown","touchstart"],ui=["mouseup","mouseleave","touchend","touchcancel"];let xg=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(s,d){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return i})();class br{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Hr;constructor(l,r,s,d,g){this._target=l,this._ngZone=r,this._platform=d,d.isBrowser&&(this._containerElement=Xi(s)),g&&g.get(pf).load(xg)}fadeInRipple(l,r,s={}){const d=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),g={...Mg,...s.animation};s.centered&&(l=d.left+d.width/2,r=d.top+d.height/2);const _=s.radius||function ts(i,l,r){const s=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),d=Math.max(Math.abs(l-r.top),Math.abs(l-r.bottom));return Math.sqrt(s*s+d*d)}(l,r,d),D=l-d.left,w=r-d.top,T=g.enterDuration,O=document.createElement("div");O.classList.add("mat-ripple-element"),O.style.left=D-_+"px",O.style.top=w-_+"px",O.style.height=2*_+"px",O.style.width=2*_+"px",null!=s.color&&(O.style.backgroundColor=s.color),O.style.transitionDuration=`${T}ms`,this._containerElement.appendChild(O);const j=window.getComputedStyle(O),W=j.transitionDuration,_e="none"===j.transitionProperty||"0s"===W||"0s, 0s"===W||0===d.width&&0===d.height,De=new _c(this,O,s,_e);O.style.transform="scale3d(1, 1, 1)",De.state=In.FADING_IN,s.persistent||(this._mostRecentTransientRipple=De);let Le=null;return!_e&&(T||g.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ve=()=>{Le&&(Le.fallbackTimer=null),clearTimeout(Gr),this._finishRippleTransition(De)},Ft=()=>this._destroyRipple(De),Gr=setTimeout(Ft,T+100);O.addEventListener("transitionend",Ve),O.addEventListener("transitioncancel",Ft),Le={onTransitionEnd:Ve,onTransitionCancel:Ft,fallbackTimer:Gr}}),this._activeRipples.set(De,Le),(_e||!T)&&this._finishRippleTransition(De),De}fadeOutRipple(l){if(l.state===In.FADING_OUT||l.state===In.HIDDEN)return;const r=l.element,s={...Mg,...l.config.animation};r.style.transitionDuration=`${s.exitDuration}ms`,r.style.opacity="0",l.state=In.FADING_OUT,(l._animationForciblyDisabledThroughCss||!s.exitDuration)&&this._finishRippleTransition(l)}fadeOutAll(){this._getActiveRipples().forEach(l=>l.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(l=>{l.config.persistent||l.fadeOut()})}setupTriggerEvents(l){const r=Xi(l);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Tg.forEach(s=>{br._eventManager.addHandler(this._ngZone,s,r,this)}))}handleEvent(l){"mousedown"===l.type?this._onMousedown(l):"touchstart"===l.type?this._onTouchStart(l):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ui.forEach(r=>{this._triggerElement.addEventListener(r,this,La)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(l){l.state===In.FADING_IN?this._startFadeOutTransition(l):l.state===In.FADING_OUT&&this._destroyRipple(l)}_startFadeOutTransition(l){const r=l===this._mostRecentTransientRipple,{persistent:s}=l.config;l.state=In.VISIBLE,!s&&(!r||!this._isPointerDown)&&l.fadeOut()}_destroyRipple(l){const r=this._activeRipples.get(l)??null;this._activeRipples.delete(l),this._activeRipples.size||(this._containerRect=null),l===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),l.state=In.HIDDEN,null!==r&&(l.element.removeEventListener("transitionend",r.onTransitionEnd),l.element.removeEventListener("transitioncancel",r.onTransitionCancel),null!==r.fallbackTimer&&clearTimeout(r.fallbackTimer)),l.element.remove()}_onMousedown(l){const r=hc(l),s=this._lastTouchStartEvent&&Date.now(){!l.config.persistent&&(l.state===In.VISIBLE||l.config.terminateOnPointerUp&&l.state===In.FADING_IN)&&l.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const l=this._triggerElement;l&&(Tg.forEach(r=>br._eventManager.removeHandler(r,l,this)),this._pointerUpEventsRegistered&&(ui.forEach(r=>l.removeEventListener(r,this,La)),this._pointerUpEventsRegistered=!1))}}const _f=new u.nKC("mat-ripple-global-options");let ns=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const r=(0,u.WQX)(u.SKi),s=(0,u.WQX)(tr),d=(0,u.WQX)(_f,{optional:!0}),g=(0,u.WQX)(u.zZn);this._globalOptions=d||{},this._rippleRenderer=new br(this,r,this._elementRef,s,g)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(r,s=0,d){return"number"==typeof r?this._rippleRenderer.fadeInRipple(r,s,{...this.rippleConfig,...d}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...r})}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(s,d){2&s&&u.AVh("mat-ripple-unbounded",d.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return i})();class vf{_attachedHost;attach(l){return this._attachedHost=l,l.attach(this)}detach(){let l=this._attachedHost;null!=l&&(this._attachedHost=null,l.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(l){this._attachedHost=l}}class yv extends vf{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(l,r,s,d,g){super(),this.component=l,this.viewContainerRef=r,this.injector=s,this.projectableNodes=g}}class rs extends vf{templateRef;viewContainerRef;context;injector;constructor(l,r,s,d){super(),this.templateRef=l,this.viewContainerRef=r,this.context=s,this.injector=d}get origin(){return this.templateRef.elementRef}attach(l,r=this.context){return this.context=r,super.attach(l)}detach(){return this.context=void 0,super.detach()}}class bf extends vf{element;constructor(l){super(),this.element=l instanceof u.aKT?l.nativeElement:l}}class Ng{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(l){return l instanceof yv?(this._attachedPortal=l,this.attachComponentPortal(l)):l instanceof rs?(this._attachedPortal=l,this.attachTemplatePortal(l)):this.attachDomPortal&&l instanceof bf?(this._attachedPortal=l,this.attachDomPortal(l)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(l){this._disposeFn=l}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let vv=(()=>{class i extends rs{constructor(){super((0,u.WQX)(u.C4Q),(0,u.WQX)(u.c1b))}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[u.Vt3]})}return i})(),Df=(()=>{class i extends Ng{_moduleRef=(0,u.WQX)(u.Vns,{optional:!0});_document=(0,u.WQX)(Q);_viewContainerRef=(0,u.WQX)(u.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&super.detach(),r&&super.attach(r),this._attachedPortal=r||null)}attached=new u.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(r){r.setAttachedHost(this);const s=null!=r.viewContainerRef?r.viewContainerRef:this._viewContainerRef,d=s.createComponent(r.component,{index:s.length,injector:r.injector||s.injector,projectableNodes:r.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return s!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=r,this._attachedRef=d,this.attached.emit(d),d}attachTemplatePortal(r){r.setAttachedHost(this);const s=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=r,this._attachedRef=s,this.attached.emit(s),s}attachDomPortal=r=>{const s=r.element,d=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(d,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(s,d)})};_getRootNode(){const r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.Vt3]})}return i})();const bv=["addListener","removeListener"],Cf=["addEventListener","removeEventListener"],Va=["on","off"];function Ur(i,l,r,s){if((0,je.T)(r)&&(s=r,r=void 0),s)return Ur(i,l,r).pipe(Ks(s));const[d,g]=function kg(i){return(0,je.T)(i.addEventListener)&&(0,je.T)(i.removeEventListener)}(i)?Cf.map(_=>D=>i[_](l,D,r)):function Fg(i){return(0,je.T)(i.addListener)&&(0,je.T)(i.removeListener)}(i)?bv.map(Ba(i,l)):function ja(i){return(0,je.T)(i.on)&&(0,je.T)(i.off)}(i)?Va.map(Ba(i,l)):[];if(!d&&Cl(i))return Bi(_=>Ur(_,l,r))(un(i));if(!d)throw new TypeError("Invalid event target");return new vt.c(_=>{const D=(...w)=>_.next(1g(D)})}function Ba(i,l){return r=>s=>i[r](l,s)}function os(i=0,l,r=q_){let s=-1;return null!=l&&(op(l)?r=l:s=l),new vt.c(d=>{let g=function Dv(i){return i instanceof Date&&!isNaN(i)}(i)?+i-r.now():i;g<0&&(g=0);let _=0;return r.schedule(function(){d.closed||(d.next(_++),0<=s?this.schedule(void 0,s):d.complete())},g)})}class Cv extends We.B{constructor(l=1/0,r=1/0,s=Fd){super(),this._bufferSize=l,this._windowTime=r,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,r)}next(l){const{isStopped:r,_buffer:s,_infiniteTimeWindow:d,_timestampProvider:g,_windowTime:_}=this;r||(s.push(l),!d&&s.push(g.now()+_)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const r=this._innerSubscribe(l),{_infiniteTimeWindow:s,_buffer:d}=this,g=d.slice();for(let _=0;_this._resizeSubject.next(r)))}observe(l){return this._elementObservables.has(l)||this._elementObservables.set(l,new vt.c(r=>{const s=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(l,{box:this._box}),()=>{this._resizeObserver?.unobserve(l),s.unsubscribe(),this._elementObservables.delete(l)}}).pipe((0,Bn.p)(r=>r.some(s=>s.target===l)),function Cc(i,l,r){let s,d=!1;return i&&"object"==typeof i?({bufferSize:s=1/0,windowTime:l=1/0,refCount:d=!1,scheduler:r}=i):s=i??1/0,z_({connector:()=>new Cv(s,l,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}({bufferSize:1,refCount:!0}),Vn(this._destroyed))),this._elementObservables.get(l)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let wv=(()=>{class i{_observers=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){for(const[,r]of this._observers)r.destroy();this._observers.clear()}observe(r,s){const d=s?.box||"content-box";return this._observers.has(d)||this._observers.set(d,new Ev(d)),this._observers.get(d).observe(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const ss={schedule(i){let l=requestAnimationFrame,r=cancelAnimationFrame;const{delegate:s}=ss;s&&(l=s.requestAnimationFrame,r=s.cancelAnimationFrame);const d=l(g=>{r=void 0,i(g)});return new fn.yU(()=>r?.(d))},requestAnimationFrame(...i){const{delegate:l}=ss;return(l?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:l}=ss;return(l?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0};new class Iv extends Da{flush(l){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;l=l||s.shift();do{if(d=l.execute(l.state,l.delay))break}while((l=s[0])&&l.id===r&&s.shift());if(this._active=!1,d){for(;(l=s[0])&&l.id===r&&s.shift();)l.unsubscribe();throw d}}}(class Ef extends Nd{constructor(l,r){super(l,r),this.scheduler=l,this.work=r}requestAsyncId(l,r,s=0){return null!==s&&s>0?super.requestAsyncId(l,r,s):(l.actions.push(this),l._scheduled||(l._scheduled=ss.requestAnimationFrame(()=>l.flush(void 0))))}recycleAsyncId(l,r,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(l,r,s);const{actions:g}=l;null!=r&&(null===(d=g[g.length-1])||void 0===d?void 0:d.id)!==r&&(ss.cancelAnimationFrame(r),l._scheduled=void 0)}});let $r,wf=1;const di={};function If(i){return i in di&&(delete di[i],!0)}const Ha={setImmediate(i){const l=wf++;return di[l]=!0,$r||($r=Promise.resolve()),$r.then(()=>If(l)&&i()),l},clearImmediate(i){If(i)}},{setImmediate:Tv,clearImmediate:Mf}=Ha,Ua={setImmediate(...i){const{delegate:l}=Ua;return(l?.setImmediate||Tv)(...i)},clearImmediate(i){const{delegate:l}=Ua;return(l?.clearImmediate||Mf)(i)},delegate:void 0};new class $a extends Da{flush(l){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;l=l||s.shift();do{if(d=l.execute(l.state,l.delay))break}while((l=s[0])&&l.id===r&&s.shift());if(this._active=!1,d){for(;(l=s[0])&&l.id===r&&s.shift();)l.unsubscribe();throw d}}}(class bo extends Nd{constructor(l,r){super(l,r),this.scheduler=l,this.work=r}requestAsyncId(l,r,s=0){return null!==s&&s>0?super.requestAsyncId(l,r,s):(l.actions.push(this),l._scheduled||(l._scheduled=Ua.setImmediate(l.flush.bind(l,void 0))))}recycleAsyncId(l,r,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(l,r,s);const{actions:g}=l;null!=r&&(null===(d=g[g.length-1])||void 0===d?void 0:d.id)!==r&&(Ua.clearImmediate(r),l._scheduled===r&&(l._scheduled=void 0))}});function xf(i,l=er){return function Og(i){return(0,bn.N)((l,r)=>{let s=!1,d=null,g=null,_=!1;const D=()=>{if(g?.unsubscribe(),g=null,s){s=!1;const T=d;d=null,r.next(T)}_&&r.complete()},w=()=>{g=null,_&&r.complete()};l.subscribe((0,dn._)(r,T=>{s=!0,d=T,g||un(i(T)).subscribe(g=(0,dn._)(r,D,w))},()=>{_=!0,(!s||!g||g.closed)&&r.complete()}))})}(()=>os(i,l))}let Sv=(()=>{class i{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_document=(0,u.WQX)(Q,{optional:!0});constructor(){}_scrolled=new We.B;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(r){this.scrollContainers.has(r)||this.scrollContainers.set(r,r.elementScrolled().subscribe(()=>this._scrolled.next(r)))}deregister(r){const s=this.scrollContainers.get(r);s&&(s.unsubscribe(),this.scrollContainers.delete(r))}scrolled(r=20){return this._platform.isBrowser?new vt.c(s=>{this._globalSubscription||this._addGlobalListener();const d=r>0?this._scrolled.pipe(xf(r)).subscribe(s):this._scrolled.subscribe(s);return this._scrolledCount++,()=>{d.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Vr()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((r,s)=>this.deregister(s)),this._scrolled.complete()}ancestorScrolled(r,s){const d=this.getAncestorScrollContainers(r);return this.scrolled(s).pipe((0,Bn.p)(g=>!g||d.indexOf(g)>-1))}getAncestorScrollContainers(r){const s=[];return this.scrollContainers.forEach((d,g)=>{this._scrollableContainsElement(g,r)&&s.push(g)}),s}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(r,s){let d=Xi(s),g=r.getElementRef().nativeElement;do{if(d==g)return!0}while(d=d.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ur(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Av=(()=>{class i{elementRef=(0,u.WQX)(u.aKT);scrollDispatcher=(0,u.WQX)(Sv);ngZone=(0,u.WQX)(u.SKi);dir=(0,u.WQX)(Pa,{optional:!0});_destroyed=new We.B;_elementScrolled=new vt.c(r=>this.ngZone.runOutsideAngular(()=>Ur(this.elementRef.nativeElement,"scroll").pipe(Vn(this._destroyed)).subscribe(r)));constructor(){}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(r){const s=this.elementRef.nativeElement,d=this.dir&&"rtl"==this.dir.value;null==r.left&&(r.left=d?r.end:r.start),null==r.right&&(r.right=d?r.start:r.end),null!=r.bottom&&(r.top=s.scrollHeight-s.clientHeight-r.bottom),d&&jr()!=jn.NORMAL?(null!=r.left&&(r.right=s.scrollWidth-s.clientWidth-r.left),jr()==jn.INVERTED?r.left=r.right:jr()==jn.NEGATED&&(r.left=r.right?-r.right:r.right)):null!=r.right&&(r.left=s.scrollWidth-s.clientWidth-r.right),this._applyScrollToOptions(r)}_applyScrollToOptions(r){const s=this.elementRef.nativeElement;!function ny(){if(null==ei){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ei=!1,ei;if("scrollBehavior"in document.documentElement.style)ei=!0;else{const i=Element.prototype.scrollTo;ei=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return ei}()?(null!=r.top&&(s.scrollTop=r.top),null!=r.left&&(s.scrollLeft=r.left)):s.scrollTo(r)}measureScrollOffset(r){const s="left",d="right",g=this.elementRef.nativeElement;if("top"==r)return g.scrollTop;if("bottom"==r)return g.scrollHeight-g.clientHeight-g.scrollTop;const _=this.dir&&"rtl"==this.dir.value;return"start"==r?r=_?d:s:"end"==r&&(r=_?s:d),_&&jr()==jn.INVERTED?r==s?g.scrollWidth-g.clientWidth-g.scrollLeft:g.scrollLeft:_&&jr()==jn.NEGATED?r==s?g.scrollLeft+g.scrollWidth-g.clientWidth:-g.scrollLeft:r==s?g.scrollLeft:g.scrollWidth-g.clientWidth-g.scrollLeft}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return i})(),Fv=(()=>{class i{_platform=(0,u.WQX)(tr);_viewportSize;_change=new We.B;_changeListener=r=>{this._change.next(r)};_document=(0,u.WQX)(Q,{optional:!0});constructor(){(0,u.WQX)(u.SKi).runOutsideAngular(()=>{if(this._platform.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const r=this._getWindow();r.removeEventListener("resize",this._changeListener),r.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const r={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),r}getViewportRect(){const r=this.getViewportScrollPosition(),{width:s,height:d}=this.getViewportSize();return{top:r.top,left:r.left,bottom:r.top+d,right:r.left+s,height:d,width:s}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const r=this._document,s=this._getWindow(),d=r.documentElement,g=d.getBoundingClientRect();return{top:-g.top||r.body.scrollTop||s.scrollY||d.scrollTop||0,left:-g.left||r.body.scrollLeft||s.scrollX||d.scrollLeft||0}}change(r=20){return r>0?this._change.pipe(xf(r)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const r=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:r.innerWidth,height:r.innerHeight}:{width:0,height:0}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),jg=(()=>{class i{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Hg=(()=>{class i{_mutationObserverFactory=(0,u.WQX)(jg);_observedElements=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((r,s)=>this._cleanupObserver(s))}observe(r){const s=Xi(r);return new vt.c(d=>{const _=this._observeElement(s).pipe((0,Cn.T)(D=>D.filter(w=>!function Bg(i){if("characterData"===i.type&&i.target instanceof Comment)return!0;if("childList"===i.type){for(let l=0;l!!D.length)).subscribe(D=>{this._ngZone.run(()=>{d.next(D)})});return()=>{_.unsubscribe(),this._unobserveElement(s)}})}_observeElement(r){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const s=new We.B,d=this._mutationObserverFactory.create(g=>s.next(g));d&&d.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:d,stream:s,count:1})}return this._observedElements.get(r).stream})}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:s,stream:d}=this._observedElements.get(r);s&&s.disconnect(),d.complete(),this._observedElements.delete(r)}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ug=(()=>{class i{_contentObserver=(0,u.WQX)(Hg);_elementRef=(0,u.WQX)(u.aKT);event=new u.bkB;get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(r){this._debounce=function ig(i,l=0){return function Qi(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):2===arguments.length?l:0}(r),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?r.pipe($i(this.debounce)):r).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",u.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[u.GFd]})}return i})();var Jt=x(969);const Af=["*"];function wc(i,l){1&i&&u.SdG(0)}const Rw=["tabListContainer"],Pv=["tabList"],$g=["tabListInner"],Pw=["nextPaginator"],Lv=["previousPaginator"],Vv=i=>({animationDuration:i}),Ga=(i,l)=>({value:i,params:l});function Ic(i,l){}const Bv=["tabBodyWrapper"],jv=["tabHeader"];function Hv(i,l){}function Uv(i,l){if(1&i&&u.DNE(0,Hv,0,0,"ng-template",12),2&i){const r=u.XpG().$implicit;u.Y8G("cdkPortalOutlet",r.templateLabel)}}function $v(i,l){if(1&i&&u.EFF(0),2&i){const r=u.XpG().$implicit;u.JRh(r.textLabel)}}function Gv(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",7,2),u.bIt("click",function(){const d=u.eBV(r),g=d.$implicit,_=d.$index,D=u.XpG(),w=u.sdS(1);return u.Njj(D._handleClick(g,w,_))})("cdkFocusChange",function(d){const g=u.eBV(r).$index,_=u.XpG();return u.Njj(_._tabFocusChanged(d,g))}),u.nrm(2,"span",8)(3,"div",9),u.j41(4,"span",10)(5,"span",11),u.DNE(6,Uv,1,1,null,12)(7,$v,1,1),u.k0s()()()}if(2&i){const r=l.$implicit,s=l.$index,d=u.sdS(1),g=u.XpG();u.HbH(r.labelClass),u.AVh("mdc-tab--active",g.selectedIndex===s),u.Y8G("id",g._getTabLabelId(s))("disabled",r.disabled)("fitInkBarToContent",g.fitInkBarToContent),u.BMQ("tabIndex",g._getTabIndex(s))("aria-posinset",s+1)("aria-setsize",g._tabs.length)("aria-controls",g._getTabContentId(s))("aria-selected",g.selectedIndex===s)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),u.R7$(3),u.Y8G("matRippleTrigger",d)("matRippleDisabled",r.disabled||g.disableRipple),u.R7$(3),u.vxM(r.templateLabel?6:7)}}function zv(i,l){1&i&&u.SdG(0)}function Gg(i,l){if(1&i){const r=u.RV6();u.j41(0,"mat-tab-body",13),u.bIt("_onCentered",function(){u.eBV(r);const d=u.XpG();return u.Njj(d._removeTabBodyWrapperHeight())})("_onCentering",function(d){u.eBV(r);const g=u.XpG();return u.Njj(g._setTabBodyWrapperHeight(d))}),u.k0s()}if(2&i){const r=l.$implicit,s=l.$index,d=u.XpG();u.HbH(r.bodyClass),u.AVh("mat-mdc-tab-body-active",d.selectedIndex===s),u.Y8G("id",d._getTabContentId(s))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent),u.BMQ("tabindex",null!=d.contentTabIndex&&d.selectedIndex===s?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(s))("aria-hidden",d.selectedIndex!==s)}}const Wv=new u.nKC("MatTabContent");let qv=(()=>{class i{template=(0,u.WQX)(u.C4Q);constructor(){}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","matTabContent",""]],features:[u.Jv_([{provide:Wv,useExisting:i}])]})}return i})();const Kv=new u.nKC("MatTabLabel"),Wg=new u.nKC("MAT_TAB");let Zv=(()=>{class i extends vv{_closestTab=(0,u.WQX)(Wg,{optional:!0});static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[u.Jv_([{provide:Kv,useExisting:i}]),u.Vt3]})}return i})();const qg=new u.nKC("MAT_TAB_GROUP");let Nf=(()=>{class i{_viewContainerRef=(0,u.WQX)(u.c1b);_closestTabGroup=(0,u.WQX)(qg,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(r){this._setTemplateLabelInput(r)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new We.B;position=null;origin=null;isActive=!1;constructor(){(0,u.WQX)(pf).load(mc)}ngOnChanges(r){(r.hasOwnProperty("textLabel")||r.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new rs(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(r){r&&r._closestTab===this&&(this._templateLabel=r)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab"]],contentQueries:function(s,d,g){if(1&s&&(u.wni(g,Zv,5),u.wni(g,qv,7,u.C4Q)),2&s){let _;u.mGM(_=u.lsd())&&(d.templateLabel=_.first),u.mGM(_=u.lsd())&&(d._explicitContent=_.first)}},viewQuery:function(s,d){if(1&s&&u.GBs(u.C4Q,7),2&s){let g;u.mGM(g=u.lsd())&&(d._implicitContent=g.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",u.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[u.Jv_([{provide:Wg,useExisting:i}]),u.GFd,u.OA$],ngContentSelectors:Af,decls:1,vars:0,template:function(s,d){1&s&&(u.NAR(),u.DNE(0,wc,1,0,"ng-template"))},encapsulation:2})}return i})();const Ff="mdc-tab-indicator--active",Kg="mdc-tab-indicator--no-transition";class Qv{_items;_currentItem;constructor(l){this._items=l}hide(){this._items.forEach(l=>l.deactivateInkBar())}alignToElement(l){const r=this._items.find(d=>d.elementRef.nativeElement===l),s=this._currentItem;if(r!==s&&(s?.deactivateInkBar(),r)){const d=s?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(d),this._currentItem=r}}}let Xv=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(r){this._fitToContent!==r&&(this._fitToContent=r,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(r){const s=this._elementRef.nativeElement;if(!r||!s.getBoundingClientRect||!this._inkBarContentElement)return void s.classList.add(Ff);const d=s.getBoundingClientRect(),g=r.width/d.width,_=r.left-d.left;s.classList.add(Kg),this._inkBarContentElement.style.setProperty("transform",`translateX(${_}px) scaleX(${g})`),s.getBoundingClientRect(),s.classList.remove(Kg),s.classList.add(Ff),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Ff)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const r=this._elementRef.nativeElement.ownerDocument||document,s=this._inkBarElement=r.createElement("span"),d=this._inkBarContentElement=r.createElement("span");s.className="mdc-tab-indicator",d.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",s.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39]},features:[u.GFd]})}return i})(),Mc=(()=>{class i extends Xv{elementRef=(0,u.WQX)(u.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(s,d){2&s&&(u.BMQ("aria-disabled",!!d.disabled),u.AVh("mat-mdc-tab-disabled",d.disabled))},inputs:{disabled:[2,"disabled","disabled",u.L39]},features:[u.GFd,u.Vt3]})}return i})();const Zg=Ma({passive:!0});let tb=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_viewportRuler=(0,u.WQX)(Fv);_dir=(0,u.WQX)(Pa,{optional:!0});_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new We.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new We.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(r){const s=isNaN(r)?0:r;this._selectedIndex!=s&&(this._selectedIndexChanged=!0,this._selectedIndex=s,this._keyManager&&this._keyManager.updateActiveItem(s))}_selectedIndex=0;selectFocusedIndex=new u.bkB;indexFocused=new u.bkB;_sharedResizeObserver=(0,u.WQX)(wv);_injector=(0,u.WQX)(u.zZn);constructor(){this._ngZone.runOutsideAngular(()=>{Ur(this._elementRef.nativeElement,"mouseleave").pipe(Vn(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){Ur(this._previousPaginator.nativeElement,"touchstart",Zg).pipe(Vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ur(this._nextPaginator.nativeElement,"touchstart",Zg).pipe(Vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const r=this._dir?this._dir.change:Vr("ltr"),s=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe($i(32),Vn(this._destroyed)),d=this._viewportRuler.change(150).pipe(Vn(this._destroyed)),g=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new tf(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),(0,u.mal)(g,{injector:this._injector}),ba(r,d,s,this._items.changes,this._itemsResized()).pipe(Vn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),g()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(_=>{this.indexFocused.emit(_),this._setTabFocus(_)})}_itemsResized(){return"function"!=typeof ResizeObserver?ji.w:this._items.changes.pipe(Fa(this._items),function Vg(i,l){return(0,bn.N)((r,s)=>{let d=null,g=0,_=!1;const D=()=>_&&!d&&s.complete();r.subscribe((0,dn._)(s,w=>{d?.unsubscribe();let T=0;const O=g++;un(i(w,O)).subscribe(d=(0,dn._)(s,j=>s.next(l?l(w,j,O,T++):j),()=>{d=null,D()}))},()=>{_=!0,D()}))})}(r=>new vt.c(s=>this._ngZone.runOutsideAngular(()=>{const d=new ResizeObserver(g=>s.next(g));return r.forEach(g=>d.observe(g.elementRef.nativeElement)),()=>{d.disconnect()}}))),lc(1),(0,Bn.p)(r=>r.some(s=>s.contentRect.width>0&&s.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(r){if(!Na(r))switch(r.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const s=this._items.get(this.focusIndex);s&&!s.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(r))}break;default:this._keyManager.onKeydown(r)}}_onContentChanges(){const r=this._elementRef.nativeElement.textContent;r!==this._currentTextContent&&(this._currentTextContent=r||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(r){!this._isValidIndex(r)||this.focusIndex===r||!this._keyManager||this._keyManager.setActiveItem(r)}_isValidIndex(r){return!this._items||!!this._items.toArray()[r]}_setTabFocus(r){if(this._showPaginationControls&&this._scrollToLabel(r),this._items&&this._items.length){this._items.toArray()[r].focus();const s=this._tabListContainer.nativeElement;s.scrollLeft="ltr"==this._getLayoutDirection()?0:s.scrollWidth-s.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const r=this.scrollDistance,s="ltr"===this._getLayoutDirection()?-r:r;this._tabList.nativeElement.style.transform=`translateX(${Math.round(s)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(r){this._scrollTo(r)}_scrollHeader(r){return this._scrollTo(this._scrollDistance+("before"==r?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(r){this._stopInterval(),this._scrollHeader(r)}_scrollToLabel(r){if(this.disablePagination)return;const s=this._items?this._items.toArray()[r]:null;if(!s)return;const d=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:g,offsetWidth:_}=s.elementRef.nativeElement;let D,w;"ltr"==this._getLayoutDirection()?(D=g,w=D+_):(w=this._tabListInner.nativeElement.offsetWidth-g,D=w-_);const T=this.scrollDistance,O=this.scrollDistance+d;DO&&(this.scrollDistance+=Math.min(w-O,D-T))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const d=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;d||(this.scrollDistance=0),d!==this._showPaginationControls&&(this._showPaginationControls=d,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const r=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,s=r?r.elementRef.nativeElement:null;s?this._inkBar.alignToElement(s):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(r,s){s&&null!=s.button&&0!==s.button||(this._stopInterval(),os(650,100).pipe(Vn(ba(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:d,distance:g}=this._scrollHeader(r);(0===g||g>=d)&&this._stopInterval()}))}_scrollTo(r){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const s=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(s,r)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:s,distance:this._scrollDistance}}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[u.GFd]})}return i})(),Xg=(()=>{class i extends tb{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Qv(this._items),super.ngAfterContentInit()}_itemSelected(r){r.preventDefault()}static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-header"]],contentQueries:function(s,d,g){if(1&s&&u.wni(g,Mc,4),2&s){let _;u.mGM(_=u.lsd())&&(d._items=_)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Rw,7),u.GBs(Pv,7),u.GBs($g,7),u.GBs(Pw,5),u.GBs(Lv,5)),2&s){let g;u.mGM(g=u.lsd())&&(d._tabListContainer=g.first),u.mGM(g=u.lsd())&&(d._tabList=g.first),u.mGM(g=u.lsd())&&(d._tabListInner=g.first),u.mGM(g=u.lsd())&&(d._nextPaginator=g.first),u.mGM(g=u.lsd())&&(d._previousPaginator=g.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(s,d){2&s&&u.AVh("mat-mdc-tab-header-pagination-controls-enabled",d._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==d._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",u.L39]},features:[u.GFd,u.Vt3],ngContentSelectors:Af,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(s,d){if(1&s){const g=u.RV6();u.NAR(),u.j41(0,"div",5,0),u.bIt("click",function(){return u.eBV(g),u.Njj(d._handlePaginatorClick("before"))})("mousedown",function(D){return u.eBV(g),u.Njj(d._handlePaginatorPress("before",D))})("touchend",function(){return u.eBV(g),u.Njj(d._stopInterval())}),u.nrm(2,"div",6),u.k0s(),u.j41(3,"div",7,1),u.bIt("keydown",function(D){return u.eBV(g),u.Njj(d._handleKeydown(D))}),u.j41(5,"div",8,2),u.bIt("cdkObserveContent",function(){return u.eBV(g),u.Njj(d._onContentChanges())}),u.j41(7,"div",9,3),u.SdG(9),u.k0s()()(),u.j41(10,"div",10,4),u.bIt("mousedown",function(D){return u.eBV(g),u.Njj(d._handlePaginatorPress("after",D))})("click",function(){return u.eBV(g),u.Njj(d._handlePaginatorClick("after"))})("touchend",function(){return u.eBV(g),u.Njj(d._stopInterval())}),u.nrm(12,"div",6),u.k0s()}2&s&&(u.AVh("mat-mdc-tab-header-pagination-disabled",d._disableScrollBefore),u.Y8G("matRippleDisabled",d._disableScrollBefore||d.disableRipple),u.R7$(3),u.AVh("_mat-animation-noopable","NoopAnimations"===d._animationMode),u.R7$(2),u.BMQ("aria-label",d.ariaLabel||null)("aria-labelledby",d.ariaLabelledby||null),u.R7$(5),u.AVh("mat-mdc-tab-header-pagination-disabled",d._disableScrollAfter),u.Y8G("matRippleDisabled",d._disableScrollAfter||d.disableRipple))},dependencies:[ns,Ug],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return i})();const Vw=new u.nKC("MAT_TABS_CONFIG"),nb={translateTab:(0,Jt.hZ)("translateTab",[(0,Jt.wk)("center, void, left-origin-center, right-origin-center",(0,Jt.iF)({transform:"none",visibility:"visible"})),(0,Jt.wk)("left",(0,Jt.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Jt.wk)("right",(0,Jt.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Jt.kY)("* => left, * => right, left => center, right => center",(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Jt.kY)("void => left-origin-center",[(0,Jt.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Jt.kY)("void => right-origin-center",[(0,Jt.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Bw=(()=>{class i extends Df{_host=(0,u.WQX)(kf);_centeringSub=fn.yU.EMPTY;_leavingSub=fn.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Fa(this._host._isCenterPosition(this._host._position))).subscribe(r=>{this._host._content&&r&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","matTabBodyHost",""]],features:[u.Vt3]})}return i})(),kf=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_dir=(0,u.WQX)(Pa,{optional:!0});_positionIndex;_dirChangeSubscription=fn.yU.EMPTY;_position;_translateTabComplete=new We.B;_onCentering=new u.bkB;_beforeCentering=new u.bkB;_afterLeavingCenter=new u.bkB;_onCentered=new u.bkB(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(r){this._positionIndex=r,this._computePositionAnimationState()}constructor(){if(this._dir){const r=(0,u.WQX)(u.gRc);this._dirChangeSubscription=this._dir.change.subscribe(s=>{this._computePositionAnimationState(s),r.markForCheck()})}this._translateTabComplete.subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(r){const s=this._isCenterPosition(r.toState);this._beforeCentering.emit(s),s&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(r){return"center"==r||"left-origin-center"==r||"right-origin-center"==r}_computePositionAnimationState(r=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==r?"left":"right":this._positionIndex>0?"ltr"==r?"right":"left":"center"}_computePositionFromOrigin(r){const s=this._getLayoutDirection();return"ltr"==s&&r<=0||"rtl"==s&&r>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-body"]],viewQuery:function(s,d){if(1&s&&u.GBs(Df,5),2&s){let g;u.mGM(g=u.lsd())&&(d._portalHost=g.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(s,d){if(1&s){const g=u.RV6();u.j41(0,"div",1,0),u.bIt("@translateTab.start",function(D){return u.eBV(g),u.Njj(d._onTranslateTabStarted(D))})("@translateTab.done",function(D){return u.eBV(g),u.Njj(d._translateTabComplete.next(D))}),u.DNE(2,Ic,0,0,"ng-template",2),u.k0s()}2&s&&u.Y8G("@translateTab",u.l_i(3,Ga,d._position,u.eq3(1,Vv,d.animationDuration)))},dependencies:[Bw,Av],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[nb.translateTab]}})}return i})(),Of=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new u.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=fn.yU.EMPTY;_tabLabelSubscription=fn.yU.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(r){this._fitInkBarToContent=r,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(r){this._indexToSelect=isNaN(r)?null:r}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(r){const s=r+"";this._animationDuration=/^\d+$/.test(s)?r+"ms":s}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(r){this._contentTabIndex=isNaN(r)?null:r}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(r){const s=this._elementRef.nativeElement.classList;s.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),r&&s.add("mat-tabs-with-background",`mat-background-${r}`),this._backgroundColor=r}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new u.bkB;focusChange=new u.bkB;animationDone=new u.bkB;selectedTabChange=new u.bkB(!0);_groupId;_isServer=!(0,u.WQX)(tr).isBrowser;constructor(){const r=(0,u.WQX)(Vw,{optional:!0});this._groupId=(0,u.WQX)(bg).getId("mat-tab-group-"),this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,null!=r?.contentTabIndex&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent,this.stretchTabs=!r||null==r.stretchTabs||r.stretchTabs,this.alignTabs=r&&null!=r.alignTabs?r.alignTabs:null}ngAfterContentChecked(){const r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){const s=null==this._selectedIndex;if(!s){this.selectedTabChange.emit(this._createChangeEvent(r));const d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((d,g)=>d.isActive=g===r),s||(this.selectedIndexChange.emit(r),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((s,d)=>{s.position=d-r,null!=this._selectedIndex&&0==s.position&&!s.origin&&(s.origin=r-this._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const r=this._clampTabIndex(this._indexToSelect);if(r===this._selectedIndex){const s=this._tabs.toArray();let d;for(let g=0;g{s[r].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(r))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Fa(this._allTabs)).subscribe(r=>{this._tabs.reset(r.filter(s=>s._closestTabGroup===this||!s._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(r){const s=this._tabHeader;s&&(s.focusIndex=r)}_focusChanged(r){this._lastFocusedTabIndex=r,this.focusChange.emit(this._createChangeEvent(r))}_createChangeEvent(r){const s=new rb;return s.index=r,this._tabs&&this._tabs.length&&(s.tab=this._tabs.toArray()[r]),s}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ba(...this._tabs.map(r=>r._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(r){return Math.min(this._tabs.length-1,Math.max(r||0,0))}_getTabLabelId(r){return`${this._groupId}-label-${r}`}_getTabContentId(r){return`${this._groupId}-content-${r}`}_setTabBodyWrapperHeight(r){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const s=this._tabBodyWrapper.nativeElement;s.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(s.style.height=r+"px")}_removeTabBodyWrapperHeight(){const r=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=r.clientHeight,r.style.height="",this.animationDone.emit()}_handleClick(r,s,d){s.focusIndex=d,r.disabled||(this.selectedIndex=d)}_getTabIndex(r){return r===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(r,s){r&&"mouse"!==r&&"touch"!==r&&(this._tabHeader.focusIndex=s)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-group"]],contentQueries:function(s,d,g){if(1&s&&u.wni(g,Nf,5),2&s){let _;u.mGM(_=u.lsd())&&(d._allTabs=_)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Bv,5),u.GBs(jv,5)),2&s){let g;u.mGM(g=u.lsd())&&(d._tabBodyWrapper=g.first),u.mGM(g=u.lsd())&&(d._tabHeader=g.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(s,d){2&s&&(u.BMQ("mat-align-tabs",d.alignTabs),u.HbH("mat-"+(d.color||"primary")),u.xc7("--mat-tab-animation-duration",d.animationDuration),u.AVh("mat-mdc-tab-group-dynamic-height",d.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===d.headerPosition)("mat-mdc-tab-group-stretch-tabs",d.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",u.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",u.Udg],disablePagination:[2,"disablePagination","disablePagination",u.L39],disableRipple:[2,"disableRipple","disableRipple",u.L39],preserveContent:[2,"preserveContent","preserveContent",u.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[u.Jv_([{provide:qg,useExisting:i}]),u.GFd],ngContentSelectors:Af,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(s,d){if(1&s){const g=u.RV6();u.NAR(),u.j41(0,"mat-tab-header",3,0),u.bIt("indexFocused",function(D){return u.eBV(g),u.Njj(d._focusChanged(D))})("selectFocusedIndex",function(D){return u.eBV(g),u.Njj(d.selectedIndex=D)}),u.Z7z(2,Gv,8,17,"div",4,u.fX1),u.k0s(),u.DNE(4,zv,1,0),u.j41(5,"div",5,1),u.Z7z(7,Gg,1,13,"mat-tab-body",6,u.fX1),u.k0s()}2&s&&(u.Y8G("selectedIndex",d.selectedIndex||0)("disableRipple",d.disableRipple)("disablePagination",d.disablePagination)("aria-label",d.ariaLabel)("aria-labelledby",d.ariaLabelledby),u.R7$(2),u.Dyx(d._tabs),u.R7$(2),u.vxM(d._isServer?4:-1),u.R7$(),u.AVh("_mat-animation-noopable","NoopAnimations"===d._animationMode),u.R7$(2),u.Dyx(d._tabs))},dependencies:[Xg,Mc,Yi,ns,Df,kf],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return i})();class rb{index;tab}let Tc=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Eg,Eg]})}return i})();const em=["*"];let tm=(()=>{class i{desc;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-sample-section"]],inputs:{desc:"desc"},ngContentSelectors:em,decls:12,vars:2,consts:[[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body"],["label","Markup"],[1,"prettyprint","linenums","lang-html"],["label","TypeScript"],[1,"prettyprint","linenums","lang-js"]],template:function(s,d){1&s&&(u.NAR(),u.SdG(0),u.j41(1,"div",0)(2,"div",1)(3,"mat-tab-group")(4,"mat-tab",2)(5,"div",0)(6,"pre",3),u.EFF(7),u.k0s()()(),u.j41(8,"mat-tab",4)(9,"div",0)(10,"pre",5),u.EFF(11),u.k0s()()()()()()),2&s&&(u.R7$(7),u.JRh(d.desc.html.default),u.R7$(4),u.JRh(d.desc.ts.default))},dependencies:[Tc,Nf,Of],encapsulation:2})}return i})(),Hw=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];ngxControl=new Gt;_ngxDefaultTimeout;_ngxDefaultInterval;_ngxDefault;constructor(){this._ngxDefaultTimeout=setTimeout(()=>{this._ngxDefaultInterval=setInterval(()=>{const r=Math.floor(Math.random()*(this.items.length-1));this._ngxDefault=this.items[r]},2e3)},2e3)}ngOnDestroy(){clearTimeout(this._ngxDefaultTimeout),clearInterval(this._ngxDefaultInterval)}doNgxDefault(){return this._ngxDefault}inputTyped=(r,s)=>console.log("SingleDemoComponent.inputTyped",r,s);doFocus=()=>console.log("SingleDemoComponent.doFocus");doBlur=()=>console.log("SingleDemoComponent.doBlur");doOpen=()=>console.log("SingleDemoComponent.doOpen");doClose=()=>console.log("SingleDemoComponent.doClose");doSelect=r=>console.log("SingleDemoComponent.doSelect",r);doRemove=r=>console.log("SingleDemoComponent.doRemove",r);doSelectOptions=r=>console.log("SingleDemoComponent.doSelectOptions",r);static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-single-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"typed","focus","blur","open","close","select","remove","selectionChanges","formControl","allowClear","defaultValue","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a single city"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.bIt("typed",function(_){return d.inputTyped("ngx-select",_)})("focus",function(){return d.doFocus()})("blur",function(){return d.doBlur()})("open",function(){return d.doOpen()})("close",function(){return d.doClose()})("select",function(_){return d.doSelect(_)})("remove",function(_){return d.doRemove(_)})("selectionChanges",function(_){return d.doSelectOptions(_)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxControl.disabled?d.ngxControl.enable():d.ngxControl.disable()}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("formControl",d.ngxControl)("allowClear",!0)("defaultValue",d.doNgxDefault())("items",d.items),u.R7$(4),u.JRh(u.bMT(9,6,d.ngxControl.value)),u.R7$(4),u.SpI(" ",d.ngxControl.disabled?"Enable":"Disable"," "))},dependencies:[cr,Jo,En,Td,Uo,qo],encapsulation:2})}return i})(),nm=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Leeds","Leipzig","Lisbon","\u0141\xf3d\u017a","London","Krak\xf3w","Madrid","M\xe1laga","Manchester","Marseille","Milan","Munich","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza"];ngxValue=[];ngxDisabled=!1;doSelectOptions=r=>console.log("MultipleDemoComponent.doSelectOptions",r);static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-multiple-demo"]],decls:13,vars:9,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","selectionChanges","multiple","items","disabled","ngModel","autoClearSearch"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select multiple cities"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.bIt("selectionChanges",function(_){return d.doSelectOptions(_)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("multiple",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.Y8G("autoClearSearch",!0),u.R7$(4),u.JRh(u.bMT(9,7,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,va,Uo,Wo,cr],encapsulation:2})}return i})(),Rf=(()=>{class i{items=[{id:100,text:"Austria",children:[{id:54,text:"Vienna"}]},{id:200,text:"Belgium",children:[{id:2,text:"Antwerp"},{id:9,text:"Brussels"}]},{id:300,text:"Bulgaria",children:[{id:48,text:"Sofia"}]},{id:400,text:"Croatia",children:[{id:58,text:"Zagreb"}]},{id:500,text:"Czech Republic",children:[{id:42,text:"Prague"}]},{id:600,text:"Denmark",children:[{id:13,text:"Copenhagen"}]},{id:700,text:"England",children:[{id:6,text:"Birmingham"},{id:7,text:"Bradford"},{id:26,text:"Leeds",disabled:!0},{id:30,text:"London"},{id:34,text:"Manchester"},{id:47,text:"Sheffield"}]},{id:800,text:"Finland",children:[{id:25,text:"Helsinki"}]},{id:900,text:"France",children:[{id:35,text:"Marseille"},{id:40,text:"Paris"}]},{id:1e3,text:"Germany",children:[{id:5,text:"Berlin"},{id:8,text:"Bremen"},{id:12,text:"Cologne"},{id:14,text:"Dortmund"},{id:15,text:"Dresden"},{id:17,text:"D\xfcsseldorf"},{id:18,text:"Essen"},{id:19,text:"Frankfurt"},{id:23,text:"Hamburg"},{id:24,text:"Hannover"},{id:27,text:"Leipzig"},{id:37,text:"Munich"},{id:50,text:"Stuttgart"}]},{id:1100,text:"Greece",children:[{id:3,text:"Athens"}]},{id:1200,text:"Hungary",children:[{id:11,text:"Budapest"}]},{id:1300,text:"Ireland",children:[{id:16,text:"Dublin"}]},{id:1400,text:"Italy",children:[{id:20,text:"Genoa"},{id:36,text:"Milan"},{id:38,text:"Naples"},{id:39,text:"Palermo"},{id:44,text:"Rome"},{id:52,text:"Turin"}]},{id:1500,text:"Latvia",children:[{id:43,text:"Riga"}]},{id:1600,text:"Lithuania",children:[{id:55,text:"Vilnius"}]},{id:1700,text:"Netherlands",children:[{id:1,text:"Amsterdam"},{id:45,text:"Rotterdam"},{id:51,text:"The Hague"}]},{id:1800,text:"Poland",children:[{id:29,text:"\u0141\xf3d\u017a"},{id:31,text:"Krak\xf3w"},{id:41,text:"Pozna\u0144"},{id:56,text:"Warsaw"},{id:57,text:"Wroc\u0142aw"}]},{id:1900,text:"Portugal",children:[{id:28,text:"Lisbon"}]},{id:2e3,text:"Romania",children:[{id:10,text:"Bucharest"}]},{id:2100,text:"Scotland",children:[{id:21,text:"Glasgow"}]},{id:2200,text:"Spain",children:[{id:4,text:"Barcelona"},{id:32,text:"Madrid"},{id:33,text:"M\xe1laga"},{id:46,text:"Seville"},{id:53,text:"Valencia"},{id:59,text:"Zaragoza"}]},{id:2300,text:"Sweden",children:[{id:22,text:"Gothenburg"},{id:49,text:"Stockholm"}]}];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-children-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","id","optionTextField","text","optGroupLabelField","text","optGroupOptionsField","children","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a city by country"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("allowClear",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(4),u.JRh(u.bMT(9,6,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,va,Uo,Wo,cr],encapsulation:2})}return i})();function rm(i,l){if(1&i&&(u.nrm(0,"span",7)(1,"span",8),u.EFF(2)),2&i){const r=l.$implicit,s=l.text,d=u.XpG();u.Aen(d.style("background-color:"+r.value)),u.R7$(),u.Y8G("innerHtml",s,u.npT),u.R7$(),u.SpI(" (",r.data.hex,") ")}}function xc(i,l){1&i&&u.EFF(0),2&i&&u.SpI(' "',l.$implicit,'" not found ')}const Uw=[{name:"Blue 10",hex:"#C0E6FF"},{name:"Blue 20",hex:"#7CC7FF"},{name:"Blue 30",hex:"#5AAAFA",disabled:!0},{name:"Blue 40",hex:"#5596E6"},{name:"Blue 50",hex:"#4178BE"},{name:"Blue 60",hex:"#325C80"},{name:"Blue 70",hex:"#264A60"},{name:"Blue 80",hex:"#1D3649"},{name:"Blue 90",hex:"#152935"},{name:"Blue 100",hex:"#010205"},{name:"Green 10",hex:"#C8F08F"},{name:"Green 20",hex:"#B4E051"},{name:"Green 30",hex:"#8CD211"},{name:"Green 40",hex:"#5AA700"},{name:"Green 50",hex:"#4B8400"},{name:"Green 60",hex:"#2D660A"},{name:"Green 70",hex:"#144D14"},{name:"Green 80",hex:"#0A3C02"},{name:"Green 90",hex:"#0C2808"},{name:"Green 100",hex:"#010200"},{name:"Red 10",hex:"#FFD2DD"},{name:"Red 20",hex:"#FFA5B4"},{name:"Red 30",hex:"#FF7D87"},{name:"Red 40",hex:"#FF5050"},{name:"Red 50",hex:"#E71D32"},{name:"Red 60",hex:"#AD1625"},{name:"Red 70",hex:"#8C101C"},{name:"Red 80",hex:"#6E0A1E"},{name:"Red 90",hex:"#4C0A17"},{name:"Red 100",hex:"#040001"},{name:"Yellow 10",hex:"#FDE876"},{name:"Yellow 20",hex:"#FDD600"},{name:"Yellow 30",hex:"#EFC100"},{name:"Yellow 40",hex:"#BE9B00"},{name:"Yellow 50",hex:"#8C7300"},{name:"Yellow 60",hex:"#735F00"},{name:"Yellow 70",hex:"#574A00"},{name:"Yellow 80",hex:"#3C3200"},{name:"Yellow 90",hex:"#281E00"},{name:"Yellow 100",hex:"#020100"}];let om=(()=>{class i{sanitizer;items=Uw;ngxValue=[];ngxDisabled=!1;constructor(r){this.sanitizer=r}style(r){return this.sanitizer.bypassSecurityTrustStyle(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(_l))};static \u0275cmp=u.VBU({type:i,selectors:[["app-rich-demo"]],decls:15,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","hex","optionTextField","name","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],["ngx-select-option","","ngx-select-option-selected",""],["ngx-select-option-not-found",""],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"],[1,"color-box"],[3,"innerHtml"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a color"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.DNE(5,rm,3,4,"ng-template",3)(6,xc,1,1,"ng-template",4),u.k0s(),u.nrm(7,"p"),u.j41(8,"div",5)(9,"pre"),u.EFF(10),u.nI1(11,"json"),u.k0s()(),u.j41(12,"div")(13,"button",6),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(14),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("allowClear",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(6),u.JRh(u.bMT(11,6,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,jd,Gp,Hd,va,Uo,Wo,cr],styles:[".color-box{display:inline-block;height:14px;width:14px;margin-right:4px;border:1px solid #000}\n"],encapsulation:2})}return i})(),ib=(()=>{class i{_items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];constructor(){const r=[];for(let s=1;s<=20;s++)this._items.forEach(d=>r.push(s+" "+d));this.items=r}items=[];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-no-autocomplete-demo"]],decls:13,vars:10,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","allowClear","items","noAutoComplete","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(),u.SpI("Select a single city with ",d.items.length," items"),u.R7$(3),u.Y8G("allowClear",!0)("items",d.items)("noAutoComplete",!0)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(4),u.JRh(u.bMT(9,8,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,va,Uo,Wo,cr],encapsulation:2})}return i})(),$w=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen"];ngxControl1=new Gt;ngxControl2=new Gt;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-append-to-demo"]],decls:33,vars:12,consts:[[1,"example-block"],[1,"example-block__item"],[1,"card",2,"display","block","overflow","scroll","height","300px"],[2,"width","800px","height","800px","padding","200px"],[2,"padding","50px","overflow","hidden","border","1px solid black"],["placeholder","No city selected",3,"formControl","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"],["id","scrollable",1,"card",2,"display","block","overflow","scroll","height","300px"],["placeholder","No city selected","appendTo","#scrollable",3,"formControl","items"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Container with fixed height and hidden overflow"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"p"),u.EFF(5,"Default"),u.k0s(),u.j41(6,"div",2)(7,"div",3)(8,"div",4),u.nrm(9,"ngx-select",5),u.k0s()()(),u.nrm(10,"p"),u.j41(11,"div",6)(12,"pre"),u.EFF(13),u.nI1(14,"json"),u.k0s()(),u.j41(15,"div")(16,"button",7),u.bIt("click",function(){return d.ngxControl1.disabled?d.ngxControl1.enable():d.ngxControl1.disable()}),u.EFF(17),u.k0s()()(),u.j41(18,"div",1)(19,"p"),u.EFF(20,"Appended to scrollable"),u.k0s(),u.j41(21,"div",8)(22,"div",3)(23,"div",4),u.nrm(24,"ngx-select",9),u.k0s()()(),u.nrm(25,"p"),u.j41(26,"div",6)(27,"pre"),u.EFF(28),u.nI1(29,"json"),u.k0s()(),u.j41(30,"div")(31,"button",7),u.bIt("click",function(){return d.ngxControl2.disabled?d.ngxControl2.enable():d.ngxControl2.disable()}),u.EFF(32),u.k0s()()()()),2&s&&(u.R7$(9),u.Y8G("formControl",d.ngxControl1)("items",d.items),u.R7$(4),u.JRh(u.bMT(14,8,d.ngxControl1.value)),u.R7$(4),u.SpI(" ",d.ngxControl1.disabled?"Enable":"Disable"," "),u.R7$(7),u.Y8G("formControl",d.ngxControl2)("items",d.items),u.R7$(4),u.JRh(u.bMT(29,10,d.ngxControl2.value)),u.R7$(4),u.SpI(" ",d.ngxControl2.disabled?"Enable":"Disable"," "))},dependencies:[Jo,En,Td,Uo,qo,cr],encapsulation:2})}return i})();const sb=x(414).A,ab={single:{heading:"Single",ts:x(249),html:x(205)},multiple:{heading:"Multiple",ts:x(545),html:x(125)},children:{heading:"Children",ts:x(224),html:x(96)},rich:{heading:"Rich",ts:x(379),html:x(499)},noAutoComplete:{heading:"noAutoComplete",ts:x(203),html:x(3)},appendTo:{heading:"appendTo",ts:x(607),html:x(175)}};let im=(()=>{class i{currentHeading="Single";tabDesc=ab;doc=sb;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-select-section"]],decls:24,vars:7,consts:[["label","Single"],[3,"desc"],["label","Multiple"],["label","Children"],["label","Rich"],["label","No autocomplete"],["label","Append to element"],[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body","doc-api",3,"innerHTML"]],template:function(s,d){1&s&&(u.j41(0,"section")(1,"mat-tab-group")(2,"mat-tab",0)(3,"app-sample-section",1),u.nrm(4,"app-single-demo"),u.k0s()(),u.j41(5,"mat-tab",2)(6,"app-sample-section",1),u.nrm(7,"app-multiple-demo"),u.k0s()(),u.j41(8,"mat-tab",3)(9,"app-sample-section",1),u.nrm(10,"app-children-demo"),u.k0s()(),u.j41(11,"mat-tab",4)(12,"app-sample-section",1),u.nrm(13,"app-rich-demo"),u.k0s()(),u.j41(14,"mat-tab",5)(15,"app-sample-section",1),u.nrm(16,"app-no-autocomplete-demo"),u.k0s()(),u.j41(17,"mat-tab",6)(18,"app-sample-section",1),u.nrm(19,"app-append-to-demo"),u.k0s()()(),u.j41(20,"h2"),u.EFF(21,"Documentation"),u.k0s(),u.j41(22,"div",7),u.nrm(23,"div",8),u.k0s()()),2&s&&(u.R7$(3),u.Y8G("desc",d.tabDesc.single),u.R7$(3),u.Y8G("desc",d.tabDesc.multiple),u.R7$(3),u.Y8G("desc",d.tabDesc.children),u.R7$(3),u.Y8G("desc",d.tabDesc.rich),u.R7$(3),u.Y8G("desc",d.tabDesc.noAutoComplete),u.R7$(3),u.Y8G("desc",d.tabDesc.appendTo),u.R7$(5),u.Y8G("innerHTML",d.doc,u.npT))},dependencies:[Tc,Nf,Of,tm,Hw,nm,Rf,om,ib,$w],styles:["[_nghost-%COMP%]{display:block}"]})}return i})();const Mn=x(330),Sc=x(48).A;(function nC(i,l){return(0,u.TL3)({rootComponent:i,...t_(l)})})((()=>{class i{gettingStarted=Sc;p=Mn;ngAfterContentInit(){setTimeout(()=>{},150)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-root"]],decls:33,vars:2,consts:[[1,"bd-pageheader"],[1,"container"],["href","https://getbootstrap.com/docs/3.3/","target","_blank",1,"badge","badge-light"],["href","https://getbootstrap.com/","target","_blank",1,"badge","badge-light"],["href","https://github.com/optimistex/ngx-select-ex",1,"btn","btn-primary"],[1,"row"],[1,"col-lg-1"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=star&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=fork&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["id","getting-started",3,"innerHtml"],[1,"footer"],[1,"text-muted","text-center"],["href","https://github.com/optimistex/ngx-select-ex"],["href","https://github.com/optimistex"]],template:function(s,d){1&s&&(u.j41(0,"main",0)(1,"div",1)(2,"h1"),u.EFF(3),u.k0s(),u.j41(4,"p"),u.EFF(5,"Native Angular component for Select"),u.k0s(),u.j41(6,"p"),u.EFF(7," Compatible with "),u.j41(8,"a",2),u.EFF(9,"Bootstrap 3"),u.k0s(),u.EFF(10," and "),u.j41(11,"b")(12,"a",3),u.EFF(13,"Bootstrap 4"),u.k0s()()(),u.j41(14,"a",4),u.EFF(15,"View on GitHub"),u.k0s(),u.j41(16,"div",5)(17,"div",6),u.nrm(18,"iframe",7),u.k0s(),u.j41(19,"div",6),u.nrm(20,"iframe",8),u.k0s()()()(),u.j41(21,"div",1),u.nrm(22,"section",9)(23,"app-select-section"),u.k0s(),u.j41(24,"footer",10)(25,"div",1)(26,"p",11)(27,"a",12),u.EFF(28,"ngx-select-ex"),u.k0s(),u.EFF(29," is maintained by "),u.j41(30,"a",13),u.EFF(31,"optimistex"),u.k0s(),u.EFF(32,"."),u.k0s()()()),2&s&&(u.R7$(3),u.SpI("ngx-select-ex v",null==d.p?null:d.p.version,""),u.R7$(19),u.Y8G("innerHtml",d.gettingStarted,u.npT))},dependencies:[Jo,im],encapsulation:2})}return i})(),ku).catch(i=>console.error(i))},667:(he,U,x)=>{he=x.nmd(he);var K="__lodash_hash_undefined__",G=9007199254740991,be="[object Arguments]",Q="[object Array]",ve="[object Boolean]",Y="[object Date]",B="[object Error]",pe="[object Function]",ae="[object Map]",xt="[object Number]",Te="[object Object]",jt="[object Promise]",lt="[object RegExp]",xe="[object Set]",te="[object String]",mt="[object WeakMap]",He="[object ArrayBuffer]",L="[object DataView]",hi=/^\[object .+?Constructor\]$/,Cr=/^(?:0|[1-9]\d*)$/,Ue={};Ue["[object Float32Array]"]=Ue["[object Float64Array]"]=Ue["[object Int8Array]"]=Ue["[object Int16Array]"]=Ue["[object Int32Array]"]=Ue["[object Uint8Array]"]=Ue["[object Uint8ClampedArray]"]=Ue["[object Uint16Array]"]=Ue["[object Uint32Array]"]=!0,Ue[be]=Ue[Q]=Ue[He]=Ue[ve]=Ue[L]=Ue[Y]=Ue[B]=Ue[pe]=Ue[ae]=Ue[xt]=Ue[Te]=Ue[lt]=Ue[xe]=Ue[te]=Ue[mt]=!1;var tn="object"==typeof global&&global&&global.Object===Object&&global,Xa="object"==typeof self&&self&&self.Object===Object&&self,$n=tn||Xa||Function("return this")(),ru=U&&!U.nodeType&&U,ih=ru&&he&&!he.nodeType&&he,ps=ih&&ih.exports===ru,gs=ps&&tn.process,ms=function(){try{return gs&&gs.binding&&gs.binding("util")}catch{}}(),pi=ms&&ms.isTypedArray;function nn(b,I){for(var k=-1,X=null==b?0:b.length;++kot))return!1;var Ze=ge.get(b);if(Ze&&ge.get(I))return Ze==I;var rn=-1,mn=!0,ct=2&k?new St:void 0;for(ge.set(b,I),ge.set(I,b);++rn-1},Fn.prototype.set=function ch(b,I){var k=this.__data__,X=Yr(k,b);return X<0?(++this.size,k.push([b,I])):k[X][1]=I,this},Xr.prototype.clear=function uh(){this.size=0,this.__data__={hash:new Nn,map:new(zt||Fn),string:new Nn}},Xr.prototype.delete=function Cs(b){var I=Ir(this,b).delete(b);return this.size-=I?1:0,I},Xr.prototype.get=function el(b){return Ir(this,b).get(b)},Xr.prototype.has=function tl(b){return Ir(this,b).has(b)},Xr.prototype.set=function dh(b,I){var k=Ir(this,b),X=k.size;return k.set(b,I),this.size+=k.size==X?0:1,this},St.prototype.add=St.prototype.push=function ie(b){return this.__data__.set(b,K),this},St.prototype.has=function nl(b){return this.__data__.has(b)},ar.prototype.clear=function du(){this.__data__=new Fn,this.size=0},ar.prototype.delete=function fh(b){var I=this.__data__,k=I.delete(b);return this.size=I.size,k},ar.prototype.get=function fu(b){return this.__data__.get(b)},ar.prototype.has=function Oe(b){return this.__data__.has(b)},ar.prototype.set=function hu(b,I){var k=this.__data__;if(k instanceof Fn){var X=k.__data__;if(!zt||X.length<199)return X.push([b,I]),this.size=++k.size,this;k=this.__data__=new Xr(X)}return k.set(b,I),this.size=k.size,this};var ph=Zr?function(b){return null==b?[]:(b=Object(b),function ou(b,I){for(var k=-1,X=null==b?0:b.length,Ye=0,ge=[];++k-1&&b%1==0&&b-1&&b%1==0&&b<=G}function cr(b){var I=typeof b;return null!=b&&("object"==I||"function"==I)}function vi(b){return null!=b&&"object"==typeof b}var sl=pi?function _s(b){return function(I){return b(I)}}(pi):function rl(b){return vi(b)&&il(b.length)&&!!Ue[Jr(b)]};function bi(b){return function ol(b){return null!=b&&il(b.length)&&!gu(b)}(b)?function xo(b,I){var k=lr(b),X=!k&&Kn(b),Ye=!k&&!X&&ue(b),ge=!k&&!X&&!Ye&&sl(b),qe=k||X||Ye||ge,ot=qe?function Eo(b,I){for(var k=-1,X=Array(b);++k{"use strict";x.d(U,{t:()=>K});var u=x(413);class K extends u.B{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const G=super._subscribe($);return!G.closed&&$.next(this._value),G}getValue(){const{hasError:$,thrownError:G,_value:be}=this;if($)throw G;return this._throwIfClosed(),be}next($){super.next(this._value=$)}}},226:(he,U,x)=>{"use strict";x.d(U,{c:()=>Y});var u=x(707),K=x(359),se=x(494),$=x(669);var Q=x(26),q=x(71),ve=x(786);let Y=(()=>{class ae{constructor(Be){Be&&(this._subscribe=Be)}lift(Be){const Te=new ae;return Te.source=this,Te.operator=Be,Te}subscribe(Be,Te,jt){const gt=function Ct(ae){return ae&&ae instanceof u.vU||function pe(ae){return ae&&(0,q.T)(ae.next)&&(0,q.T)(ae.error)&&(0,q.T)(ae.complete)}(ae)&&(0,K.Uv)(ae)}(Be)?Be:new u.Ms(Be,Te,jt);return(0,ve.Y)(()=>{const{operator:lt,source:xe}=this;gt.add(lt?lt.call(gt,xe):xe?this._subscribe(gt):this._trySubscribe(gt))}),gt}_trySubscribe(Be){try{return this._subscribe(Be)}catch(Te){Be.error(Te)}}forEach(Be,Te){return new(Te=B(Te))((jt,gt)=>{const lt=new u.Ms({next:xe=>{try{Be(xe)}catch(te){gt(te),lt.unsubscribe()}},error:gt,complete:jt});this.subscribe(lt)})}_subscribe(Be){var Te;return null===(Te=this.source)||void 0===Te?void 0:Te.subscribe(Be)}[se.s](){return this}pipe(...Be){return function be(ae){return 0===ae.length?$.D:1===ae.length?ae[0]:function(Be){return ae.reduce((Te,jt)=>jt(Te),Be)}}(Be)(this)}toPromise(Be){return new(Be=B(Be))((Te,jt)=>{let gt;this.subscribe(lt=>gt=lt,lt=>jt(lt),()=>Te(gt))})}}return ae.create=xt=>new ae(xt),ae})();function B(ae){var xt;return null!==(xt=ae??Q.$.Promise)&&void 0!==xt?xt:Promise}},413:(he,U,x)=>{"use strict";x.d(U,{B:()=>Q});var u=x(226),K=x(359);const $=(0,x(853).L)(ve=>function(){ve(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=x(908),be=x(786);let Q=(()=>{class ve extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const pe=new q(this,this);return pe.operator=B,pe}_throwIfClosed(){if(this.closed)throw new $}next(B){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const pe of this.currentObservers)pe.next(B)}})}error(B){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:pe}=this;for(;pe.length;)pe.shift().error(B)}})}complete(){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:pe,isStopped:Ct,observers:ae}=this;return pe||Ct?K.Kn:(this.currentObservers=null,ae.push(B),new K.yU(()=>{this.currentObservers=null,(0,G.o)(ae,B)}))}_checkFinalizedStatuses(B){const{hasError:pe,thrownError:Ct,isStopped:ae}=this;pe?B.error(Ct):ae&&B.complete()}asObservable(){const B=new u.c;return B.source=this,B}}return ve.create=(Y,B)=>new q(Y,B),ve})();class q extends Q{constructor(Y,B){super(),this.destination=Y,this.source=B}next(Y){var B,pe;null===(pe=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===pe||pe.call(B,Y)}error(Y){var B,pe;null===(pe=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===pe||pe.call(B,Y)}complete(){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===B||B.call(Y)}_subscribe(Y){var B,pe;return null!==(pe=null===(B=this.source)||void 0===B?void 0:B.subscribe(Y))&&void 0!==pe?pe:K.Kn}}},707:(he,U,x)=>{"use strict";x.d(U,{Ms:()=>Be,vU:()=>pe});var u=x(71),K=x(359),se=x(26),$=x(334),G=x(343);const be=ve("C",void 0,void 0);function ve(xe,te,ze){return{kind:xe,value:te,error:ze}}var Y=x(270),B=x(786);class pe extends K.yU{constructor(te){super(),this.isStopped=!1,te?(this.destination=te,(0,K.Uv)(te)&&te.add(this)):this.destination=lt}static create(te,ze,Et){return new Be(te,ze,Et)}next(te){this.isStopped?gt(function q(xe){return ve("N",xe,void 0)}(te),this):this._next(te)}error(te){this.isStopped?gt(function Q(xe){return ve("E",void 0,xe)}(te),this):(this.isStopped=!0,this._error(te))}complete(){this.isStopped?gt(be,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(te){this.destination.next(te)}_error(te){try{this.destination.error(te)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ct=Function.prototype.bind;function ae(xe,te){return Ct.call(xe,te)}class xt{constructor(te){this.partialObserver=te}next(te){const{partialObserver:ze}=this;if(ze.next)try{ze.next(te)}catch(Et){Te(Et)}}error(te){const{partialObserver:ze}=this;if(ze.error)try{ze.error(te)}catch(Et){Te(Et)}else Te(te)}complete(){const{partialObserver:te}=this;if(te.complete)try{te.complete()}catch(ze){Te(ze)}}}class Be extends pe{constructor(te,ze,Et){let mt;if(super(),(0,u.T)(te)||!te)mt={next:te??void 0,error:ze??void 0,complete:Et??void 0};else{let He;this&&se.$.useDeprecatedNextContext?(He=Object.create(te),He.unsubscribe=()=>this.unsubscribe(),mt={next:te.next&&ae(te.next,He),error:te.error&&ae(te.error,He),complete:te.complete&&ae(te.complete,He)}):mt=te}this.destination=new xt(mt)}}function Te(xe){se.$.useDeprecatedSynchronousErrorHandling?(0,B.l)(xe):(0,$.m)(xe)}function gt(xe,te){const{onStoppedNotification:ze}=se.$;ze&&Y.f.setTimeout(()=>ze(xe,te))}const lt={closed:!0,next:G.l,error:function jt(xe){throw xe},complete:G.l}},359:(he,U,x)=>{"use strict";x.d(U,{Kn:()=>be,yU:()=>G,Uv:()=>Q});var u=x(71);const se=(0,x(853).L)(ve=>function(B){ve(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((pe,Ct)=>`${Ct+1}) ${pe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B});var $=x(908);class G{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const ae of B)ae.remove(this);else B.remove(this);const{initialTeardown:pe}=this;if((0,u.T)(pe))try{pe()}catch(ae){Y=ae instanceof se?ae.errors:[ae]}const{_finalizers:Ct}=this;if(Ct){this._finalizers=null;for(const ae of Ct)try{q(ae)}catch(xt){Y=Y??[],xt instanceof se?Y=[...Y,...xt.errors]:Y.push(xt)}}if(Y)throw new se(Y)}}add(Y){var B;if(Y&&Y!==this)if(this.closed)q(Y);else{if(Y instanceof G){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(Y)}}_hasParent(Y){const{_parentage:B}=this;return B===Y||Array.isArray(B)&&B.includes(Y)}_addParent(Y){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(Y),B):B?[B,Y]:Y}_removeParent(Y){const{_parentage:B}=this;B===Y?this._parentage=null:Array.isArray(B)&&(0,$.o)(B,Y)}remove(Y){const{_finalizers:B}=this;B&&(0,$.o)(B,Y),Y instanceof G&&Y._removeParent(this)}}G.EMPTY=(()=>{const ve=new G;return ve.closed=!0,ve})();const be=G.EMPTY;function Q(ve){return ve instanceof G||ve&&"closed"in ve&&(0,u.T)(ve.remove)&&(0,u.T)(ve.add)&&(0,u.T)(ve.unsubscribe)}function q(ve){(0,u.T)(ve)?ve():ve.unsubscribe()}},26:(he,U,x)=>{"use strict";x.d(U,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},983:(he,U,x)=>{"use strict";x.d(U,{w:()=>K});const K=new(x(226).c)(G=>G.complete())},360:(he,U,x)=>{"use strict";x.d(U,{_:()=>K});var u=x(707);function K($,G,be,Q,q){return new se($,G,be,Q,q)}class se extends u.vU{constructor(G,be,Q,q,ve,Y){super(G),this.onFinalize=ve,this.shouldUnsubscribe=Y,this._next=be?function(B){try{be(B)}catch(pe){G.error(pe)}}:super._next,this._error=q?function(B){try{q(B)}catch(pe){G.error(pe)}finally{this.unsubscribe()}}:super._error,this._complete=Q?function(){try{Q()}catch(B){G.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var G;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:be}=this;super.unsubscribe(),!be&&(null===(G=this.onFinalize)||void 0===G||G.call(this))}}}},964:(he,U,x)=>{"use strict";x.d(U,{p:()=>se});var u=x(974),K=x(360);function se($,G){return(0,u.N)((be,Q)=>{let q=0;be.subscribe((0,K._)(Q,ve=>$.call(G,ve,q++)&&Q.next(ve)))})}},354:(he,U,x)=>{"use strict";x.d(U,{T:()=>se});var u=x(974),K=x(360);function se($,G){return(0,u.N)((be,Q)=>{let q=0;be.subscribe((0,K._)(Q,ve=>{Q.next($.call(G,ve,q++))}))})}},697:(he,U,x)=>{"use strict";x.d(U,{s:()=>$});var u=x(983),K=x(974),se=x(360);function $(G){return G<=0?()=>u.w:(0,K.N)((be,Q)=>{let q=0;be.subscribe((0,se._)(Q,ve=>{++q<=G&&(Q.next(ve),G<=q&&Q.complete())}))})}},270:(he,U,x)=>{"use strict";x.d(U,{f:()=>u});const u={setTimeout(K,se,...$){const{delegate:G}=u;return G?.setTimeout?G.setTimeout(K,se,...$):setTimeout(K,se,...$)},clearTimeout(K){const{delegate:se}=u;return(se?.clearTimeout||clearTimeout)(K)},delegate:void 0}},494:(he,U,x)=>{"use strict";x.d(U,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},908:(he,U,x)=>{"use strict";function u(K,se){if(K){const $=K.indexOf(se);0<=$&&K.splice($,1)}}x.d(U,{o:()=>u})},853:(he,U,x)=>{"use strict";function u(K){const $=K(G=>{Error.call(G),G.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}x.d(U,{L:()=>u})},786:(he,U,x)=>{"use strict";x.d(U,{Y:()=>se,l:()=>$});var u=x(26);let K=null;function se(G){if(u.$.useDeprecatedSynchronousErrorHandling){const be=!K;if(be&&(K={errorThrown:!1,error:null}),G(),be){const{errorThrown:Q,error:q}=K;if(K=null,Q)throw q}}else G()}function $(G){u.$.useDeprecatedSynchronousErrorHandling&&K&&(K.errorThrown=!0,K.error=G)}},669:(he,U,x)=>{"use strict";function u(K){return K}x.d(U,{D:()=>u})},71:(he,U,x)=>{"use strict";function u(K){return"function"==typeof K}x.d(U,{T:()=>u})},974:(he,U,x)=>{"use strict";x.d(U,{N:()=>se});var u=x(71);function se($){return G=>{if(function K($){return(0,u.T)($?.lift)}(G))return G.lift(function(be){try{return $(be,this)}catch(Q){this.error(Q)}});throw new TypeError("Unable to lift unknown Observable type")}}},343:(he,U,x)=>{"use strict";function u(){}x.d(U,{l:()=>u})},334:(he,U,x)=>{"use strict";x.d(U,{m:()=>se});var u=x(26),K=x(270);function se($){K.f.setTimeout(()=>{const{onUnhandledError:G}=u.$;if(!G)throw $;G($)})}},414:(he,U,x)=>{"use strict";x.d(U,{A:()=>K});const K='

Usage

  1. Install ngx-select-ex through npm package manager using the following command:

    npm i ngx-select-ex --save\n
  2. Add NgxSelectModule into your AppModule class. app.module.ts would look like this:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule } from 'ngx-select-ex';\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n

    If you want to change the default options then use next code:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule, INgxSelectOptions } from 'ngx-select-ex';\n\nconst CustomSelectOptions: INgxSelectOptions = { // Check the interface for more options\n    optionValueField: 'id',\n    optionTextField: 'name'\n};\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule.forRoot(CustomSelectOptions)],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n
  3. Include Bootstrap styles. For example add to your index.html

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">\n
  4. Add the tag <ngx-select> into some html

    <ngx-select [items]="items" [(ngModel)]="itemId"></ngx-select>\n
  5. More information regarding of using ngx-select-ex is located in demo.

API

Any item can be disabled for prevent selection. For disable an item add the property disabled to the item.

Input Type Default Description
[items] any[] [] Items array. Should be an array of objects with id and text properties. As convenience, you may also pass an array of strings, in which case the same string is used for both the ID and the text. Items may be nested by adding a options property to any item, whose value should be another array of items. Items that have children may omit to have an ID.
optionValueField string 'id' Provide an opportunity to change the name an id property of objects in the items
optionTextField string 'text' Provide an opportunity to change the name a text property of objects in the items
optGroupLabelField string 'label' Provide an opportunity to change the name a label property of objects with an options property in the items
optGroupOptionsField string 'options' Provide an opportunity to change the name of an options property of objects in the items
[multiple] boolean false Mode of this component. If set true user can select more than one option
[allowClear] boolean false Set to true to allow the selection to be cleared. This option only applies to single-value inputs
[placeholder] string '' Set to true Placeholder text to display when the element has no focus and selected items
[noAutoComplete] boolean false Set to true to hide the search input. This option only applies to single-value inputs
[keepSelectedItems] boolean false Storing the selected items when the item list is changed
[disabled] boolean false When true, it specifies that the component should be disabled
[defaultValue] any[] [] Use to set default value
autoSelectSingleOption boolean false Auto select a non disabled single option
autoClearSearch boolean false Auto clear a search text after select an option. Has effect for multiple = true
noResultsFound string 'No results found' The default text showed when a search has no results
size 'small'/'default'/'large' 'default' Adding bootstrap classes: form-control-sm, input-sm, form-control-lg input-lg, btn-sm, btn-lg
searchCallback (search: string, item: INgxSelectOption) => boolean null The callback function for custom filtering the select list
autoActiveOnMouseEnter boolean true Automatically activate item when mouse enter on it
isFocused boolean false Makes the component focused
keepSelectMenuOpened boolean false Keeps the select menu opened
autocomplete string 'off' Sets an autocomplete value for the input field
dropDownMenuOtherClasses string '' Add css classes to the element with dropdown-menu class. For example dropdown-menu-right
showOptionNotFoundForEmptyItems boolean false Shows the "Not Found" menu option in case of out of items at all
noSanitize boolean false Disables auto mark an HTML as safe. Turn it on for safety from XSS if you render untrusted content in the options
appendTo string null Append dropdown menu to any element using css selector
Output Description
(typed) Fired on changing search input. Returns string with that value.
(focus) Fired on select focus
(blur) Fired on select blur
(open) Fired on select dropdown open
(close) Fired on select dropdown close
(select) Fired on an item selected by user. Returns value of the selected item.
(remove) Fired on an item removed by user. Returns value of the removed item.
(navigated) Fired on navigate by the dropdown list. Returns: INgxOptionNavigated.
(selectionChanges) Fired on change selected options. Returns: INgxSelectOption[].

Warning! Although the component contains the select and the remove events, the better solution is using valueChanges of the FormControl.

import {Component} from '@angular/core';\nimport {FormControl} from '@angular/forms';\n\n@Component({\n    selector: 'app-example',\n    template: `<ngx-select [items]="['111', '222']" [formControl]="selectControl"></ngx-select>`\n})\nclass ExampleComponent {\n    public selectControl = new FormControl();\n    \n    constructor() {\n        this.selectControl.valueChanges.subscribe(value => console.log(value));\n    }\n}\n

Styles and customization

Currently, the component contains CSS classes named within BEM Methodology. As well it contains the "Bootstrap classes". Recommended use BEM classes for style customization.

List of styles for customization:

  • ngx-select - Main class of the component.
  • ngx-select_multiple - Modifier of the multiple mode. It's available when the property multiple is true.
  • ngx-select__disabled - Layer for the disabled mode.
  • ngx-select__selected - The common container for displaying selected items.
  • ngx-select__toggle - The toggle for single mode. It's available when the property multiple is false.
  • ngx-select__placeholder - The placeholder item. It's available when the property multiple is false.
  • ngx-select__selected-single - The selected item with single mode. It's available when the property multiple is false.
  • ngx-select__selected-plural - The multiple selected item. It's available when the property multiple is true.
  • ngx-select__allow-clear - The indicator that the selected single item can be removed. It's available while properties the multiple is false and the allowClear is true.
  • ngx-select__toggle-buttons - The container of buttons such as the clear and the toggle.
  • ngx-select__toggle-caret - The drop-down button of the single mode. It's available when the property multiple is false.
  • ngx-select__clear - The button clear.
  • ngx-select__clear-icon - The cross icon.
  • ngx-select__search - The input field for full text lives searching.
  • ngx-select__choices - The common container of items.
  • ngx-select__item-group - The group of items.
  • ngx-select__item - An item.
  • ngx-select__item_disabled - Modifier of a disabled item.
  • ngx-select__item_active - Modifier of the activated item.

Templates

For extended rendering customisation you are can use the ng-template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n\n    <ng-template ngx-select-option-selected let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found>\n        Nothing found\n    </ng-template>\n\n</ngx-select>\n

Also, you are can mix directives for reducing template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n    <ng-template ngx-select-option-selected ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found let-input>\n        Not found <button (click)="addItem(input)">(+) Add "{{input}}" as new item</button>\n    </ng-template>\n</ngx-select>\n

Description details of the directives:

  1. ngx-select-option-selected - Customization rendering selected options. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The text defined by the property optionTextField.
    • index - Number value of index the option in the select list. Always equal to zero for the single select.
  2. ngx-select-option - Customization rendering options in the dropdown menu. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The highlighted text defined by the property optionTextField. It is highlighted in the search.
    • index - Number value of index for the top level.
    • subIndex - Number value of index for the second level.
  3. ngx-select-option-not-found - Customization "not found text". Does not represent any variables.
'},48:(he,U,x)=>{"use strict";x.d(U,{A:()=>K});const K='

Getting started

First of all, Welcome!

'},175:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Container with fixed height and hidden overflow

\n
\n
\n

Default

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl1.value| json }}
\n
\n
\n \n
\n
\n\n
\n

Appended to scrollable

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl2.value| json }}
\n
\n
\n \n
\n
\n
\n'},607:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {NgxSelectModule} from \"ngx-select-ex\";\nimport {JsonPipe} from \"@angular/common\";\n\n@Component({\n selector: 'app-append-to-demo',\n templateUrl: './append-to-demo.html',\n imports: [\n NgxSelectModule,\n ReactiveFormsModule,\n JsonPipe\n ]\n})\nexport class AppendToDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen'];\n\n public ngxControl1 = new UntypedFormControl();\n public ngxControl2 = new UntypedFormControl();\n}\n"},96:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a city by country

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},224:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-children-demo',\n templateUrl: './children-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class ChildrenDemoComponent {\n public items: any[] = [\n {\n id: 100,\n text: 'Austria',\n children: [\n {id: 54, text: 'Vienna'},\n ],\n },\n {\n id: 200,\n text: 'Belgium',\n children: [\n {id: 2, text: 'Antwerp'},\n {id: 9, text: 'Brussels'},\n ],\n },\n {\n id: 300,\n text: 'Bulgaria',\n children: [\n {id: 48, text: 'Sofia'},\n ],\n },\n {\n id: 400,\n text: 'Croatia',\n children: [\n {id: 58, text: 'Zagreb'},\n ],\n },\n {\n id: 500,\n text: 'Czech Republic',\n children: [\n {id: 42, text: 'Prague'},\n ],\n },\n {\n id: 600,\n text: 'Denmark',\n children: [\n {id: 13, text: 'Copenhagen'},\n ],\n },\n {\n id: 700,\n text: 'England',\n children: [\n {id: 6, text: 'Birmingham'},\n {id: 7, text: 'Bradford'},\n {id: 26, text: 'Leeds', disabled: true},\n {id: 30, text: 'London'},\n {id: 34, text: 'Manchester'},\n {id: 47, text: 'Sheffield'},\n ],\n },\n {\n id: 800,\n text: 'Finland',\n children: [\n {id: 25, text: 'Helsinki'},\n ],\n },\n {\n id: 900,\n text: 'France',\n children: [\n {id: 35, text: 'Marseille'},\n {id: 40, text: 'Paris'},\n ],\n },\n {\n id: 1000,\n text: 'Germany',\n children: [\n {id: 5, text: 'Berlin'},\n {id: 8, text: 'Bremen'},\n {id: 12, text: 'Cologne'},\n {id: 14, text: 'Dortmund'},\n {id: 15, text: 'Dresden'},\n {id: 17, text: 'D\xfcsseldorf'},\n {id: 18, text: 'Essen'},\n {id: 19, text: 'Frankfurt'},\n {id: 23, text: 'Hamburg'},\n {id: 24, text: 'Hannover'},\n {id: 27, text: 'Leipzig'},\n {id: 37, text: 'Munich'},\n {id: 50, text: 'Stuttgart'},\n ],\n },\n {\n id: 1100,\n text: 'Greece',\n children: [\n {id: 3, text: 'Athens'},\n ],\n },\n {\n id: 1200,\n text: 'Hungary',\n children: [\n {id: 11, text: 'Budapest'},\n ],\n },\n {\n id: 1300,\n text: 'Ireland',\n children: [\n {id: 16, text: 'Dublin'},\n ],\n },\n {\n id: 1400,\n text: 'Italy',\n children: [\n {id: 20, text: 'Genoa'},\n {id: 36, text: 'Milan'},\n {id: 38, text: 'Naples'},\n {id: 39, text: 'Palermo'},\n {id: 44, text: 'Rome'},\n {id: 52, text: 'Turin'},\n ],\n },\n {\n id: 1500,\n text: 'Latvia',\n children: [\n {id: 43, text: 'Riga'},\n ],\n },\n {\n id: 1600,\n text: 'Lithuania',\n children: [\n {id: 55, text: 'Vilnius'},\n ],\n },\n {\n id: 1700,\n text: 'Netherlands',\n children: [\n {id: 1, text: 'Amsterdam'},\n {id: 45, text: 'Rotterdam'},\n {id: 51, text: 'The Hague'},\n ],\n },\n {\n id: 1800,\n text: 'Poland',\n children: [\n {id: 29, text: '\u0141\xf3d\u017a'},\n {id: 31, text: 'Krak\xf3w'},\n {id: 41, text: 'Pozna\u0144'},\n {id: 56, text: 'Warsaw'},\n {id: 57, text: 'Wroc\u0142aw'},\n ],\n },\n {\n id: 1900,\n text: 'Portugal',\n children: [\n {id: 28, text: 'Lisbon'},\n ],\n },\n {\n id: 2000,\n text: 'Romania',\n children: [\n {id: 10, text: 'Bucharest'},\n ],\n },\n {\n id: 2100,\n text: 'Scotland',\n children: [\n {id: 21, text: 'Glasgow'},\n ],\n },\n {\n id: 2200,\n text: 'Spain',\n children: [\n {id: 4, text: 'Barcelona'},\n {id: 32, text: 'Madrid'},\n {id: 33, text: 'M\xe1laga'},\n {id: 46, text: 'Seville'},\n {id: 53, text: 'Valencia'},\n {id: 59, text: 'Zaragoza'},\n ],\n },\n {\n id: 2300,\n text: 'Sweden',\n children: [\n {id: 22, text: 'Gothenburg'},\n {id: 49, text: 'Stockholm'},\n ],\n },\n ];\n\n public ngxValue: any[] = [];\n public ngxDisabled = false;\n}\n"},125:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select multiple cities

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},545:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import {Component} from '@angular/core';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-multiple-demo',\n templateUrl: './multiple-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class MultipleDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin', 'D\xfcsseldorf',\n 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg', 'Hamburg', 'Hannover',\n 'Helsinki', 'Leeds', 'Leipzig', 'Lisbon', '\u0141\xf3d\u017a', 'London', 'Krak\xf3w', 'Madrid',\n 'M\xe1laga', 'Manchester', 'Marseille', 'Milan', 'Munich', 'Naples', 'Palermo',\n 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome', 'Rotterdam', 'Seville', 'Sheffield',\n 'Sofia', 'Stockholm', 'Stuttgart', 'The Hague', 'Turin', 'Valencia', 'Vienna',\n 'Vilnius', 'Warsaw', 'Wroc\u0142aw', 'Zagreb', 'Zaragoza'];\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('MultipleDemoComponent.doSelectOptions', options);\n}\n"},3:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a single city with {{items.length}} items

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
'},203:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-no-autocomplete-demo',\n templateUrl: './no-autocomplete-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class NoAutoCompleteDemoComponent {\n public _items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n constructor() {\n const a = [];\n for (let i = 1; i <= 20; i++) {\n this._items.forEach(v => a.push(i + ' ' + v));\n }\n this.items = a;\n }\n\n public items: string[] = [];\n public ngxValue: any = [];\n public ngxDisabled = false;\n}\n"},499:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a color

\n
\n
\n \n\n \n \n \n ({{option.data.hex}})\n \n\n \n "{{input}}" not found\n \n\n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},379:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component, ViewEncapsulation } from '@angular/core';\nimport { DomSanitizer, SafeStyle } from '@angular/platform-browser';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\nconst COLORS = [\n {name: 'Blue 10', hex: '#C0E6FF'},\n {name: 'Blue 20', hex: '#7CC7FF'},\n {name: 'Blue 30', hex: '#5AAAFA', disabled: true},\n {name: 'Blue 40', hex: '#5596E6'},\n {name: 'Blue 50', hex: '#4178BE'},\n {name: 'Blue 60', hex: '#325C80'},\n {name: 'Blue 70', hex: '#264A60'},\n {name: 'Blue 80', hex: '#1D3649'},\n {name: 'Blue 90', hex: '#152935'},\n {name: 'Blue 100', hex: '#010205'},\n {name: 'Green 10', hex: '#C8F08F'},\n {name: 'Green 20', hex: '#B4E051'},\n {name: 'Green 30', hex: '#8CD211'},\n {name: 'Green 40', hex: '#5AA700'},\n {name: 'Green 50', hex: '#4B8400'},\n {name: 'Green 60', hex: '#2D660A'},\n {name: 'Green 70', hex: '#144D14'},\n {name: 'Green 80', hex: '#0A3C02'},\n {name: 'Green 90', hex: '#0C2808'},\n {name: 'Green 100', hex: '#010200'},\n {name: 'Red 10', hex: '#FFD2DD'},\n {name: 'Red 20', hex: '#FFA5B4'},\n {name: 'Red 30', hex: '#FF7D87'},\n {name: 'Red 40', hex: '#FF5050'},\n {name: 'Red 50', hex: '#E71D32'},\n {name: 'Red 60', hex: '#AD1625'},\n {name: 'Red 70', hex: '#8C101C'},\n {name: 'Red 80', hex: '#6E0A1E'},\n {name: 'Red 90', hex: '#4C0A17'},\n {name: 'Red 100', hex: '#040001'},\n {name: 'Yellow 10', hex: '#FDE876'},\n {name: 'Yellow 20', hex: '#FDD600'},\n {name: 'Yellow 30', hex: '#EFC100'},\n {name: 'Yellow 40', hex: '#BE9B00'},\n {name: 'Yellow 50', hex: '#8C7300'},\n {name: 'Yellow 60', hex: '#735F00'},\n {name: 'Yellow 70', hex: '#574A00'},\n {name: 'Yellow 80', hex: '#3C3200'},\n {name: 'Yellow 90', hex: '#281E00'},\n {name: 'Yellow 100', hex: '#020100'},\n];\n\n@Component({\n selector: 'app-rich-demo',\n templateUrl: './rich-demo.html',\n styles: [`.color-box {\n display: inline-block;\n height: 14px;\n width: 14px;\n margin-right: 4px;\n border: 1px solid #000;\n }`],\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ],\n // Enable dynamic HTML styles\n})\nexport class RichDemoComponent {\n public items: any[] = COLORS;\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n constructor(public sanitizer: DomSanitizer) {\n }\n\n public style(data: string): SafeStyle {\n return this.sanitizer.bypassSecurityTrustStyle(data);\n }\n}\n"},205:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a single city

\n
\n
\n \n \n

\n
\n
{{ngxControl.value | json}}
\n
\n
\n \n
\n
\n
\n'},249:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component, OnDestroy } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-single-demo',\n templateUrl: './single-demo.html',\n imports: [\n JsonPipe,\n NgxSelectModule,\n ReactiveFormsModule\n ]\n})\nexport class SingleDemoComponent implements OnDestroy {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n public ngxControl = new UntypedFormControl();\n\n private _ngxDefaultTimeout;\n private _ngxDefaultInterval;\n private _ngxDefault;\n\n constructor() {\n this._ngxDefaultTimeout = setTimeout(() => {\n this._ngxDefaultInterval = setInterval(() => {\n const idx = Math.floor(Math.random() * (this.items.length - 1));\n this._ngxDefault = this.items[idx];\n // console.log('new default value = ', this._ngxDefault);\n }, 2000);\n }, 2000);\n }\n\n public ngOnDestroy(): void {\n clearTimeout(this._ngxDefaultTimeout);\n clearInterval(this._ngxDefaultInterval);\n }\n\n public doNgxDefault(): any {\n return this._ngxDefault;\n }\n\n public inputTyped = (source: string, text: string) => console.log('SingleDemoComponent.inputTyped', source, text);\n\n public doFocus = () => console.log('SingleDemoComponent.doFocus');\n\n public doBlur = () => console.log('SingleDemoComponent.doBlur');\n\n public doOpen = () => console.log('SingleDemoComponent.doOpen');\n\n public doClose = () => console.log('SingleDemoComponent.doClose');\n\n public doSelect = (value: any) => console.log('SingleDemoComponent.doSelect', value);\n\n public doRemove = (value: any) => console.log('SingleDemoComponent.doRemove', value);\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('SingleDemoComponent.doSelectOptions', options);\n}\n"},969:(he,U,x)=>{"use strict";x.d(U,{FX:()=>He,If:()=>u,K2:()=>be,hZ:()=>se,i0:()=>$,iF:()=>Q,kY:()=>Y,kp:()=>K,sf:()=>Et,ui:()=>mt,wk:()=>q});var u=function(L){return L[L.State=0]="State",L[L.Transition=1]="Transition",L[L.Sequence=2]="Sequence",L[L.Group=3]="Group",L[L.Animate=4]="Animate",L[L.Keyframes=5]="Keyframes",L[L.Style=6]="Style",L[L.Trigger=7]="Trigger",L[L.Reference=8]="Reference",L[L.AnimateChild=9]="AnimateChild",L[L.AnimateRef=10]="AnimateRef",L[L.Query=11]="Query",L[L.Stagger=12]="Stagger",L}(u||{});const K="*";function se(L,F){return{type:u.Trigger,name:L,definitions:F,options:{}}}function $(L,F=null){return{type:u.Animate,styles:F,timings:L}}function be(L,F=null){return{type:u.Sequence,steps:L,options:F}}function Q(L){return{type:u.Style,styles:L,offset:null}}function q(L,F,J){return{type:u.State,name:L,styles:F,options:J}}function Y(L,F,J=null){return{type:u.Transition,expr:L,animation:F,options:J}}class Et{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(F=0,J=0){this.totalTime=F+J}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}onStart(F){this._originalOnStartFns.push(F),this._onStartFns.push(F)}onDone(F){this._originalOnDoneFns.push(F),this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(F=>F()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(F){this._position=this.totalTime?F*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(F){const J="start"==F?this._onStartFns:this._onDoneFns;J.forEach(et=>et()),J.length=0}}class mt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(F){this.players=F;let J=0,et=0,Ht=0;const or=this.players.length;0==or?queueMicrotask(()=>this._onFinish()):this.players.forEach(xn=>{xn.onDone(()=>{++J==or&&this._onFinish()}),xn.onDestroy(()=>{++et==or&&this._onDestroy()}),xn.onStart(()=>{++Ht==or&&this._onStart()})}),this.totalTime=this.players.reduce((xn,hs)=>Math.max(xn,hs.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}init(){this.players.forEach(F=>F.init())}onStart(F){this._onStartFns.push(F)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(F=>F()),this._onStartFns=[])}onDone(F){this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(F=>F.play())}pause(){this.players.forEach(F=>F.pause())}restart(){this.players.forEach(F=>F.restart())}finish(){this._onFinish(),this.players.forEach(F=>F.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(F=>F.destroy()),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this.players.forEach(F=>F.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(F){const J=F*this.totalTime;this.players.forEach(et=>{const Ht=et.totalTime?Math.min(1,J/et.totalTime):1;et.setPosition(Ht)})}getPosition(){const F=this.players.reduce((J,et)=>null===J||et.totalTime>J.totalTime?et:J,null);return null!=F?F.getPosition():0}beforeDestroy(){this.players.forEach(F=>{F.beforeDestroy&&F.beforeDestroy()})}triggerCallback(F){const J="start"==F?this._onStartFns:this._onDoneFns;J.forEach(et=>et()),J.length=0}}const He="!"},213:(he,U,x)=>{"use strict";function se(e,t){return Object.is(e,t)}x.d(U,{bc$:()=>Fp,sZ2:()=>ga,o8S:()=>Mn,BIS:()=>B_,gRc:()=>vT,Ocv:()=>Uk,aKT:()=>da,uvJ:()=>yn,zcH:()=>Pn,bkB:()=>Jn,nKC:()=>le,zZn:()=>It,_q3:()=>ND,MKu:()=>FD,xe9:()=>ID,Vns:()=>is,SKi:()=>tt,Agw:()=>Lr,PLl:()=>Wl,rOR:()=>S_,sFG:()=>Iv,_9s:()=>Ef,czy:()=>cc,WPN:()=>Zi,C4Q:()=>Dc,NYb:()=>rb,giA:()=>ob,RxE:()=>lT,c1b:()=>lm,gXe:()=>ni,mal:()=>Hi,L39:()=>GO,EWP:()=>LD,a0P:()=>gR,w6W:()=>Fv,QZP:()=>BD,Rfq:()=>_i,WQX:()=>z,Hps:()=>zg,EmA:()=>Fo,Udg:()=>zO,Jn2:()=>Bk,vPA:()=>Fc,O8t:()=>Yc,An2:()=>Pr,H8p:()=>cl,KH2:()=>Zc,wOt:()=>V,WHO:()=>Yg,e01:()=>Of,lNU:()=>vs,h9k:()=>Iy,$MX:()=>qd,ZF7:()=>Aa,Kcf:()=>YC,e5t:()=>nE,UyX:()=>eE,cWb:()=>JC,osQ:()=>tE,H5H:()=>rD,mq5:()=>EI,JZv:()=>dt,TL3:()=>DO,jNT:()=>Tc,zjR:()=>em,ngT:()=>Mt,TL$:()=>NC,Tbb:()=>rt,rcV:()=>mo,Vt3:()=>Tb,GFd:()=>N0,OA$:()=>Nu,Jv_:()=>kM,R7$:()=>Ra,BMQ:()=>Hb,HbH:()=>oI,AVh:()=>Kb,vxM:()=>pI,wni:()=>iM,VBU:()=>Rv,FsC:()=>Bg,jDH:()=>Oe,G2t:()=>xo,$C:()=>Lg,EJ8:()=>jg,rXU:()=>Yi,nrm:()=>Jb,eu8:()=>nD,k0s:()=>vm,j41:()=>ym,RV6:()=>bI,xGo:()=>ed,KVO:()=>Ge,kS0:()=>na,QTQ:()=>vo,bIt:()=>sD,lsd:()=>lM,XpG:()=>qI,nI1:()=>GM,bMT:()=>zM,SdG:()=>ZI,NAR:()=>KI,Y8G:()=>zb,eq3:()=>RM,l_i:()=>PM,sMw:()=>LM,ziG:()=>VM,mGM:()=>aM,sdS:()=>cM,Dyx:()=>_I,Z7z:()=>mI,fX1:()=>gI,Njj:()=>Bh,EBC:()=>Ny,eBV:()=>Lu,npT:()=>My,Aen:()=>zr,xc7:()=>qb,DNE:()=>Ab,C5r:()=>WM,EFF:()=>vM,JRh:()=>uD,SpI:()=>wm,wXG:()=>Sy,DH7:()=>SM,mxI:()=>fD,R50:()=>dD,GBs:()=>sM});let $=null,G=!1,be=1;const Q=Symbol("SIGNAL");function q(e){const t=$;return $=e,t}const pe={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 Ct(e){if(G)throw new Error("");if(null===$)return;$.consumerOnSignalRead(e);const t=$.nextProducerIndex++;L($),t<$.producerNode.length&&$.producerNode[t]!==e&&He($)&&mt($.producerNode[t],$.producerIndexOfThis[t]),$.producerNode[t]!==e&&($.producerNode[t]=e,$.producerIndexOfThis[t]=He($)?Et(e,$,t):0),$.producerLastReadVersion[t]=e.version}function xt(e){if((!He(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==be)){if(!e.producerMustRecompute(e)&&!te(e))return void gt(e);e.producerRecomputeValue(e),gt(e)}}function Be(e){if(void 0===e.liveConsumerNode)return;const t=G;G=!0;try{for(const n of e.liveConsumerNode)n.dirty||jt(n)}finally{G=t}}function Te(){return!1!==$?.consumerAllowSignalWrites}function jt(e){e.dirty=!0,Be(e),e.consumerMarkedDirty?.(e)}function gt(e){e.dirty=!1,e.lastCleanEpoch=be}function lt(e){return e&&(e.nextProducerIndex=0),q(e)}function xe(e,t){if(q(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(He(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function te(e){L(e);for(let t=0;t0}function L(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function F(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function J(e){return void 0!==e.producerNode}const Ht=Symbol("UNSET"),or=Symbol("COMPUTING"),xn=Symbol("ERRORED"),hs={...pe,value:Ht,dirty:!0,error:null,equal:se,producerMustRecompute:e=>e.value===Ht||e.value===or,producerRecomputeValue(e){if(e.value===or)throw new Error("Detected cycle in computations.");const t=e.value;e.value=or;const n=lt(e);let o;try{o=e.computation()}catch(a){o=xn,e.error=a}finally{xe(e,n)}t!==Ht&&t!==xn&&o!==xn&&e.equal(t,o)?e.value=t:(e.value=o,e.version++)}};let tu=function eu(){throw new Error};function nu(){tu()}let Cr=null;function $n(e,t){Te()||nu(),e.equal(e.value,t)||(e.value=t,function gs(e){e.version++,function ae(){be++}(),Be(e),Cr?.()}(e))}const ps={...pe,equal:se,value:void 0};const pi=()=>{},ou={...pe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:pi};var nn=x(412),Eo=x(413),_s=x(359),iu=x(354);(0,x(853).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),x(964),x(697),x(974),x(360),x(669);const vs="https://g.co/ng/security#xss";class V extends Error{code;constructor(t,n){super(function Gn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function zn(e){return{toString:e}.toString()}const An="__parameters__";function Wn(e,t,n){return zn(()=>{const o=function Mo(e){return function(...n){if(e){const o=e(...n);for(const a in o)this[a]=o[a]}}}(t);function a(...c){if(this instanceof a)return o.apply(this,c),this;const f=new a(...c);return h.annotation=f,h;function h(p,m,y){const v=p.hasOwnProperty(An)?p[An]:Object.defineProperty(p,An,{value:[]})[An];for(;v.length<=y;)v.push(null);return(v[y]=v[y]||[]).push(f),p}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const dt=globalThis;function ke(e){for(let t in e)if(e[t]===ke)return t;throw Error("Could not find renamed property on target object.")}function lu(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function rt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(rt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ir(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const cu=ke({__forward_ref__:ke});function _i(e){return e.__forward_ref__=_i,e.toString=function(){return rt(this())},e}function oe(e){return To(e)?e():e}function To(e){return"function"==typeof e&&e.hasOwnProperty(cu)&&e.__forward_ref__===_i}function Oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xo(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yr(e){return Jr(e,eo)||Jr(e,rl)}function Jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function wr(e){return e&&(e.hasOwnProperty(ws)||e.hasOwnProperty(hh))?e[ws]:null}const eo=ke({\u0275prov:ke}),ws=ke({\u0275inj:ke}),rl=ke({ngInjectableDef:ke}),hh=ke({ngInjectorDef:ke});class le{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Oe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ts(e){return e&&!!e.\u0275providers}const Ao=ke({\u0275cmp:ke}),xs=ke({\u0275dir:ke}),qn=ke({\u0275pipe:ke}),Ss=ke({\u0275mod:ke}),Kn=ke({\u0275fac:ke}),lr=ke({__NG_ELEMENT_ID__:ke}),ol=ke({__NG_ENV_ID__:ke});function ue(e){return"string"==typeof e?e:null==e?"":String(e)}function bi(e,t){throw new V(-201,!1)}var Ee=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}(Ee||{});let As;function b(){return As}function I(e){const t=As;return As=e,t}function k(e,t,n){const o=Yr(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&Ee.Optional?null:void 0!==t?t:void bi()}const ge={},qe="__NG_DI_FLAG__",ot="ngTempTokenPath",Ze=/\n/gm,mn="__source";let ct;function yt(e){const t=ct;return ct=e,t}function ur(e,t=Ee.Default){if(void 0===ct)throw new V(-203,!1);return null===ct?k(e,void 0,t):ct.get(e,t&Ee.Optional?null:void 0,t)}function Ge(e,t=Ee.Default){return(b()||ur)(oe(e),t)}function z(e,t=Ee.Default){return Ge(e,to(t))}function to(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xr(e){const t=[];for(let n=0;nArray.isArray(n)?ks(n,t):t(n))}function $m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function al(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _n(e,t,n){let o=Os(e,t);return o>=0?e[1|o]=n:(o=~o,function Gm(e,t,n,o){let a=e.length;if(a==t)e.push(n,o);else if(1===a)e.push(o,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function yu(e,t){const n=Os(e,t);if(n>=0)return e[1|n]}function Os(e,t){return function vh(e,t,n){let o=0,a=e.length>>n;for(;a!==o;){const c=o+(a-o>>1),f=e[c<t?a=c:o=c+1}return~(a<{n.push(f)};return ks(t,f=>{const h=f;Du(h,c,[],o)&&(a||=[],a.push(h))}),void 0!==a&&Wm(a,c),n}function Wm(e,t){for(let n=0;n{t(c,o)})}}function Du(e,t,n,o){if(!(e=oe(e)))return!1;let a=null,c=wr(e);const f=!c&&Ce(e);if(c||f){if(f&&!f.standalone)return!1;a=e}else{const p=e.ngModule;if(c=wr(p),!c)return!1;a=p}const h=o.has(a);if(f){if(h)return!1;if(o.add(a),f.dependencies){const p="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const m of p)Du(m,t,n,o)}}else{if(!c)return!1;{if(null!=c.imports&&!h){let m;o.add(a);try{ks(c.imports,y=>{Du(y,t,n,o)&&(m||=[],m.push(y))})}finally{}void 0!==m&&Wm(m,t)}if(!h){const m=No(a)||(()=>new a);t({provide:a,useFactory:m,deps:Re},a),t({provide:bu,useValue:a,multi:!0},a),t({provide:fr,useValue:()=>Ge(a),multi:!0},a)}const p=c.providers;if(null!=p&&!h){const m=e;Cu(p,y=>{t(y,m)})}}}return a!==e&&void 0!==e.providers}function Cu(e,t){for(let n of e)Ts(n)&&(n=n.\u0275providers),Array.isArray(n)?Cu(n,t):t(n)}const Km=ke({provide:String,useValue:ke});function Rs(e){return null!==e&&"object"==typeof e&&Km in e}function Ei(e){return"function"==typeof e}const cl=new le(""),Eu={},GD={};let Ch;function wi(){return void 0===Ch&&(Ch=new $e),Ch}class yn{}class ko extends yn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,o,a){super(),this.parent=n,this.source=o,this.scopes=a,wh(t,f=>this.processProvider(f)),this.records.set(vu,Ps(void 0,this)),a.has("environment")&&this.records.set(yn,Ps(void 0,this));const c=this.records.get(cl);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(bu,Re,Ee.Self))}destroy(){ul(this),this._destroyed=!0;const t=q(null);try{for(const o of this._ngOnDestroyHooks)o.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const o of n)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(t)}}onDestroy(t){return ul(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ul(this);const n=yt(this),o=I(void 0);try{return t()}finally{yt(n),I(o)}}get(t,n=ge,o=Ee.Default){if(ul(this),t.hasOwnProperty(ol))return t[ol](this);o=to(o);const c=yt(this),f=I(void 0);try{if(!(o&Ee.SkipSelf)){let p=this.records.get(t);if(void 0===p){const m=function qD(e){return"function"==typeof e||"object"==typeof e&&e instanceof le}(t)&&Yr(t);p=m&&this.injectableDefInScope(m)?Ps(wu(t),Eu):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(o&Ee.Self?wi():this.parent).get(t,n=o&Ee.Optional&&n===ge?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[ot]=h[ot]||[]).unshift(rt(t)),c)throw h;return function Fs(e,t,n,o){const a=e[ot];throw t[mn]&&a.unshift(t[mn]),e.message=function _h(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=rt(t);if(Array.isArray(t))a=t.map(rt).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let h=t[f];c.push(f+":"+("string"==typeof h?JSON.stringify(h):rt(h)))}a=`{${c.join(", ")}}`}return`${n}${o?"("+o+")":""}[${a}]: ${e.replace(Ze,"\n ")}`}("\n"+e.message,a,n,o),e.ngTokenPath=a,e[ot]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{I(f),yt(c)}}resolveInjectorInitializers(){const t=q(null),n=yt(this),o=I(void 0);try{const c=this.get(fr,Re,Ee.Self);for(const f of c)f()}finally{yt(n),I(o),q(t)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(rt(o));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=Ei(t=oe(t))?t:oe(t&&t.provide);const o=function Ii(e){return Rs(e)?Ps(void 0,e.useValue):Ps(Qm(e),Eu)}(t);if(!Ei(t)&&!0===t.multi){let a=this.records.get(n);a||(a=Ps(void 0,Eu,!0),a.factory=()=>xr(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,o)}hydrate(t,n){const o=q(null);try{return n.value===Eu&&(n.value=GD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function WD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{q(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function wu(e){const t=Yr(e),n=null!==t?t.factory:No(e);if(null!==n)return n;if(e instanceof le)throw new V(204,!1);if(e instanceof Function)return function Eh(e){if(e.length>0)throw new V(204,!1);const n=function Es(e){return e&&(e[eo]||e[rl])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new V(204,!1)}function Qm(e,t,n){let o;if(Ei(e)){const a=oe(e);return No(a)||wu(a)}if(Rs(e))o=()=>oe(e.useValue);else if(function Zm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...xr(e.deps||[]));else if(function Ci(e){return!(!e||!e.useExisting)}(e))o=()=>Ge(oe(e.useExisting));else{const a=oe(e&&(e.useClass||e.provide));if(!function zD(e){return!!e.deps}(e))return No(a)||wu(a);o=()=>new a(...xr(e.deps))}return o}function ul(e){if(e.destroyed)throw new V(205,!1)}function Ps(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wh(e,t){for(const n of e)Array.isArray(n)?wh(n,t):n&&Ts(n)?wh(n.\u0275providers,t):t(n)}function Xm(e,t){e instanceof ko&&ul(e);const o=yt(e),a=I(void 0);try{return t()}finally{yt(o),I(a)}}function Ih(){return void 0!==b()||null!=function on(){return ct}()}function Mi(e){if(!Ih())throw new V(-203,!1)}const Je=0,P=1,ee=2,ft=3,kt=4,ht=5,an=6,Ls=7,Ke=8,Pe=9,ln=10,de=11,Oo=12,fl=13,xi=14,Qe=15,no=16,Ro=17,Zn=18,Po=19,Mu=20,ro=21,Si=22,oo=23,Zt=24,Z=25,hl=1,hr=7,Ai=9,ut=10;var gl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(gl||{});function it(e){return Array.isArray(e)&&"object"==typeof e[hl]}function pt(e){return Array.isArray(e)&&!0===e[hl]}function Vs(e){return!!(4&e.flags)}function io(e){return e.componentOffset>-1}function Tu(e){return!(1&~e.flags)}function kn(e){return!!e.template}function Bs(e){return!!(512&e[ee])}class o_{previousValue;currentValue;firstChange;constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Ah(e,t,n,o){null!==t?t.applyValueToInputSignal(t,o):e[n]=o}const Nu=(()=>{const e=()=>i_;return e.ngInherit=!0,e})();function i_(e){return e.type.prototype.ngOnChanges&&(e.setInput=cC),lC}function lC(){const e=s_(this),t=e?.current;if(t){const n=e.previous;if(n===dr)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function cC(e,t,n,o,a){const c=this.declaredInputs[o],f=s_(e)||function uC(e,t){return e[Nh]=t}(e,{previous:dr,current:null}),h=f.current||(f.current={}),p=f.previous,m=p[c];h[c]=new o_(m&&m.currentValue,n,p===dr),Ah(e,t,a,n)}const Nh="__ngSimpleChanges__";function s_(e){return e[Nh]||null}const Sr=function(e,t,n){};function Ae(e){for(;Array.isArray(e);)e=e[Je];return e}function Ar(e,t){return Ae(t[e])}function cn(e,t){return Ae(t[e.index])}function js(e,t){return e.data[t]}function Ni(e,t){return e[t]}function On(e,t){const n=t[e];return it(n)?n:n[Je]}function kh(e){return!(128&~e[ee])}function Rn(e,t){return null==t?null:e[t]}function Oh(e){e[Ro]=0}function Fu(e){1024&e[ee]||(e[ee]|=1024,kh(e)&&Lo(e))}function yl(e){return!!(9216&e[ee]||e[Zt]?.dirty)}function ku(e){e[ln].changeDetectionScheduler?.notify(9),64&e[ee]&&(e[ee]|=1024),yl(e)&&Lo(e)}function Lo(e){e[ln].changeDetectionScheduler?.notify(0);let t=Nr(e);for(;null!==t&&!(8192&t[ee])&&(t[ee]|=8192,kh(t));)t=Nr(t)}function vl(e,t){if(!(256&~e[ee]))throw new V(911,!1);null===e[ro]&&(e[ro]=[]),e[ro].push(t)}function Nr(e){const t=e[ft];return pt(t)?t[ft]:t}const fe={lFrame:qh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ru=!1;function Lh(){return fe.bindingsEnabled}function Fr(){return null!==fe.skipHydrationRootTNode}function S(){return fe.lFrame.lView}function ne(){return fe.lFrame.tView}function Lu(e){return fe.lFrame.contextLView=e,e[Ke]}function Bh(e){return fe.lFrame.contextLView=null,e}function we(){let e=jh();for(;null!==e&&64===e.type;)e=e.parent;return e}function jh(){return fe.lFrame.currentTNode}function vn(e,t){const n=fe.lFrame;n.currentTNode=e,n.isParent=t}function Vu(){return fe.lFrame.isParent}function Bu(){fe.lFrame.isParent=!1}function $h(){return Ru}function Dl(e){const t=Ru;return Ru=e,t}function Qt(){const e=fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function je(){return fe.lFrame.bindingIndex++}function gr(e){const t=fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gh(e,t){const n=fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,El(t)}function El(e){fe.lFrame.currentDirectiveIndex=e}function wl(){return fe.lFrame.currentQueryIndex}function $s(e){fe.lFrame.currentQueryIndex=e}function Wh(e){const t=e[P];return 2===t.type?t.declTNode:1===t.type?e[ht]:null}function Uu(e,t,n){if(n&Ee.SkipSelf){let a=t,c=e;for(;!(a=a.parent,null!==a||n&Ee.Host||(a=Wh(c),null===a||(c=c[xi],10&a.type))););if(null===a)return!1;t=a,e=c}const o=fe.lFrame=un();return o.currentTNode=t,o.lView=e,!0}function $u(e){const t=un(),n=e[P];fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function un(){const e=fe.lFrame,t=null===e?null:e.child;return null===t?qh(e):t}function qh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kh(){const e=fe.lFrame;return fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Zh=Kh;function Gu(){const e=Kh();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 Ot(){return fe.lFrame.selectedIndex}function Vo(e){fe.lFrame.selectedIndex=e}function Me(){const e=fe.lFrame;return js(e.tView,e.selectedIndex)}let ep=!0;function Gs(){return ep}function mr(e){ep=e}function Il(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[p]<0&&(e[Ro]+=65536),(h>14>16&&(3&e[ee])===t&&(e[ee]+=16384,rp(h,c)):rp(h,c)}const Bo=-1;class zs{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,o){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=o}}function Ks(e,t,n){let o=0;for(;ot){f=c-1;break}}}for(;c>16}(e),o=t;for(;n>0;)o=o[xi],n--;return o}let Qs=!0;function Xn(e){const t=Qs;return Qs=e,t}const Pt=255,Or=5;let y_=0;const Rr={};function Xs(e,t){const n=Zu(e,t);if(-1!==n)return n;const o=t[P];o.firstCreatePass&&(e.injectorIndex=t.length,xl(o.data,e),xl(t,null),xl(o.blueprint,null));const a=Ys(e,t),c=e.injectorIndex;if(Ku(a)){const f=Fi(a),h=Zs(a,t),p=h[P].data;for(let m=0;m<8;m++)t[c+m]=h[f+m]|p[f+m]}return t[c+8]=a,c}function xl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ys(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,a=t;for(;null!==a;){if(o=td(a),null===o)return Bo;if(n++,a=a[xi],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return Bo}function Sl(e,t,n){!function sp(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(lr)&&(o=n[lr]),null==o&&(o=n[lr]=y_++);const a=o&Pt;t.data[e+(a>>Or)]|=1<=0?t&Pt:up:t}(n);if("function"==typeof c){if(!Uu(t,e,o))return o&Ee.Host?Qu(a,0,o):Js(t,n,o,a);try{let f;if(f=c(o),null!=f||o&Ee.Optional)return f;bi()}finally{Zh()}}else if("number"==typeof c){let f=null,h=Zu(e,t),p=Bo,m=o&Ee.Host?t[Qe][ht]:null;for((-1===h||o&Ee.SkipSelf)&&(p=-1===h?Ys(e,t):t[h+8],p!==Bo&&Al(o,!1)?(f=t[P],h=Fi(p),t=Zs(p,t)):h=-1);-1!==h;){const y=t[P];if(Ju(c,h,y.data)){const v=lp(h,t,n,f,o,m);if(v!==Rr)return v}p=t[h+8],p!==Bo&&Al(o,t[P].data[h+8]===m)&&Ju(c,h,t)?(f=y,h=Fi(p),t=Zs(p,t)):h=-1}}return a}function lp(e,t,n,o,a,c){const f=t[P],h=f.data[e+8],y=ea(h,f,n,null==o?io(h)&&Qs:o!=f&&!!(3&h.type),a&Ee.Host&&c===h);return null!==y?jo(t,f,y,h):Rr}function ea(e,t,n,o,a){const c=e.providerIndexes,f=t.data,h=1048575&c,p=e.directiveStart,y=c>>20,C=a?h+y:e.directiveEnd;for(let E=o?h:h+y;E=p&&M.type===n)return E}if(a){const E=f[p];if(E&&kn(E)&&E.type===n)return p}return null}function jo(e,t,n,o){let a=e[n];const c=t.data;if(function op(e){return e instanceof zs}(a)){const f=a;f.resolving&&function cr(e,t){throw t&&t.join(" > "),new V(-200,e)}(function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ue(e)}(c[n]));const h=Xn(f.canSeeViewProviders);f.resolving=!0;const m=f.injectImpl?I(f.injectImpl):null;Uu(e,o,Ee.Default);try{a=e[n]=f.factory(void 0,c,e,o),t.firstCreatePass&&n>=o.directiveStart&&function tp(e,t,n){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:c}=t.type.prototype;if(o){const f=i_(t);(n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f)}a&&(n.preOrderHooks??=[]).push(0-e,a),c&&((n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c))}(n,c[n],t)}finally{null!==m&&I(m),Xn(h),f.resolving=!1,Zh()}}return a}function Ju(e,t,n){return!!(n[t+(e>>Or)]&1<{const t=e.prototype.constructor,n=t[Kn]||ta(t),o=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==o;){const c=a[Kn]||ta(a);if(c&&c!==n)return c;a=Object.getPrototypeOf(a)}return c=>new c})}function ta(e){return To(e)?()=>{const t=ta(oe(e));return t&&t()}:No(e)}function td(e){const t=e[P],n=t.type;return 2===n?t.declTNode:1===n?e[ht]:null}function na(e){return function ap(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let a=0;for(;aGe(vu)});static __NG_ELEMENT_ID__=-1}new le("").__NG_ELEMENT_ID__=e=>{const t=we();if(null===t)throw new V(204,!1);if(2&t.type)return t.value;if(e&Ee.Optional)return null;throw new V(204,!1)};const E_=!1;let lo=(()=>class e{static __NG_ELEMENT_ID__=CC;static __NG_ENV_ID__=n=>n})();class rd extends lo{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return vl(this._lView,t),()=>function Hs(e,t){if(null===e[ro])return;const n=e[ro].indexOf(t);-1!==n&&e[ro].splice(n,1)}(this._lView,t)}}function CC(){return new rd(S())}class Pr{}const Ol=new le("",{providedIn:"root",factory:()=>!1}),oa=new le(""),co=new le("");let Yn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new nn.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();const Jn=class pp extends Eo.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ih()&&(this.destroyRef=z(lo,{optional:!0})??void 0,this.pendingTasks=z(Yn,{optional:!0})??void 0)}emit(t){const n=q(null);try{super.next(t)}finally{q(n)}}subscribe(t,n,o){let a=t,c=n||(()=>null),f=o;if(t&&"object"==typeof t){const p=t;a=p.next?.bind(p),c=p.error?.bind(p),f=p.complete?.bind(p)}this.__isAsync&&(c=this.wrapInTimeout(c),a&&(a=this.wrapInTimeout(a)),f&&(f=this.wrapInTimeout(f)));const h=super.subscribe({next:a,error:c,complete:f});return t instanceof _s.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const o=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==o&&this.pendingTasks?.remove(o)})}}};function $o(...e){}function ia(e){let t,n;function o(){e=$o;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),o()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),o()})),()=>o()}function gp(e){return queueMicrotask(()=>e()),()=>{e=$o}}const sa="isAngularZone",Pl=sa+"_ID";let od=0;class tt{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Jn(!1);onMicrotaskEmpty=new Jn(!1);onStable=new Jn(!1);onError=new Jn(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:c=E_}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!a&&o,f.shouldCoalesceRunChangeDetection=a,f.callbackScheduled=!1,f.scheduleInRootZone=c,function id(e){const t=()=>{!function mp(e){function t(){ia(()=>{e.callbackScheduled=!1,aa(e),e.isCheckStableRunning=!0,Vl(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),aa(e))}(e)},n=od++;e._inner=e._inner.fork({name:"angular",properties:{[sa]:!0,[Pl]:n,[Pl+n]:!0},onInvokeTask:(o,a,c,f,h,p)=>{if(function M_(e){return uo(e,"__ignore_ng_zone__")}(p))return o.invokeTask(c,f,h,p);try{return w_(e),o.invokeTask(c,f,h,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||e.shouldCoalesceRunChangeDetection)&&t(),I_(e)}},onInvoke:(o,a,c,f,h,p,m)=>{try{return w_(e),o.invoke(c,f,h,p,m)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function wC(e){return uo(e,"__scheduler_tick__")}(p)&&t(),I_(e)}},onHasTask:(o,a,c,f)=>{o.hasTask(c,f),a===c&&("microTask"==f.change?(e._hasPendingMicrotasks=f.microTask,aa(e),Vl(e)):"macroTask"==f.change&&(e.hasPendingMacrotasks=f.macroTask))},onHandleError:(o,a,c,f)=>(o.handleError(c,f),e.runOutsideAngular(()=>e.onError.emit(f)),!1)})}(f)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(sa)}static assertInAngularZone(){if(!tt.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(tt.isInAngularZone())throw new V(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,a){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+a,t,Ll,$o,$o);try{return c.runTask(f,n,o)}finally{c.cancelTask(f)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const Ll={};function Vl(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 aa(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function w_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function I_(e){e._nesting--,Vl(e)}class _p{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Jn;onMicrotaskEmpty=new Jn;onStable=new Jn;onError=new Jn;run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,a){return t.apply(n,o)}}function uo(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Pn{_console=console;handleError(t){this._console.error("ERROR",t)}}const ca=new le("",{providedIn:"root",factory:()=>{const e=z(tt),t=z(Pn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function T_(){return Go(we(),S())}function Go(e,t){return new da(cn(e,t))}let da=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=T_})();function ld(e){return e instanceof da?e.nativeElement:e}function x_(){return this._results[Symbol.iterator]()}class S_{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Eo.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const o=function sn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Um(e,t,n){if(e.length!==t.length)return!1;for(let o=0;oNp}),Np="ng",Wl=new le(""),Lr=new le("",{providedIn:"platform",factory:()=>"unknown"}),Fp=new le(""),B_=new le("",{providedIn:"root",factory:()=>Ln().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),va=new le("",{providedIn:"root",factory:()=>!1}),Sd=new Set;function Mt(e){Sd.has(e)||(Sd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Xo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Xo||{});let ji=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();const ba=[Xo.EarlyRead,Xo.Write,Xo.MixedReadWrite,Xo.Read];let Vr=(()=>{class e{ngZone=z(tt);scheduler=z(Pr);errorHandler=z(Pn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(const n of ba)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[n])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[n](o.pipelinedValue))}catch(a){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();class Lp{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,o,a){this.impl=t,this.hooks=n,this.once=o,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Hi(e,t){!t?.injector&&Mi();const n=t?.injector??z(It);return Mt("NgAfterNextRender"),function Ad(e,t,n,o){const a=t.get(ji);a.impl??=t.get(Vr);const c=n?.phase??Xo.MixedReadWrite,f=!0!==n?.manualCleanup?t.get(lo):null,h=new Lp(a.impl,function G_(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,c),o,f);return a.impl.register(h),h}(e,n,t,!0)}let Ki=()=>null;function jn(e,t,n=!1){return Ki(e,t,n)}var ni=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ni||{});let Wd,rc;function Xp(){if(void 0===Wd&&(Wd=null,dt.trustedTypes))try{Wd=dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wd}function Sa(e){return Xp()?.createHTML(e)||e}function py(e){return function Yp(){if(void 0===rc&&(rc=null,dt.trustedTypes))try{rc=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rc}()?.createHTML(e)||e}class ri{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vs})`}}class WC extends ri{getTypeName(){return"HTML"}}class qC extends ri{getTypeName(){return"Style"}}class KC extends ri{getTypeName(){return"Script"}}class ZC extends ri{getTypeName(){return"URL"}}class QC extends ri{getTypeName(){return"ResourceURL"}}function mo(e){return e instanceof ri?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const n=function XC(e){return e instanceof ri&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${vs})`)}return n===t}function YC(e){return new WC(e)}function JC(e){return new qC(e)}function eE(e){return new KC(e)}function tE(e){return new ZC(e)}function nE(e){return new QC(e)}class rE{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Sa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class oE{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Sa(t),n}}const sE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qd(e){return(e=String(e)).match(sE)?e:"unsafe:"+e}function _o(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function oc(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const yy=_o("area,br,col,hr,img,wbr"),vy=_o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),by=_o("rp,rt"),Jp=oc(yy,oc(vy,_o("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")),oc(by,_o("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")),oc(by,vy)),eg=_o("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dy=oc(eg,_o("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"),_o("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")),cE=_o("script,style,template");class uE{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,o=!0,a=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)a.push(n),n=hE(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=fE(n);if(c){n=c;break}n=a.pop()}return this.buf.join("")}startElement(t){const n=Cy(t).toLowerCase();if(!Jp.hasOwnProperty(n))return this.sanitizedSomething=!0,!cE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let a=0;a"),!0}endElement(t){const n=Cy(t).toLowerCase();Jp.hasOwnProperty(n)&&!yy.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(wy(t))}}function fE(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ey(t);return t}function hE(e){const t=e.firstChild;if(t&&function dE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Ey(t);return t}function Cy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Ey(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const pE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gE=/([^\#-~ |!])/g;function wy(e){return e.replace(/&/g,"&").replace(pE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(gE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Kd;function Iy(e,t){let n=null;try{Kd=Kd||function _y(e){const t=new oE(e);return function iE(){try{return!!(new window.DOMParser).parseFromString(Sa(""),"text/html")}catch{return!1}}()?new rE(t):t}(e);let o=t?String(t):"";n=Kd.getInertBodyElement(o);let a=5,c=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=c,c=n.innerHTML,n=Kd.getInertBodyElement(o)}while(o!==c);return Sa((new uE).sanitizeChildren(tg(n)||n))}finally{if(n){const o=tg(n)||n;for(;o.firstChild;)o.firstChild.remove()}}}function tg(e){return"content"in e&&function mE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zi=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}(Zi||{});function My(e){const t=function ic(){const e=S();return e&&e[ln].sanitizer}();return t?py(t.sanitize(Zi.HTML,e)||""):Aa(e,"HTML")?py(mo(e)):Iy(Ln(),ue(e))}function Sy(e){return function zC(e){return Xp()?.createScriptURL(e)||e}(e[0])}const CE=/^>|^->||--!>|)/g;function Ny(e){return e.ownerDocument}var pn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(pn||{}),cc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(cc||{});let Qd;function Xd(e,t){return Qd(e,t)}function oi(e,t,n,o,a){if(null!=o){let c,f=!1;pt(o)?c=o:it(o)&&(f=!0,o=o[Je]);const h=Ae(o);0===e&&null!==n?null==a?nf(t,n,h):yo(t,n,h,a||null,!0):1===e&&null!==n?yo(t,n,h,a||null,!0):2===e?function Oa(e,t,n){e.removeChild(null,t,n)}(t,h,f):3===e&&t.destroyNode(h),null!=c&&function Wy(e,t,n,o,a){const c=n[hr];c!==Ae(n)&&oi(t,e,o,c,a);for(let h=ut;ht.replace(EE,"\u200b$1\u200b"))}(t))}function Jd(e,t,n){return e.createElement(t,n)}function cg(e,t){t[ln].changeDetectionScheduler?.notify(10),lf(e,t,t[de],2,null,null)}function Ly(e,t){const n=e[Ai],o=t[ft];(it(o)||t[Qe]!==o[ft][Qe])&&(e[ee]|=gl.HasTransplantedViews),null===n?e[Ai]=[t]:n.push(t)}function ug(e,t){const n=e[Ai],o=n.indexOf(t);n.splice(o,1)}function uc(e,t){if(e.length<=ut)return;const n=ut+t,o=e[n];if(o){const a=o[no];null!==a&&a!==e&&ug(a,o),t>0&&(e[n-1][kt]=o[kt]);const c=al(e,ut+t);!function ef(e,t){cg(e,t),t[Je]=null,t[ht]=null}(o[P],o);const f=c[Zn];null!==f&&f.detachView(c[P]),o[ft]=null,o[kt]=null,o[ee]&=-129}return o}function ka(e,t){if(!(256&t[ee])){const n=t[de];n.destroyNode&&lf(e,t,n,3,null,null),function RE(e){let t=e[Oo];if(!t)return dc(e[P],e);for(;t;){let n=null;if(it(t))n=t[Oo];else{const o=t[ut];o&&(n=o)}if(!n){for(;t&&!t[kt]&&t!==e;)it(t)&&dc(t[P],t),t=t[ft];null===t&&(t=e),it(t)&&dc(t[P],t),n=t&&t[kt]}t=n}}(t)}}function dc(e,t){if(256&t[ee])return;const n=q(null);try{t[ee]&=-129,t[ee]|=256,t[Zt]&&ze(t[Zt]),function PE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[h]():o[-h].unsubscribe(),f+=2}else n[f].call(o[n[f+1]]);null!==o&&(t[Ls]=null);const a=t[ro];if(null!==a){t[ro]=null;for(let f=0;f-1){const{encapsulation:c}=e.data[o.directiveStart+a];if(c===ni.None||c===ni.Emulated)return null}return cn(o,n)}}(e,t.parent,n)}function yo(e,t,n,o,a){e.insertBefore(t,n,o,a)}function nf(e,t,n){e.appendChild(t,n)}function By(e,t,n,o,a){null!==o?yo(e,t,n,o,a):nf(e,t,n)}function rf(e,t){return e.parentNode(t)}function Hy(e,t,n){return $y(e,t,n)}let fg,$y=function Uy(e,t,n){return 40&e.type?cn(e,n):null};function fc(e,t,n,o){const a=tf(e,o,t),c=t[de],h=Hy(o.parent||t[ht],o,t);if(null!=a)if(Array.isArray(n))for(let p=0;p-1){let c;for(;++ac?"":a[y+1].toLowerCase(),2&o&&m!==v){if(nr(o))return!1;f=!0}}}}else{if(!f&&!nr(o)&&!nr(p))return!1;if(f&&nr(p))continue;f=!1,o=p|1&o}}return nr(o)||f}function nr(e){return!(1&e)}function mg(e,t,n,o){if(null===t)return-1;let a=0;if(o||!n){let c=!1;for(;a-1)for(n++;n0?'="'+h+'"':"")+"]"}else 8&o?a+="."+f:4&o&&(a+=" "+f);else""!==a&&!nr(f)&&(t+=Jy(c,a),a=""),o=f,c=c||!nr(o);n++}return""!==a&&(t+=Jy(c,a)),t}const me={};function Ra(e=1){_g(ne(),S(),Ot()+e,!1)}function _g(e,t,n,o){if(!o)if(3&~t[ee]){const c=e.preOrderHooks;null!==c&&Dn(t,c,0,n)}else{const c=e.preOrderCheckHooks;null!==c&&Ml(t,c,n)}Vo(n)}function Yi(e,t=Ee.Default){const n=S();return null===n?Ge(e,t):Xu(we(),n,oe(e),t)}function vo(){throw new Error("invalid")}function cf(e,t,n,o,a,c){const f=q(null);try{let h=null;a&pn.SignalBased&&(h=t[o][Q]),null!==h&&void 0!==h.transformFn&&(c=h.transformFn(c)),a&pn.HasDecoratorInputTransform&&(c=e.inputTransforms[o].call(t,c)),null!==e.setInput?e.setInput(t,h,c,n,o):Ah(t,h,o,c)}finally{q(f)}}function ai(e,t,n,o,a,c,f,h,p,m,y){const v=t.blueprint.slice();return v[Je]=a,v[ee]=1228|o,(null!==m||e&&2048&e[ee])&&(v[ee]|=2048),Oh(v),v[ft]=v[xi]=e,v[Ke]=n,v[ln]=f||e&&e[ln],v[de]=h||e&&e[de],v[Pe]=p||e&&e[Pe]||null,v[ht]=c,v[Po]=function N_(){return TC++}(),v[an]=y,v[Mu]=m,v[Qe]=2==t.type?e[Qe]:v,v}function li(e,t,n,o,a){let c=e.data[t];if(null===c)c=function vg(e,t,n,o,a){const c=jh(),f=Vu(),p=e.data[t]=function QE(e,t,n,o,a,c){let f=t?t.injectorIndex:-1,h=0;return Fr()&&(h|=128),{type:n,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:a,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,n,t,o,a);return null===e.firstChild&&(e.firstChild=p),null!==c&&(f?null==c.child&&null!==p.parent&&(c.child=p):null===c.next&&(c.next=p,p.prev=c)),p}(e,t,n,o,a),function vt(){return fe.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=n,c.value=o,c.attrs=a;const f=function Us(){const e=fe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return vn(c,!0),c}function ci(e,t,n,o){if(0===n)return-1;const a=t.length;for(let c=0;cZ&&_g(e,t,Z,!1),Sr(f?2:0,a),n(o,a)}finally{Vo(c),Sr(f?3:1,a)}}function uf(e,t,n){if(Vs(t)){const o=q(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function ev(e,t,n,o,a){for(let c in t){if(!t.hasOwnProperty(c))continue;const f=t[c];if(void 0===f)continue;o??={};let h,p=pn.None;Array.isArray(f)?(h=f[0],p=f[1]):h=f;let m=c;if(null!==a){if(!a.hasOwnProperty(c))continue;m=a[c]}0===e?tv(o,n,m,h,p):tv(o,n,m,h)}return o}function tv(e,t,n,o,a){let c;e.hasOwnProperty(n)?(c=e[n]).push(t,o):c=e[n]=[t,o],void 0!==a&&c.push(a)}function wn(e,t,n,o,a,c,f,h){const p=cn(t,n);let y,m=t.inputs;!h&&null!=m&&(y=m[o])?(yc(e,n,y,o,a),io(t)&&function JE(e,t){const n=On(t,e);16&n[ee]||(n[ee]|=64)}(n,t.index)):3&t.type&&(o=function YE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),a=null!=f?f(a,t.value||"",o):a,c.setProperty(p,o,a))}function Cg(e,t,n,o){if(Lh()){const a=null===o?null:{"":-1},c=function Ji(e,t){const n=e.directiveRegistry;let o=null,a=null;if(n)for(let c=0;c0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=h&&f.push(h),f.push(n,o,c)}}(e,t,o,ci(e,n,a.hostVars,me),a)}function mf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function vr(e,t,n,o,a,c){const f=cn(e,t);!function wg(e,t,n,o,a,c,f){if(null==c)e.removeAttribute(t,a,n);else{const h=null==f?ue(c):f(c,o||"",a);e.setAttribute(t,a,h,n)}}(t[de],f,c,e.value,n,o,a)}function aw(e,t,n,o,a,c){const f=c[t];if(null!==f)for(let h=0;h0&&(n[a-1][kt]=t),o{Lo(e.lView)},consumerOnSignalRead(){this.lView[Zt]=this}},pw={...pe,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Nr(e.lView);for(;t&&!dv(t[P]);)t=Nr(t);t&&Fu(t)},consumerOnSignalRead(){this.lView[Zt]=this}};function dv(e){return 2!==e.type}function fv(e){if(null===e[oo])return;let t=!0;for(;t;){let n=!1;for(const o of e[oo])o.dirty&&(n=!0,null===o.zone||Zone.current===o.zone?o.run():o.zone.run(()=>o.run()));t=n&&!!(8192&e[ee])}}function yf(e,t=!0,n=0){const a=e[ln].rendererFactory;a.begin?.();try{!function mw(e,t){const n=$h();try{Dl(!0),Ag(e,t);let o=0;for(;yl(e);){if(100===o)throw new V(103,!1);o++,Ag(e,1)}}finally{Dl(n)}}(e,n)}catch(f){throw t&&_c(e,f),f}finally{a.end?.()}}function pv(e,t,n,o){const a=t[ee];if(!(256&~a))return;$u(t);let h=!0,p=null,m=null;dv(e)?(m=function cw(e){return e[Zt]??function uw(e){const t=uv.pop()??Object.create(fw);return t.lView=e,t}(e)}(t),p=lt(m)):null===function ve(){return $}()?(h=!1,m=function hw(e){const t=e[Zt]??Object.create(pw);return t.lView=e,t}(t),p=lt(m)):t[Zt]&&(ze(t[Zt]),t[Zt]=null);try{Oh(t),function Cl(e){return fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&bg(e,t,n,2,o);const y=!(3&~a);if(y){const E=e.preOrderCheckHooks;null!==E&&Ml(t,E,null)}else{const E=e.preOrderHooks;null!==E&&Dn(t,E,0,null),zu(t,0)}if(function _w(e){for(let t=gd(e);null!==t;t=$l(t)){if(!(t[ee]&gl.HasTransplantedViews))continue;const n=t[Ai];for(let o=0;o-1&&(uc(t,o),al(n,o))}this._attachedToViewContainer=!1}ka(this._lView[P],this._lView)}onDestroy(t){vl(this._lView,t)}markForCheck(){vc(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Fu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ee]&=-129}reattach(){ku(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,yf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Bs(this._lView),n=this._lView[no];null!==n&&!t&&ug(n,this._lView),cg(this._lView[P],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;const n=Bs(this._lView),o=this._lView[no];null!==o&&!n&&Ly(o,this._lView),ku(this._lView)}}let Dc=(()=>class e{static __NG_ELEMENT_ID__=yv})();const vw=Dc,vf=class extends vw{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,o){const a=ui(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:o});return new bc(a)}};function yv(){return rs(we(),S())}function rs(e,t){return 4&e.type?new vf(t,e,Go(e,t)):null}class Cv{resolveComponentFactory(t){throw Error(`No component factory found for ${rt(t)}.`)}}class Cc{static NULL=new Cv}class is{}class wv{}class ss{}class Ef{}let Iv=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Mv(){const e=S(),n=On(we().index,e);return(it(n)?n:e)[de]}()})(),Ew=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>null})}return e})();function Tf(e,t,n){let o=n?e.styles:null,a=n?e.classes:null,c=0;if(null!==t)for(let f=0;f0&&qy(e,n,c.join(" "))}}(C,Tt,M,o),void 0!==n&&function Av(e,t,n){const o=e.projection=[];for(let a=0;an()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class kv extends is{injector;componentFactoryResolver=new Og(this);instance=null;constructor(t){super();const n=new ko([...t.providers,{provide:is,useValue:this},{provide:Cc,useValue:this.componentFactoryResolver}],t.parent||wi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let Fw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=bh(0,n.type),a=o.length>0?function Ov(e,t,n=null){return new kv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Oe({token:e,providedIn:"environment",factory:()=>new e(Ge(yn))})}return e})();function Rv(e){return zn(()=>{const t=Hg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Oi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Fw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ni.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Mt("NgStandalone"),Ug(n);const o=e.dependencies;return n.directiveDefs=Sf(o,!1),n.pipeDefs=Sf(o,!0),n.id=function Af(e){let t=0;const n=[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 a of n)t=Math.imul(31,t)+a.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function kw(e){return Ce(e)||At(e)}function Ow(e){return null!==e}function Lg(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vg(e,t){if(null==e)return dr;const n={};for(const o in e)if(e.hasOwnProperty(o)){const a=e[o];let c,f,h=pn.None;Array.isArray(a)?(h=a[0],c=a[1],f=a[2]??c):(c=a,f=a),t?(n[c]=h!==pn.None?[o,h]:o,t[c]=f):n[c]=o}return n}function Bg(e){return zn(()=>{const t=Hg(e);return Ug(t),t})}function jg(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Hg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||dr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vg(e.inputs,t),outputs:Vg(e.outputs),debugInfo:null}}function Ug(e){e.features?.forEach(t=>t(e))}function Sf(e,t){if(!e)return null;const n=t?Ut:kw;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(Ow)}function zg(e){return"function"==typeof e&&void 0!==e[Q]}const Yg=new le(""),Of=new le("");let Jg,rb=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,o,a){this._ngZone=n,this.registry=o,Jg||(function jw(e){Jg=e}(a),a.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,a){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),n()},o)),this._callbacks.push({doneCb:n,timeoutId:c,updateCb:a})}whenStable(n,o,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,a),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,a){return[]}static \u0275fac=function(o){return new(o||e)(Ge(tt),Ge(ob),Ge(Of))};static \u0275prov=Oe({token:e,factory:e.\u0275fac})}return e})(),ob=(()=>{class e{_applications=new Map;registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Jg?.findTestabilityInTree(this,n,o)??null}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tc(e){return!!e&&"function"==typeof e.then}function em(e){return!!e&&"function"==typeof e.subscribe}const tm=new le("");let nm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o});appInits=z(tm,{optional:!0})??[];injector=z(It);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const a of this.appInits){const c=Xm(this.injector,a);if(Tc(c))n.push(c);else if(em(c)){const f=new Promise((h,p)=>{c.subscribe({complete:h,error:p})});n.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(a=>{this.reject(a)}),0===n.length&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rf=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new rm})}return e})();class rm{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const o=this.queues.get(n);o.has(t)||(this.queuedEffectCount++,o.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}const xc=new le("");let Mn=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=z(ca);afterRenderManager=z(ji);zonelessEnabled=z(Ol);rootEffectScheduler=z(Rf);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new Eo.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=z(Yn).hasPendingTasks.pipe((0,iu.T)(n=>!n));whenStable(){let n;return new Promise(o=>{n=this.isStable.subscribe({next:a=>{a&&o()}})}).finally(()=>{n.unsubscribe()})}_injector=z(yn);get injector(){return this._injector}bootstrap(n,o){const a=n instanceof ss;if(!this._injector.get(nm).done)throw!a&&function Di(e){const t=Ce(e)||At(e)||Ut(e);return null!==t&&t.standalone}(n),new V(405,!1);let f;f=a?n:this._injector.get(Cc).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const h=function ib(e){return e.isBoundToModule}(f)?void 0:this._injector.get(is),m=f.create(It.NULL,[],o||f.selector,h),y=m.location.nativeElement,v=m.injector.get(Yg,null);return v?.registerApplication(y),m.onDestroy(()=>{this.detachView(m.hostView),Sc(this.components,m),v?.unregisterApplication(y)}),this._loadComponent(m),m}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new V(101,!1);const n=q(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,q(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ef,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;0!==this.dirtyFlags&&o++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:a,notifyErrorHandler:c}of this.allViews)l(a,c,o,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>yl(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;Sc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(xc,[]);[...this._bootstrapListeners,...o].forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Sc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function l(e,t,n,o){(n||yl(e))&&yf(e,t,n&&!o?0:1)}let e0=()=>null;function Nc(e,t){return e0(e,t)}let lm=(()=>class e{static __NG_ELEMENT_ID__=vS})();function vS(){return r0(we(),S())}const bS=lm,t0=class extends bS{_lContainer;_hostTNode;_hostLView;constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return Go(this._hostTNode,this._hostLView)}get injector(){return new bt(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ys(this._hostTNode,this._hostLView);if(Ku(t)){const n=Zs(t,this._hostLView),o=Fi(t);return new bt(n[P].data[o+8],n)}return new bt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=n0(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ut}createEmbeddedView(t,n,o){let a,c;"number"==typeof o?a=o:null!=o&&(a=o.index,c=o.injector);const f=Nc(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},c,f);return this.insertImpl(h,a,br(this._hostTNode,f)),h}createComponent(t,n,o,a,c){const f=t&&!function dl(e){return"function"==typeof e}(t);let h;if(f)h=n;else{const M=n||{};h=M.index,o=M.injector,a=M.projectableNodes,c=M.environmentInjector||M.ngModuleRef}const p=f?t:new Ec(Ce(t)),m=o||this.parentInjector;if(!c&&null==p.ngModule){const A=(f?m:this.parentInjector).get(yn,null);A&&(c=A)}const y=Ce(p.componentType??{}),v=Nc(this._lContainer,y?.id??null),E=p.create(m,a,v?.firstChild??null,c);return this.insertImpl(E.hostView,h,br(this._hostTNode,v)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,o){const a=t._lView;if(function pC(e){return pt(e[ft])}(a)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const p=a[ft],m=new t0(p,p[ht],p[ft]);m.detach(m.indexOf(t))}}const c=this._adjustIndex(n),f=this._lContainer;return ts(f,a,c,o),t.attachToViewContainerRef(),$m(mb(f),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=n0(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),o=uc(this._lContainer,n);o&&(al(mb(this._lContainer),n),ka(o[P],o))}detach(t){const n=this._adjustIndex(t,-1),o=uc(this._lContainer,n);return o&&null!=al(mb(this._lContainer),n)?new bc(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function n0(e){return e[8]}function mb(e){return e[8]||(e[8]=[])}function r0(e,t){let n;const o=t[e.index];return pt(o)?n=o:(n=sv(o,t,null,e),t[e.index]=n,mc(t,n)),o0(n,t,e,o),new t0(n,e,t)}let o0=function a0(e,t,n,o){if(e[hr])return;let a;a=8&n.type?Ae(o):function DS(e,t){const n=e[de],o=n.createComment(""),a=cn(t,e);return yo(n,rf(n,a),o,function jy(e,t){return e.nextSibling(t)}(n,a),!1),o}(t,n),e[hr]=a},_b=()=>!1;class yb{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new yb(this.queryList)}setDirty(){this.queryList.setDirty()}}class vb{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const o=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let c=0;ct.trim())}(t):t}}class bb{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let o=0;o0)o.push(f[h/2]);else{const m=c[h+1],y=t[-p];for(let v=ut;v(Ct(t),t.value);return n[Q]=t,n}(e),o=n[Q];return t?.equal&&(o.equal=t.equal),n.set=a=>$n(o,a),n.update=a=>function ru(e,t){Te()||nu(),$n(e,t(e.value))}(o,a),n.asReadonly=Ib.bind(n),n}function Ib(){const e=this[Q];if(void 0===e.readonlyFn){const t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function g0(e){return zg(e)&&"function"==typeof e.set}function Tb(e){let t=function M0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const o=[e];for(;t;){let a;if(kn(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);a=t.\u0275dir}if(a){if(n){o.push(a);const f=e;f.inputs=um(e.inputs),f.inputTransforms=um(e.inputTransforms),f.declaredInputs=um(e.declaredInputs),f.outputs=um(e.outputs);const h=a.hostBindings;h&&GS(e,h);const p=a.viewQuery,m=a.contentQueries;if(p&&US(e,p),m&&$S(e,m),jS(e,a),lu(e.outputs,a.outputs),kn(a)&&a.data.animation){const y=e.data;y.animation=(y.animation||[]).concat(a.data.animation)}}const c=a.features;if(c)for(let f=0;f=0;o--){const a=e[o];a.hostVars=t+=a.hostVars,a.hostAttrs=We(a.hostAttrs,n=We(n,a.hostAttrs))}}(o)}function jS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const o=t.inputs[n];if(void 0!==o&&(e.inputs[n]=o,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const a=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(a))continue;e.inputTransforms??={},e.inputTransforms[a]=t.inputTransforms[a]}}}function um(e){return e===dr?{}:e===Re?[]:e}function US(e,t){const n=e.viewQuery;e.viewQuery=n?(o,a)=>{t(o,a),n(o,a)}:t}function $S(e,t){const n=e.contentQueries;e.contentQueries=n?(o,a,c)=>{t(o,a,c),n(o,a,c)}:t}function GS(e,t){const n=e.hostBindings;e.hostBindings=n?(o,a)=>{t(o,a),n(o,a)}:t}function N0(e){const t=e.inputConfig,n={};for(const o in t)if(t.hasOwnProperty(o)){const a=t[o];Array.isArray(a)&&a[3]&&(n[o]=a[3])}e.inputTransforms=n}function dm(e){return!!Sb(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Sb(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Do(e,t,n){return e[t]=n}function Dt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Wa(e,t,n,o){const a=Dt(e,t,n);return Dt(e,t+1,o)||a}function Gf(e,t,n,o,a,c,f,h,p,m){const y=n+Z,v=t.firstCreatePass?function JS(e,t,n,o,a,c,f,h,p){const m=t.consts,y=li(t,e,4,f||null,h||null);Cg(t,n,y,Rn(m,p)),Il(t,y);const v=y.tView=Pa(2,y,o,a,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m,null);return null!==t.queries&&(t.queries.template(t,y),v.queries=t.queries.embeddedTView(y)),y}(y,t,e,o,a,c,f,h,p):t.data[y];vn(v,!1);const C=F0(t,e,v,n);Gs()&&fc(t,e,C,v),Xt(C,e);const E=sv(C,e,C,v);return e[y]=E,mc(e,E),function s0(e,t,n){return _b(e,t,n)}(E,v,e),Tu(v)&&df(t,e,v),null!=p&&ff(e,v,m),v}function Ab(e,t,n,o,a,c,f,h){const p=S(),m=ne();return Gf(p,m,e,t,n,o,a,Rn(m.consts,c),f,h),Ab}let F0=function k0(e,t,n,o){return mr(!0),t[de].createComment("")};function Hb(e,t,n,o){const a=S();return Dt(a,je(),t)&&(ne(),vr(Me(),a,e,t,n,o)),Hb}function gm(e,t){return e<<17|t<<2}function ds(e){return e>>17&32767}function Ub(e){return 2|e}function Ka(e){return(131068&e)>>2}function $b(e,t){return-131069&e|t<<2}function Gb(e){return 1|e}function X0(e,t,n,o){const a=e[n+1],c=null===t;let f=o?ds(a):Ka(a),h=!1;for(;0!==f&&(!1===h||c);){const m=e[f+1];KA(e[f],t)&&(h=!0,e[f+1]=o?Gb(m):Ub(m)),f=o?ds(m):Ka(m)}h&&(e[n+1]=o?Ub(a):Gb(a))}function KA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Os(e,t)>=0}const Vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Y0(e){return e.substring(Vt.key,Vt.keyEnd)}function ZA(e){return e.substring(Vt.value,Vt.valueEnd)}function J0(e,t){const n=Vt.textEnd;return n===t?-1:(t=Vt.keyEnd=function YA(e,t,n){for(;t32;)t++;return t}(e,Vt.key=t,n),qc(e,t,n))}function eI(e,t){const n=Vt.textEnd;let o=Vt.key=qc(e,t,n);return n===o?-1:(o=Vt.keyEnd=function JA(e,t,n){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,n),o=nI(e,o,n),o=Vt.value=qc(e,o,n),o=Vt.valueEnd=function eN(e,t,n){let o=-1,a=-1,c=-1,f=t,h=f;for(;f32&&(h=f),c=a,a=o,o=-33&p}return h}(e,o,n),nI(e,o,n))}function tI(e){Vt.key=0,Vt.keyEnd=0,Vt.value=0,Vt.valueEnd=0,Vt.textEnd=e.length}function qc(e,t,n){for(;t=0;n=eI(t,n))aI(e,Y0(t),ZA(t))}function oI(e){qr(aN,Co,e,!0)}function Co(e,t){for(let n=function QA(e){return tI(e),J0(e,qc(e,0,Vt.textEnd))}(t);n>=0;n=J0(t,n))_n(e,Y0(t),!0)}function Wr(e,t,n,o){const a=S(),c=ne(),f=gr(2);c.firstUpdatePass&&sI(c,e,f,o),t!==me&&Dt(a,f,t)&&lI(c,c.data[Ot()],a,a[de],e,a[f+1]=function cN(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=rt(mo(e)))),e}(t,n),o,f)}function qr(e,t,n,o){const a=ne(),c=gr(2);a.firstUpdatePass&&sI(a,null,c,o);const f=S();if(n!==me&&Dt(f,c,n)){const h=a.data[Ot()];if(uI(h,o)&&!iI(a,c)){let p=o?h.classesWithoutHost:h.stylesWithoutHost;null!==p&&(n=ir(p,n||"")),Wb(a,h,f,n,o)}else!function lN(e,t,n,o,a,c,f,h){a===me&&(a=Re);let p=0,m=0,y=0=e.expandoStartIndex}function sI(e,t,n,o){const a=e.data;if(null===a[n+1]){const c=a[Ot()],f=iI(e,n);uI(c,o)&&null===t&&!f&&(t=!1),t=function nN(e,t,n,o){const a=function Hu(e){const t=fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let c=o?t.residualClasses:t.residualStyles;if(null===a)0===(o?t.classBindings:t.styleBindings)&&(n=Wf(n=Zb(null,e,t,n,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==a)if(n=Zb(a,e,t,n,o),null===c){let p=function rN(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==Ka(o))return e[ds(o)]}(e,t,o);void 0!==p&&Array.isArray(p)&&(p=Zb(null,e,t,p[1],o),p=Wf(p,t.attrs,o),function oN(e,t,n,o){e[ds(n?t.classBindings:t.styleBindings)]=o}(e,t,o,p))}else c=function iN(e,t,n){let o;const a=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(m=!0)):y=n,a)if(0!==p){const C=ds(e[h+1]);e[o+1]=gm(C,h),0!==C&&(e[C+1]=$b(e[C+1],o)),e[h+1]=function GA(e,t){return 131071&e|t<<17}(e[h+1],o)}else e[o+1]=gm(h,0),0!==h&&(e[h+1]=$b(e[h+1],o)),h=o;else e[o+1]=gm(p,0),0===h?h=o:e[p+1]=$b(e[p+1],o),p=o;m&&(e[o+1]=Ub(e[o+1])),X0(e,y,o,!0),X0(e,y,o,!1),function qA(e,t,n,o,a){const c=a?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&Os(c,t)>=0&&(n[o+1]=Gb(n[o+1]))}(t,y,e,o,c),f=gm(h,p),c?t.classBindings=f:t.styleBindings=f}(a,c,t,n,f,o)}}function Zb(e,t,n,o,a){let c=null;const f=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h0;){const p=e[a],m=Array.isArray(p),y=m?p[1]:p,v=null===y;let C=n[a+1];C===me&&(C=v?Re:void 0);let E=v?yu(C,o):y===o?C:void 0;if(m&&!mm(E)&&(E=yu(p,o)),mm(E)&&(h=E,f))return h;const M=e[a+1];a=f?ds(M):Ka(M)}if(null!==t){let p=c?t.residualClasses:t.residualStyles;null!=p&&(h=yu(p,o))}return h}function mm(e){return void 0!==e}function uI(e,t){return!!(e.flags&(t?8:16))}class bN{destroy(t){}updateValue(t,n){}swap(t,n){const o=Math.min(t,n),a=Math.max(t,n),c=this.detach(a);if(a-o>1){const f=this.detach(o);this.attach(o,c),this.attach(a,f)}else this.attach(o,c)}move(t,n){this.attach(n,this.detach(t))}}function Qb(e,t,n,o,a){return e===n&&Object.is(t,o)?1:Object.is(a(e,t),a(n,o))?-1:0}function Xb(e,t,n,o){return!(void 0===t||!t.has(o)||(e.attach(n,t.get(o)),t.delete(o),0))}function dI(e,t,n,o,a){if(Xb(e,t,o,n(o,a)))e.updateValue(o,a);else{const c=e.create(o,a);e.attach(o,c)}}function fI(e,t,n,o){const a=new Set;for(let c=t;c<=n;c++)a.add(o(c,e.at(c)));return a}class hI{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let o=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const a=this._vMap;for(;a.has(o);)o=a.get(o);a.set(o,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,o]of this.kvMap)if(t(o,n),void 0!==this._vMap){const a=this._vMap;for(;a.has(o);)o=a.get(o),t(o,n)}}}function pI(e,t){Mt("NgControlFlow");const n=S(),o=je(),a=n[o]!==me?n[o]:-1,c=-1!==a?_m(n,Z+a):void 0;if(Dt(n,o,e)){const h=q(null);try{if(void 0!==c&&_f(c,0),-1!==e){const p=Z+e,m=_m(n,p),y=Yb(n[P],p),v=Nc(m,y.tView.ssrId);ts(m,ui(n,y,t,{dehydratedView:v}),0,br(y,v))}}finally{q(h)}}else if(void 0!==c){const h=xg(c,0);void 0!==h&&(h[Ke]=t)}}class CN{lContainer;$implicit;$index;constructor(t,n,o){this.lContainer=t,this.$implicit=n,this.$index=o}get $count(){return this.lContainer.length-ut}}function gI(e,t){return t}class wN{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,o){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=o}}function mI(e,t,n,o,a,c,f,h,p,m,y,v,C){Mt("NgControlFlow");const E=S(),M=ne(),A=void 0!==p,R=S(),H=h?f.bind(R[Qe][Ke]):f,N=new wN(A,H);R[Z+e]=N,Gf(E,M,e+1,t,n,o,a,Rn(M.consts,c)),A&&Gf(E,M,e+2,p,m,y,v,Rn(M.consts,C))}class IN extends bN{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,o){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=o}get length(){return this.lContainer.length-ut}at(t){return this.getLView(t)[Ke].$implicit}attach(t,n){const o=n[an];this.needsIndexUpdate||=t!==this.length,ts(this.lContainer,n,t,br(this.templateTNode,o))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function MN(e,t){return uc(e,t)}(this.lContainer,t)}create(t,n){const o=Nc(this.lContainer,this.templateTNode.tView.ssrId),a=ui(this.hostLView,this.templateTNode,new CN(this.lContainer,n,t),{dehydratedView:o});return this.operationsCounter?.recordCreate(),a}destroy(t){ka(t[P],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Ke].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(p)})}(p,e,c.trackByFn),p.updateIndexes(),c.hasEmptyBlock){const m=je(),y=0===p.length;if(Dt(o,m,y)){const v=n+2,C=_m(o,v);if(y){const E=Yb(a,v),M=Nc(C,E.tView.ssrId);ts(C,ui(o,E,void 0,{dehydratedView:M}),0,br(E,M))}else _f(C,0)}}}finally{q(t)}}function _m(e,t){return e[t]}function Yb(e,t){return js(e,t)}function ym(e,t,n,o){const a=S(),c=ne(),f=Z+e,h=a[de],p=c.firstCreatePass?function xN(e,t,n,o,a,c){const f=t.consts,p=li(t,e,2,o,Rn(f,a));return Cg(t,n,p,Rn(f,c)),null!==p.attrs&&Tf(p,p.attrs,!1),null!==p.mergedAttrs&&Tf(p,p.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,p),p}(f,c,a,t,n,o):c.data[f],m=yI(c,a,p,h,t,e);a[f]=m;const y=Tu(p);return vn(p,!0),Ky(h,m,p),!function Oc(e){return!(32&~e.flags)}(p)&&Gs()&&fc(c,a,m,p),0===function l_(){return fe.lFrame.elementDepthCount}()&&Xt(m,a),function c_(){fe.lFrame.elementDepthCount++}(),y&&(df(c,a,p),uf(c,p,a)),null!==o&&ff(a,p),ym}function vm(){let e=we();Vu()?Bu():(e=e.parent,vn(e,!1));const t=e;(function u_(e){return fe.skipHydrationRootTNode===e})(t)&&function f_(){fe.skipHydrationRootTNode=null}(),function Ph(){fe.lFrame.elementDepthCount--}();const n=ne();return n.firstCreatePass&&(Il(n,e),Vs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function p_(e){return!!(8&e.flags)}(t)&&Wb(n,t,S(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cn(e){return!!(16&e.flags)}(t)&&Wb(n,t,S(),t.stylesWithoutHost,!1),vm}function Jb(e,t,n,o){return ym(e,t,n,o),vm(),Jb}let yI=(e,t,n,o,a,c)=>(mr(!0),Jd(o,a,function Jh(){return fe.lFrame.currentNamespace}()));function eD(e,t,n){const o=S(),a=ne(),c=e+Z,f=a.firstCreatePass?function NN(e,t,n,o,a){const c=t.consts,f=Rn(c,o),h=li(t,e,8,"ng-container",f);return null!==f&&Tf(h,f,!0),Cg(t,n,h,Rn(c,a)),null!==t.queries&&t.queries.elementStart(t,h),h}(c,a,o,t,n):a.data[c];vn(f,!0);const h=vI(a,o,f,e);return o[c]=h,Gs()&&fc(a,o,h,f),Xt(h,o),Tu(f)&&(df(a,o,f),uf(a,f,o)),null!=n&&ff(o,f),eD}function tD(){let e=we();const t=ne();return Vu()?Bu():(e=e.parent,vn(e,!1)),t.firstCreatePass&&(Il(t,e),Vs(e)&&t.queries.elementEnd(e)),tD}function nD(e,t,n){return eD(e,t,n),tD(),nD}let vI=(e,t,n,o)=>(mr(!0),lg(t[de],""));function bI(){return S()}const Za=void 0;var RN=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["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"]],Za,[["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"]],Za,[["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}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ON(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let Kc={};function rD(e){const t=function PN(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=wI(t);if(n)return n;const o=t.split("-")[0];if(n=wI(o),n)return n;if("en"===o)return RN;throw new V(701,!1)}function EI(e){return rD(e)[Zc.PluralCase]}function wI(e){return e in Kc||(Kc[e]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[e]),Kc[e]}var Zc=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}(Zc||{});const bm="en-US";let II=bm,$I=(e,t,n)=>{};function sD(e,t,n,o){const a=S(),c=ne(),f=we();return aD(c,a,a[de],f,e,t,o),sD}function aD(e,t,n,o,a,c,f){const h=Tu(o),m=e.firstCreatePass&&lv(e),y=t[Ke],v=es(t);let C=!0;if(3&o.type||f){const A=cn(o,t),R=f?f(A):A,H=v.length,N=f?ye=>f(Ae(ye[o.index])):o.index;let ce=null;if(!f&&h&&(ce=function IF(e,t,n,o){const a=e.cleanup;if(null!=a)for(let c=0;cp?h[p]:null}"string"==typeof f&&(c+=2)}return null}(e,t,a,o.index)),null!==ce)(ce.__ngLastListenerFn__||ce).__ngNextListenerFn__=c,ce.__ngLastListenerFn__=c,C=!1;else{c=WI(o,t,y,c),$I(A,a,c);const ye=n.listen(R,a,c);v.push(c,ye),m&&m.push(a,N,H,H+1)}}else c=WI(o,t,y,c);const E=o.outputs;let M;if(C&&null!==E&&(M=E[a])){const A=M.length;if(A)for(let R=0;R-1?On(e.index,t):t,5);let h=zI(t,n,o,c),p=a.__ngNextListenerFn__;for(;p;)h=zI(t,n,p,c)&&h,p=p.__ngNextListenerFn__;return h}}function qI(e=1){return function Qh(e){return(fe.lFrame.contextLView=function Rh(e,t){for(;e>0;)t=t[xi],e--;return t}(e,fe.lFrame.contextLView))[Ke]}(e)}function MF(e,t){let n=null;const o=function Xy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let a=0;a(mr(!0),function ag(e,t){return e.createText(t)}(t[de],o));function uD(e){return wm("",e,""),uD}function wm(e,t,n){const o=S(),a=function Bc(e,t,n,o){return Dt(e,je(),n)?t+ue(n)+o:me}(o,e,t,n);return a!==me&&function Hr(e,t,n){const o=Ar(t,e);!function Yd(e,t,n){e.setValue(t,n)}(e[de],o,n)}(o,Ot(),a),wm}function dD(e,t,n){g0(t)&&(t=t());const o=S();return Dt(o,je(),t)&&wn(ne(),Me(),o,e,t,o[de],n,!1),dD}function SM(e,t){const n=g0(e);return n&&e.set(t),n}function fD(e,t){const n=S(),o=ne(),a=we();return aD(o,n,n[de],a,e,t),fD}function hD(e,t,n,o,a){if(e=oe(e),Array.isArray(e))for(let c=0;c>20;if(Ei(e)||!e.multi){const E=new zs(m,a,Yi),M=gD(p,t,a?y:y+C,v);-1===M?(Sl(Xs(h,f),c,p),pD(c,e,t.length),t.push(p),h.directiveStart++,h.directiveEnd++,a&&(h.providerIndexes+=1048576),n.push(E),f.push(E)):(n[M]=E,f[M]=E)}else{const E=gD(p,t,y+C,v),M=gD(p,t,y,y+C),R=M>=0&&n[M];if(a&&!R||!a&&!(E>=0&&n[E])){Sl(Xs(h,f),c,p);const H=function qF(e,t,n,o,a){const c=new zs(e,n,Yi);return c.multi=[],c.index=t,c.componentProviders=0,FM(c,a,o&&!n),c}(a?WF:zF,n.length,a,o,m);!a&&R&&(n[M].providerFactory=H),pD(c,e,t.length,0),t.push(p),h.directiveStart++,h.directiveEnd++,a&&(h.providerIndexes+=1048576),n.push(H),f.push(H)}else pD(c,e,E>-1?E:M,FM(n[a?M:E],m,!a&&o));!a&&o&&R&&n[M].componentProviders++}}}function pD(e,t,n,o){const a=Ei(t),c=function Dh(e){return!!e.useClass}(t);if(a||c){const p=(c?oe(t.useClass):t).prototype.ngOnDestroy;if(p){const m=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const y=m.indexOf(n);-1===y?m.push(n,[o,p]):m[y+1].push(o,p)}else m.push(n,p)}}}function FM(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gD(e,t,n,o){for(let a=n;a{n.providersResolver=(o,a)=>function GF(e,t,n){const o=ne();if(o.firstCreatePass){const a=kn(e);hD(n,o.data,o.blueprint,a,!0),hD(t,o.data,o.blueprint,a,!1)}}(o,a?a(e):e,t)}}function RM(e,t,n,o){return BM(S(),Qt(),e,t,n,o)}function PM(e,t,n,o,a){return function jM(e,t,n,o,a,c,f){const h=t+n;return Wa(e,h,a,c)?Do(e,h+2,f?o.call(f,a,c):o(a,c)):Yf(e,h+2)}(S(),Qt(),e,t,n,o,a)}function LM(e,t,n,o,a,c){return function HM(e,t,n,o,a,c,f,h){const p=t+n;return function fm(e,t,n,o,a){const c=Wa(e,t,n,o);return Dt(e,t+2,a)||c}(e,p,a,c,f)?Do(e,p+3,h?o.call(h,a,c,f):o(a,c,f)):Yf(e,p+3)}(S(),Qt(),e,t,n,o,a,c)}function VM(e,t,n,o,a,c,f){return function UM(e,t,n,o,a,c,f,h,p){const m=t+n;return function Dr(e,t,n,o,a,c){const f=Wa(e,t,n,o);return Wa(e,t+2,a,c)||f}(e,m,a,c,f,h)?Do(e,m+4,p?o.call(p,a,c,f,h):o(a,c,f,h)):Yf(e,m+4)}(S(),Qt(),e,t,n,o,a,c,f)}function Yf(e,t){const n=e[t];return n===me?void 0:n}function BM(e,t,n,o,a,c){const f=t+n;return Dt(e,f,a)?Do(e,f+1,c?o.call(c,a):o(a)):Yf(e,f+1)}function GM(e,t){const n=ne();let o;const a=e+Z;n.firstCreatePass?(o=function rk(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[a]=o,o.onDestroy&&(n.destroyHooks??=[]).push(a,o.onDestroy)):o=n.data[a];const c=o.factory||(o.factory=No(o.type)),h=I(Yi);try{const p=Xn(!1),m=c();return Xn(p),function cD(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,S(),a,m),m}finally{I(h)}}function zM(e,t,n){const o=e+Z,a=S(),c=Ni(a,o);return function Jf(e,t){return e[P].data[t].pure}(a,o)?BM(a,Qt(),t,c.transform,n,c):c.transform(n)}function WM(e,t){return rs(e,t)}class lT{full;major;minor;patch;constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Lk=(()=>{class e{zone=z(tt);changeDetectionScheduler=z(Pr);applicationRef=z(Mn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Vk=new le("",{factory:()=>!1});function CD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new tt({...ED(),scheduleInRootZone:n}),[{provide:tt,useFactory:e},{provide:fr,multi:!0,useFactory:()=>{const o=z(Lk,{optional:!0});return()=>o.initialize()}},{provide:fr,multi:!0,useFactory:()=>{const o=z(jk);return()=>{o.initialize()}}},!0===t?{provide:oa,useValue:!0}:[],{provide:co,useValue:n??E_}]}function Bk(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,o=CD({ngZoneFactory:()=>{const a=ED(e);return a.scheduleInRootZone=n,a.shouldCoalesceEventChangeDetection&&Mt("NgZone_CoalesceEvent"),new tt(a)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Fo([{provide:Vk,useValue:!0},{provide:Ol,useValue:!1},o])}function ED(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let jk=(()=>{class e{subscription=new _s.yU;initialized=!1;zone=z(tt);pendingTasks=z(Yn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{tt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),th=(()=>{class e{appRef=z(Mn);taskService=z(Yn);ngZone=z(tt);zonelessEnabled=z(Ol);disableScheduling=z(oa,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _s.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Pl):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(z(co,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof _p||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let o=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,o=!0;break;case 13:this.appRef.dirtyFlags|=16,o=!0;break;case 12:o=!0;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(o))return;const a=this.useMicrotaskScheduler?gp:ia;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>a(()=>this.tick())):this.ngZone.runOutsideAngular(()=>a(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(n),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ID=new le("",{providedIn:"root",factory:()=>z(ID,Ee.Optional|Ee.SkipSelf)||function Hk(){return typeof $localize<"u"&&$localize.locale||bm}()}),Uk=new le("",{providedIn:"root",factory:()=>"USD"}),Tm=new le("");function xm(e){return!e.moduleRef}let fs=null;let vT=(()=>class e{static __NG_ELEMENT_ID__=Xk})();function Xk(e){return function Yk(e,t,n){if(io(e)&&!n){const o=On(e.index,t);return new bc(o,o)}return 175&e.type?new bc(t[Qe],t):null}(we(),S(),!(16&~e))}class ET{constructor(){}supports(t){return dm(t)}create(t){return new rO(t)}}const nO=(e,t)=>t;class rO{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||nO}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,a=0,c=null;for(;n||o;){const f=!o||n&&n.currentIndex{f=this._trackByFn(a,h),null!==n&&Object.is(n.trackById,f)?(o&&(n=this._verifyReinsertion(n,h,f,a)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,f,a),o=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,a){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,c,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,c,a)):t=this._addAfter(new oO(n,o),c,a),t}_verifyReinsertion(t,n,o,a){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,c=t._nextRemoved;return null===a?this._removalsHead=c:a._nextRemoved=c,null===c?this._removalsTail=a:c._prevRemoved=a,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new wT),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wT),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class oO{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}}class iO{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class wT{map=new Map;put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new iO,this.map.set(n,o)),o.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IT(e,t,n){const o=e.previousIndex;if(null===o)return o;let a=0;return n&&o{if(n&&n.key===a)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const c=this._getOrCreateRecordForKey(a,o);n=this._insertBeforeOrAppend(n,c)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const c=a._prev,f=a._next;return c&&(c._next=f),f&&(f._prev=c),a._next=null,a._prev=null,a}const o=new aO(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class aO{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function TT(){return new ND([new ET])}let ND=(()=>{class e{factories;static \u0275prov=Oe({token:e,providedIn:"root",factory:TT});constructor(n){this.factories=n}static create(n,o){if(null!=o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||TT()),deps:[[e,new yh,new mu]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(null!=o)return o;throw new V(901,!1)}}return e})();function xT(){return new FD([new MT])}let FD=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:xT});factories;constructor(n){this.factories=n}static create(n,o){if(o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||xT()),deps:[[e,new yh,new mu]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(o)return o;throw new V(901,!1)}}return e})();function DO(e){try{const{rootComponent:t,appProviders:n,platformProviders:o}=e,a=function Qk(e=[]){if(fs)return fs;const t=function mT(e=[],t){return It.create({name:t,providers:[{provide:cl,useValue:"platform"},{provide:Tm,useValue:new Set([()=>fs=null])},...e]})}(e);return fs=t,function om(){!function hi(e){tu=e}(()=>{throw new V(600,!1)})}(),function _T(e){const t=e.get(Wl,null);Xm(e,()=>{t?.forEach(n=>n())})}(t),t}(o),c=[CD({}),{provide:Pr,useExisting:th},...n||[]];return function hT(e){const t=xm(e)?e.r3Injector:e.moduleRef.injector,n=t.get(tt);return n.run(()=>{xm(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const o=t.get(Pn,null);let a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:c=>{o.handleError(c)}})}),xm(e)){const c=()=>t.destroy(),f=e.platformInjector.get(Tm);f.add(c),t.onDestroy(()=>{a.unsubscribe(),f.delete(c)})}else{const c=()=>e.moduleRef.destroy(),f=e.platformInjector.get(Tm);f.add(c),e.moduleRef.onDestroy(()=>{Sc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),f.delete(c)})}return function ab(e,t,n){try{const o=n();return Tc(o)?o.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(o,n,()=>{const c=t.get(nm);return c.runInitializers(),c.donePromise.then(()=>{if(function jN(e){"string"==typeof e&&(II=e.toLowerCase().replace(/_/g,"-"))}(t.get(ID,bm)||bm),xm(e)){const h=t.get(Mn);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function qk(e,t){const n=e.injector.get(Mn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>n.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new V(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new kv({providers:c,parent:a,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}}function GO(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function zO(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function LD(e,t){Mt("NgSignals");const n=function et(e){const t=Object.create(hs);t.computation=e;const n=()=>{if(xt(t),Ct(t),t.value===xn)throw t.error;return t.value};return n[Q]=t,n}(e);return t?.equal&&(n[Q].equal=t.equal),n}function Yc(e){const t=q(null);try{return e()}finally{q(t)}}let nx=(()=>class e{view;node;constructor(n,o){this.view=n,this.node=o}static __NG_ELEMENT_ID__=XO})();function XO(){return new nx(S(),we())}let JO=(()=>{class e extends rm{pendingTasks=z(Yn);taskId=null;schedule(n){super.schedule(n),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();class eR{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,o,a,c,f){this.scheduler=t,this.effectFn=n,this.zone=o,this.injector=c,this.watcher=function ms(e,t,n){const o=Object.create(ou);n&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const a=p=>{o.cleanupFn=p};return o.ref={notify:()=>jt(o),run:()=>{if(null===o.fn)return;if(function Y(){return G}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!te(o))return;o.hasRun=!0;const p=lt(o);try{o.cleanupFn(),o.cleanupFn=pi,o.fn(a)}finally{xe(o,p)}},cleanup:()=>o.cleanupFn(),destroy:()=>function f(p){(function c(p){return null===p.fn&&null===p.schedule})(p)||(ze(p),p.cleanupFn(),p.fn=null,p.schedule=null,p.cleanupFn=pi)}(o),[Q]:o},o.ref}(h=>this.runEffect(h),()=>this.schedule(),f),this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Pn,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}let VD=!1;class rR{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}}function BD(e,t){if(VD)return function nR(e,t){Mt("NgSignals"),!t?.injector&&Mi();const n=t?.injector??z(It),o=!0!==t?.manualCleanup?n.get(lo):null,a=new eR(n.get(JO),e,typeof Zone>"u"?null:Zone.current,o,n,t?.allowSignalWrites??!1),c=n.get(vT,null,{optional:!0});return c&&8&c._lView[ee]?(c._lView[Si]??=[]).push(a.watcher.notify):a.watcher.notify(),a}(e,t);Mt("NgSignals"),!t?.injector&&Mi();const n=t?.injector??z(It);let a,o=!0!==t?.manualCleanup?n.get(lo):null;const c=n.get(nx,null,{optional:!0}),f=n.get(Pr);return null===c||t?.forceRoot?a=function aR(e,t,n){const o=Object.create(oR);return o.fn=e,o.scheduler=t,o.notifier=n,o.zone=typeof Zone<"u"?Zone.current:null,o.scheduler.schedule(o),o.notifier.notify(13),o}(e,n.get(Rf),f):(a=function sR(e,t,n){const o=Object.create(iR);return o.view=e,o.zone=typeof Zone<"u"?Zone.current:null,o.notifier=t,o.fn=n,e[oo]??=new Set,e[oo].add(o),o.consumerMarkedDirty(o),o}(c.view,f,e),o instanceof rd&&o._lView===c.view&&(o=null)),a.injector=n,null!==o&&(a.onDestroyFn=o.onDestroy(()=>a.destroy())),new rR(a)}const rx={...pe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:$o,run(){if(this.dirty=!1,this.hasRun&&!te(this))return;this.hasRun=!0;const e=o=>(this.cleanupFns??=[]).push(o),t=lt(this),n=Dl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Dl(n),xe(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},oR={...rx,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){ze(this),this.onDestroyFn(),this.maybeCleanup()}},iR={...rx,consumerMarkedDirty(){this.view[ee]|=8192,Lo(this.view),this.notifier.notify(14)},destroy(){ze(this),this.onDestroyFn(),this.maybeCleanup(),this.view[oo]?.delete(this)}};function gR(e,t){const n=Ce(e),o=t.elementInjector||wi();return new Ec(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}},330:he=>{"use strict";he.exports=JSON.parse('{"name":"ngx-select-ex","version":"19.0.4","description":"Angular based replacement for select boxes","license":"MIT","private":false,"author":"Konstantin Polyntsov ","repository":{"type":"git","url":"git+ssh://git@github.com:optimistex/ngx-select-ex.git"},"bugs":{"url":"https://github.com/optimistex/ngx-select-ex/issues"},"homepage":"https://github.com/optimistex/ngx-select-ex#readme","scripts":{"build":"npm run lint && npm run sync && npm run build:package && npm run test && npm run build:demo && git add -A","build:demo":"ng build ngx-select-ex-demo","build:package":"ng build ngx-select-ex","lint":"ng lint","lint:quiet":"ng lint --quiet","lint:fix":"ng lint --fix","lint:ngx-select-ex:quiet":"ng lint ngx-select-ex --quiet","lint:ngx-select-ex-demo:quiet":"ng lint ngx-select-ex-demo --quiet","ng":"ng","release":"standard-version --commit-all","release:major":"standard-version --release-as major --commit-all","sync":"npm run sync:version && npm run sync:readme && npm run sync:license","sync:version":"npm --prefix=projects/ngx-select-ex pkg set version=$(npm pkg get version | xargs)","sync:readme":"cp README.md projects/ngx-select-ex/README.md","sync:license":"cp LICENSE projects/ngx-select-ex/LICENSE","publish":"npm publish ./dist/ngx-select-ex","publish-dev":"npm publish ./dist/ngx-select-ex --tag dev","start":"ng serve","test":"ng test --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex":"ng test ngx-select-ex --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex-demo":"ng test ngx-select-ex-demo --browsers=ChromeHeadlessNoSandbox --watch false","prepare":"husky"},"standard-version":{"scripts":{"postbump":"npm run build"}},"keywords":["ngx-select","ngx-select-ex","angular","angular18","angular19","select","select2","ui-select","multiselect","multi-select"],"dependencies":{"@angular/animations":"^19.0.0","@angular/cdk":"^19.0.0","@angular/common":"^19.0.0","@angular/compiler":"^19.0.0","@angular/core":"^19.0.0","@angular/forms":"^19.0.0","@angular/material":"^19.0.0","@angular/platform-browser":"^19.0.0","@angular/platform-browser-dynamic":"^19.0.0","@angular/router":"^19.0.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.15.0"},"devDependencies":{"@angular-devkit/build-angular":"^19.0.0","@angular/cli":"^19.0.0","@angular/compiler-cli":"^19.0.0","@types/jasmine":"~5.1.0","angular-eslint":"18.4.1","eslint":"^9.15.0","html-loader":"^5.1.0","husky":"^9.1.7","jasmine-core":"~5.4.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","markdown-loader":"^8.0.0","ng-packagr":"^19.0.0","raw-loader":"^4.0.2","standard-version":"^9.5.0","typescript":"~5.6.2","typescript-eslint":"8.15.0"},"contributors":[{"name":"Konstantin Polyntsov","email":"optimistex@gmail.com","url":"https://github.com/optimistex"},{"name":"Vyacheslav Chub","email":"vyacheslav.chub@valor-software.com","url":"https://github.com/buchslava"},{"name":"Dmitriy Shekhovtsov","email":"valorkin@gmail.com","url":"https://github.com/valorkin"},{"name":"Oleksandr Telnov","email":"otelnov@gmail.com","url":"https://github.com/otelnov"}]}')}},he=>{he(he.s=538)}]); \ No newline at end of file +(self.webpackChunkngx_select_ex_demo=self.webpackChunkngx_select_ex_demo||[]).push([[792],{538:(he,U,x)=>{"use strict";var u=x(213);let K=null;function se(){return K}class G{}const Q=new u.nKC(""),nl=/\s+/,ar=[];let du=(()=>{class i{_ngEl;_renderer;initialClasses=ar;rawClass;stateMap=new Map;constructor(r,s){this._ngEl=r,this._renderer=s}set klass(r){this.initialClasses=null!=r?r.trim().split(nl):ar}set ngClass(r){this.rawClass="string"==typeof r?r.trim().split(nl):r}ngDoCheck(){for(const s of this.initialClasses)this._updateState(s,!0);const r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(const s of r)this._updateState(s,!0);else if(null!=r)for(const s of Object.keys(r))this._updateState(s,!!r[s]);this._applyStateDiff()}_updateState(r,s){const d=this.stateMap.get(r);void 0!==d?(d.enabled!==s&&(d.changed=!0,d.enabled=s),d.touched=!0):this.stateMap.set(r,{enabled:s,changed:!0,touched:!0})}_applyStateDiff(){for(const r of this.stateMap){const s=r[0],d=r[1];d.changed?(this._toggleClass(s,d.enabled),d.changed=!1):d.touched||(d.enabled&&this._toggleClass(s,!1),this.stateMap.delete(s)),d.touched=!1}}_toggleClass(r,s){(r=r.trim()).length>0&&r.split(nl).forEach(d=>{s?this._renderer.addClass(this._ngEl.nativeElement,d):this._renderer.removeClass(this._ngEl.nativeElement,d)})}static \u0275fac=function(s){return new(s||i)(u.rXU(u.aKT),u.rXU(u.sFG))};static \u0275dir=u.FsC({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return i})();class Oe{$implicit;ngForOf;index;count;constructor(l,r,s,d){this.$implicit=l,this.ngForOf=r,this.index=s,this.count=d}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 hu=(()=>{class i{_viewContainer;_template;_differs;set ngForOf(r){this._ngForOf=r,this._ngForOfDirty=!0}set ngForTrackBy(r){this._trackByFn=r}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(r,s,d){this._viewContainer=r,this._template=s,this._differs=d}set ngForTemplate(r){r&&(this._template=r)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const r=this._ngForOf;!this._differ&&r&&(this._differ=this._differs.find(r).create(this.ngForTrackBy))}if(this._differ){const r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}}_applyChanges(r){const s=this._viewContainer;r.forEachOperation((d,g,_)=>{if(null==d.previousIndex)s.createEmbeddedView(this._template,new Oe(d.item,this._ngForOf,-1,-1),null===_?void 0:_);else if(null==_)s.remove(null===g?void 0:g);else if(null!==g){const D=s.get(g);s.move(D,_),xo(D,d)}});for(let d=0,g=s.length;d{xo(s.get(d.currentIndex),d)})}static ngTemplateContextGuard(r,s){return!0}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b),u.rXU(u.C4Q),u.rXU(u._q3))};static \u0275dir=u.FsC({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return i})();function xo(i,l){i.context.$implicit=l.item}let pu=(()=>{class i{_viewContainer;_context=new Jr;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(r,s){this._viewContainer=r,this._thenTemplateRef=s}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Es("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Es("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(r,s){return!0}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b),u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return i})();class Jr{$implicit=null;ngIf=null}function Es(i,l){if(l&&!l.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${(0,u.Tbb)(l)}'.`)}let Ir=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(r){this._viewContainerRef=r}ngOnChanges(r){if(this._shouldRecreateView(r)){const s=this._viewContainerRef;if(this._viewRef&&s.remove(s.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const d=this._createContextForwardProxy();this._viewRef=s.createEmbeddedView(this.ngTemplateOutlet,d,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,s,d)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,s,d),get:(r,s,d)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,s,d)}})}static \u0275fac=function(s){return new(s||i)(u.rXU(u.c1b))};static \u0275dir=u.FsC({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[u.OA$]})}return i})(),cr=(()=>{class i{transform(r){return JSON.stringify(r,null,2)}static \u0275fac=function(s){return new(s||i)};static \u0275pipe=u.EJ8({name:"json",type:i,pure:!1})}return i})(),ge=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})();const qe="browser";function Ze(i){return"server"===i}class Ke extends G{supportsDOMEvents=!0}class Pe extends Ke{static makeCurrent(){!function $(i){K??=i}(new Pe)}onAndCancel(l,r,s){return l.addEventListener(r,s),()=>{l.removeEventListener(r,s)}}dispatchEvent(l,r){l.dispatchEvent(r)}remove(l){l.remove()}createElement(l,r){return(r=r||this.getDefaultDocument()).createElement(l)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(l){return l.nodeType===Node.ELEMENT_NODE}isShadowRoot(l){return l instanceof DocumentFragment}getGlobalEventTarget(l,r){return"window"===r?window:"document"===r?l:"body"===r?l.body:null}getBaseHref(l){const r=function de(){return ln=ln||document.querySelector("base"),ln?ln.getAttribute("href"):null}();return null==r?null:function Oo(i){return new URL(i,document.baseURI).pathname}(r)}resetBaseElement(){ln=null}getUserAgent(){return window.navigator.userAgent}getCookie(l){return function ie(i,l){l=encodeURIComponent(l);for(const r of i.split(";")){const s=r.indexOf("="),[d,g]=-1==s?[r,""]:[r.slice(0,s),r.slice(s+1)];if(d.trim()===l)return decodeURIComponent(g)}return null}(document.cookie,l)}}let ln=null,xi=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Qe=new u.nKC("");let no=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(r,s){this._zone=s,r.forEach(d=>{d.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,s,d){return this._findPluginFor(s).addEventListener(r,s,d)}getZone(){return this._zone}_findPluginFor(r){let s=this._eventNameToPlugin.get(r);if(s)return s;if(s=this._plugins.find(g=>g.supports(r)),!s)throw new u.wOt(5101,!1);return this._eventNameToPlugin.set(r,s),s}static \u0275fac=function(s){return new(s||i)(u.KVO(Qe),u.KVO(u.SKi))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Ro{_doc;constructor(l){this._doc=l}manager}const Zn="ng-app-id";function Po(i){for(const l of i)l.remove()}function Mu(i,l){const r=l.createElement("style");return r.textContent=i,r}function Si(i,l){const r=l.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",i),r}let oo=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(r,s,d,g={}){this.doc=r,this.appId=s,this.nonce=d,this.isServer=Ze(g),function ro(i,l,r){const s=i.head?.querySelectorAll(`style[${Zn}="${l}"]`);if(s)for(const d of s)d.textContent&&(d.removeAttribute(Zn),r.set(d.textContent,{usage:0,elements:[d]}))}(r,s,this.inline),this.hosts.add(r.head)}addStyles(r,s){for(const d of r)this.addUsage(d,this.inline,Mu);s?.forEach(d=>this.addUsage(d,this.external,Si))}removeStyles(r,s){for(const d of r)this.removeUsage(d,this.inline);s?.forEach(d=>this.removeUsage(d,this.external))}addUsage(r,s,d){const g=s.get(r);g?g.usage++:s.set(r,{usage:1,elements:[...this.hosts].map(_=>this.addElement(_,d(r,this.doc)))})}removeUsage(r,s){const d=s.get(r);d&&(d.usage--,d.usage<=0&&(Po(d.elements),s.delete(r)))}ngOnDestroy(){for(const[,{elements:r}]of[...this.inline,...this.external])Po(r);this.hosts.clear()}addHost(r){this.hosts.add(r);for(const[s,{elements:d}]of this.inline)d.push(this.addElement(r,Mu(s,this.doc)));for(const[s,{elements:d}]of this.external)d.push(this.addElement(r,Si(s,this.doc)))}removeHost(r){this.hosts.delete(r)}addElement(r,s){return this.nonce&&s.setAttribute("nonce",this.nonce),this.isServer&&s.setAttribute(Zn,this.appId),r.appendChild(s)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q),u.KVO(u.sZ2),u.KVO(u.BIS,8),u.KVO(u.Agw))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Zt={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"},Z=/%COMP%/g,Ai=new u.nKC("",{providedIn:"root",factory:()=>!0});function it(i,l){return l.map(r=>r.replace(Z,i))}let pt=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(r,s,d,g,_,D,w,T=null){this.eventManager=r,this.sharedStylesHost=s,this.appId=d,this.removeStylesOnCompDestroy=g,this.doc=_,this.platformId=D,this.ngZone=w,this.nonce=T,this.platformIsServer=Ze(D),this.defaultRenderer=new Vs(r,_,w,this.platformIsServer)}createRenderer(r,s){if(!r||!s)return this.defaultRenderer;this.platformIsServer&&s.encapsulation===u.gXe.ShadowDom&&(s={...s,encapsulation:u.gXe.Emulated});const d=this.getOrCreateRenderer(r,s);return d instanceof xh?d.applyToHost(r):d instanceof ml&&d.applyStyles(),d}getOrCreateRenderer(r,s){const d=this.rendererByCompId;let g=d.get(s.id);if(!g){const _=this.doc,D=this.ngZone,w=this.eventManager,T=this.sharedStylesHost,O=this.removeStylesOnCompDestroy,j=this.platformIsServer;switch(s.encapsulation){case u.gXe.Emulated:g=new xh(w,T,s,this.appId,O,_,D,j);break;case u.gXe.ShadowDom:return new Bs(w,T,r,s,_,D,this.nonce,j);default:g=new ml(w,T,s,O,_,D,j)}d.set(s.id,g)}return g}ngOnDestroy(){this.rendererByCompId.clear()}static \u0275fac=function(s){return new(s||i)(u.KVO(no),u.KVO(oo),u.KVO(u.sZ2),u.KVO(Ai),u.KVO(Q),u.KVO(u.Agw),u.KVO(u.SKi),u.KVO(u.BIS))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Vs{eventManager;doc;ngZone;platformIsServer;data=Object.create(null);throwOnSyntheticProps=!0;constructor(l,r,s,d){this.eventManager=l,this.doc=r,this.ngZone=s,this.platformIsServer=d}destroy(){}destroyNode=null;createElement(l,r){return r?this.doc.createElementNS(Zt[r]||r,l):this.doc.createElement(l)}createComment(l){return this.doc.createComment(l)}createText(l){return this.doc.createTextNode(l)}appendChild(l,r){(kn(l)?l.content:l).appendChild(r)}insertBefore(l,r,s){l&&(kn(l)?l.content:l).insertBefore(r,s)}removeChild(l,r){r.remove()}selectRootElement(l,r){let s="string"==typeof l?this.doc.querySelector(l):l;if(!s)throw new u.wOt(-5104,!1);return r||(s.textContent=""),s}parentNode(l){return l.parentNode}nextSibling(l){return l.nextSibling}setAttribute(l,r,s,d){if(d){r=d+":"+r;const g=Zt[d];g?l.setAttributeNS(g,r,s):l.setAttribute(r,s)}else l.setAttribute(r,s)}removeAttribute(l,r,s){if(s){const d=Zt[s];d?l.removeAttributeNS(d,r):l.removeAttribute(`${s}:${r}`)}else l.removeAttribute(r)}addClass(l,r){l.classList.add(r)}removeClass(l,r){l.classList.remove(r)}setStyle(l,r,s,d){d&(u.czy.DashCase|u.czy.Important)?l.style.setProperty(r,s,d&u.czy.Important?"important":""):l.style[r]=s}removeStyle(l,r,s){s&u.czy.DashCase?l.style.removeProperty(r):l.style[r]=""}setProperty(l,r,s){null!=l&&(l[r]=s)}setValue(l,r){l.nodeValue=r}listen(l,r,s){if("string"==typeof l&&!(l=se().getGlobalEventTarget(this.doc,l)))throw new Error(`Unsupported event target ${l} for event ${r}`);return this.eventManager.addEventListener(l,r,this.decoratePreventDefault(s))}decoratePreventDefault(l){return r=>{if("__ngUnwrap__"===r)return l;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>l(r)):l(r))&&r.preventDefault()}}}function kn(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class Bs extends Vs{sharedStylesHost;hostEl;shadowRoot;constructor(l,r,s,d,g,_,D,w){super(l,g,_,w),this.sharedStylesHost=r,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const T=it(d.id,d.styles);for(const j of T){const re=document.createElement("style");D&&re.setAttribute("nonce",D),re.textContent=j,this.shadowRoot.appendChild(re)}const O=d.getExternalStyles?.();if(O)for(const j of O){const re=Si(j,g);D&&re.setAttribute("nonce",D),this.shadowRoot.appendChild(re)}}nodeOrShadowRoot(l){return l===this.hostEl?this.shadowRoot:l}appendChild(l,r){return super.appendChild(this.nodeOrShadowRoot(l),r)}insertBefore(l,r,s){return super.insertBefore(this.nodeOrShadowRoot(l),r,s)}removeChild(l,r){return super.removeChild(null,r)}parentNode(l){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(l)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ml extends Vs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(l,r,s,d,g,_,D,w){super(l,g,_,D),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=d,this.styles=w?it(w,s.styles):s.styles,this.styleUrls=s.getExternalStyles?.(w)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class xh extends ml{contentAttr;hostAttr;constructor(l,r,s,d,g,_,D,w){const T=d+"-"+s.id;super(l,r,s,g,_,D,w,T),this.contentAttr=function ut(i){return"_ngcontent-%COMP%".replace(Z,i)}(T),this.hostAttr=function gl(i){return"_nghost-%COMP%".replace(Z,i)}(T)}applyToHost(l){this.applyStyles(),this.setAttribute(l,this.hostAttr,"")}createElement(l,r){const s=super.createElement(l,r);return super.setAttribute(s,this.contentAttr,""),s}}let xu=(()=>{class i extends Ro{constructor(r){super(r)}supports(r){return!0}addEventListener(r,s,d){return r.addEventListener(s,d,!1),()=>this.removeEventListener(r,s,d)}removeEventListener(r,s,d){return r.removeEventListener(s,d)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();const Su=["alt","control","meta","shift"],e_={"\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"},Au={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let tC=(()=>{class i extends Ro{constructor(r){super(r)}supports(r){return null!=i.parseEventName(r)}addEventListener(r,s,d){const g=i.parseEventName(s),_=i.eventCallback(g.fullKey,d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>se().onAndCancel(r,g.domEventName,_))}static parseEventName(r){const s=r.toLowerCase().split("."),d=s.shift();if(0===s.length||"keydown"!==d&&"keyup"!==d)return null;const g=i._normalizeKey(s.pop());let _="",D=s.indexOf("code");if(D>-1&&(s.splice(D,1),_="code."),Su.forEach(T=>{const O=s.indexOf(T);O>-1&&(s.splice(O,1),_+=T+".")}),_+=g,0!=s.length||0===g.length)return null;const w={};return w.domEventName=d,w.fullKey=_,w}static matchEventFullKeyCode(r,s){let d=e_[r.key]||r.key,g="";return s.indexOf("code.")>-1&&(d=r.code,g="code."),!(null==d||!d)&&(d=d.toLowerCase()," "===d?d="space":"."===d&&(d="dot"),Su.forEach(_=>{_!==d&&(0,Au[_])(r)&&(g+=_+".")}),g+=d,g===s)}static eventCallback(r,s,d){return g=>{i.matchEventFullKeyCode(g,r)&&d.runGuarded(()=>s(g))}}static _normalizeKey(r){return"esc"===r?"escape":r}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();function t_(i){return{appProviders:[...Sh,...i?.providers??[]],platformProviders:sC}}const sC=[{provide:u.Agw,useValue:qe},{provide:u.PLl,useValue:function rC(){Pe.makeCurrent()},multi:!0},{provide:Q,useFactory:function iC(){return(0,u.TL$)(document),document},deps:[]}],Sh=[{provide:u.H8p,useValue:"root"},{provide:u.zcH,useFactory:function oC(){return new u.zcH},deps:[]},{provide:Qe,useClass:xu,multi:!0,deps:[Q,u.SKi,u.Agw]},{provide:Qe,useClass:tC,multi:!0,deps:[Q]},pt,oo,no,{provide:u._9s,useExisting:pt},{provide:class ur{},useClass:xi,deps:[]},[]];let _l=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:function(s){let d=null;return d=s?new(s||i):u.KVO(Ae),d},providedIn:"root"})}return i})(),Ae=(()=>{class i extends _l{_doc;constructor(r){super(),this._doc=r}sanitize(r,s){if(null==s)return null;switch(r){case u.WPN.NONE:return s;case u.WPN.HTML:return(0,u.ZF7)(s,"HTML")?(0,u.rcV)(s):(0,u.h9k)(this._doc,String(s)).toString();case u.WPN.STYLE:return(0,u.ZF7)(s,"Style")?(0,u.rcV)(s):s;case u.WPN.SCRIPT:if((0,u.ZF7)(s,"Script"))return(0,u.rcV)(s);throw new u.wOt(5200,!1);case u.WPN.URL:return(0,u.ZF7)(s,"URL")?(0,u.rcV)(s):(0,u.$MX)(String(s));case u.WPN.RESOURCE_URL:if((0,u.ZF7)(s,"ResourceURL"))return(0,u.rcV)(s);throw new u.wOt(5201,!1);default:throw new u.wOt(5202,!1)}}bypassSecurityTrustHtml(r){return(0,u.Kcf)(r)}bypassSecurityTrustStyle(r){return(0,u.cWb)(r)}bypassSecurityTrustScript(r){return(0,u.UyX)(r)}bypassSecurityTrustUrl(r){return(0,u.osQ)(r)}bypassSecurityTrustResourceUrl(r){return(0,u.e5t)(r)}static \u0275fac=function(s){return new(s||i)(u.KVO(Q))};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Oh=(()=>{class i{doc;delegate;zone;animationType;moduleImpl;_rendererFactoryPromise=null;scheduler=(0,u.WQX)(u.An2,{optional:!0});loadingSchedulerFn=(0,u.WQX)(Rh,{optional:!0});_engine;constructor(r,s,d,g,_){this.doc=r,this.delegate=s,this.zone=d,this.animationType=g,this.moduleImpl=_}ngOnDestroy(){this._engine?.flush()}loadImpl(){const r=()=>this.moduleImpl??x.e(8).then(x.bind(x,8)).then(d=>d);let s;return s=this.loadingSchedulerFn?this.loadingSchedulerFn(r):r(),s.catch(d=>{throw new u.wOt(5300,!1)}).then(({\u0275createEngine:d,\u0275AnimationRendererFactory:g})=>{this._engine=d(this.animationType,this.doc);const _=new g(this.delegate,this._engine,this.zone);return this.delegate=_,_})}createRenderer(r,s){const d=this.delegate.createRenderer(r,s);if(0===d.\u0275type)return d;"boolean"==typeof d.throwOnSyntheticProps&&(d.throwOnSyntheticProps=!1);const g=new Fu(d);return s?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(_=>{const D=_.createRenderer(r,s);g.use(D),this.scheduler?.notify(11)}).catch(_=>{g.use(d)}),g}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static \u0275fac=function(s){u.QTQ()};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac})}return i})();class Fu{delegate;replay=[];\u0275type=1;constructor(l){this.delegate=l}use(l){if(this.delegate=l,null!==this.replay){for(const r of this.replay)r(l);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(l,r){return this.delegate.createElement(l,r)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}get destroyNode(){return this.delegate.destroyNode}appendChild(l,r){this.delegate.appendChild(l,r)}insertBefore(l,r,s,d){this.delegate.insertBefore(l,r,s,d)}removeChild(l,r,s){this.delegate.removeChild(l,r,s)}selectRootElement(l,r){return this.delegate.selectRootElement(l,r)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,r,s,d){this.delegate.setAttribute(l,r,s,d)}removeAttribute(l,r,s){this.delegate.removeAttribute(l,r,s)}addClass(l,r){this.delegate.addClass(l,r)}removeClass(l,r){this.delegate.removeClass(l,r)}setStyle(l,r,s,d){this.delegate.setStyle(l,r,s,d)}removeStyle(l,r,s){this.delegate.removeStyle(l,r,s)}setProperty(l,r,s){this.shouldReplay(r)&&this.replay.push(d=>d.setProperty(l,r,s)),this.delegate.setProperty(l,r,s)}setValue(l,r){this.delegate.setValue(l,r)}listen(l,r,s){return this.shouldReplay(r)&&this.replay.push(d=>d.listen(l,r,s)),this.delegate.listen(l,r,s)}shouldReplay(l){return null!==this.replay&&l.startsWith("@")}}const Rh=new u.nKC(""),ku={providers:[(0,u.Jn2)({eventCoalescing:!0}),function yl(i="animations"){return(0,u.ngT)("NgAsyncAnimations"),(0,u.EmA)([{provide:u._9s,useFactory:(l,r,s)=>new Oh(l,r,s,i),deps:[Q,pt,u.SKi]},{provide:u.bc$,useValue:"noop"===i?"NoopAnimations":"BrowserAnimations"}])}()]};function ne(i){return this instanceof ne?(this.v=i,this):new ne(i)}function we(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,l=i[Symbol.asyncIterator];return l?l.call(i):(i=function Pu(i){var l="function"==typeof Symbol&&Symbol.iterator,r=l&&i[l],s=0;if(r)return r.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(g){r[g]=i[g]&&function(_){return new Promise(function(D,w){!function d(g,_,D,w){Promise.resolve(w).then(function(T){g({value:T,done:D})},_)}(D,w,(_=i[g](_)).done,_.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Cl=i=>i&&"number"==typeof i.length&&"function"!=typeof i;var je=x(71);function gr(i){return(0,je.T)(i?.then)}var vt=x(226),ju=x(494);function Gh(i){return(0,je.T)(i[ju.s])}function zh(i){return Symbol.asyncIterator&&(0,je.T)(i?.[Symbol.asyncIterator])}function El(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const wl=function Hu(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function $s(i){return(0,je.T)(i?.[wl])}function Wh(i){return function Lu(i,l,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d,s=r.apply(i,l||[]),g=[];return d=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),D("next"),D("throw"),D("return",function _(W){return function(_e){return Promise.resolve(_e).then(W,j)}}),d[Symbol.asyncIterator]=function(){return this},d;function D(W,_e){s[W]&&(d[W]=function(De){return new Promise(function(Le,Ve){g.push([W,De,Le,Ve])>1||w(W,De)})},_e&&(d[W]=_e(d[W])))}function w(W,_e){try{!function T(W){W.value instanceof ne?Promise.resolve(W.value.v).then(O,j):re(g[0][2],W)}(s[W](_e))}catch(De){re(g[0][3],De)}}function O(W){w("next",W)}function j(W){w("throw",W)}function re(W,_e){W(_e),g.shift(),g.length&&w(g[0][0],g[0][1])}}(this,arguments,function*(){const r=i.getReader();try{for(;;){const{value:s,done:d}=yield ne(r.read());if(d)return yield ne(void 0);yield yield ne(s)}}finally{r.releaseLock()}})}function Uu(i){return(0,je.T)(i?.getReader)}var $u=x(334);function un(i){if(i instanceof vt.c)return i;if(null!=i){if(Gh(i))return function qh(i){return new vt.c(l=>{const r=i[ju.s]();if((0,je.T)(r.subscribe))return r.subscribe(l);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(Cl(i))return function Kh(i){return new vt.c(l=>{for(let r=0;r{i.then(r=>{l.closed||(l.next(r),l.complete())},r=>l.error(r)).then(null,$u.m)})}(i);if(zh(i))return Qh(i);if($s(i))return function Gu(i){return new vt.c(l=>{for(const r of i)if(l.next(r),l.closed)return;l.complete()})}(i);if(Uu(i))return function Ot(i){return Qh(Wh(i))}(i)}throw El(i)}function Qh(i){return new vt.c(l=>{(function Vo(i,l){var r,s,d,g;return function Ph(i,l,r,s){return new(r||(r=Promise))(function(g,_){function D(O){try{T(s.next(O))}catch(j){_(j)}}function w(O){try{T(s.throw(O))}catch(j){_(j)}}function T(O){O.done?g(O.value):function d(g){return g instanceof r?g:new r(function(_){_(g)})}(O.value).then(D,w)}T((s=s.apply(i,l||[])).next())})}(this,void 0,void 0,function*(){try{for(r=we(i);!(s=yield r.next()).done;)if(l.next(s.value),l.closed)return}catch(_){d={error:_}}finally{try{s&&!s.done&&(g=r.return)&&(yield g.call(r))}finally{if(d)throw d.error}}l.complete()})})(i,l).catch(r=>l.error(r))})}function Me(i,l,r,s=0,d=!1){const g=l.schedule(function(){r(),d?i.add(this.schedule(null,s)):this.unsubscribe()},s);if(i.add(g),!d)return g}var bn=x(974),dn=x(360);function Xh(i,l=0){return(0,bn.N)((r,s)=>{r.subscribe((0,dn._)(s,d=>Me(s,i,()=>s.next(d),l),()=>Me(s,i,()=>s.complete(),l),d=>Me(s,i,()=>s.error(d),l)))})}function Yh(i,l=0){return(0,bn.N)((r,s)=>{s.add(i.schedule(()=>r.subscribe(s),l))})}function tp(i,l){if(!i)throw new Error("Iterable cannot be null");return new vt.c(r=>{Me(r,l,()=>{const s=i[Symbol.asyncIterator]();Me(r,l,()=>{s.next().then(d=>{d.done?r.complete():r.next(d.value)})},0,!0)})})}function Dn(i,l){return l?function Ml(i,l){if(null!=i){if(Gh(i))return function Jh(i,l){return un(i).pipe(Yh(l),Xh(l))}(i,l);if(Cl(i))return function Gs(i,l){return new vt.c(r=>{let s=0;return l.schedule(function(){s===i.length?r.complete():(r.next(i[s++]),r.closed||this.schedule())})})}(i,l);if(gr(i))return function ep(i,l){return un(i).pipe(Yh(l),Xh(l))}(i,l);if(zh(i))return tp(i,l);if($s(i))return function mr(i,l){return new vt.c(r=>{let s;return Me(r,l,()=>{s=i[wl](),Me(r,l,()=>{let d,g;try{({value:d,done:g}=s.next())}catch(_){return void r.error(_)}g?r.complete():r.next(d)},0,!0)}),()=>(0,je.T)(s?.return)&&s.return()})}(i,l);if(Uu(i))return function Il(i,l){return tp(Wh(i),l)}(i,l)}throw El(i)}(i,l):un(i)}const{isArray:zu}=Array,{getPrototypeOf:np,prototype:rp,keys:h_}=Object;function Bo(i){if(1===i.length){const l=i[0];if(zu(l))return{args:l,keys:null};if(function zs(i){return i&&"object"==typeof i&&np(i)===rp}(l)){const r=h_(l);return{args:r.map(s=>l[s]),keys:r}}}return{args:i,keys:null}}function op(i){return i&&(0,je.T)(i.schedule)}function Ws(i){return i[i.length-1]}function Tl(i){return(0,je.T)(Ws(i))?i.pop():void 0}function qs(i){return op(Ws(i))?i.pop():void 0}var Cn=x(354);const{isArray:yC}=Array;function Ks(i){return(0,Cn.T)(l=>function vC(i,l){return yC(l)?i(...l):i(l)}(i,l))}function Wu(i,l){return i.reduce((r,s,d)=>(r[s]=l[d],r),{})}var We=x(413);let qu=(()=>{class i{_renderer;_elementRef;onChange=r=>{};onTouched=()=>{};constructor(r,s){this._renderer=r,this._elementRef=s}setProperty(r,s){this._renderer.setProperty(this._elementRef.nativeElement,r,s)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.aKT))};static \u0275dir=u.FsC({type:i})}return i})(),kr=(()=>{class i extends qu{static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,features:[u.Vt3]})}return i})();const Rt=new u.nKC(""),g_={provide:Rt,useExisting:(0,u.Rfq)(()=>Qs),multi:!0},m_=new u.nKC("");let Qs=(()=>{class i extends qu{_compositionMode;_composing=!1;constructor(r,s,d){super(r,s),this._compositionMode=d,null==this._compositionMode&&(this._compositionMode=!function Zs(){const i=se()?se().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(r){this.setProperty("value",r??"")}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.aKT),u.rXU(m_,8))};static \u0275dir=u.FsC({type:i,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(s,d){1&s&&u.bIt("input",function(_){return d._handleInput(_.target.value)})("blur",function(){return d.onTouched()})("compositionstart",function(){return d._compositionStart()})("compositionend",function(_){return d._compositionEnd(_.target.value)})},standalone:!1,features:[u.Jv_([g_]),u.Vt3]})}return i})();const Pt=new u.nKC(""),Or=new u.nKC("");function Xu(i){return null!=i}function Yu(i){return(0,u.jNT)(i)?Dn(i):i}function lp(i){let l={};return i.forEach(r=>{l=null!=r?{...l,...r}:l}),0===Object.keys(l).length?null:l}function ea(i,l){return l.map(r=>r(i))}function cp(i){return i.map(l=>function jo(i){return!i.validate}(l)?l:r=>l.validate(r))}function Al(i){return null!=i?function Ju(i){if(!i)return null;const l=i.filter(Xu);return 0==l.length?null:function(r){return lp(ea(r,l))}}(cp(i)):null}function ao(i){return null!=i?function Ho(i){if(!i)return null;const l=i.filter(Xu);return 0==l.length?null:function(r){return function ip(...i){const l=Tl(i),{args:r,keys:s}=Bo(i),d=new vt.c(g=>{const{length:_}=r;if(!_)return void g.complete();const D=new Array(_);let w=_,T=_;for(let O=0;O<_;O++){let j=!1;un(r[O]).subscribe((0,dn._)(g,re=>{j||(j=!0,T--),D[O]=re},()=>w--,void 0,()=>{(!w||!j)&&(T||g.next(s?Wu(s,D):D),g.complete())}))}});return l?d.pipe(Ks(l)):d}(ea(r,l).map(Yu)).pipe((0,Cn.T)(lp))}}(cp(i)):null}function bt(i,l){return null===i?[l]:Array.isArray(i)?[...i,l]:[i,l]}function up(i){return i._rawValidators}function ed(i){return i._rawAsyncValidators}function ta(i){return i?Array.isArray(i)?i:[i]:[]}function Nl(i,l){return Array.isArray(i)?i.includes(l):i===l}function td(i,l){const r=ta(l);return ta(i).forEach(d=>{Nl(r,d)||r.push(d)}),r}function na(i,l){return ta(l).filter(r=>!Nl(i,r))}class dp{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(l){this._rawValidators=l||[],this._composedValidatorFn=Al(this._rawValidators)}_setAsyncValidators(l){this._rawAsyncValidators=l||[],this._composedAsyncValidatorFn=ao(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(l){this._onDestroyCallbacks.push(l)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(l=>l()),this._onDestroyCallbacks=[]}reset(l=void 0){this.control&&this.control.reset(l)}hasError(l,r){return!!this.control&&this.control.hasError(l,r)}getError(l,r){return this.control?this.control.getError(l,r):null}}class $t extends dp{name;get formDirective(){return null}get path(){return null}}class _r extends dp{_parent=null;name=null;valueAccessor=null}class ra{_cd;constructor(l){this._cd=l}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let Uo=(()=>{class i extends ra{constructor(r){super(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(_r,2))};static \u0275dir=u.FsC({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(s,d){2&s&&u.AVh("ng-untouched",d.isUntouched)("ng-touched",d.isTouched)("ng-pristine",d.isPristine)("ng-dirty",d.isDirty)("ng-valid",d.isValid)("ng-invalid",d.isInvalid)("ng-pending",d.isPending)},standalone:!1,features:[u.Vt3]})}return i})();const Rl="VALID",oa="INVALID",co="PENDING",Yn="DISABLED";class ki{}class pp extends ki{value;source;constructor(l,r){super(),this.value=l,this.source=r}}class Jn extends ki{pristine;source;constructor(l,r){super(),this.pristine=l,this.source=r}}class $o extends ki{touched;source;constructor(l,r){super(),this.touched=l,this.source=r}}class ia extends ki{status;source;constructor(l,r){super(),this.status=l,this.source=r}}function Ll(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}class id{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(l,r){this._assignValidators(l),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(l){this._rawValidators=this._composedValidatorFn=l}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(l){this._rawAsyncValidators=this._composedAsyncValidatorFn=l}get parent(){return this._parent}get status(){return(0,u.O8t)(this.statusReactive)}set status(l){(0,u.O8t)(()=>this.statusReactive.set(l))}_status=(0,u.EWP)(()=>this.statusReactive());statusReactive=(0,u.vPA)(void 0);get valid(){return this.status===Rl}get invalid(){return this.status===oa}get pending(){return this.status==co}get disabled(){return this.status===Yn}get enabled(){return this.status!==Yn}errors;get pristine(){return(0,u.O8t)(this.pristineReactive)}set pristine(l){(0,u.O8t)(()=>this.pristineReactive.set(l))}_pristine=(0,u.EWP)(()=>this.pristineReactive());pristineReactive=(0,u.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,u.O8t)(this.touchedReactive)}set touched(l){(0,u.O8t)(()=>this.touchedReactive.set(l))}_touched=(0,u.EWP)(()=>this.touchedReactive());touchedReactive=(0,u.vPA)(!1);get untouched(){return!this.touched}_events=new We.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(l){this._assignValidators(l)}setAsyncValidators(l){this._assignAsyncValidators(l)}addValidators(l){this.setValidators(td(l,this._rawValidators))}addAsyncValidators(l){this.setAsyncValidators(td(l,this._rawAsyncValidators))}removeValidators(l){this.setValidators(na(l,this._rawValidators))}removeAsyncValidators(l){this.setAsyncValidators(na(l,this._rawAsyncValidators))}hasValidator(l){return Nl(this._rawValidators,l)}hasAsyncValidator(l){return Nl(this._rawAsyncValidators,l)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(l={}){const r=!1===this.touched;this.touched=!0;const s=l.sourceControl??this;this._parent&&!l.onlySelf&&this._parent.markAsTouched({...l,sourceControl:s}),r&&!1!==l.emitEvent&&this._events.next(new $o(!0,s))}markAllAsTouched(l={}){this.markAsTouched({onlySelf:!0,emitEvent:l.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(l))}markAsUntouched(l={}){const r=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const s=l.sourceControl??this;this._forEachChild(d=>{d.markAsUntouched({onlySelf:!0,emitEvent:l.emitEvent,sourceControl:s})}),this._parent&&!l.onlySelf&&this._parent._updateTouched(l,s),r&&!1!==l.emitEvent&&this._events.next(new $o(!1,s))}markAsDirty(l={}){const r=!0===this.pristine;this.pristine=!1;const s=l.sourceControl??this;this._parent&&!l.onlySelf&&this._parent.markAsDirty({...l,sourceControl:s}),r&&!1!==l.emitEvent&&this._events.next(new Jn(!1,s))}markAsPristine(l={}){const r=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const s=l.sourceControl??this;this._forEachChild(d=>{d.markAsPristine({onlySelf:!0,emitEvent:l.emitEvent})}),this._parent&&!l.onlySelf&&this._parent._updatePristine(l,s),r&&!1!==l.emitEvent&&this._events.next(new Jn(!0,s))}markAsPending(l={}){this.status=co;const r=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new ia(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.markAsPending({...l,sourceControl:r})}disable(l={}){const r=this._parentMarkedDirty(l.onlySelf);this.status=Yn,this.errors=null,this._forEachChild(d=>{d.disable({...l,onlySelf:!0})}),this._updateValue();const s=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new pp(this.value,s)),this._events.next(new ia(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...l,skipPristineCheck:r},this),this._onDisabledChange.forEach(d=>d(!0))}enable(l={}){const r=this._parentMarkedDirty(l.onlySelf);this.status=Rl,this._forEachChild(s=>{s.enable({...l,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent}),this._updateAncestors({...l,skipPristineCheck:r},this),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(l,r){this._parent&&!l.onlySelf&&(this._parent.updateValueAndValidity(l),l.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(l){this._parent=l}getRawValue(){return this.value}updateValueAndValidity(l={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const s=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Rl||this.status===co)&&this._runAsyncValidator(s,l.emitEvent)}const r=l.sourceControl??this;!1!==l.emitEvent&&(this._events.next(new pp(this.value,r)),this._events.next(new ia(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!l.onlySelf&&this._parent.updateValueAndValidity({...l,sourceControl:r})}_updateTreeValidity(l={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(l)),this.updateValueAndValidity({onlySelf:!0,emitEvent:l.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Yn:Rl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(l,r){if(this.asyncValidator){this.status=co,this._hasOwnPendingAsyncValidator={emitEvent:!1!==r};const s=Yu(this.asyncValidator(this));this._asyncValidationSubscription=s.subscribe(d=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(d,{emitEvent:r,shouldHaveEmitted:l})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const l=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,l}return!1}setErrors(l,r={}){this.errors=l,this._updateControlsErrors(!1!==r.emitEvent,this,r.shouldHaveEmitted)}get(l){let r=l;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((s,d)=>s&&s._find(d),this)}getError(l,r){const s=r?this.get(r):this;return s&&s.errors?s.errors[l]:null}hasError(l,r){return!!this.getError(l,r)}get root(){let l=this;for(;l._parent;)l=l._parent;return l}_updateControlsErrors(l,r,s){this.status=this._calculateStatus(),l&&this.statusChanges.emit(this.status),(l||s)&&this._events.next(new ia(this.status,r)),this._parent&&this._parent._updateControlsErrors(l,r,s)}_initObservables(){this.valueChanges=new u.bkB,this.statusChanges=new u.bkB}_calculateStatus(){return this._allControlsDisabled()?Yn:this.errors?oa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(co)?co:this._anyControlsHaveStatus(oa)?oa:Rl}_anyControlsHaveStatus(l){return this._anyControls(r=>r.status===l)}_anyControlsDirty(){return this._anyControls(l=>l.dirty)}_anyControlsTouched(){return this._anyControls(l=>l.touched)}_updatePristine(l,r){const s=!this._anyControlsDirty(),d=this.pristine!==s;this.pristine=s,this._parent&&!l.onlySelf&&this._parent._updatePristine(l,r),d&&this._events.next(new Jn(this.pristine,r))}_updateTouched(l={},r){this.touched=this._anyControlsTouched(),this._events.next(new $o(this.touched,r)),this._parent&&!l.onlySelf&&this._parent._updateTouched(l,r)}_onDisabledChange=[];_registerOnCollectionChange(l){this._onCollectionChange=l}_setUpdateStrategy(l){Ll(l)&&null!=l.updateOn&&(this._updateOn=l.updateOn)}_parentMarkedDirty(l){return!l&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(l){return null}_assignValidators(l){this._rawValidators=Array.isArray(l)?l.slice():l,this._composedValidatorFn=function Pl(i){return Array.isArray(i)?Al(i):i||null}(this._rawValidators)}_assignAsyncValidators(l){this._rawAsyncValidators=Array.isArray(l)?l.slice():l,this._composedAsyncValidatorFn=function tt(i){return Array.isArray(i)?ao(i):i||null}(this._rawAsyncValidators)}}const uo=new u.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>la}),la="always";function ca(i,l,r=la){(function yp(i,l){const r=up(i);null!==l.validator?i.setValidators(bt(r,l.validator)):"function"==typeof r&&i.setValidators([r]);const s=ed(i);null!==l.asyncValidator?i.setAsyncValidators(bt(s,l.asyncValidator)):"function"==typeof s&&i.setAsyncValidators([s]);const d=()=>i.updateValueAndValidity();sd(l._rawValidators,d),sd(l._rawAsyncValidators,d)})(i,l),l.valueAccessor.writeValue(i.value),(i.disabled||"always"===r)&&l.valueAccessor.setDisabledState?.(i.disabled),function MC(i,l){l.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&Go(i,l)})}(i,l),function da(i,l){const r=(s,d)=>{l.valueAccessor.writeValue(s),d&&l.viewToModelUpdate(s)};i.registerOnChange(r),l._registerOnDestroy(()=>{i._unregisterOnChange(r)})}(i,l),function T_(i,l){l.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&Go(i,l),"submit"!==i.updateOn&&i.markAsTouched()})}(i,l),function IC(i,l){if(l.valueAccessor.setDisabledState){const r=s=>{l.valueAccessor.setDisabledState(s)};i.registerOnDisabledChange(r),l._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}(i,l)}function ua(i,l,r=!0){const s=()=>{};l.valueAccessor&&(l.valueAccessor.registerOnChange(s),l.valueAccessor.registerOnTouched(s)),function ad(i,l){let r=!1;if(null!==i){if(null!==l.validator){const d=up(i);if(Array.isArray(d)&&d.length>0){const g=d.filter(_=>_!==l.validator);g.length!==d.length&&(r=!0,i.setValidators(g))}}if(null!==l.asyncValidator){const d=ed(i);if(Array.isArray(d)&&d.length>0){const g=d.filter(_=>_!==l.asyncValidator);g.length!==d.length&&(r=!0,i.setAsyncValidators(g))}}}const s=()=>{};return sd(l._rawValidators,s),sd(l._rawAsyncValidators,s),r}(i,l),i&&(l._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function sd(i,l){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(l)})}function Go(i,l){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),l.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function zo(i,l){if(!i.hasOwnProperty("model"))return!1;const r=i.model;return!!r.isFirstChange()||!Object.is(l,r.currentValue)}function Oi(i,l){if(!l)return null;let r,s,d;return Array.isArray(l),l.forEach(g=>{g.constructor===Qs?r=g:function ha(i){return Object.getPrototypeOf(i.constructor)===kr}(g)?s=g:d=g}),d||s||r||null}function Hl(i,l){const r=i.indexOf(l);r>-1&&i.splice(r,1)}function bp(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}Promise.resolve();const dd=class extends id{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(l=null,r,s){super(function sa(i){return(Ll(i)?i.validators:i)||null}(r),function od(i,l){return(Ll(l)?l.asyncValidators:i)||null}(s,r)),this._applyFormState(l),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ll(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=bp(l)?l.value:l)}setValue(l,r={}){this.value=this._pendingValue=l,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(l,r={}){this.setValue(l,r)}reset(l=this.defaultValue,r={}){this._applyFormState(l),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(l){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(l){this._onChange.push(l)}_unregisterOnChange(l){Hl(this._onChange,l)}registerOnDisabledChange(l){this._onDisabledChange.push(l)}_unregisterOnDisabledChange(l){Hl(this._onDisabledChange,l)}_forEachChild(l){}_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(l){bp(l)?(this.value=this._pendingValue=l.value,l.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=l}},Gt=dd,Dp={provide:_r,useExisting:(0,u.Rfq)(()=>Wo)},Cp=Promise.resolve();let Wo=(()=>{class i extends _r{_changeDetectorRef;callSetDisabledState;control=new dd;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new u.bkB;constructor(r,s,d,g,_,D){super(),this._changeDetectorRef=_,this.callSetDisabledState=D,this._parent=r,this._setValidators(s),this._setAsyncValidators(d),this.valueAccessor=Oi(0,g)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){const s=r.name.previousValue;this.formDirective.removeControl({name:s,path:this._getPath(s)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),zo(r,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(r){this.viewModel=r,this.update.emit(r)}_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(){ca(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(r){Cp.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){const s=r.isDisabled.currentValue,d=0!==s&&(0,u.L39)(s);Cp.then(()=>{d&&!this.control.disabled?this.control.disable():!d&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?function Pn(i,l){return[...l.path,i]}(r,this._parent):[r]}static \u0275fac=function(s){return new(s||i)(u.rXU($t,9),u.rXU(Pt,10),u.rXU(Or,10),u.rXU(Rt,10),u.rXU(u.gRc,8),u.rXU(uo,8))};static \u0275dir=u.FsC({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[u.Jv_([Dp]),u.Vt3,u.OA$]})}return i})();const $l=new u.nKC(""),Tp={provide:_r,useExisting:(0,u.Rfq)(()=>qo)};let qo=(()=>{class i extends _r{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(r){}model;update=new u.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(r,s,d,g,_){super(),this._ngModelWarningConfig=g,this.callSetDisabledState=_,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=Oi(0,d)}ngOnChanges(r){if(this._isControlChanged(r)){const s=r.form.previousValue;s&&ua(s,this,!1),ca(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}zo(r,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ua(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_isControlChanged(r){return r.hasOwnProperty("form")}static \u0275fac=function(s){return new(s||i)(u.rXU(Pt,10),u.rXU(Or,10),u.rXU(Rt,10),u.rXU($l,8),u.rXU(uo,8))};static \u0275dir=u.FsC({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[u.Jv_([Tp]),u.Vt3,u.OA$]})}return i})(),Pi=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})(),va=(()=>{class i{static withConfig(r){return{ngModule:i,providers:[{provide:uo,useValue:r.callSetDisabledState??la}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Pi]})}return i})(),Td=(()=>{class i{static withConfig(r){return{ngModule:i,providers:[{provide:$l,useValue:r.warnOnNgModelWithFormControl??"always"},{provide:uo,useValue:r.callSetDisabledState??la}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Pi]})}return i})();var fo=x(412),Li=x(669);function Vi(...i){const l=qs(i),r=Tl(i),{args:s,keys:d}=Bo(i);if(0===s.length)return Dn([],l);const g=new vt.c(function xd(i,l,r=Li.D){return s=>{Sd(l,()=>{const{length:d}=i,g=new Array(d);let _=d,D=d;for(let w=0;w{const T=Dn(i[w],l);let O=!1;T.subscribe((0,dn._)(s,j=>{g[w]=j,O||(O=!0,D--),D||s.next(r(g.slice()))},()=>{--_||s.complete()}))},s)},s)}}(s,l,d?_=>Wu(d,_):Li.D));return r?g.pipe(Ks(r)):g}function Sd(i,l,r){i?Me(r,i,l):l()}function Bi(i,l,r=1/0){return(0,je.T)(l)?Bi((s,d)=>(0,Cn.T)((g,_)=>l(s,g,d,_))(un(i(s,d))),r):("number"==typeof l&&(r=l),(0,bn.N)((s,d)=>function Mt(i,l,r,s,d,g,_,D){const w=[];let T=0,O=0,j=!1;const re=()=>{j&&!w.length&&!T&&l.complete()},W=De=>T{g&&l.next(De),T++;let Le=!1;un(r(De,O++)).subscribe((0,dn._)(l,Ve=>{d?.(Ve),g?W(Ve):l.next(Ve)},()=>{Le=!0},void 0,()=>{if(Le)try{for(T--;w.length&&T_e(Ve)):_e(Ve)}re()}catch(Ve){l.error(Ve)}}))};return i.subscribe((0,dn._)(l,W,()=>{j=!0,re()})),()=>{D?.()}}(s,d,i,r)))}function Xo(i=1/0){return Bi(Li.D,i)}var ji=x(983);function ba(...i){const l=qs(i),r=function p_(i,l){return"number"==typeof Ws(i)?i.pop():l}(i,1/0),s=i;return s.length?1===s.length?un(s[0]):Xo(r)(Dn(s,l)):ji.w}function Vr(...i){return Dn(i,qs(i))}var Lp=x(343);function Vn(i){return(0,bn.N)((l,r)=>{un(i).subscribe((0,dn._)(r,()=>r.complete(),Lp.l)),!r.closed&&l.subscribe(r)})}function Hi(i,l=Li.D){return i=i??G_,(0,bn.N)((r,s)=>{let d,g=!0;r.subscribe((0,dn._)(s,_=>{const D=l(_);(g||!i(d,D))&&(g=!1,d=D,s.next(_))}))})}function G_(i,l){return i===l}var Ad=x(707);function z_(i={}){const{connector:l=()=>new We.B,resetOnError:r=!0,resetOnComplete:s=!0,resetOnRefCountZero:d=!0}=i;return g=>{let _,D,w,T=0,O=!1,j=!1;const re=()=>{D?.unsubscribe(),D=void 0},W=()=>{re(),_=w=void 0,O=j=!1},_e=()=>{const De=_;W(),De?.unsubscribe()};return(0,bn.N)((De,Le)=>{T++,!j&&!O&&re();const Ve=w=w??l();Le.add(()=>{T--,0===T&&!j&&!O&&(D=st(_e,d))}),Ve.subscribe(Le),!_&&T>0&&(_=new Ad.Ms({next:Ft=>Ve.next(Ft),error:Ft=>{j=!0,re(),D=st(W,r,Ft),Ve.error(Ft)},complete:()=>{O=!0,re(),D=st(W,s),Ve.complete()}}),un(De).subscribe(_))})(g)}}function st(i,l,...r){if(!0===l)return void i();if(!1===l)return;const s=new Ad.Ms({next:()=>{s.unsubscribe(),i()}});return un(l(...r)).subscribe(s)}const nt=(i,l)=>(i.push(l),i);function Ui(){return(0,bn.N)((i,l)=>{(function W_(i,l){return(0,bn.N)(function Vp(i,l,r,s,d){return(g,_)=>{let D=r,w=l,T=0;g.subscribe((0,dn._)(_,O=>{const j=T++;w=D?i(w,O,j):(D=!0,O),s&&_.next(w)},d&&(()=>{D&&_.next(w),_.complete()})))}}(i,l,arguments.length>=2,!1,!0))})(nt,[])(i).subscribe(l)})}var fn=x(359);class Yo extends fn.yU{constructor(l,r){super()}schedule(l,r=0){return this}}const ho={setInterval(i,l,...r){const{delegate:s}=ho;return s?.setInterval?s.setInterval(i,l,...r):setInterval(i,l,...r)},clearInterval(i){const{delegate:l}=ho;return(l?.clearInterval||clearInterval)(i)},delegate:void 0};var Ql=x(908);class Nd extends Yo{constructor(l,r){super(l,r),this.scheduler=l,this.work=r,this.pending=!1}schedule(l,r=0){var s;if(this.closed)return this;this.state=l;const d=this.id,g=this.scheduler;return null!=d&&(this.id=this.recycleAsyncId(g,d,r)),this.pending=!0,this.delay=r,this.id=null!==(s=this.id)&&void 0!==s?s:this.requestAsyncId(g,this.id,r),this}requestAsyncId(l,r,s=0){return ho.setInterval(l.flush.bind(l,this),s)}recycleAsyncId(l,r,s=0){if(null!=s&&this.delay===s&&!1===this.pending)return r;null!=r&&ho.clearInterval(r)}execute(l,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const s=this._execute(l,r);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(l,r){let d,s=!1;try{this.work(l)}catch(g){s=!0,d=g||new Error("Scheduled action threw falsy error")}if(s)return this.unsubscribe(),d}unsubscribe(){if(!this.closed){const{id:l,scheduler:r}=this,{actions:s}=r;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Ql.o)(s,this),null!=l&&(this.id=this.recycleAsyncId(r,l,null)),this.delay=null,super.unsubscribe()}}}const Fd={now:()=>(Fd.delegate||Date).now(),delegate:void 0};class po{constructor(l,r=po.now){this.schedulerActionCtor=l,this.now=r}schedule(l,r=0,s){return new this.schedulerActionCtor(this,l).schedule(s,r)}}po.now=Fd.now;class Da extends po{constructor(l,r=po.now){super(l,r),this.actions=[],this._active=!1}flush(l){const{actions:r}=this;if(this._active)return void r.push(l);let s;this._active=!0;do{if(s=l.execute(l.state,l.delay))break}while(l=r.shift());if(this._active=!1,s){for(;l=r.shift();)l.unsubscribe();throw s}}}const er=new Da(Nd),q_=er;function $i(i,l=er){return(0,bn.N)((r,s)=>{let d=null,g=null,_=null;const D=()=>{if(d){d.unsubscribe(),d=null;const T=g;g=null,s.next(T)}};function w(){const T=_+i,O=l.now();if(O{g=T,_=l.now(),d||(d=l.schedule(w,i),s.add(d))},()=>{D(),s.complete()},void 0,()=>{g=d=null}))})}var Bn=x(964);function Ca(i,l,r){const s=(0,je.T)(i)||l||r?{next:i,error:l,complete:r}:i;return s?(0,bn.N)((d,g)=>{var _;null===(_=s.subscribe)||void 0===_||_.call(s);let D=!0;d.subscribe((0,dn._)(g,w=>{var T;null===(T=s.next)||void 0===T||T.call(s,w),g.next(w)},()=>{var w;D=!1,null===(w=s.complete)||void 0===w||w.call(s),g.complete()},w=>{var T;D=!1,null===(T=s.error)||void 0===T||T.call(s,w),g.error(w)},()=>{var w,T;D&&(null===(w=s.unsubscribe)||void 0===w||w.call(s)),null===(T=s.finalize)||void 0===T||T.call(s)}))}):Li.D}var Ea=x(667);function kd(i){if("string"!=typeof i)throw new TypeError("Expected a string");return i.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const wa=["*"],Lt=["main"],K_=["input"],at=["choiceMenu"],Z_=(i,l)=>({"ngx-select_multiple form-control":i,"open show":l}),Q_=i=>({"ngx-select__disabled":i}),Od=i=>({"ngx-select__allow-clear":i}),Bp=(i,l)=>({$implicit:i,index:0,text:l}),jp=(i,l,r)=>({$implicit:i,index:l,text:r}),X_=i=>[i],OC=(i,l)=>({"ngx-select__item_active active":i,"ngx-select__item_disabled disabled":l}),Hp=(i,l,r,s)=>({$implicit:i,text:l,index:r,subIndex:s}),Y_=i=>({$implicit:i});function Xl(i,l){if(1&i&&(u.j41(0,"span",20),u.nrm(1,"span",21),u.k0s()),2&i){const r=u.XpG(2);u.R7$(),u.Y8G("innerHtml",r.placeholder,u.npT)}}function Rd(i,l){if(1&i&&(u.j41(0,"span",22),u.eu8(1,23),u.k0s()),2&i){const r=u.XpG(2),s=u.sdS(8);u.Y8G("ngClass",u.eq3(3,Od,r.allowClear)),u.R7$(),u.Y8G("ngTemplateOutlet",r.templateSelectedOption||s)("ngTemplateOutletContext",u.l_i(5,Bp,r.optionsSelected[0],r.sanitize(r.optionsSelected[0].text)))}}function Pd(i,l){if(1&i){const r=u.RV6();u.j41(0,"a",24),u.bIt("click",function(d){u.eBV(r);const g=u.XpG(2);return u.Njj(g.optionRemove(g.optionsSelected[0],d))}),u.nrm(1,"i",25),u.k0s()}if(2&i){const r=u.XpG(2);u.Y8G("ngClass",r.setBtnSize())}}function Gi(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",12)(1,"div",13),u.bIt("click",function(){u.eBV(r);const d=u.XpG();return u.Njj(d.optionsOpen())}),u.DNE(2,Xl,2,1,"span",14)(3,Rd,2,8,"span",15),u.j41(4,"span",16),u.DNE(5,Pd,2,1,"a",17),u.nrm(6,"i",18)(7,"i",19),u.k0s()()()}if(2&i){const r=u.XpG();u.R7$(),u.Y8G("ngClass",r.setFormControlSize(r.setBtnSize())),u.R7$(),u.Y8G("ngIf",!r.optionsSelected.length),u.R7$(),u.Y8G("ngIf",r.optionsSelected.length),u.R7$(2),u.Y8G("ngIf",r.canClearNotMultiple())}}function Yl(i,l){if(1&i){const r=u.RV6();u.j41(0,"span")(1,"span",28),u.bIt("click",function(d){return u.eBV(r),u.Njj(d.stopPropagation())}),u.eu8(2,23),u.j41(3,"a",29),u.bIt("click",function(d){const g=u.eBV(r).$implicit,_=u.XpG(2);return u.Njj(_.optionRemove(g,d))}),u.nrm(4,"i",25),u.k0s()()()}if(2&i){const r=l.$implicit,s=l.index,d=u.XpG(2),g=u.sdS(8);u.R7$(),u.Y8G("ngClass",d.setBtnSize()),u.R7$(),u.Y8G("ngTemplateOutlet",d.templateSelectedOption||g)("ngTemplateOutletContext",u.sMw(4,jp,r,s,d.sanitize(r.text))),u.R7$(),u.Y8G("ngClass",d.setBtnSize())}}function Jl(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",26),u.bIt("click",function(){u.eBV(r);const d=u.XpG();return u.Njj(d.inputClick(d.inputElRef&&d.inputElRef.value))}),u.DNE(1,Yl,5,8,"span",27),u.k0s()}if(2&i){const r=u.XpG();u.R7$(),u.Y8G("ngForOf",r.optionsSelected)("ngForTrackBy",r.trackByOption)}}function zi(i,l){if(1&i){const r=u.RV6();u.j41(0,"input",30,3),u.bIt("keyup",function(d){u.eBV(r);const g=u.sdS(1),_=u.XpG();return u.Njj(_.inputKeyUp(g.value,d))})("click",function(){u.eBV(r);const d=u.sdS(1),g=u.XpG();return u.Njj(g.inputClick(d.value))}),u.k0s()}if(2&i){const r=u.XpG();u.Y8G("ngClass",r.setFormControlSize())("tabindex",!1===r.multiple?-1:0)("disabled",r.disabled)("placeholder",r.optionsSelected.length?"":r.placeholder)("autocomplete",r.autocomplete)}}function Ld(i,l){1&i&&u.nrm(0,"div",39)}function Vd(i,l){if(1&i&&(u.j41(0,"div",40),u.EFF(1),u.k0s()),2&i){const r=u.XpG().$implicit,s=u.XpG(2);u.R7$(),u.JRh(s.asGroup(r).label)}}function Up(i,l){if(1&i){const r=u.RV6();u.j41(0,"a",41,5),u.bIt("mouseenter",function(){const d=u.eBV(r).$implicit,g=u.XpG(3);return u.Njj(g.onMouseEnter({activeOption:g.asOpt(d),filteredOptionList:g.optionsFiltered,index:g.optionsFiltered.indexOf(d)}))})("click",function(d){const g=u.eBV(r).$implicit,_=u.XpG(3);return u.Njj(_.optionSelect(_.asOpt(g),d))}),u.eu8(2,23),u.k0s()}if(2&i){const r=l.$implicit,s=l.index,d=u.XpG().index,g=u.XpG(2),_=u.sdS(8);u.Y8G("ngClass",u.l_i(3,OC,g.asOpt(r).active,g.asOpt(r).disabled)),u.R7$(2),u.Y8G("ngTemplateOutlet",g.templateOption||_)("ngTemplateOutletContext",u.ziG(6,Hp,r,g.asOpt(r).highlightedText,d,s))}}function $p(i,l){if(1&i&&(u.j41(0,"li",35),u.DNE(1,Ld,1,0,"div",36)(2,Vd,2,1,"div",37)(3,Up,3,11,"a",38),u.k0s()),2&i){const r=l.$implicit,s=l.index,d=u.XpG(2);u.R7$(),u.Y8G("ngIf","optgroup"===r.type&&s>0),u.R7$(),u.Y8G("ngIf","optgroup"===r.type),u.R7$(),u.Y8G("ngForOf",d.asGroup(r).optionsFiltered||u.eq3(4,X_,r))("ngForTrackBy",d.trackByOption)}}function Bd(i,l){if(1&i&&(u.j41(0,"li",42),u.eu8(1,23),u.k0s()),2&i){const r=u.XpG(2),s=u.sdS(10);u.R7$(),u.Y8G("ngTemplateOutlet",r.templateOptionNotFound||s)("ngTemplateOutletContext",u.eq3(2,Y_,r.inputText))}}function J_(i,l){if(1&i){const r=u.RV6();u.j41(0,"ngx-select-choices",31),u.bIt("focusin",function(d){u.eBV(r);const g=u.XpG();return u.Njj(g.choiceMenuFocus(d))}),u.j41(1,"ul",32,4),u.DNE(3,$p,4,6,"li",33)(4,Bd,2,4,"li",34),u.k0s()()}if(2&i){const r=u.XpG();u.Y8G("appendTo",r.appendTo)("show",r.showChoiceMenu())("selectionChanges",r.selectionChanges),u.R7$(),u.AVh("show",r.showChoiceMenu()),u.Y8G("ngClass",r.dropDownMenuOtherClasses),u.R7$(2),u.Y8G("ngForOf",r.optionsFiltered)("ngForTrackBy",r.trackByOption),u.R7$(),u.Y8G("ngIf",!r.optionsFiltered.length)}}function ey(i,l){1&i&&u.nrm(0,"span",21),2&i&&u.Y8G("innerHtml",l.text,u.npT)}function Wi(i,l){if(1&i&&u.EFF(0),2&i){const r=u.XpG();u.SpI(" ",r.noResultsFound," ")}}class yr{value;text;disabled;data;_parent;type="option";highlightedText;active;constructor(l,r,s,d,g=null){this.value=l,this.text=r,this.disabled=s,this.data=d,this._parent=g}get parent(){return this._parent}cacheHighlightText;cacheRenderedText=null;renderText(l,r){return(this.cacheHighlightText!==r||null===this.cacheRenderedText)&&(this.cacheHighlightText=r,this.cacheRenderedText=l.bypassSecurityTrustHtml(this.cacheHighlightText?(this.text+"").replace(new RegExp(kd(this.cacheHighlightText),"gi"),"$&"):this.text)),this.cacheRenderedText}}class Ia{label;options;type="optgroup";optionsFiltered;constructor(l,r=[]){this.label=l,this.options=r,this.filter(()=>!0)}filter(l){this.optionsFiltered=this.options.filter(r=>l(r))}}let jd=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option",""]],standalone:!1})}return i})(),Gp=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option-selected",""]],standalone:!1})}return i})(),Hd=(()=>{class i{template;constructor(r){this.template=r}static \u0275fac=function(s){return new(s||i)(u.rXU(u.C4Q))};static \u0275dir=u.FsC({type:i,selectors:[["","ngx-select-option-not-found",""]],standalone:!1})}return i})(),RC=(()=>{class i{renderer;ngZone;appendTo;show;selectionChanges;choiceMenuEl;selectEl;destroy$=new We.B;disposeResizeListener;get position(){return this.appendTo?"absolute":""}constructor(r,s,d){this.renderer=r,this.ngZone=s,this.choiceMenuEl=d.nativeElement}ngOnInit(){this.selectionChanges.pipe(Vn(this.destroy$)).subscribe(()=>this.delayedPositionUpdate()),this.selectEl=this.choiceMenuEl.parentElement}ngOnChanges(r){r.show?.currentValue&&this.delayedPositionUpdate()}ngOnDestroy(){this.destroy$.next(),this.appendTo&&(this.renderer.removeChild(this.choiceMenuEl.parentNode,this.choiceMenuEl),this.disposeResizeListener&&this.disposeResizeListener())}ngAfterContentInit(){this.appendTo&&(this.appendChoiceMenu(),this.handleDocumentResize(),this.delayedPositionUpdate())}appendChoiceMenu(){const r=this.getAppendToElement();if(!r)throw new Error(`appendTo selector ${this.appendTo} did not found any element`);this.renderer.appendChild(r,this.choiceMenuEl)}getAppendToElement(){return document.querySelector(this.appendTo)}handleDocumentResize(){this.disposeResizeListener=this.renderer.listen("window","resize",()=>{this.updatePosition()})}delayedPositionUpdate(){this.appendTo&&this.ngZone.runOutsideAngular(()=>{window.requestAnimationFrame(()=>{this.updatePosition()})})}updatePosition(){if(this.show){const r=this.getViewportOffset(this.selectEl),s=this.getParentOffset(this.choiceMenuEl),d=this.getAppendToElement(),_=r.left+d.scrollLeft-s.left;this.choiceMenuEl.style.top=`${r.top+d.scrollTop-s.top+r.height}px`,this.choiceMenuEl.style.bottom="auto",this.choiceMenuEl.style.left=`${_}px`,this.choiceMenuEl.style.width=`${r.width}px`,this.choiceMenuEl.style.minWidth=`${r.width}px`}}getStyles(r){return window.getComputedStyle(r)}getStyleProp(r,s){return this.getStyles(r)[s]}isStatic(r){return"static"===(this.getStyleProp(r,"position")||"static")}getOffsetParent(r){let s=r.offsetParent;for(;s&&s!==document.documentElement&&this.isStatic(s);)s=s.offsetParent;return s||document.documentElement}getViewportOffset(r){const s=r.getBoundingClientRect(),d=window.scrollY-document.documentElement.clientTop,g=window.scrollX-document.documentElement.clientLeft;return{height:s.height||r.offsetHeight,width:s.width||r.offsetWidth,top:s.top+d,bottom:s.bottom+d,left:s.left+g,right:s.right+g}}getParentOffset(r){let s={width:0,height:0,top:0,left:0,right:0,bottom:0};if("fixed"===this.getStyleProp(r,"position"))return s;const d=this.getOffsetParent(r);return d!==document.documentElement&&(s=this.getViewportOffset(d)),s.top+=d.clientTop,s.left+=d.clientLeft,s}static \u0275fac=function(s){return new(s||i)(u.rXU(u.sFG),u.rXU(u.SKi),u.rXU(u.aKT))};static \u0275cmp=u.VBU({type:i,selectors:[["ngx-select-choices"]],hostVars:2,hostBindings:function(s,d){2&s&&u.xc7("position",d.position)},inputs:{appendTo:"appendTo",show:"show",selectionChanges:"selectionChanges"},standalone:!1,features:[u.OA$],ngContentSelectors:wa,decls:1,vars:0,template:function(s,d){1&s&&(u.NAR(),u.SdG(0))},encapsulation:2})}return i})();const Ud=new u.nKC("NGX_SELECT_OPTIONS");var Yt=function(i){return i[i.first=0]="first",i[i.previous=1]="previous",i[i.next=2]="next",i[i.last=3]="last",i[i.firstSelected=4]="firstSelected",i[i.firstIfOptionActiveInvisible=5]="firstIfOptionActiveInvisible",i}(Yt||{});function go(i,l){return l in i}let zp,En=(()=>{class i{sanitizer;cd;items;optionValueField="id";optionTextField="text";optGroupLabelField="label";optGroupOptionsField="options";multiple=!1;allowClear=!1;placeholder="";noAutoComplete=!1;disabled=!1;defaultValue=[];autoSelectSingleOption=!1;autoClearSearch=!1;noResultsFound="No results found";keepSelectedItems=!1;size="default";searchCallback;autoActiveOnMouseEnter=!0;showOptionNotFoundForEmptyItems=!1;isFocused=!1;keepSelectMenuOpened=!1;autocomplete="off";dropDownMenuOtherClasses="";noSanitize=!1;appendTo;keyCodeToRemoveSelected="Delete";keyCodeToOptionsOpen=["Enter","NumpadEnter"];keyCodeToOptionsClose="Escape";keyCodeToOptionsSelect=["Enter","NumpadEnter"];keyCodeToNavigateFirst="ArrowLeft";keyCodeToNavigatePrevious="ArrowUp";keyCodeToNavigateNext="ArrowDown";keyCodeToNavigateLast="ArrowRight";typed=new u.bkB;focus=new u.bkB;blur=new u.bkB;open=new u.bkB;close=new u.bkB;select=new u.bkB;remove=new u.bkB;navigated=new u.bkB;selectionChanges=new u.bkB;mainElRef;inputElRef;choiceMenuElRef;templateOption;templateSelectedOption;templateOptionNotFound;optionsOpened=!1;optionsFiltered;optionActive;itemsDiffer;defaultValueDiffer;actualValue=[];subjOptions=new fo.t([]);subjSearchText=new fo.t("");subjOptionsSelected=new fo.t([]);subjExternalValue=new fo.t([]);subjDefaultValue=new fo.t([]);subjRegisterOnChange=new We.B;cacheOptionsFilteredFlat;cacheElementOffsetTop;_focusToInput=!1;get inputText(){return this.inputElRef&&this.inputElRef.nativeElement?this.inputElRef.nativeElement.value:""}constructor(r,s,d,g){let _;this.sanitizer=s,this.cd=d,Object.assign(this,g),this.itemsDiffer=r.find([]).create(null),this.defaultValueDiffer=r.find([]).create(null),this.typed.subscribe(w=>this.subjSearchText.next(w)),this.subjOptionsSelected.subscribe(w=>this.selectionChanges.emit(w));const D=Vi([ba(this.subjExternalValue.pipe((0,Cn.T)(w=>_=null===w?[]:[].concat(w))),this.subjOptionsSelected.pipe((0,Cn.T)(w=>w.map(T=>T.value)))),this.subjDefaultValue]).pipe((0,Cn.T)(([w,T])=>{const O=Ea(w,T)?[]:w;return O.length?O:T}),Hi((w,T)=>Ea(w,T)),z_());Vi([D,this.subjRegisterOnChange]).pipe((0,Cn.T)(([w])=>w)).subscribe(w=>{this.actualValue=w,Ea(w,_)||(_=w,this.onChange(this.multiple?w:w.length?w[0]:null))}),Vi([this.subjOptions.pipe(Bi(w=>Dn(w).pipe(Bi(T=>T instanceof yr?Vr(T):T instanceof Ia?Dn(T.options):ji.w),Ui()))),D]).pipe($i(0)).subscribe(([w,T])=>{const O=[];if(T.forEach(j=>{const re=w.find(W=>W.value===j);re&&O.push(re)}),this.keepSelectedItems){const j=O.map(W=>W.value),re=this.subjOptionsSelected.value.filter(W=>-1===j.indexOf(W.value));O.push(...re)}Ea(O,this.subjOptionsSelected.value)||(this.subjOptionsSelected.next(O),this.cd.markForCheck())}),Vi([this.subjOptions,this.subjOptionsSelected,this.subjSearchText]).pipe((0,Cn.T)(([w,T,O])=>(this.optionsFiltered=this.filterOptions(O,w,T).map(j=>(j instanceof yr?j.highlightedText=this.highlightOption(j):j instanceof Ia&&j.options.map(re=>(re.highlightedText=this.highlightOption(re),re)),j)),this.cacheOptionsFilteredFlat=null,this.navigateOption(Yt.firstIfOptionActiveInvisible),this.cd.markForCheck(),T)),Bi(w=>this.optionsFilteredFlat().pipe((0,Bn.p)(T=>this.autoSelectSingleOption&&1===T.length&&!w.length)))).subscribe(w=>{this.subjOptionsSelected.next(w),this.cd.markForCheck()})}asGroup=r=>r;asOpt=r=>r;setFormControlSize(r={},s=!0){return Object.assign(s?{"form-control-sm input-sm":"small"===this.size,"form-control-lg input-lg":"large"===this.size}:{},r)}setBtnSize(){return{"btn-sm":"small"===this.size,"btn-lg":"large"===this.size}}get optionsSelected(){return this.subjOptionsSelected.value}mainClicked(r){r.clickedSelectComponent=this,this.isFocused||(this.isFocused=!0,this.focus.emit())}choiceMenuFocus(r){this.appendTo&&(r.clickedSelectComponent=this)}documentClick(r){r.clickedSelectComponent!==this&&(this.optionsOpened&&(this.optionsClose(),this.cd.detectChanges()),this.isFocused&&(this.isFocused=!1,this.blur.emit()))}optionsFilteredFlat(){return this.cacheOptionsFilteredFlat?Vr(this.cacheOptionsFilteredFlat):Dn(this.optionsFiltered).pipe(Bi(r=>r instanceof yr?Vr(r):r instanceof Ia?Dn(r.optionsFiltered):ji.w),(0,Bn.p)(r=>!r.disabled),Ui(),Ca(r=>this.cacheOptionsFilteredFlat=r))}navigateOption(r){this.optionsFilteredFlat().pipe((0,Cn.T)(s=>{const d={index:-1,activeOption:null,filteredOptionList:s};let g;switch(r){case Yt.first:d.index=0;break;case Yt.previous:g=s.indexOf(this.optionActive)-1,d.index=g>=0?g:s.length-1;break;case Yt.next:g=s.indexOf(this.optionActive)+1,d.index=gD.value===this.optionActive.value))),d.index=_>0?_:0}return d.activeOption=s[d.index],d})).subscribe(s=>this.optionActivate(s))}ngDoCheck(){this.itemsDiffer.diff(this.items)&&this.subjOptions.next(this.buildOptions(this.items));const r=this.defaultValue?[].concat(this.defaultValue):[];this.defaultValueDiffer.diff(r)&&this.subjDefaultValue.next(r)}ngAfterContentChecked(){if(this._focusToInput&&this.checkInputVisibility()&&this.inputElRef&&this.inputElRef.nativeElement!==document.activeElement&&(this._focusToInput=!1,this.inputElRef.nativeElement.focus()),this.choiceMenuElRef){const s=this.choiceMenuElRef.nativeElement.querySelector("a.ngx-select__item_active.active");s&&s.offsetHeight>0&&this.ensureVisibleElement(s)}}ngOnDestroy(){this.cd.detach()}canClearNotMultiple(){return this.allowClear&&!!this.subjOptionsSelected.value.length&&(!this.subjDefaultValue.value.length||this.subjDefaultValue.value[0]!==this.actualValue[0])}focusToInput(){this._focusToInput=!0}inputKeyDown(r){const s=[].concat(this.keyCodeToOptionsSelect,this.keyCodeToNavigateFirst,this.keyCodeToNavigatePrevious,this.keyCodeToNavigateNext,this.keyCodeToNavigateLast),d=[].concat(this.keyCodeToOptionsOpen,this.keyCodeToRemoveSelected);if(this.optionsOpened&&-1!==s.indexOf(r.code))switch(r.preventDefault(),r.stopPropagation(),r.code){case[].concat(this.keyCodeToOptionsSelect).indexOf(r.code)+1&&r.code:this.optionSelect(this.optionActive),this.navigateOption(Yt.next);break;case this.keyCodeToNavigateFirst:this.navigateOption(Yt.first);break;case this.keyCodeToNavigatePrevious:this.navigateOption(Yt.previous);break;case this.keyCodeToNavigateLast:this.navigateOption(Yt.last);break;case this.keyCodeToNavigateNext:this.navigateOption(Yt.next)}else if(!this.optionsOpened&&-1!==d.indexOf(r.code))switch(r.preventDefault(),r.stopPropagation(),r.code){case[].concat(this.keyCodeToOptionsOpen).indexOf(r.code)+1&&r.code:this.optionsOpen();break;case this.keyCodeToRemoveSelected:(this.multiple||this.canClearNotMultiple())&&this.optionRemove(this.subjOptionsSelected.value[this.subjOptionsSelected.value.length-1],r)}}trackByOption(r,s){return s instanceof yr?s.value:s instanceof Ia?s.label:s}checkInputVisibility(){return!0===this.multiple||this.optionsOpened&&!this.noAutoComplete}inputKeyUp(r="",s){s.code===this.keyCodeToOptionsClose?this.optionsClose():this.optionsOpened&&-1===["ArrowDown","ArrowUp","ArrowLeft","ArrowDown"].indexOf(s.code)?this.typed.emit(r):!this.optionsOpened&&r&&this.optionsOpen(r)}inputClick(r=""){this.optionsOpened||this.optionsOpen(r)}sanitize(r){return this.noSanitize?r||null:r?this.sanitizer.bypassSecurityTrustHtml(r):null}highlightOption(r){return r.renderText(this.sanitizer,this.inputElRef?this.inputElRef.nativeElement.value:"")}optionSelect(r,s=null){s&&(s.preventDefault(),s.stopPropagation()),r&&!r.disabled&&(this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).concat([r])),this.select.emit(r.value),this.keepSelectMenuOpened||this.optionsClose(),this.onTouched())}optionRemove(r,s){!this.disabled&&r&&(s.stopPropagation(),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).filter(d=>d!==r)),this.remove.emit(r.value))}optionActivate(r){this.optionActive!==r.activeOption&&(!r.activeOption||!r.activeOption.disabled)&&(this.optionActive&&(this.optionActive.active=!1),this.optionActive=r.activeOption,this.optionActive&&(this.optionActive.active=!0),this.navigated.emit(r),this.cd.detectChanges())}onMouseEnter(r){this.autoActiveOnMouseEnter&&this.optionActivate(r)}filterOptions(r,s,d){const g=new RegExp(kd(r),"i"),_=D=>this.searchCallback?this.searchCallback(r,D):(!r||g.test(D.text))&&(!this.multiple||-1===d.indexOf(D));return s.filter(D=>{if(D instanceof yr)return _(D);if(D instanceof Ia){const w=D;return w.filter(T=>_(T)),w.optionsFiltered.length}})}ensureVisibleElement(r){if(this.choiceMenuElRef&&this.cacheElementOffsetTop!==r.offsetTop){this.cacheElementOffsetTop=r.offsetTop;const s=this.choiceMenuElRef.nativeElement;this.cacheElementOffsetTops.scrollTop+s.clientHeight&&(s.scrollTop=this.cacheElementOffsetTop+r.offsetHeight-s.clientHeight)}}showChoiceMenu(){return this.optionsOpened&&(!!this.subjOptions.value.length||this.showOptionNotFoundForEmptyItems)}optionsOpen(r=""){this.disabled||(this.optionsOpened=!0,this.subjSearchText.next(r),this.navigateOption(!this.multiple&&this.subjOptionsSelected.value.length?Yt.firstSelected:Yt.first),this.focusToInput(),this.open.emit(),this.cd.markForCheck())}optionsClose(){this.optionsOpened=!1,this.close.emit(),this.autoClearSearch&&this.multiple&&this.inputElRef&&(this.inputElRef.nativeElement.value=null)}buildOptions(r){const s=[];return Array.isArray(r)&&r.forEach(d=>{if("object"==typeof d&&null!==d&&go(d,this.optGroupLabelField)&&go(d,this.optGroupOptionsField)&&Array.isArray(d[this.optGroupOptionsField])){const _=new Ia(d[this.optGroupLabelField]);d[this.optGroupOptionsField].forEach(D=>{const w=this.buildOption(D,_);w&&_.options.push(w)}),s.push(_)}else{const _=this.buildOption(d,null);_&&s.push(_)}}),s}buildOption(r,s){let d,g,_;if("string"==typeof r||"number"==typeof r)d=g=r,_=!1;else{if("object"!=typeof r||null===r||!go(r,this.optionValueField)&&!go(r,this.optionTextField))return null;d=go(r,this.optionValueField)?r[this.optionValueField]:r[this.optionTextField],g=go(r,this.optionTextField)?r[this.optionTextField]:r[this.optionValueField],_=!!go(r,"disabled")&&r.disabled}return new yr(d,g,_,r,s)}onChange=r=>r;onTouched=()=>null;writeValue(r){this.subjExternalValue.next(r)}registerOnChange(r){this.onChange=r,this.subjRegisterOnChange.next()}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r,this.cd.markForCheck()}static \u0275fac=function(s){return new(s||i)(u.rXU(u._q3),u.rXU(_l),u.rXU(u.gRc),u.rXU(Ud,8))};static \u0275cmp=u.VBU({type:i,selectors:[["ngx-select"]],contentQueries:function(s,d,g){if(1&s&&(u.wni(g,jd,7,u.C4Q),u.wni(g,Gp,7,u.C4Q),u.wni(g,Hd,7,u.C4Q)),2&s){let _;u.mGM(_=u.lsd())&&(d.templateOption=_.first),u.mGM(_=u.lsd())&&(d.templateSelectedOption=_.first),u.mGM(_=u.lsd())&&(d.templateOptionNotFound=_.first)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Lt,7),u.GBs(K_,5),u.GBs(at,5)),2&s){let g;u.mGM(g=u.lsd())&&(d.mainElRef=g.first),u.mGM(g=u.lsd())&&(d.inputElRef=g.first),u.mGM(g=u.lsd())&&(d.choiceMenuElRef=g.first)}},hostBindings:function(s,d){1&s&&u.bIt("focusin",function(_){return d.documentClick(_)},!1,u.EBC)("click",function(_){return d.documentClick(_)},!1,u.EBC)},inputs:{items:"items",optionValueField:"optionValueField",optionTextField:"optionTextField",optGroupLabelField:"optGroupLabelField",optGroupOptionsField:"optGroupOptionsField",multiple:"multiple",allowClear:"allowClear",placeholder:"placeholder",noAutoComplete:"noAutoComplete",disabled:"disabled",defaultValue:"defaultValue",autoSelectSingleOption:"autoSelectSingleOption",autoClearSearch:"autoClearSearch",noResultsFound:"noResultsFound",keepSelectedItems:"keepSelectedItems",size:"size",searchCallback:"searchCallback",autoActiveOnMouseEnter:"autoActiveOnMouseEnter",showOptionNotFoundForEmptyItems:"showOptionNotFoundForEmptyItems",isFocused:"isFocused",keepSelectMenuOpened:"keepSelectMenuOpened",autocomplete:"autocomplete",dropDownMenuOtherClasses:"dropDownMenuOtherClasses",noSanitize:"noSanitize",appendTo:"appendTo"},outputs:{typed:"typed",focus:"focus",blur:"blur",open:"open",close:"close",select:"select",remove:"remove",navigated:"navigated",selectionChanges:"selectionChanges"},standalone:!1,features:[u.Jv_([{provide:Rt,useExisting:(0,u.Rfq)(()=>i),multi:!0}])],decls:11,vars:12,consts:[["main",""],["defaultTemplateOption",""],["defaultTemplateOptionNotFound",""],["input",""],["choiceMenu",""],["choiceItem",""],[1,"ngx-select","dropdown",3,"click","focusin","focus","keydown","tabindex","ngClass"],[3,"ngClass"],["class","ngx-select__selected",4,"ngIf"],["class","ngx-select__selected",3,"click",4,"ngIf"],["type","text","class","ngx-select__search form-control","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",3,"ngClass","tabindex","disabled","placeholder","autocomplete","keyup","click",4,"ngIf"],[3,"appendTo","show","selectionChanges","focusin",4,"ngIf"],[1,"ngx-select__selected"],[1,"ngx-select__toggle","btn","form-control",3,"click","ngClass"],["class","ngx-select__placeholder text-muted",4,"ngIf"],["class","ngx-select__selected-single pull-left float-left",3,"ngClass",4,"ngIf"],[1,"ngx-select__toggle-buttons"],["class","ngx-select__clear btn btn-sm btn-link",3,"ngClass","click",4,"ngIf"],[1,"dropdown-toggle"],[1,"ngx-select__toggle-caret","caret"],[1,"ngx-select__placeholder","text-muted"],[3,"innerHtml"],[1,"ngx-select__selected-single","pull-left","float-left",3,"ngClass"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-select__clear","btn","btn-sm","btn-link",3,"click","ngClass"],[1,"ngx-select__clear-icon"],[1,"ngx-select__selected",3,"click"],[4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","-1",1,"ngx-select__selected-plural","btn","btn-default","btn-secondary","btn-sm","btn-xs",3,"click","ngClass"],[1,"ngx-select__clear","btn","btn-sm","btn-link","pull-right","float-right",3,"click","ngClass"],["type","text","autocorrect","off","autocapitalize","off","spellcheck","false","role","combobox",1,"ngx-select__search","form-control",3,"keyup","click","ngClass","tabindex","disabled","placeholder","autocomplete"],[3,"focusin","appendTo","show","selectionChanges"],["role","menu",1,"ngx-select__choices","dropdown-menu",3,"ngClass"],["class","ngx-select__item-group","role","menuitem",4,"ngFor","ngForOf","ngForTrackBy"],["class","ngx-select__item ngx-select__item_no-found dropdown-header",4,"ngIf"],["role","menuitem",1,"ngx-select__item-group"],["class","divider dropdown-divider",4,"ngIf"],["class","dropdown-header",4,"ngIf"],["href","#","class","ngx-select__item dropdown-item",3,"ngClass","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"divider","dropdown-divider"],[1,"dropdown-header"],["href","#",1,"ngx-select__item","dropdown-item",3,"mouseenter","click","ngClass"],[1,"ngx-select__item","ngx-select__item_no-found","dropdown-header"]],template:function(s,d){if(1&s){const g=u.RV6();u.j41(0,"div",6,0),u.bIt("click",function(D){return u.eBV(g),u.Njj(d.mainClicked(D))})("focusin",function(D){return u.eBV(g),u.Njj(d.mainClicked(D))})("focus",function(){return u.eBV(g),u.Njj(d.focusToInput())})("keydown",function(D){return u.eBV(g),u.Njj(d.inputKeyDown(D))}),u.nrm(2,"div",7),u.DNE(3,Gi,8,4,"div",8)(4,Jl,2,2,"div",9)(5,zi,2,5,"input",10)(6,J_,5,9,"ngx-select-choices",11)(7,ey,1,1,"ng-template",null,1,u.C5r)(9,Wi,1,1,"ng-template",null,2,u.C5r),u.k0s()}2&s&&(u.Y8G("tabindex",d.disabled?-1:0)("ngClass",d.setFormControlSize(u.l_i(7,Z_,!0===d.multiple,d.optionsOpened&&d.optionsFiltered.length),!0===d.multiple)),u.R7$(2),u.Y8G("ngClass",u.eq3(10,Q_,d.disabled)),u.R7$(),u.Y8G("ngIf",!1===d.multiple&&(!d.optionsOpened||d.noAutoComplete)),u.R7$(),u.Y8G("ngIf",!0===d.multiple),u.R7$(),u.Y8G("ngIf",d.checkInputVisibility()),u.R7$(),u.Y8G("ngIf",d.isFocused))},dependencies:[du,hu,pu,Ir,RC],styles:['.ngx-select_multiple[_ngcontent-%COMP%]{height:auto;padding:3px 3px 0}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__search[_ngcontent-%COMP%]{background-color:transparent!important;border:none;outline:none;box-shadow:none;height:1.6666em;padding:0;margin-bottom:3px}.ngx-select__disabled[_ngcontent-%COMP%]{background-color:#eceeef;border-radius:4px;position:absolute;width:100%;height:100%;z-index:5;opacity:.6;top:0;left:0;cursor:not-allowed}.ngx-select__toggle[_ngcontent-%COMP%]{outline:0;position:relative;text-align:left!important;color:#333;background-color:#fff;border-color:#ccc;display:inline-flex;align-items:stretch;justify-content:space-between}.ngx-select__toggle[_ngcontent-%COMP%]:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.ngx-select__toggle-buttons[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center}.ngx-select__toggle-caret[_ngcontent-%COMP%]{position:absolute;height:10px;top:50%;right:10px;margin-top:-2px}.ngx-select__placeholder[_ngcontent-%COMP%]{float:left;max-width:100%;text-overflow:ellipsis;overflow:hidden}.ngx-select__clear[_ngcontent-%COMP%]{margin-right:10px;padding:0;border:none}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__clear[_ngcontent-%COMP%]{line-height:initial;margin-left:5px;margin-right:0;color:#000;opacity:.5}.ngx-select__clear-icon[_ngcontent-%COMP%]{display:inline-block;font-size:inherit;cursor:pointer;position:relative;width:1em;height:.75em;padding:0}.ngx-select__clear-icon[_ngcontent-%COMP%]:before, .ngx-select__clear-icon[_ngcontent-%COMP%]:after{content:"";position:absolute;border-top:3px solid;width:100%;top:50%;left:0;margin-top:-1px}.ngx-select__clear-icon[_ngcontent-%COMP%]:before{transform:rotate(45deg)}.ngx-select__clear-icon[_ngcontent-%COMP%]:after{transform:rotate(-45deg)}.ngx-select__choices[_ngcontent-%COMP%]{width:100%;height:auto;max-height:200px;overflow-x:hidden;margin-top:0;position:absolute}.ngx-select_multiple[_ngcontent-%COMP%] .ngx-select__choices[_ngcontent-%COMP%]{margin-top:1px}.ngx-select__item[_ngcontent-%COMP%]{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;white-space:nowrap;cursor:pointer;text-decoration:none}.ngx-select__item_disabled[_ngcontent-%COMP%], .ngx-select__item_no-found[_ngcontent-%COMP%]{cursor:default}.ngx-select__item_active[_ngcontent-%COMP%]{color:#fff;outline:0;background-color:#428bca}.ngx-select__selected-single[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%]{display:inline-flex;align-items:center;overflow:hidden}.ngx-select__selected-single[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis}.ngx-select__selected-plural[_ngcontent-%COMP%]{outline:0;margin:0 3px 3px 0}.input-group[_ngcontent-%COMP%] > .dropdown[_ngcontent-%COMP%]{position:static}'],changeDetection:0})}return i})(),Jo=(()=>{class i{static forRoot(r){return{ngModule:i,providers:[{provide:Ud,useValue:r}]}}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[ge]})}return i})();try{zp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{zp=!1}let Ki,tr=(()=>{class i{_platformId=(0,u.WQX)(u.Agw);isBrowser=this._platformId?function wt(i){return i===qe}(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!zp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Ma(i){return function ty(){if(null==Ki&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ki=!0}))}finally{Ki=Ki||!1}return Ki}()?i:!!i.capture}var jn=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(jn||{});let Ta,ei,ec;function jr(){if("object"!=typeof document||!document)return jn.NORMAL;if(null==Ta){const i=document.createElement("div"),l=i.style;i.dir="rtl",l.width="1px",l.overflow="auto",l.visibility="hidden",l.pointerEvents="none",l.position="absolute";const r=document.createElement("div"),s=r.style;s.width="2px",s.height="1px",i.appendChild(r),document.body.appendChild(i),Ta=jn.NORMAL,0===i.scrollLeft&&(i.scrollLeft=1,Ta=0===i.scrollLeft?jn.NEGATED:jn.INVERTED),i.remove()}return Ta}function xa(i){return i.composedPath?i.composedPath()[0]:i.target}function Na(i,...l){return l.length?l.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var ac=x(697);function lc(i){return(0,Bn.p)((l,r)=>i<=r)}function hn(i){return Array.isArray(i)?i:[i]}function Xi(i){return i instanceof u.aKT?i.nativeElement:i}function sg(...i){return function kE(){return Xo(1)}()(Dn(i,qs(i)))}function Fa(...i){const l=qs(i);return(0,bn.N)((r,s)=>{(l?sg(i,r,l):sg(i,r)).subscribe(s)})}const Oy=new Set;let pn,cc=(()=>{class i{_platform=(0,u.WQX)(tr);_nonce=(0,u.WQX)(u.BIS,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Xd}matchMedia(r){return(this._platform.WEBKIT||this._platform.BLINK)&&function Qd(i,l){if(!Oy.has(i))try{pn||(pn=document.createElement("style"),l&&pn.setAttribute("nonce",l),pn.setAttribute("type","text/css"),document.head.appendChild(pn)),pn.sheet&&(pn.sheet.insertRule(`@media ${i} {body{ }}`,0),Oy.add(i))}catch(r){console.error(r)}}(r,this._nonce),this._matchMedia(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Xd(i){return{matches:"all"===i||""===i,media:i,addListener:()=>{},removeListener:()=>{}}}let Ry=(()=>{class i{_mediaMatcher=(0,u.WQX)(cc);_zone=(0,u.WQX)(u.SKi);_queries=new Map;_destroySubject=new We.B;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(r){return oi(hn(r)).some(d=>this._registerQuery(d).mql.matches)}observe(r){let g=Vi(oi(hn(r)).map(_=>this._registerQuery(_).observable));return g=sg(g.pipe((0,ac.s)(1)),g.pipe(lc(1),$i(0))),g.pipe((0,Cn.T)(_=>{const D={matches:!1,breakpoints:{}};return _.forEach(({matches:w,query:T})=>{D.matches=D.matches||w,D.breakpoints[T]=w}),D}))}_registerQuery(r){if(this._queries.has(r))return this._queries.get(r);const s=this._mediaMatcher.matchMedia(r),g={observable:new vt.c(_=>{const D=w=>this._zone.run(()=>_.next(w));return s.addListener(D),()=>{s.removeListener(D)}}).pipe(Fa(s),(0,Cn.T)(({matches:_})=>({query:r,matches:_})),Vn(this._destroySubject)),mql:s};return this._queries.set(r,g),g}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function oi(i){return i.map(l=>l.split(",")).reduce((l,r)=>l.concat(r)).map(l=>l.trim())}class dc{_letterKeyStream=new We.B;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new We.B;selectedItem=this._selectedItem;constructor(l,r){const s="number"==typeof r?.debounceInterval?r.debounceInterval:200;r?.skipPredicate&&(this._skipPredicateFn=r.skipPredicate),this.setItems(l),this._setupKeyHandler(s)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(l){this._selectedItemIndex=l}setItems(l){this._items=l}handleKey(l){const r=l.keyCode;l.key&&1===l.key.length?this._letterKeyStream.next(l.key.toLocaleUpperCase()):(r>=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(l){this._letterKeyStream.pipe(Ca(r=>this._pressedLetters.push(r)),$i(l),(0,Bn.p)(()=>this._pressedLetters.length>0),(0,Cn.T)(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(r=>{for(let s=1;sl.disabled;constructor(l,r){this._items=l,l instanceof u.rOR?this._itemChangesSubscription=l.changes.subscribe(s=>this._itemsChanged(s.toArray())):(0,u.Hps)(l)&&(this._effectRef=(0,u.QZP)(()=>this._itemsChanged(l()),{injector:r}))}tabOut=new We.B;change=new We.B;skipPredicate(l){return this._skipPredicateFn=l,this}withWrap(l=!0){return this._wrap=l,this}withVerticalOrientation(l=!0){return this._vertical=l,this}withHorizontalOrientation(l){return this._horizontal=l,this}withAllowedModifierKeys(l){return this._allowedModifierKeys=l,this}withTypeAhead(l=200){this._typeaheadSubscription.unsubscribe();const r=this._getItemsArray();return this._typeahead=new dc(r,{debounceInterval:"number"==typeof l?l:void 0,skipPredicate:s=>this._skipPredicateFn(s)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(s=>{this.setActiveItem(s)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(l=!0){return this._homeAndEnd=l,this}withPageUpDown(l=!0,r=10){return this._pageUpAndDown={enabled:l,delta:r},this}setActiveItem(l){const r=this._activeItem();this.updateActiveItem(l),this._activeItem()!==r&&this.change.next(this._activeItemIndex)}onKeydown(l){const r=l.keyCode,d=["altKey","ctrlKey","metaKey","shiftKey"].every(g=>!l[g]||this._allowedModifierKeys.indexOf(g)>-1);switch(r){case 9:return void this.tabOut.next();case 40:if(this._vertical&&d){this.setNextItemActive();break}return;case 38:if(this._vertical&&d){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&d){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&d){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&d){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&d){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&d){const g=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(g>0?g:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&d){const g=this._activeItemIndex+this._pageUpAndDown.delta,_=this._getItemsArray().length;this._setActiveItemByIndex(g<_?g:_-1,-1);break}return;default:return void((d||Na(l,"shiftKey"))&&this._typeahead?.handleKey(l))}this._typeahead?.reset(),l.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(l){const r=this._getItemsArray(),s="number"==typeof l?l:r.indexOf(l);this._activeItem.set(r[s]??null),this._activeItemIndex=s,this._typeahead?.setCurrentSelectedItemIndex(s)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(l){this._wrap?this._setActiveInWrapMode(l):this._setActiveInDefaultMode(l)}_setActiveInWrapMode(l){const r=this._getItemsArray();for(let s=1;s<=r.length;s++){const d=(this._activeItemIndex+l*s+r.length)%r.length;if(!this._skipPredicateFn(r[d]))return void this.setActiveItem(d)}}_setActiveInDefaultMode(l){this._setActiveItemByIndex(this._activeItemIndex+l,l)}_setActiveItemByIndex(l,r){const s=this._getItemsArray();if(s[l]){for(;this._skipPredicateFn(s[l]);)if(!s[l+=r])return;this.setActiveItem(l)}}_getItemsArray(){return(0,u.Hps)(this._items)?this._items():this._items instanceof u.rOR?this._items.toArray():this._items}_itemsChanged(l){this._typeahead?.setItems(l);const r=this._activeItem();if(r){const s=l.indexOf(r);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s,this._typeahead?.setCurrentSelectedItemIndex(s))}}}class tf extends Vy{_origin="program";setFocusOrigin(l){return this._origin=l,this}setActiveItem(l){super.setActiveItem(l),this.activeItem&&this.activeItem.focus(this._origin)}}function hc(i){return 0===i.buttons||0===i.detail}function gg(i){const l=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!(!l||-1!==l.identifier||null!=l.radiusX&&1!==l.radiusX||null!=l.radiusY&&1!==l.radiusY)}const Qy=new u.nKC("cdk-input-modality-detector-options"),nr={ignoreKeys:[18,17,224,91,16]},si=Ma({passive:!0,capture:!0});let Xy=(()=>{class i{_platform=(0,u.WQX)(tr);modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new fo.t(null);_options;_lastTouchMs=0;_onKeydown=r=>{this._options?.ignoreKeys?.some(s=>s===r.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=xa(r))};_onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(hc(r)?"keyboard":"mouse"),this._mostRecentTarget=xa(r))};_onTouchstart=r=>{gg(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=xa(r))};constructor(){const r=(0,u.WQX)(u.SKi),s=(0,u.WQX)(Q),d=(0,u.WQX)(Qy,{optional:!0});this._options={...nr,...d},this.modalityDetected=this._modality.pipe(lc(1)),this.modalityChanged=this.modalityDetected.pipe(Hi()),this._platform.isBrowser&&r.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,si),s.addEventListener("mousedown",this._onMousedown,si),s.addEventListener("touchstart",this._onTouchstart,si)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,si),document.removeEventListener("mousedown",this._onMousedown,si),document.removeEventListener("touchstart",this._onTouchstart,si))}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var pc=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(pc||{});const me=new u.nKC("cdk-focus-monitor-default-options"),Ra=Ma({passive:!0,capture:!0});let _g=(()=>{class i{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_inputModalityDetector=(0,u.WQX)(Xy);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)};_document=(0,u.WQX)(Q,{optional:!0});_stopInputModalityDetector=new We.B;constructor(){const r=(0,u.WQX)(me,{optional:!0});this._detectionMode=r?.detectionMode||pc.IMMEDIATE}_rootNodeFocusAndBlurListener=r=>{for(let d=xa(r);d;d=d.parentElement)"focus"===r.type?this._onFocus(r,d):this._onBlur(r,d)};monitor(r,s=!1){const d=Xi(r);if(!this._platform.isBrowser||1!==d.nodeType)return Vr();const g=function ry(i){if(function $d(){if(null==ec){const i=typeof document<"u"?document.head:null;ec=!(!i||!i.createShadowRoot&&!i.attachShadow)}return ec}()){const l=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&l instanceof ShadowRoot)return l}return null}(d)||this._getDocument(),_=this._elementInfo.get(d);if(_)return s&&(_.checkChildren=!0),_.subject;const D={checkChildren:s,subject:new We.B,rootNode:g};return this._elementInfo.set(d,D),this._registerGlobalListeners(D),D.subject}stopMonitoring(r){const s=Xi(r),d=this._elementInfo.get(s);d&&(d.subject.complete(),this._setClasses(s),this._elementInfo.delete(s),this._removeGlobalListeners(d))}focusVia(r,s,d){const g=Xi(r);g===this._getDocument().activeElement?this._getClosestElementsInfo(g).forEach(([D,w])=>this._originChanged(D,s,w)):(this._setOrigin(s),"function"==typeof g.focus&&g.focus(d))}ngOnDestroy(){this._elementInfo.forEach((r,s)=>this.stopMonitoring(s))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(r){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(r)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:r&&this._isLastInteractionFromInputLabel(r)?"mouse":"program"}_shouldBeAttributedToTouch(r){return this._detectionMode===pc.EVENTUAL||!!r?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(r,s){r.classList.toggle("cdk-focused",!!s),r.classList.toggle("cdk-touch-focused","touch"===s),r.classList.toggle("cdk-keyboard-focused","keyboard"===s),r.classList.toggle("cdk-mouse-focused","mouse"===s),r.classList.toggle("cdk-program-focused","program"===s)}_setOrigin(r,s=!1){this._ngZone.runOutsideAngular(()=>{this._origin=r,this._originFromTouchInteraction="touch"===r&&s,this._detectionMode===pc.IMMEDIATE&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(r,s){const d=this._elementInfo.get(s),g=xa(r);!d||!d.checkChildren&&s!==g||this._originChanged(s,this._getFocusOrigin(g),d)}_onBlur(r,s){const d=this._elementInfo.get(s);!d||d.checkChildren&&r.relatedTarget instanceof Node&&s.contains(r.relatedTarget)||(this._setClasses(s),this._emitOrigin(d,null))}_emitOrigin(r,s){r.subject.observers.length&&this._ngZone.run(()=>r.subject.next(s))}_registerGlobalListeners(r){if(!this._platform.isBrowser)return;const s=r.rootNode,d=this._rootNodeFocusListenerCount.get(s)||0;d||this._ngZone.runOutsideAngular(()=>{s.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ra),s.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ra)}),this._rootNodeFocusListenerCount.set(s,d+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Vn(this._stopInputModalityDetector)).subscribe(g=>{this._setOrigin(g,!0)}))}_removeGlobalListeners(r){const s=r.rootNode;if(this._rootNodeFocusListenerCount.has(s)){const d=this._rootNodeFocusListenerCount.get(s);d>1?this._rootNodeFocusListenerCount.set(s,d-1):(s.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ra),s.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ra),this._rootNodeFocusListenerCount.delete(s))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(r,s,d){this._setClasses(r,s),this._emitOrigin(d,s),this._lastFocusOrigin=s}_getClosestElementsInfo(r){const s=[];return this._elementInfo.forEach((d,g)=>{(g===r||d.checkChildren&&g.contains(r))&&s.push([g,d])}),s}_isLastInteractionFromInputLabel(r){const{_mostRecentTarget:s,mostRecentModality:d}=this._inputModalityDetector;if("mouse"!==d||!s||s===r||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName||r.disabled)return!1;const g=r.labels;if(g)for(let _=0;_{class i{_elementRef=(0,u.WQX)(u.aKT);_focusMonitor=(0,u.WQX)(_g);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new u.bkB;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const r=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(r,1===r.nodeType&&r.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(s=>{this._focusOrigin=s,this.cdkFocusChange.emit(s)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return i})();var vo=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(vo||{});const cf="cdk-high-contrast-black-on-white",yg="cdk-high-contrast-white-on-black",ai="cdk-high-contrast-active";let li=(()=>{class i{_platform=(0,u.WQX)(tr);_hasCheckedHighContrastMode;_document=(0,u.WQX)(Q);_breakpointSubscription;constructor(){this._breakpointSubscription=(0,u.WQX)(Ry).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return vo.NONE;const r=this._document.createElement("div");r.style.backgroundColor="rgb(1,2,3)",r.style.position="absolute",this._document.body.appendChild(r);const s=this._document.defaultView||window,d=s&&s.getComputedStyle?s.getComputedStyle(r):null,g=(d&&d.backgroundColor||"").replace(/ /g,"");switch(r.remove(),g){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return vo.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return vo.BLACK_ON_WHITE}return vo.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const r=this._document.body.classList;r.remove(ai,cf,yg),this._hasCheckedHighContrastMode=!0;const s=this.getHighContrastMode();s===vo.BLACK_ON_WHITE?r.add(ai,cf):s===vo.WHITE_ON_BLACK&&r.add(ai,yg)}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const ci={};let bg=(()=>{class i{_appId=(0,u.WQX)(u.sZ2);getId(r){return"ng"!==this._appId&&(r+=this._appId),ci.hasOwnProperty(r)||(ci[r]=0),`${r}${ci[r]++}`}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const uf=new u.nKC("cdk-dir-doc",{providedIn:"root",factory:function df(){return(0,u.WQX)(Q)}}),ff=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Pa=(()=>{class i{value="ltr";change=new u.bkB;constructor(){const r=(0,u.WQX)(uf,{optional:!0});r&&(this.value=function hf(i){const l=i?.toLowerCase()||"";return"auto"===l&&typeof navigator<"u"&&navigator?.language?ff.test(navigator.language)?"rtl":"ltr":"rtl"===l?"rtl":"ltr"}((r.body?r.body.dir:null)||(r.documentElement?r.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Dg=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({})}return i})();const gc=new WeakMap;let pf=(()=>{class i{_appRef;_injector=(0,u.WQX)(u.zZn);_environmentInjector=(0,u.WQX)(u.uvJ);load(r){const s=this._appRef=this._appRef||this._injector.get(u.o8S);let d=gc.get(s);d||(d={loaders:new Set,refs:[]},gc.set(s,d),s.onDestroy(()=>{gc.get(s)?.refs.forEach(g=>g.destroy()),gc.delete(s)})),d.loaders.has(r)||(d.loaders.add(r),d.refs.push((0,u.a0P)(r,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Eg=(()=>{class i{constructor(){(0,u.WQX)(li)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Dg,Dg]})}return i})(),mc=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["structural-styles"]],decls:0,vars:0,template:function(s,d){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0})}return i})();var In=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(In||{});class _c{_renderer;element;config;_animationForciblyDisabledThroughCss;state=In.HIDDEN;constructor(l,r,s,d=!1){this._renderer=l,this.element=r,this.config=s,this._animationForciblyDisabledThroughCss=d}fadeOut(){this._renderer.fadeOutRipple(this)}}const yc=Ma({passive:!0,capture:!0});class Hr{_events=new Map;addHandler(l,r,s,d){const g=this._events.get(r);if(g){const _=g.get(s);_?_.add(d):g.set(s,new Set([d]))}else this._events.set(r,new Map([[s,new Set([d])]])),l.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,yc)})}removeHandler(l,r,s){const d=this._events.get(l);if(!d)return;const g=d.get(r);g&&(g.delete(s),0===g.size&&d.delete(r),0===d.size&&(this._events.delete(l),document.removeEventListener(l,this._delegateEventHandler,yc)))}_delegateEventHandler=l=>{const r=xa(l);r&&this._events.get(l.type)?.forEach((s,d)=>{(d===r||d.contains(r))&&s.forEach(g=>g.handleEvent(l))})}}const Mg={enterDuration:225,exitDuration:150},La=Ma({passive:!0,capture:!0}),Tg=["mousedown","touchstart"],ui=["mouseup","mouseleave","touchend","touchcancel"];let xg=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(s,d){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0})}return i})();class br{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Hr;constructor(l,r,s,d,g){this._target=l,this._ngZone=r,this._platform=d,d.isBrowser&&(this._containerElement=Xi(s)),g&&g.get(pf).load(xg)}fadeInRipple(l,r,s={}){const d=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),g={...Mg,...s.animation};s.centered&&(l=d.left+d.width/2,r=d.top+d.height/2);const _=s.radius||function ts(i,l,r){const s=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),d=Math.max(Math.abs(l-r.top),Math.abs(l-r.bottom));return Math.sqrt(s*s+d*d)}(l,r,d),D=l-d.left,w=r-d.top,T=g.enterDuration,O=document.createElement("div");O.classList.add("mat-ripple-element"),O.style.left=D-_+"px",O.style.top=w-_+"px",O.style.height=2*_+"px",O.style.width=2*_+"px",null!=s.color&&(O.style.backgroundColor=s.color),O.style.transitionDuration=`${T}ms`,this._containerElement.appendChild(O);const j=window.getComputedStyle(O),W=j.transitionDuration,_e="none"===j.transitionProperty||"0s"===W||"0s, 0s"===W||0===d.width&&0===d.height,De=new _c(this,O,s,_e);O.style.transform="scale3d(1, 1, 1)",De.state=In.FADING_IN,s.persistent||(this._mostRecentTransientRipple=De);let Le=null;return!_e&&(T||g.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ve=()=>{Le&&(Le.fallbackTimer=null),clearTimeout(Gr),this._finishRippleTransition(De)},Ft=()=>this._destroyRipple(De),Gr=setTimeout(Ft,T+100);O.addEventListener("transitionend",Ve),O.addEventListener("transitioncancel",Ft),Le={onTransitionEnd:Ve,onTransitionCancel:Ft,fallbackTimer:Gr}}),this._activeRipples.set(De,Le),(_e||!T)&&this._finishRippleTransition(De),De}fadeOutRipple(l){if(l.state===In.FADING_OUT||l.state===In.HIDDEN)return;const r=l.element,s={...Mg,...l.config.animation};r.style.transitionDuration=`${s.exitDuration}ms`,r.style.opacity="0",l.state=In.FADING_OUT,(l._animationForciblyDisabledThroughCss||!s.exitDuration)&&this._finishRippleTransition(l)}fadeOutAll(){this._getActiveRipples().forEach(l=>l.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(l=>{l.config.persistent||l.fadeOut()})}setupTriggerEvents(l){const r=Xi(l);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Tg.forEach(s=>{br._eventManager.addHandler(this._ngZone,s,r,this)}))}handleEvent(l){"mousedown"===l.type?this._onMousedown(l):"touchstart"===l.type?this._onTouchStart(l):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ui.forEach(r=>{this._triggerElement.addEventListener(r,this,La)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(l){l.state===In.FADING_IN?this._startFadeOutTransition(l):l.state===In.FADING_OUT&&this._destroyRipple(l)}_startFadeOutTransition(l){const r=l===this._mostRecentTransientRipple,{persistent:s}=l.config;l.state=In.VISIBLE,!s&&(!r||!this._isPointerDown)&&l.fadeOut()}_destroyRipple(l){const r=this._activeRipples.get(l)??null;this._activeRipples.delete(l),this._activeRipples.size||(this._containerRect=null),l===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),l.state=In.HIDDEN,null!==r&&(l.element.removeEventListener("transitionend",r.onTransitionEnd),l.element.removeEventListener("transitioncancel",r.onTransitionCancel),null!==r.fallbackTimer&&clearTimeout(r.fallbackTimer)),l.element.remove()}_onMousedown(l){const r=hc(l),s=this._lastTouchStartEvent&&Date.now(){!l.config.persistent&&(l.state===In.VISIBLE||l.config.terminateOnPointerUp&&l.state===In.FADING_IN)&&l.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const l=this._triggerElement;l&&(Tg.forEach(r=>br._eventManager.removeHandler(r,l,this)),this._pointerUpEventsRegistered&&(ui.forEach(r=>l.removeEventListener(r,this,La)),this._pointerUpEventsRegistered=!1))}}const _f=new u.nKC("mat-ripple-global-options");let ns=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){const r=(0,u.WQX)(u.SKi),s=(0,u.WQX)(tr),d=(0,u.WQX)(_f,{optional:!0}),g=(0,u.WQX)(u.zZn);this._globalOptions=d||{},this._rippleRenderer=new br(this,r,this._elementRef,s,g)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(r,s=0,d){return"number"==typeof r?this._rippleRenderer.fadeInRipple(r,s,{...this.rippleConfig,...d}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...r})}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(s,d){2&s&&u.AVh("mat-ripple-unbounded",d.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return i})();class vf{_attachedHost;attach(l){return this._attachedHost=l,l.attach(this)}detach(){let l=this._attachedHost;null!=l&&(this._attachedHost=null,l.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(l){this._attachedHost=l}}class yv extends vf{component;viewContainerRef;injector;componentFactoryResolver;projectableNodes;constructor(l,r,s,d,g){super(),this.component=l,this.viewContainerRef=r,this.injector=s,this.projectableNodes=g}}class rs extends vf{templateRef;viewContainerRef;context;injector;constructor(l,r,s,d){super(),this.templateRef=l,this.viewContainerRef=r,this.context=s,this.injector=d}get origin(){return this.templateRef.elementRef}attach(l,r=this.context){return this.context=r,super.attach(l)}detach(){return this.context=void 0,super.detach()}}class bf extends vf{element;constructor(l){super(),this.element=l instanceof u.aKT?l.nativeElement:l}}class Ng{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(l){return l instanceof yv?(this._attachedPortal=l,this.attachComponentPortal(l)):l instanceof rs?(this._attachedPortal=l,this.attachTemplatePortal(l)):this.attachDomPortal&&l instanceof bf?(this._attachedPortal=l,this.attachDomPortal(l)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(l){this._disposeFn=l}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let vv=(()=>{class i extends rs{constructor(){super((0,u.WQX)(u.C4Q),(0,u.WQX)(u.c1b))}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[u.Vt3]})}return i})(),Df=(()=>{class i extends Ng{_moduleRef=(0,u.WQX)(u.Vns,{optional:!0});_document=(0,u.WQX)(Q);_viewContainerRef=(0,u.WQX)(u.c1b);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&super.detach(),r&&super.attach(r),this._attachedPortal=r||null)}attached=new u.bkB;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(r){r.setAttachedHost(this);const s=null!=r.viewContainerRef?r.viewContainerRef:this._viewContainerRef,d=s.createComponent(r.component,{index:s.length,injector:r.injector||s.injector,projectableNodes:r.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return s!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),super.setDisposeFn(()=>d.destroy()),this._attachedPortal=r,this._attachedRef=d,this.attached.emit(d),d}attachTemplatePortal(r){r.setAttachedHost(this);const s=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=r,this._attachedRef=s,this.attached.emit(s),s}attachDomPortal=r=>{const s=r.element,d=this._document.createComment("dom-portal");r.setAttachedHost(this),s.parentNode.insertBefore(d,s),this._getRootNode().appendChild(s),this._attachedPortal=r,super.setDisposeFn(()=>{d.parentNode&&d.parentNode.replaceChild(s,d)})};_getRootNode(){const r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[u.Vt3]})}return i})();const bv=["addListener","removeListener"],Cf=["addEventListener","removeEventListener"],Va=["on","off"];function Ur(i,l,r,s){if((0,je.T)(r)&&(s=r,r=void 0),s)return Ur(i,l,r).pipe(Ks(s));const[d,g]=function kg(i){return(0,je.T)(i.addEventListener)&&(0,je.T)(i.removeEventListener)}(i)?Cf.map(_=>D=>i[_](l,D,r)):function Fg(i){return(0,je.T)(i.addListener)&&(0,je.T)(i.removeListener)}(i)?bv.map(Ba(i,l)):function ja(i){return(0,je.T)(i.on)&&(0,je.T)(i.off)}(i)?Va.map(Ba(i,l)):[];if(!d&&Cl(i))return Bi(_=>Ur(_,l,r))(un(i));if(!d)throw new TypeError("Invalid event target");return new vt.c(_=>{const D=(...w)=>_.next(1g(D)})}function Ba(i,l){return r=>s=>i[r](l,s)}function os(i=0,l,r=q_){let s=-1;return null!=l&&(op(l)?r=l:s=l),new vt.c(d=>{let g=function Dv(i){return i instanceof Date&&!isNaN(i)}(i)?+i-r.now():i;g<0&&(g=0);let _=0;return r.schedule(function(){d.closed||(d.next(_++),0<=s?this.schedule(void 0,s):d.complete())},g)})}class Cv extends We.B{constructor(l=1/0,r=1/0,s=Fd){super(),this._bufferSize=l,this._windowTime=r,this._timestampProvider=s,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,l),this._windowTime=Math.max(1,r)}next(l){const{isStopped:r,_buffer:s,_infiniteTimeWindow:d,_timestampProvider:g,_windowTime:_}=this;r||(s.push(l),!d&&s.push(g.now()+_)),this._trimBuffer(),super.next(l)}_subscribe(l){this._throwIfClosed(),this._trimBuffer();const r=this._innerSubscribe(l),{_infiniteTimeWindow:s,_buffer:d}=this,g=d.slice();for(let _=0;_this._resizeSubject.next(r)))}observe(l){return this._elementObservables.has(l)||this._elementObservables.set(l,new vt.c(r=>{const s=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(l,{box:this._box}),()=>{this._resizeObserver?.unobserve(l),s.unsubscribe(),this._elementObservables.delete(l)}}).pipe((0,Bn.p)(r=>r.some(s=>s.target===l)),function Cc(i,l,r){let s,d=!1;return i&&"object"==typeof i?({bufferSize:s=1/0,windowTime:l=1/0,refCount:d=!1,scheduler:r}=i):s=i??1/0,z_({connector:()=>new Cv(s,l,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}({bufferSize:1,refCount:!0}),Vn(this._destroyed))),this._elementObservables.get(l)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let wv=(()=>{class i{_observers=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){for(const[,r]of this._observers)r.destroy();this._observers.clear()}observe(r,s){const d=s?.box||"content-box";return this._observers.has(d)||this._observers.set(d,new Ev(d)),this._observers.get(d).observe(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const ss={schedule(i){let l=requestAnimationFrame,r=cancelAnimationFrame;const{delegate:s}=ss;s&&(l=s.requestAnimationFrame,r=s.cancelAnimationFrame);const d=l(g=>{r=void 0,i(g)});return new fn.yU(()=>r?.(d))},requestAnimationFrame(...i){const{delegate:l}=ss;return(l?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:l}=ss;return(l?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0};new class Iv extends Da{flush(l){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;l=l||s.shift();do{if(d=l.execute(l.state,l.delay))break}while((l=s[0])&&l.id===r&&s.shift());if(this._active=!1,d){for(;(l=s[0])&&l.id===r&&s.shift();)l.unsubscribe();throw d}}}(class Ef extends Nd{constructor(l,r){super(l,r),this.scheduler=l,this.work=r}requestAsyncId(l,r,s=0){return null!==s&&s>0?super.requestAsyncId(l,r,s):(l.actions.push(this),l._scheduled||(l._scheduled=ss.requestAnimationFrame(()=>l.flush(void 0))))}recycleAsyncId(l,r,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(l,r,s);const{actions:g}=l;null!=r&&(null===(d=g[g.length-1])||void 0===d?void 0:d.id)!==r&&(ss.cancelAnimationFrame(r),l._scheduled=void 0)}});let $r,wf=1;const di={};function If(i){return i in di&&(delete di[i],!0)}const Ha={setImmediate(i){const l=wf++;return di[l]=!0,$r||($r=Promise.resolve()),$r.then(()=>If(l)&&i()),l},clearImmediate(i){If(i)}},{setImmediate:Tv,clearImmediate:Mf}=Ha,Ua={setImmediate(...i){const{delegate:l}=Ua;return(l?.setImmediate||Tv)(...i)},clearImmediate(i){const{delegate:l}=Ua;return(l?.clearImmediate||Mf)(i)},delegate:void 0};new class $a extends Da{flush(l){this._active=!0;const r=this._scheduled;this._scheduled=void 0;const{actions:s}=this;let d;l=l||s.shift();do{if(d=l.execute(l.state,l.delay))break}while((l=s[0])&&l.id===r&&s.shift());if(this._active=!1,d){for(;(l=s[0])&&l.id===r&&s.shift();)l.unsubscribe();throw d}}}(class bo extends Nd{constructor(l,r){super(l,r),this.scheduler=l,this.work=r}requestAsyncId(l,r,s=0){return null!==s&&s>0?super.requestAsyncId(l,r,s):(l.actions.push(this),l._scheduled||(l._scheduled=Ua.setImmediate(l.flush.bind(l,void 0))))}recycleAsyncId(l,r,s=0){var d;if(null!=s?s>0:this.delay>0)return super.recycleAsyncId(l,r,s);const{actions:g}=l;null!=r&&(null===(d=g[g.length-1])||void 0===d?void 0:d.id)!==r&&(Ua.clearImmediate(r),l._scheduled===r&&(l._scheduled=void 0))}});function xf(i,l=er){return function Og(i){return(0,bn.N)((l,r)=>{let s=!1,d=null,g=null,_=!1;const D=()=>{if(g?.unsubscribe(),g=null,s){s=!1;const T=d;d=null,r.next(T)}_&&r.complete()},w=()=>{g=null,_&&r.complete()};l.subscribe((0,dn._)(r,T=>{s=!0,d=T,g||un(i(T)).subscribe(g=(0,dn._)(r,D,w))},()=>{_=!0,(!s||!g||g.closed)&&r.complete()}))})}(()=>os(i,l))}let Sv=(()=>{class i{_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_document=(0,u.WQX)(Q,{optional:!0});constructor(){}_scrolled=new We.B;_globalSubscription=null;_scrolledCount=0;scrollContainers=new Map;register(r){this.scrollContainers.has(r)||this.scrollContainers.set(r,r.elementScrolled().subscribe(()=>this._scrolled.next(r)))}deregister(r){const s=this.scrollContainers.get(r);s&&(s.unsubscribe(),this.scrollContainers.delete(r))}scrolled(r=20){return this._platform.isBrowser?new vt.c(s=>{this._globalSubscription||this._addGlobalListener();const d=r>0?this._scrolled.pipe(xf(r)).subscribe(s):this._scrolled.subscribe(s);return this._scrolledCount++,()=>{d.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Vr()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((r,s)=>this.deregister(s)),this._scrolled.complete()}ancestorScrolled(r,s){const d=this.getAncestorScrollContainers(r);return this.scrolled(s).pipe((0,Bn.p)(g=>!g||d.indexOf(g)>-1))}getAncestorScrollContainers(r){const s=[];return this.scrollContainers.forEach((d,g)=>{this._scrollableContainsElement(g,r)&&s.push(g)}),s}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(r,s){let d=Xi(s),g=r.getElementRef().nativeElement;do{if(d==g)return!0}while(d=d.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ur(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Av=(()=>{class i{elementRef=(0,u.WQX)(u.aKT);scrollDispatcher=(0,u.WQX)(Sv);ngZone=(0,u.WQX)(u.SKi);dir=(0,u.WQX)(Pa,{optional:!0});_destroyed=new We.B;_elementScrolled=new vt.c(r=>this.ngZone.runOutsideAngular(()=>Ur(this.elementRef.nativeElement,"scroll").pipe(Vn(this._destroyed)).subscribe(r)));constructor(){}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(r){const s=this.elementRef.nativeElement,d=this.dir&&"rtl"==this.dir.value;null==r.left&&(r.left=d?r.end:r.start),null==r.right&&(r.right=d?r.start:r.end),null!=r.bottom&&(r.top=s.scrollHeight-s.clientHeight-r.bottom),d&&jr()!=jn.NORMAL?(null!=r.left&&(r.right=s.scrollWidth-s.clientWidth-r.left),jr()==jn.INVERTED?r.left=r.right:jr()==jn.NEGATED&&(r.left=r.right?-r.right:r.right)):null!=r.right&&(r.left=s.scrollWidth-s.clientWidth-r.right),this._applyScrollToOptions(r)}_applyScrollToOptions(r){const s=this.elementRef.nativeElement;!function ny(){if(null==ei){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ei=!1,ei;if("scrollBehavior"in document.documentElement.style)ei=!0;else{const i=Element.prototype.scrollTo;ei=!!i&&!/\{\s*\[native code\]\s*\}/.test(i.toString())}}return ei}()?(null!=r.top&&(s.scrollTop=r.top),null!=r.left&&(s.scrollLeft=r.left)):s.scrollTo(r)}measureScrollOffset(r){const s="left",d="right",g=this.elementRef.nativeElement;if("top"==r)return g.scrollTop;if("bottom"==r)return g.scrollHeight-g.clientHeight-g.scrollTop;const _=this.dir&&"rtl"==this.dir.value;return"start"==r?r=_?d:s:"end"==r&&(r=_?s:d),_&&jr()==jn.INVERTED?r==s?g.scrollWidth-g.clientWidth-g.scrollLeft:g.scrollLeft:_&&jr()==jn.NEGATED?r==s?g.scrollLeft+g.scrollWidth-g.clientWidth:-g.scrollLeft:r==s?g.scrollLeft:g.scrollWidth-g.clientWidth-g.scrollLeft}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return i})(),Fv=(()=>{class i{_platform=(0,u.WQX)(tr);_viewportSize;_change=new We.B;_changeListener=r=>{this._change.next(r)};_document=(0,u.WQX)(Q,{optional:!0});constructor(){(0,u.WQX)(u.SKi).runOutsideAngular(()=>{if(this._platform.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const r=this._getWindow();r.removeEventListener("resize",this._changeListener),r.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const r={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),r}getViewportRect(){const r=this.getViewportScrollPosition(),{width:s,height:d}=this.getViewportSize();return{top:r.top,left:r.left,bottom:r.top+d,right:r.left+s,height:d,width:s}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const r=this._document,s=this._getWindow(),d=r.documentElement,g=d.getBoundingClientRect();return{top:-g.top||r.body.scrollTop||s.scrollY||d.scrollTop||0,left:-g.left||r.body.scrollLeft||s.scrollX||d.scrollLeft||0}}change(r=20){return r>0?this._change.pipe(xf(r)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const r=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:r.innerWidth,height:r.innerHeight}:{width:0,height:0}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),jg=(()=>{class i{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Hg=(()=>{class i{_mutationObserverFactory=(0,u.WQX)(jg);_observedElements=new Map;_ngZone=(0,u.WQX)(u.SKi);constructor(){}ngOnDestroy(){this._observedElements.forEach((r,s)=>this._cleanupObserver(s))}observe(r){const s=Xi(r);return new vt.c(d=>{const _=this._observeElement(s).pipe((0,Cn.T)(D=>D.filter(w=>!function Bg(i){if("characterData"===i.type&&i.target instanceof Comment)return!0;if("childList"===i.type){for(let l=0;l!!D.length)).subscribe(D=>{this._ngZone.run(()=>{d.next(D)})});return()=>{_.unsubscribe(),this._unobserveElement(s)}})}_observeElement(r){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(r))this._observedElements.get(r).count++;else{const s=new We.B,d=this._mutationObserverFactory.create(g=>s.next(g));d&&d.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:d,stream:s,count:1})}return this._observedElements.get(r).stream})}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){const{observer:s,stream:d}=this._observedElements.get(r);s&&s.disconnect(),d.complete(),this._observedElements.delete(r)}}static \u0275fac=function(s){return new(s||i)};static \u0275prov=u.jDH({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ug=(()=>{class i{_contentObserver=(0,u.WQX)(Hg);_elementRef=(0,u.WQX)(u.aKT);event=new u.bkB;get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(r){this._debounce=function ig(i,l=0){return function Qi(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}(i)?Number(i):2===arguments.length?l:0}(r),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const r=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?r.pipe($i(this.debounce)):r).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",u.L39],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[u.GFd]})}return i})();var Jt=x(969);const Af=["*"];function wc(i,l){1&i&&u.SdG(0)}const Rw=["tabListContainer"],Pv=["tabList"],$g=["tabListInner"],Pw=["nextPaginator"],Lv=["previousPaginator"],Vv=i=>({animationDuration:i}),Ga=(i,l)=>({value:i,params:l});function Ic(i,l){}const Bv=["tabBodyWrapper"],jv=["tabHeader"];function Hv(i,l){}function Uv(i,l){if(1&i&&u.DNE(0,Hv,0,0,"ng-template",12),2&i){const r=u.XpG().$implicit;u.Y8G("cdkPortalOutlet",r.templateLabel)}}function $v(i,l){if(1&i&&u.EFF(0),2&i){const r=u.XpG().$implicit;u.JRh(r.textLabel)}}function Gv(i,l){if(1&i){const r=u.RV6();u.j41(0,"div",7,2),u.bIt("click",function(){const d=u.eBV(r),g=d.$implicit,_=d.$index,D=u.XpG(),w=u.sdS(1);return u.Njj(D._handleClick(g,w,_))})("cdkFocusChange",function(d){const g=u.eBV(r).$index,_=u.XpG();return u.Njj(_._tabFocusChanged(d,g))}),u.nrm(2,"span",8)(3,"div",9),u.j41(4,"span",10)(5,"span",11),u.DNE(6,Uv,1,1,null,12)(7,$v,1,1),u.k0s()()()}if(2&i){const r=l.$implicit,s=l.$index,d=u.sdS(1),g=u.XpG();u.HbH(r.labelClass),u.AVh("mdc-tab--active",g.selectedIndex===s),u.Y8G("id",g._getTabLabelId(s))("disabled",r.disabled)("fitInkBarToContent",g.fitInkBarToContent),u.BMQ("tabIndex",g._getTabIndex(s))("aria-posinset",s+1)("aria-setsize",g._tabs.length)("aria-controls",g._getTabContentId(s))("aria-selected",g.selectedIndex===s)("aria-label",r.ariaLabel||null)("aria-labelledby",!r.ariaLabel&&r.ariaLabelledby?r.ariaLabelledby:null),u.R7$(3),u.Y8G("matRippleTrigger",d)("matRippleDisabled",r.disabled||g.disableRipple),u.R7$(3),u.vxM(r.templateLabel?6:7)}}function zv(i,l){1&i&&u.SdG(0)}function Gg(i,l){if(1&i){const r=u.RV6();u.j41(0,"mat-tab-body",13),u.bIt("_onCentered",function(){u.eBV(r);const d=u.XpG();return u.Njj(d._removeTabBodyWrapperHeight())})("_onCentering",function(d){u.eBV(r);const g=u.XpG();return u.Njj(g._setTabBodyWrapperHeight(d))}),u.k0s()}if(2&i){const r=l.$implicit,s=l.$index,d=u.XpG();u.HbH(r.bodyClass),u.AVh("mat-mdc-tab-body-active",d.selectedIndex===s),u.Y8G("id",d._getTabContentId(s))("content",r.content)("position",r.position)("origin",r.origin)("animationDuration",d.animationDuration)("preserveContent",d.preserveContent),u.BMQ("tabindex",null!=d.contentTabIndex&&d.selectedIndex===s?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(s))("aria-hidden",d.selectedIndex!==s)}}const Wv=new u.nKC("MatTabContent");let qv=(()=>{class i{template=(0,u.WQX)(u.C4Q);constructor(){}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","matTabContent",""]],features:[u.Jv_([{provide:Wv,useExisting:i}])]})}return i})();const Kv=new u.nKC("MatTabLabel"),Wg=new u.nKC("MAT_TAB");let Zv=(()=>{class i extends vv{_closestTab=(0,u.WQX)(Wg,{optional:!0});static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[u.Jv_([{provide:Kv,useExisting:i}]),u.Vt3]})}return i})();const qg=new u.nKC("MAT_TAB_GROUP");let Nf=(()=>{class i{_viewContainerRef=(0,u.WQX)(u.c1b);_closestTabGroup=(0,u.WQX)(qg,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(r){this._setTemplateLabelInput(r)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new We.B;position=null;origin=null;isActive=!1;constructor(){(0,u.WQX)(pf).load(mc)}ngOnChanges(r){(r.hasOwnProperty("textLabel")||r.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new rs(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(r){r&&r._closestTab===this&&(this._templateLabel=r)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab"]],contentQueries:function(s,d,g){if(1&s&&(u.wni(g,Zv,5),u.wni(g,qv,7,u.C4Q)),2&s){let _;u.mGM(_=u.lsd())&&(d.templateLabel=_.first),u.mGM(_=u.lsd())&&(d._explicitContent=_.first)}},viewQuery:function(s,d){if(1&s&&u.GBs(u.C4Q,7),2&s){let g;u.mGM(g=u.lsd())&&(d._implicitContent=g.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",u.L39],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[u.Jv_([{provide:Wg,useExisting:i}]),u.GFd,u.OA$],ngContentSelectors:Af,decls:1,vars:0,template:function(s,d){1&s&&(u.NAR(),u.DNE(0,wc,1,0,"ng-template"))},encapsulation:2})}return i})();const Ff="mdc-tab-indicator--active",Kg="mdc-tab-indicator--no-transition";class Qv{_items;_currentItem;constructor(l){this._items=l}hide(){this._items.forEach(l=>l.deactivateInkBar())}alignToElement(l){const r=this._items.find(d=>d.elementRef.nativeElement===l),s=this._currentItem;if(r!==s&&(s?.deactivateInkBar(),r)){const d=s?.elementRef.nativeElement.getBoundingClientRect?.();r.activateInkBar(d),this._currentItem=r}}}let Xv=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_inkBarElement;_inkBarContentElement;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(r){this._fitToContent!==r&&(this._fitToContent=r,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(r){const s=this._elementRef.nativeElement;if(!r||!s.getBoundingClientRect||!this._inkBarContentElement)return void s.classList.add(Ff);const d=s.getBoundingClientRect(),g=r.width/d.width,_=r.left-d.left;s.classList.add(Kg),this._inkBarContentElement.style.setProperty("transform",`translateX(${_}px) scaleX(${g})`),s.getBoundingClientRect(),s.classList.remove(Kg),s.classList.add(Ff),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Ff)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const r=this._elementRef.nativeElement.ownerDocument||document,s=this._inkBarElement=r.createElement("span"),d=this._inkBarContentElement=r.createElement("span");s.className="mdc-tab-indicator",d.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",s.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement).appendChild(this._inkBarElement)}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39]},features:[u.GFd]})}return i})(),Mc=(()=>{class i extends Xv{elementRef=(0,u.WQX)(u.aKT);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275dir=u.FsC({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(s,d){2&s&&(u.BMQ("aria-disabled",!!d.disabled),u.AVh("mat-mdc-tab-disabled",d.disabled))},inputs:{disabled:[2,"disabled","disabled",u.L39]},features:[u.GFd,u.Vt3]})}return i})();const Zg=Ma({passive:!0});let tb=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_viewportRuler=(0,u.WQX)(Fv);_dir=(0,u.WQX)(Pa,{optional:!0});_ngZone=(0,u.WQX)(u.SKi);_platform=(0,u.WQX)(tr);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new We.B;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new We.B;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(r){const s=isNaN(r)?0:r;this._selectedIndex!=s&&(this._selectedIndexChanged=!0,this._selectedIndex=s,this._keyManager&&this._keyManager.updateActiveItem(s))}_selectedIndex=0;selectFocusedIndex=new u.bkB;indexFocused=new u.bkB;_sharedResizeObserver=(0,u.WQX)(wv);_injector=(0,u.WQX)(u.zZn);constructor(){this._ngZone.runOutsideAngular(()=>{Ur(this._elementRef.nativeElement,"mouseleave").pipe(Vn(this._destroyed)).subscribe(()=>this._stopInterval())})}ngAfterViewInit(){Ur(this._previousPaginator.nativeElement,"touchstart",Zg).pipe(Vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ur(this._nextPaginator.nativeElement,"touchstart",Zg).pipe(Vn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const r=this._dir?this._dir.change:Vr("ltr"),s=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe($i(32),Vn(this._destroyed)),d=this._viewportRuler.change(150).pipe(Vn(this._destroyed)),g=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new tf(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),(0,u.mal)(g,{injector:this._injector}),ba(r,d,s,this._items.changes,this._itemsResized()).pipe(Vn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),g()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(_=>{this.indexFocused.emit(_),this._setTabFocus(_)})}_itemsResized(){return"function"!=typeof ResizeObserver?ji.w:this._items.changes.pipe(Fa(this._items),function Vg(i,l){return(0,bn.N)((r,s)=>{let d=null,g=0,_=!1;const D=()=>_&&!d&&s.complete();r.subscribe((0,dn._)(s,w=>{d?.unsubscribe();let T=0;const O=g++;un(i(w,O)).subscribe(d=(0,dn._)(s,j=>s.next(l?l(w,j,O,T++):j),()=>{d=null,D()}))},()=>{_=!0,D()}))})}(r=>new vt.c(s=>this._ngZone.runOutsideAngular(()=>{const d=new ResizeObserver(g=>s.next(g));return r.forEach(g=>d.observe(g.elementRef.nativeElement)),()=>{d.disconnect()}}))),lc(1),(0,Bn.p)(r=>r.some(s=>s.contentRect.width>0&&s.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(r){if(!Na(r))switch(r.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const s=this._items.get(this.focusIndex);s&&!s.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(r))}break;default:this._keyManager.onKeydown(r)}}_onContentChanges(){const r=this._elementRef.nativeElement.textContent;r!==this._currentTextContent&&(this._currentTextContent=r||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(r){!this._isValidIndex(r)||this.focusIndex===r||!this._keyManager||this._keyManager.setActiveItem(r)}_isValidIndex(r){return!this._items||!!this._items.toArray()[r]}_setTabFocus(r){if(this._showPaginationControls&&this._scrollToLabel(r),this._items&&this._items.length){this._items.toArray()[r].focus();const s=this._tabListContainer.nativeElement;s.scrollLeft="ltr"==this._getLayoutDirection()?0:s.scrollWidth-s.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const r=this.scrollDistance,s="ltr"===this._getLayoutDirection()?-r:r;this._tabList.nativeElement.style.transform=`translateX(${Math.round(s)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(r){this._scrollTo(r)}_scrollHeader(r){return this._scrollTo(this._scrollDistance+("before"==r?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(r){this._stopInterval(),this._scrollHeader(r)}_scrollToLabel(r){if(this.disablePagination)return;const s=this._items?this._items.toArray()[r]:null;if(!s)return;const d=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:g,offsetWidth:_}=s.elementRef.nativeElement;let D,w;"ltr"==this._getLayoutDirection()?(D=g,w=D+_):(w=this._tabListInner.nativeElement.offsetWidth-g,D=w-_);const T=this.scrollDistance,O=this.scrollDistance+d;DO&&(this.scrollDistance+=Math.min(w-O,D-T))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const d=this._tabListInner.nativeElement.scrollWidth-this._elementRef.nativeElement.offsetWidth>=5;d||(this.scrollDistance=0),d!==this._showPaginationControls&&(this._showPaginationControls=d,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const r=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,s=r?r.elementRef.nativeElement:null;s?this._inkBar.alignToElement(s):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(r,s){s&&null!=s.button&&0!==s.button||(this._stopInterval(),os(650,100).pipe(Vn(ba(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:d,distance:g}=this._scrollHeader(r);(0===g||g>=d)&&this._stopInterval()}))}_scrollTo(r){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const s=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(s,r)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:s,distance:this._scrollDistance}}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[u.GFd]})}return i})(),Xg=(()=>{class i extends tb{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new Qv(this._items),super.ngAfterContentInit()}_itemSelected(r){r.preventDefault()}static \u0275fac=(()=>{let r;return function(d){return(r||(r=u.xGo(i)))(d||i)}})();static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-header"]],contentQueries:function(s,d,g){if(1&s&&u.wni(g,Mc,4),2&s){let _;u.mGM(_=u.lsd())&&(d._items=_)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Rw,7),u.GBs(Pv,7),u.GBs($g,7),u.GBs(Pw,5),u.GBs(Lv,5)),2&s){let g;u.mGM(g=u.lsd())&&(d._tabListContainer=g.first),u.mGM(g=u.lsd())&&(d._tabList=g.first),u.mGM(g=u.lsd())&&(d._tabListInner=g.first),u.mGM(g=u.lsd())&&(d._nextPaginator=g.first),u.mGM(g=u.lsd())&&(d._previousPaginator=g.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(s,d){2&s&&u.AVh("mat-mdc-tab-header-pagination-controls-enabled",d._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==d._getLayoutDirection())},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",u.L39]},features:[u.GFd,u.Vt3],ngContentSelectors:Af,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(s,d){if(1&s){const g=u.RV6();u.NAR(),u.j41(0,"div",5,0),u.bIt("click",function(){return u.eBV(g),u.Njj(d._handlePaginatorClick("before"))})("mousedown",function(D){return u.eBV(g),u.Njj(d._handlePaginatorPress("before",D))})("touchend",function(){return u.eBV(g),u.Njj(d._stopInterval())}),u.nrm(2,"div",6),u.k0s(),u.j41(3,"div",7,1),u.bIt("keydown",function(D){return u.eBV(g),u.Njj(d._handleKeydown(D))}),u.j41(5,"div",8,2),u.bIt("cdkObserveContent",function(){return u.eBV(g),u.Njj(d._onContentChanges())}),u.j41(7,"div",9,3),u.SdG(9),u.k0s()()(),u.j41(10,"div",10,4),u.bIt("mousedown",function(D){return u.eBV(g),u.Njj(d._handlePaginatorPress("after",D))})("click",function(){return u.eBV(g),u.Njj(d._handlePaginatorClick("after"))})("touchend",function(){return u.eBV(g),u.Njj(d._stopInterval())}),u.nrm(12,"div",6),u.k0s()}2&s&&(u.AVh("mat-mdc-tab-header-pagination-disabled",d._disableScrollBefore),u.Y8G("matRippleDisabled",d._disableScrollBefore||d.disableRipple),u.R7$(3),u.AVh("_mat-animation-noopable","NoopAnimations"===d._animationMode),u.R7$(2),u.BMQ("aria-label",d.ariaLabel||null)("aria-labelledby",d.ariaLabelledby||null),u.R7$(5),u.AVh("mat-mdc-tab-header-pagination-disabled",d._disableScrollAfter),u.Y8G("matRippleDisabled",d._disableScrollAfter||d.disableRipple))},dependencies:[ns,Ug],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-sys-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height, 1px);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height, 1px);border-top-color:var(--mat-tab-header-divider-color, var(--mat-sys-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height, 48px)}.mat-mdc-tab::before{margin:5px}@media(forced-colors: active){.mat-mdc-tab[aria-disabled=true]{color:GrayText}}"],encapsulation:2})}return i})();const Vw=new u.nKC("MAT_TABS_CONFIG"),nb={translateTab:(0,Jt.hZ)("translateTab",[(0,Jt.wk)("center, void, left-origin-center, right-origin-center",(0,Jt.iF)({transform:"none",visibility:"visible"})),(0,Jt.wk)("left",(0,Jt.iF)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Jt.wk)("right",(0,Jt.iF)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,Jt.kY)("* => left, * => right, left => center, right => center",(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,Jt.kY)("void => left-origin-center",[(0,Jt.iF)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,Jt.kY)("void => right-origin-center",[(0,Jt.iF)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,Jt.i0)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Bw=(()=>{class i extends Df{_host=(0,u.WQX)(kf);_centeringSub=fn.yU.EMPTY;_leavingSub=fn.yU.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Fa(this._host._isCenterPosition(this._host._position))).subscribe(r=>{this._host._content&&r&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(s){return new(s||i)};static \u0275dir=u.FsC({type:i,selectors:[["","matTabBodyHost",""]],features:[u.Vt3]})}return i})(),kf=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_dir=(0,u.WQX)(Pa,{optional:!0});_positionIndex;_dirChangeSubscription=fn.yU.EMPTY;_position;_translateTabComplete=new We.B;_onCentering=new u.bkB;_beforeCentering=new u.bkB;_afterLeavingCenter=new u.bkB;_onCentered=new u.bkB(!0);_portalHost;_content;origin;animationDuration="500ms";preserveContent=!1;set position(r){this._positionIndex=r,this._computePositionAnimationState()}constructor(){if(this._dir){const r=(0,u.WQX)(u.gRc);this._dirChangeSubscription=this._dir.change.subscribe(s=>{this._computePositionAnimationState(s),r.markForCheck()})}this._translateTabComplete.subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(r){const s=this._isCenterPosition(r.toState);this._beforeCentering.emit(s),s&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(r){return"center"==r||"left-origin-center"==r||"right-origin-center"==r}_computePositionAnimationState(r=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==r?"left":"right":this._positionIndex>0?"ltr"==r?"right":"left":"center"}_computePositionFromOrigin(r){const s=this._getLayoutDirection();return"ltr"==s&&r<=0||"rtl"==s&&r>0?"left-origin-center":"right-origin-center"}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-body"]],viewQuery:function(s,d){if(1&s&&u.GBs(Df,5),2&s){let g;u.mGM(g=u.lsd())&&(d._portalHost=g.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(s,d){if(1&s){const g=u.RV6();u.j41(0,"div",1,0),u.bIt("@translateTab.start",function(D){return u.eBV(g),u.Njj(d._onTranslateTabStarted(D))})("@translateTab.done",function(D){return u.eBV(g),u.Njj(d._translateTabComplete.next(D))}),u.DNE(2,Ic,0,0,"ng-template",2),u.k0s()}2&s&&u.Y8G("@translateTab",u.l_i(3,Ga,d._position,u.eq3(1,Vv,d.animationDuration)))},dependencies:[Bw,Av],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[nb.translateTab]}})}return i})(),Of=(()=>{class i{_elementRef=(0,u.WQX)(u.aKT);_changeDetectorRef=(0,u.WQX)(u.gRc);_animationMode=(0,u.WQX)(u.bc$,{optional:!0});_allTabs;_tabBodyWrapper;_tabHeader;_tabs=new u.rOR;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;_tabsSubscription=fn.yU.EMPTY;_tabLabelSubscription=fn.yU.EMPTY;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(r){this._fitInkBarToContent=r,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(r){this._indexToSelect=isNaN(r)?null:r}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(r){const s=r+"";this._animationDuration=/^\d+$/.test(s)?r+"ms":s}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(r){this._contentTabIndex=isNaN(r)?null:r}_contentTabIndex;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(r){const s=this._elementRef.nativeElement.classList;s.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),r&&s.add("mat-tabs-with-background",`mat-background-${r}`),this._backgroundColor=r}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new u.bkB;focusChange=new u.bkB;animationDone=new u.bkB;selectedTabChange=new u.bkB(!0);_groupId;_isServer=!(0,u.WQX)(tr).isBrowser;constructor(){const r=(0,u.WQX)(Vw,{optional:!0});this._groupId=(0,u.WQX)(bg).getId("mat-tab-group-"),this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,null!=r?.contentTabIndex&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=!(!r||null==r.fitInkBarToContent)&&r.fitInkBarToContent,this.stretchTabs=!r||null==r.stretchTabs||r.stretchTabs,this.alignTabs=r&&null!=r.alignTabs?r.alignTabs:null}ngAfterContentChecked(){const r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){const s=null==this._selectedIndex;if(!s){this.selectedTabChange.emit(this._createChangeEvent(r));const d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((d,g)=>d.isActive=g===r),s||(this.selectedIndexChange.emit(r),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((s,d)=>{s.position=d-r,null!=this._selectedIndex&&0==s.position&&!s.origin&&(s.origin=r-this._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const r=this._clampTabIndex(this._indexToSelect);if(r===this._selectedIndex){const s=this._tabs.toArray();let d;for(let g=0;g{s[r].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(r))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Fa(this._allTabs)).subscribe(r=>{this._tabs.reset(r.filter(s=>s._closestTabGroup===this||!s._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(r){const s=this._tabHeader;s&&(s.focusIndex=r)}_focusChanged(r){this._lastFocusedTabIndex=r,this.focusChange.emit(this._createChangeEvent(r))}_createChangeEvent(r){const s=new rb;return s.index=r,this._tabs&&this._tabs.length&&(s.tab=this._tabs.toArray()[r]),s}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ba(...this._tabs.map(r=>r._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(r){return Math.min(this._tabs.length-1,Math.max(r||0,0))}_getTabLabelId(r){return`${this._groupId}-label-${r}`}_getTabContentId(r){return`${this._groupId}-content-${r}`}_setTabBodyWrapperHeight(r){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;const s=this._tabBodyWrapper.nativeElement;s.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(s.style.height=r+"px")}_removeTabBodyWrapperHeight(){const r=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=r.clientHeight,r.style.height="",this.animationDone.emit()}_handleClick(r,s,d){s.focusIndex=d,r.disabled||(this.selectedIndex=d)}_getTabIndex(r){return r===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(r,s){r&&"mouse"!==r&&"touch"!==r&&(this._tabHeader.focusIndex=s)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["mat-tab-group"]],contentQueries:function(s,d,g){if(1&s&&u.wni(g,Nf,5),2&s){let _;u.mGM(_=u.lsd())&&(d._allTabs=_)}},viewQuery:function(s,d){if(1&s&&(u.GBs(Bv,5),u.GBs(jv,5)),2&s){let g;u.mGM(g=u.lsd())&&(d._tabBodyWrapper=g.first),u.mGM(g=u.lsd())&&(d._tabHeader=g.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(s,d){2&s&&(u.BMQ("mat-align-tabs",d.alignTabs),u.HbH("mat-"+(d.color||"primary")),u.xc7("--mat-tab-animation-duration",d.animationDuration),u.AVh("mat-mdc-tab-group-dynamic-height",d.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===d.headerPosition)("mat-mdc-tab-group-stretch-tabs",d.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",u.L39],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",u.L39],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",u.Udg],disablePagination:[2,"disablePagination","disablePagination",u.L39],disableRipple:[2,"disableRipple","disableRipple",u.L39],preserveContent:[2,"preserveContent","preserveContent",u.L39],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[u.Jv_([{provide:qg,useExisting:i}]),u.GFd],ngContentSelectors:Af,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(s,d){if(1&s){const g=u.RV6();u.NAR(),u.j41(0,"mat-tab-header",3,0),u.bIt("indexFocused",function(D){return u.eBV(g),u.Njj(d._focusChanged(D))})("selectFocusedIndex",function(D){return u.eBV(g),u.Njj(d.selectedIndex=D)}),u.Z7z(2,Gv,8,17,"div",4,u.fX1),u.k0s(),u.DNE(4,zv,1,0),u.j41(5,"div",5,1),u.Z7z(7,Gg,1,13,"mat-tab-body",6,u.fX1),u.k0s()}2&s&&(u.Y8G("selectedIndex",d.selectedIndex||0)("disableRipple",d.disableRipple)("disablePagination",d.disablePagination)("aria-label",d.ariaLabel)("aria-labelledby",d.ariaLabelledby),u.R7$(2),u.Dyx(d._tabs),u.R7$(2),u.vxM(d._isServer?4:-1),u.R7$(),u.AVh("_mat-animation-noopable","NoopAnimations"===d._animationMode),u.R7$(2),u.Dyx(d._tabs))},dependencies:[Xg,Mc,Yi,ns,Df,kf],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height, 48px);font-family:var(--mat-tab-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-sys-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-sys-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-sys-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-sys-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-sys-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height, 2px);border-radius:var(--mdc-tab-indicator-active-indicator-shape, 0)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-sys-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-sys-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-sys-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-sys-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return i})();class rb{index;tab}let Tc=(()=>{class i{static \u0275fac=function(s){return new(s||i)};static \u0275mod=u.$C({type:i});static \u0275inj=u.G2t({imports:[Eg,Eg]})}return i})();const em=["*"];let tm=(()=>{class i{desc;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-sample-section"]],inputs:{desc:"desc"},ngContentSelectors:em,decls:12,vars:2,consts:[[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body"],["label","Markup"],[1,"prettyprint","linenums","lang-html"],["label","TypeScript"],[1,"prettyprint","linenums","lang-js"]],template:function(s,d){1&s&&(u.NAR(),u.SdG(0),u.j41(1,"div",0)(2,"div",1)(3,"mat-tab-group")(4,"mat-tab",2)(5,"div",0)(6,"pre",3),u.EFF(7),u.k0s()()(),u.j41(8,"mat-tab",4)(9,"div",0)(10,"pre",5),u.EFF(11),u.k0s()()()()()()),2&s&&(u.R7$(7),u.JRh(d.desc.html.default),u.R7$(4),u.JRh(d.desc.ts.default))},dependencies:[Tc,Nf,Of],encapsulation:2})}return i})(),Hw=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];ngxControl=new Gt;_ngxDefaultTimeout;_ngxDefaultInterval;_ngxDefault;constructor(){this._ngxDefaultTimeout=setTimeout(()=>{this._ngxDefaultInterval=setInterval(()=>{const r=Math.floor(Math.random()*(this.items.length-1));this._ngxDefault=this.items[r]},2e3)},2e3)}ngOnDestroy(){clearTimeout(this._ngxDefaultTimeout),clearInterval(this._ngxDefaultInterval)}doNgxDefault(){return this._ngxDefault}inputTyped=(r,s)=>console.log("SingleDemoComponent.inputTyped",r,s);doFocus=()=>console.log("SingleDemoComponent.doFocus");doBlur=()=>console.log("SingleDemoComponent.doBlur");doOpen=()=>console.log("SingleDemoComponent.doOpen");doClose=()=>console.log("SingleDemoComponent.doClose");doSelect=r=>console.log("SingleDemoComponent.doSelect",r);doRemove=r=>console.log("SingleDemoComponent.doRemove",r);doSelectOptions=r=>console.log("SingleDemoComponent.doSelectOptions",r);static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-single-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"typed","focus","blur","open","close","select","remove","selectionChanges","formControl","allowClear","defaultValue","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a single city"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.bIt("typed",function(_){return d.inputTyped("ngx-select",_)})("focus",function(){return d.doFocus()})("blur",function(){return d.doBlur()})("open",function(){return d.doOpen()})("close",function(){return d.doClose()})("select",function(_){return d.doSelect(_)})("remove",function(_){return d.doRemove(_)})("selectionChanges",function(_){return d.doSelectOptions(_)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxControl.disabled?d.ngxControl.enable():d.ngxControl.disable()}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("formControl",d.ngxControl)("allowClear",!0)("defaultValue",d.doNgxDefault())("items",d.items),u.R7$(4),u.JRh(u.bMT(9,6,d.ngxControl.value)),u.R7$(4),u.SpI(" ",d.ngxControl.disabled?"Enable":"Disable"," "))},dependencies:[cr,Jo,En,Td,Uo,qo],encapsulation:2})}return i})(),nm=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Leeds","Leipzig","Lisbon","\u0141\xf3d\u017a","London","Krak\xf3w","Madrid","M\xe1laga","Manchester","Marseille","Milan","Munich","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza"];ngxValue=[];ngxDisabled=!1;doSelectOptions=r=>console.log("MultipleDemoComponent.doSelectOptions",r);static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-multiple-demo"]],decls:13,vars:9,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","selectionChanges","multiple","items","disabled","ngModel","autoClearSearch"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select multiple cities"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.bIt("selectionChanges",function(_){return d.doSelectOptions(_)}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("multiple",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.Y8G("autoClearSearch",!0),u.R7$(4),u.JRh(u.bMT(9,7,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,va,Uo,Wo,cr],encapsulation:2})}return i})(),Rf=(()=>{class i{items=[{id:100,text:"Austria",children:[{id:54,text:"Vienna"}]},{id:200,text:"Belgium",children:[{id:2,text:"Antwerp"},{id:9,text:"Brussels"}]},{id:300,text:"Bulgaria",children:[{id:48,text:"Sofia"}]},{id:400,text:"Croatia",children:[{id:58,text:"Zagreb"}]},{id:500,text:"Czech Republic",children:[{id:42,text:"Prague"}]},{id:600,text:"Denmark",children:[{id:13,text:"Copenhagen"}]},{id:700,text:"England",children:[{id:6,text:"Birmingham"},{id:7,text:"Bradford"},{id:26,text:"Leeds",disabled:!0},{id:30,text:"London"},{id:34,text:"Manchester"},{id:47,text:"Sheffield"}]},{id:800,text:"Finland",children:[{id:25,text:"Helsinki"}]},{id:900,text:"France",children:[{id:35,text:"Marseille"},{id:40,text:"Paris"}]},{id:1e3,text:"Germany",children:[{id:5,text:"Berlin"},{id:8,text:"Bremen"},{id:12,text:"Cologne"},{id:14,text:"Dortmund"},{id:15,text:"Dresden"},{id:17,text:"D\xfcsseldorf"},{id:18,text:"Essen"},{id:19,text:"Frankfurt"},{id:23,text:"Hamburg"},{id:24,text:"Hannover"},{id:27,text:"Leipzig"},{id:37,text:"Munich"},{id:50,text:"Stuttgart"}]},{id:1100,text:"Greece",children:[{id:3,text:"Athens"}]},{id:1200,text:"Hungary",children:[{id:11,text:"Budapest"}]},{id:1300,text:"Ireland",children:[{id:16,text:"Dublin"}]},{id:1400,text:"Italy",children:[{id:20,text:"Genoa"},{id:36,text:"Milan"},{id:38,text:"Naples"},{id:39,text:"Palermo"},{id:44,text:"Rome"},{id:52,text:"Turin"}]},{id:1500,text:"Latvia",children:[{id:43,text:"Riga"}]},{id:1600,text:"Lithuania",children:[{id:55,text:"Vilnius"}]},{id:1700,text:"Netherlands",children:[{id:1,text:"Amsterdam"},{id:45,text:"Rotterdam"},{id:51,text:"The Hague"}]},{id:1800,text:"Poland",children:[{id:29,text:"\u0141\xf3d\u017a"},{id:31,text:"Krak\xf3w"},{id:41,text:"Pozna\u0144"},{id:56,text:"Warsaw"},{id:57,text:"Wroc\u0142aw"}]},{id:1900,text:"Portugal",children:[{id:28,text:"Lisbon"}]},{id:2e3,text:"Romania",children:[{id:10,text:"Bucharest"}]},{id:2100,text:"Scotland",children:[{id:21,text:"Glasgow"}]},{id:2200,text:"Spain",children:[{id:4,text:"Barcelona"},{id:32,text:"Madrid"},{id:33,text:"M\xe1laga"},{id:46,text:"Seville"},{id:53,text:"Valencia"},{id:59,text:"Zaragoza"}]},{id:2300,text:"Sweden",children:[{id:22,text:"Gothenburg"},{id:49,text:"Stockholm"}]}];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-children-demo"]],decls:13,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","id","optionTextField","text","optGroupLabelField","text","optGroupOptionsField","children","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a city by country"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("allowClear",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(4),u.JRh(u.bMT(9,6,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,va,Uo,Wo,cr],encapsulation:2})}return i})();function rm(i,l){if(1&i&&(u.nrm(0,"span",7)(1,"span",8),u.EFF(2)),2&i){const r=l.$implicit,s=l.text,d=u.XpG();u.Aen(d.style("background-color:"+r.value)),u.R7$(),u.Y8G("innerHtml",s,u.npT),u.R7$(),u.SpI(" (",r.data.hex,") ")}}function xc(i,l){1&i&&u.EFF(0),2&i&&u.SpI(' "',l.$implicit,'" not found ')}const Uw=[{name:"Blue 10",hex:"#C0E6FF"},{name:"Blue 20",hex:"#7CC7FF"},{name:"Blue 30",hex:"#5AAAFA",disabled:!0},{name:"Blue 40",hex:"#5596E6"},{name:"Blue 50",hex:"#4178BE"},{name:"Blue 60",hex:"#325C80"},{name:"Blue 70",hex:"#264A60"},{name:"Blue 80",hex:"#1D3649"},{name:"Blue 90",hex:"#152935"},{name:"Blue 100",hex:"#010205"},{name:"Green 10",hex:"#C8F08F"},{name:"Green 20",hex:"#B4E051"},{name:"Green 30",hex:"#8CD211"},{name:"Green 40",hex:"#5AA700"},{name:"Green 50",hex:"#4B8400"},{name:"Green 60",hex:"#2D660A"},{name:"Green 70",hex:"#144D14"},{name:"Green 80",hex:"#0A3C02"},{name:"Green 90",hex:"#0C2808"},{name:"Green 100",hex:"#010200"},{name:"Red 10",hex:"#FFD2DD"},{name:"Red 20",hex:"#FFA5B4"},{name:"Red 30",hex:"#FF7D87"},{name:"Red 40",hex:"#FF5050"},{name:"Red 50",hex:"#E71D32"},{name:"Red 60",hex:"#AD1625"},{name:"Red 70",hex:"#8C101C"},{name:"Red 80",hex:"#6E0A1E"},{name:"Red 90",hex:"#4C0A17"},{name:"Red 100",hex:"#040001"},{name:"Yellow 10",hex:"#FDE876"},{name:"Yellow 20",hex:"#FDD600"},{name:"Yellow 30",hex:"#EFC100"},{name:"Yellow 40",hex:"#BE9B00"},{name:"Yellow 50",hex:"#8C7300"},{name:"Yellow 60",hex:"#735F00"},{name:"Yellow 70",hex:"#574A00"},{name:"Yellow 80",hex:"#3C3200"},{name:"Yellow 90",hex:"#281E00"},{name:"Yellow 100",hex:"#020100"}];let om=(()=>{class i{sanitizer;items=Uw;ngxValue=[];ngxDisabled=!1;constructor(r){this.sanitizer=r}style(r){return this.sanitizer.bypassSecurityTrustStyle(r)}static \u0275fac=function(s){return new(s||i)(u.rXU(_l))};static \u0275cmp=u.VBU({type:i,selectors:[["app-rich-demo"]],decls:15,vars:8,consts:[[1,"example-block"],[1,"example-block__item"],["optionValueField","hex","optionTextField","name","placeholder","No city selected",3,"ngModelChange","allowClear","items","disabled","ngModel"],["ngx-select-option","","ngx-select-option-selected",""],["ngx-select-option-not-found",""],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"],[1,"color-box"],[3,"innerHtml"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Select a color"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.DNE(5,rm,3,4,"ng-template",3)(6,xc,1,1,"ng-template",4),u.k0s(),u.nrm(7,"p"),u.j41(8,"div",5)(9,"pre"),u.EFF(10),u.nI1(11,"json"),u.k0s()(),u.j41(12,"div")(13,"button",6),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(14),u.k0s()()()()),2&s&&(u.R7$(4),u.Y8G("allowClear",!0)("items",d.items)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(6),u.JRh(u.bMT(11,6,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,jd,Gp,Hd,va,Uo,Wo,cr],styles:[".color-box{display:inline-block;height:14px;width:14px;margin-right:4px;border:1px solid #000}\n"],encapsulation:2})}return i})(),ib=(()=>{class i{_items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen","Dortmund","Dresden","Dublin","D\xfcsseldorf","Essen","Frankfurt","Genoa","Glasgow","Gothenburg","Hamburg","Hannover","Helsinki","Krak\xf3w","Leeds","Leipzig","Lisbon","London","Madrid","Manchester","Marseille","Milan","Munich","M\xe1laga","Naples","Palermo","Paris","Pozna\u0144","Prague","Riga","Rome","Rotterdam","Seville","Sheffield","Sofia","Stockholm","Stuttgart","The Hague","Turin","Valencia","Vienna","Vilnius","Warsaw","Wroc\u0142aw","Zagreb","Zaragoza","\u0141\xf3d\u017a"];constructor(){const r=[];for(let s=1;s<=20;s++)this._items.forEach(d=>r.push(s+" "+d));this.items=r}items=[];ngxValue=[];ngxDisabled=!1;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-no-autocomplete-demo"]],decls:13,vars:10,consts:[[1,"example-block"],[1,"example-block__item"],["placeholder","No city selected",3,"ngModelChange","allowClear","items","noAutoComplete","disabled","ngModel"],[1,"alert","alert-secondary"],[1,"btn","btn-primary",3,"click"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"ngx-select",2),u.mxI("ngModelChange",function(_){return u.DH7(d.ngxValue,_)||(d.ngxValue=_),_}),u.k0s(),u.nrm(5,"p"),u.j41(6,"div",3)(7,"pre"),u.EFF(8),u.nI1(9,"json"),u.k0s()(),u.j41(10,"div")(11,"button",4),u.bIt("click",function(){return d.ngxDisabled=!d.ngxDisabled}),u.EFF(12),u.k0s()()()()),2&s&&(u.R7$(),u.SpI("Select a single city with ",d.items.length," items"),u.R7$(3),u.Y8G("allowClear",!0)("items",d.items)("noAutoComplete",!0)("disabled",d.ngxDisabled),u.R50("ngModel",d.ngxValue),u.R7$(4),u.JRh(u.bMT(9,8,d.ngxValue)),u.R7$(4),u.SpI(" ",d.ngxDisabled?"Enable":"Disable"," "))},dependencies:[Jo,En,va,Uo,Wo,cr],encapsulation:2})}return i})(),$w=(()=>{class i{items=["Amsterdam","Antwerp","Athens","Barcelona","Berlin","Birmingham","Bradford","Bremen","Brussels","Bucharest","Budapest","Cologne","Copenhagen"];ngxControl1=new Gt;ngxControl2=new Gt;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-append-to-demo"]],decls:33,vars:12,consts:[[1,"example-block"],[1,"example-block__item"],[1,"card",2,"display","block","overflow","scroll","height","300px"],[2,"width","800px","height","800px","padding","200px"],[2,"padding","50px","overflow","hidden","border","1px solid black"],["placeholder","No city selected",3,"formControl","items"],[1,"alert","alert-secondary"],["type","button",1,"btn","btn-primary",3,"click"],["id","scrollable",1,"card",2,"display","block","overflow","scroll","height","300px"],["placeholder","No city selected","appendTo","#scrollable",3,"formControl","items"]],template:function(s,d){1&s&&(u.j41(0,"h3"),u.EFF(1,"Container with fixed height and hidden overflow"),u.k0s(),u.j41(2,"div",0)(3,"div",1)(4,"p"),u.EFF(5,"Default"),u.k0s(),u.j41(6,"div",2)(7,"div",3)(8,"div",4),u.nrm(9,"ngx-select",5),u.k0s()()(),u.nrm(10,"p"),u.j41(11,"div",6)(12,"pre"),u.EFF(13),u.nI1(14,"json"),u.k0s()(),u.j41(15,"div")(16,"button",7),u.bIt("click",function(){return d.ngxControl1.disabled?d.ngxControl1.enable():d.ngxControl1.disable()}),u.EFF(17),u.k0s()()(),u.j41(18,"div",1)(19,"p"),u.EFF(20,"Appended to scrollable"),u.k0s(),u.j41(21,"div",8)(22,"div",3)(23,"div",4),u.nrm(24,"ngx-select",9),u.k0s()()(),u.nrm(25,"p"),u.j41(26,"div",6)(27,"pre"),u.EFF(28),u.nI1(29,"json"),u.k0s()(),u.j41(30,"div")(31,"button",7),u.bIt("click",function(){return d.ngxControl2.disabled?d.ngxControl2.enable():d.ngxControl2.disable()}),u.EFF(32),u.k0s()()()()),2&s&&(u.R7$(9),u.Y8G("formControl",d.ngxControl1)("items",d.items),u.R7$(4),u.JRh(u.bMT(14,8,d.ngxControl1.value)),u.R7$(4),u.SpI(" ",d.ngxControl1.disabled?"Enable":"Disable"," "),u.R7$(7),u.Y8G("formControl",d.ngxControl2)("items",d.items),u.R7$(4),u.JRh(u.bMT(29,10,d.ngxControl2.value)),u.R7$(4),u.SpI(" ",d.ngxControl2.disabled?"Enable":"Disable"," "))},dependencies:[Jo,En,Td,Uo,qo,cr],encapsulation:2})}return i})();const sb=x(414).A,ab={single:{heading:"Single",ts:x(249),html:x(205)},multiple:{heading:"Multiple",ts:x(545),html:x(125)},children:{heading:"Children",ts:x(224),html:x(96)},rich:{heading:"Rich",ts:x(379),html:x(499)},noAutoComplete:{heading:"noAutoComplete",ts:x(203),html:x(3)},appendTo:{heading:"appendTo",ts:x(607),html:x(175)}};let im=(()=>{class i{currentHeading="Single";tabDesc=ab;doc=sb;static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-select-section"]],decls:24,vars:7,consts:[["label","Single"],[3,"desc"],["label","Multiple"],["label","Children"],["label","Rich"],["label","No autocomplete"],["label","Append to element"],[1,"card","card-block","panel","panel-default","panel-body"],[1,"card-body","doc-api",3,"innerHTML"]],template:function(s,d){1&s&&(u.j41(0,"section")(1,"mat-tab-group")(2,"mat-tab",0)(3,"app-sample-section",1),u.nrm(4,"app-single-demo"),u.k0s()(),u.j41(5,"mat-tab",2)(6,"app-sample-section",1),u.nrm(7,"app-multiple-demo"),u.k0s()(),u.j41(8,"mat-tab",3)(9,"app-sample-section",1),u.nrm(10,"app-children-demo"),u.k0s()(),u.j41(11,"mat-tab",4)(12,"app-sample-section",1),u.nrm(13,"app-rich-demo"),u.k0s()(),u.j41(14,"mat-tab",5)(15,"app-sample-section",1),u.nrm(16,"app-no-autocomplete-demo"),u.k0s()(),u.j41(17,"mat-tab",6)(18,"app-sample-section",1),u.nrm(19,"app-append-to-demo"),u.k0s()()(),u.j41(20,"h2"),u.EFF(21,"Documentation"),u.k0s(),u.j41(22,"div",7),u.nrm(23,"div",8),u.k0s()()),2&s&&(u.R7$(3),u.Y8G("desc",d.tabDesc.single),u.R7$(3),u.Y8G("desc",d.tabDesc.multiple),u.R7$(3),u.Y8G("desc",d.tabDesc.children),u.R7$(3),u.Y8G("desc",d.tabDesc.rich),u.R7$(3),u.Y8G("desc",d.tabDesc.noAutoComplete),u.R7$(3),u.Y8G("desc",d.tabDesc.appendTo),u.R7$(5),u.Y8G("innerHTML",d.doc,u.npT))},dependencies:[Tc,Nf,Of,tm,Hw,nm,Rf,om,ib,$w],styles:["[_nghost-%COMP%]{display:block}"]})}return i})();const Mn=x(330),Sc=x(48).A;(function nC(i,l){return(0,u.TL3)({rootComponent:i,...t_(l)})})((()=>{class i{gettingStarted=Sc;p=Mn;ngAfterContentInit(){setTimeout(()=>{},150)}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=u.VBU({type:i,selectors:[["app-root"]],decls:33,vars:2,consts:[[1,"bd-pageheader"],[1,"container"],["href","https://getbootstrap.com/docs/3.3/","target","_blank",1,"badge","badge-light"],["href","https://getbootstrap.com/","target","_blank",1,"badge","badge-light"],["href","https://github.com/optimistex/ngx-select-ex",1,"btn","btn-primary"],[1,"row"],[1,"col-lg-1"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=star&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["src",u.wXG`https://ghbtns.com/github-btn.html?user=optimistex&repo=ngx-select-ex&type=fork&count=true`,"frameborder","0","scrolling","0","width","170px","height","20px"],["id","getting-started",3,"innerHtml"],[1,"footer"],[1,"text-muted","text-center"],["href","https://github.com/optimistex/ngx-select-ex"],["href","https://github.com/optimistex"]],template:function(s,d){1&s&&(u.j41(0,"main",0)(1,"div",1)(2,"h1"),u.EFF(3),u.k0s(),u.j41(4,"p"),u.EFF(5,"Native Angular component for Select"),u.k0s(),u.j41(6,"p"),u.EFF(7," Compatible with "),u.j41(8,"a",2),u.EFF(9,"Bootstrap 3"),u.k0s(),u.EFF(10," and "),u.j41(11,"b")(12,"a",3),u.EFF(13,"Bootstrap 4"),u.k0s()()(),u.j41(14,"a",4),u.EFF(15,"View on GitHub"),u.k0s(),u.j41(16,"div",5)(17,"div",6),u.nrm(18,"iframe",7),u.k0s(),u.j41(19,"div",6),u.nrm(20,"iframe",8),u.k0s()()()(),u.j41(21,"div",1),u.nrm(22,"section",9)(23,"app-select-section"),u.k0s(),u.j41(24,"footer",10)(25,"div",1)(26,"p",11)(27,"a",12),u.EFF(28,"ngx-select-ex"),u.k0s(),u.EFF(29," is maintained by "),u.j41(30,"a",13),u.EFF(31,"optimistex"),u.k0s(),u.EFF(32,"."),u.k0s()()()),2&s&&(u.R7$(3),u.SpI("ngx-select-ex v",null==d.p?null:d.p.version,""),u.R7$(19),u.Y8G("innerHtml",d.gettingStarted,u.npT))},dependencies:[Jo,im],encapsulation:2})}return i})(),ku).catch(i=>console.error(i))},667:(he,U,x)=>{he=x.nmd(he);var K="__lodash_hash_undefined__",G=9007199254740991,be="[object Arguments]",Q="[object Array]",ve="[object Boolean]",Y="[object Date]",B="[object Error]",pe="[object Function]",ae="[object Map]",xt="[object Number]",Te="[object Object]",jt="[object Promise]",lt="[object RegExp]",xe="[object Set]",te="[object String]",mt="[object WeakMap]",He="[object ArrayBuffer]",L="[object DataView]",hi=/^\[object .+?Constructor\]$/,Cr=/^(?:0|[1-9]\d*)$/,Ue={};Ue["[object Float32Array]"]=Ue["[object Float64Array]"]=Ue["[object Int8Array]"]=Ue["[object Int16Array]"]=Ue["[object Int32Array]"]=Ue["[object Uint8Array]"]=Ue["[object Uint8ClampedArray]"]=Ue["[object Uint16Array]"]=Ue["[object Uint32Array]"]=!0,Ue[be]=Ue[Q]=Ue[He]=Ue[ve]=Ue[L]=Ue[Y]=Ue[B]=Ue[pe]=Ue[ae]=Ue[xt]=Ue[Te]=Ue[lt]=Ue[xe]=Ue[te]=Ue[mt]=!1;var tn="object"==typeof global&&global&&global.Object===Object&&global,Xa="object"==typeof self&&self&&self.Object===Object&&self,$n=tn||Xa||Function("return this")(),ru=U&&!U.nodeType&&U,ih=ru&&he&&!he.nodeType&&he,ps=ih&&ih.exports===ru,gs=ps&&tn.process,ms=function(){try{return gs&&gs.binding&&gs.binding("util")}catch{}}(),pi=ms&&ms.isTypedArray;function nn(b,I){for(var k=-1,X=null==b?0:b.length;++kot))return!1;var Ze=ge.get(b);if(Ze&&ge.get(I))return Ze==I;var rn=-1,mn=!0,ct=2&k?new St:void 0;for(ge.set(b,I),ge.set(I,b);++rn-1},Fn.prototype.set=function ch(b,I){var k=this.__data__,X=Yr(k,b);return X<0?(++this.size,k.push([b,I])):k[X][1]=I,this},Xr.prototype.clear=function uh(){this.size=0,this.__data__={hash:new Nn,map:new(zt||Fn),string:new Nn}},Xr.prototype.delete=function Cs(b){var I=Ir(this,b).delete(b);return this.size-=I?1:0,I},Xr.prototype.get=function el(b){return Ir(this,b).get(b)},Xr.prototype.has=function tl(b){return Ir(this,b).has(b)},Xr.prototype.set=function dh(b,I){var k=Ir(this,b),X=k.size;return k.set(b,I),this.size+=k.size==X?0:1,this},St.prototype.add=St.prototype.push=function ie(b){return this.__data__.set(b,K),this},St.prototype.has=function nl(b){return this.__data__.has(b)},ar.prototype.clear=function du(){this.__data__=new Fn,this.size=0},ar.prototype.delete=function fh(b){var I=this.__data__,k=I.delete(b);return this.size=I.size,k},ar.prototype.get=function fu(b){return this.__data__.get(b)},ar.prototype.has=function Oe(b){return this.__data__.has(b)},ar.prototype.set=function hu(b,I){var k=this.__data__;if(k instanceof Fn){var X=k.__data__;if(!zt||X.length<199)return X.push([b,I]),this.size=++k.size,this;k=this.__data__=new Xr(X)}return k.set(b,I),this.size=k.size,this};var ph=Zr?function(b){return null==b?[]:(b=Object(b),function ou(b,I){for(var k=-1,X=null==b?0:b.length,Ye=0,ge=[];++k-1&&b%1==0&&b-1&&b%1==0&&b<=G}function cr(b){var I=typeof b;return null!=b&&("object"==I||"function"==I)}function vi(b){return null!=b&&"object"==typeof b}var sl=pi?function _s(b){return function(I){return b(I)}}(pi):function rl(b){return vi(b)&&il(b.length)&&!!Ue[Jr(b)]};function bi(b){return function ol(b){return null!=b&&il(b.length)&&!gu(b)}(b)?function xo(b,I){var k=lr(b),X=!k&&Kn(b),Ye=!k&&!X&&ue(b),ge=!k&&!X&&!Ye&&sl(b),qe=k||X||Ye||ge,ot=qe?function Eo(b,I){for(var k=-1,X=Array(b);++k{"use strict";x.d(U,{t:()=>K});var u=x(413);class K extends u.B{constructor($){super(),this._value=$}get value(){return this.getValue()}_subscribe($){const G=super._subscribe($);return!G.closed&&$.next(this._value),G}getValue(){const{hasError:$,thrownError:G,_value:be}=this;if($)throw G;return this._throwIfClosed(),be}next($){super.next(this._value=$)}}},226:(he,U,x)=>{"use strict";x.d(U,{c:()=>Y});var u=x(707),K=x(359),se=x(494),$=x(669);var Q=x(26),q=x(71),ve=x(786);let Y=(()=>{class ae{constructor(Be){Be&&(this._subscribe=Be)}lift(Be){const Te=new ae;return Te.source=this,Te.operator=Be,Te}subscribe(Be,Te,jt){const gt=function Ct(ae){return ae&&ae instanceof u.vU||function pe(ae){return ae&&(0,q.T)(ae.next)&&(0,q.T)(ae.error)&&(0,q.T)(ae.complete)}(ae)&&(0,K.Uv)(ae)}(Be)?Be:new u.Ms(Be,Te,jt);return(0,ve.Y)(()=>{const{operator:lt,source:xe}=this;gt.add(lt?lt.call(gt,xe):xe?this._subscribe(gt):this._trySubscribe(gt))}),gt}_trySubscribe(Be){try{return this._subscribe(Be)}catch(Te){Be.error(Te)}}forEach(Be,Te){return new(Te=B(Te))((jt,gt)=>{const lt=new u.Ms({next:xe=>{try{Be(xe)}catch(te){gt(te),lt.unsubscribe()}},error:gt,complete:jt});this.subscribe(lt)})}_subscribe(Be){var Te;return null===(Te=this.source)||void 0===Te?void 0:Te.subscribe(Be)}[se.s](){return this}pipe(...Be){return function be(ae){return 0===ae.length?$.D:1===ae.length?ae[0]:function(Be){return ae.reduce((Te,jt)=>jt(Te),Be)}}(Be)(this)}toPromise(Be){return new(Be=B(Be))((Te,jt)=>{let gt;this.subscribe(lt=>gt=lt,lt=>jt(lt),()=>Te(gt))})}}return ae.create=xt=>new ae(xt),ae})();function B(ae){var xt;return null!==(xt=ae??Q.$.Promise)&&void 0!==xt?xt:Promise}},413:(he,U,x)=>{"use strict";x.d(U,{B:()=>Q});var u=x(226),K=x(359);const $=(0,x(853).L)(ve=>function(){ve(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var G=x(908),be=x(786);let Q=(()=>{class ve extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(B){const pe=new q(this,this);return pe.operator=B,pe}_throwIfClosed(){if(this.closed)throw new $}next(B){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const pe of this.currentObservers)pe.next(B)}})}error(B){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=B;const{observers:pe}=this;for(;pe.length;)pe.shift().error(B)}})}complete(){(0,be.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:B}=this;for(;B.length;)B.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var B;return(null===(B=this.observers)||void 0===B?void 0:B.length)>0}_trySubscribe(B){return this._throwIfClosed(),super._trySubscribe(B)}_subscribe(B){return this._throwIfClosed(),this._checkFinalizedStatuses(B),this._innerSubscribe(B)}_innerSubscribe(B){const{hasError:pe,isStopped:Ct,observers:ae}=this;return pe||Ct?K.Kn:(this.currentObservers=null,ae.push(B),new K.yU(()=>{this.currentObservers=null,(0,G.o)(ae,B)}))}_checkFinalizedStatuses(B){const{hasError:pe,thrownError:Ct,isStopped:ae}=this;pe?B.error(Ct):ae&&B.complete()}asObservable(){const B=new u.c;return B.source=this,B}}return ve.create=(Y,B)=>new q(Y,B),ve})();class q extends Q{constructor(Y,B){super(),this.destination=Y,this.source=B}next(Y){var B,pe;null===(pe=null===(B=this.destination)||void 0===B?void 0:B.next)||void 0===pe||pe.call(B,Y)}error(Y){var B,pe;null===(pe=null===(B=this.destination)||void 0===B?void 0:B.error)||void 0===pe||pe.call(B,Y)}complete(){var Y,B;null===(B=null===(Y=this.destination)||void 0===Y?void 0:Y.complete)||void 0===B||B.call(Y)}_subscribe(Y){var B,pe;return null!==(pe=null===(B=this.source)||void 0===B?void 0:B.subscribe(Y))&&void 0!==pe?pe:K.Kn}}},707:(he,U,x)=>{"use strict";x.d(U,{Ms:()=>Be,vU:()=>pe});var u=x(71),K=x(359),se=x(26),$=x(334),G=x(343);const be=ve("C",void 0,void 0);function ve(xe,te,ze){return{kind:xe,value:te,error:ze}}var Y=x(270),B=x(786);class pe extends K.yU{constructor(te){super(),this.isStopped=!1,te?(this.destination=te,(0,K.Uv)(te)&&te.add(this)):this.destination=lt}static create(te,ze,Et){return new Be(te,ze,Et)}next(te){this.isStopped?gt(function q(xe){return ve("N",xe,void 0)}(te),this):this._next(te)}error(te){this.isStopped?gt(function Q(xe){return ve("E",void 0,xe)}(te),this):(this.isStopped=!0,this._error(te))}complete(){this.isStopped?gt(be,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(te){this.destination.next(te)}_error(te){try{this.destination.error(te)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ct=Function.prototype.bind;function ae(xe,te){return Ct.call(xe,te)}class xt{constructor(te){this.partialObserver=te}next(te){const{partialObserver:ze}=this;if(ze.next)try{ze.next(te)}catch(Et){Te(Et)}}error(te){const{partialObserver:ze}=this;if(ze.error)try{ze.error(te)}catch(Et){Te(Et)}else Te(te)}complete(){const{partialObserver:te}=this;if(te.complete)try{te.complete()}catch(ze){Te(ze)}}}class Be extends pe{constructor(te,ze,Et){let mt;if(super(),(0,u.T)(te)||!te)mt={next:te??void 0,error:ze??void 0,complete:Et??void 0};else{let He;this&&se.$.useDeprecatedNextContext?(He=Object.create(te),He.unsubscribe=()=>this.unsubscribe(),mt={next:te.next&&ae(te.next,He),error:te.error&&ae(te.error,He),complete:te.complete&&ae(te.complete,He)}):mt=te}this.destination=new xt(mt)}}function Te(xe){se.$.useDeprecatedSynchronousErrorHandling?(0,B.l)(xe):(0,$.m)(xe)}function gt(xe,te){const{onStoppedNotification:ze}=se.$;ze&&Y.f.setTimeout(()=>ze(xe,te))}const lt={closed:!0,next:G.l,error:function jt(xe){throw xe},complete:G.l}},359:(he,U,x)=>{"use strict";x.d(U,{Kn:()=>be,yU:()=>G,Uv:()=>Q});var u=x(71);const se=(0,x(853).L)(ve=>function(B){ve(this),this.message=B?`${B.length} errors occurred during unsubscription:\n${B.map((pe,Ct)=>`${Ct+1}) ${pe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=B});var $=x(908);class G{constructor(Y){this.initialTeardown=Y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let Y;if(!this.closed){this.closed=!0;const{_parentage:B}=this;if(B)if(this._parentage=null,Array.isArray(B))for(const ae of B)ae.remove(this);else B.remove(this);const{initialTeardown:pe}=this;if((0,u.T)(pe))try{pe()}catch(ae){Y=ae instanceof se?ae.errors:[ae]}const{_finalizers:Ct}=this;if(Ct){this._finalizers=null;for(const ae of Ct)try{q(ae)}catch(xt){Y=Y??[],xt instanceof se?Y=[...Y,...xt.errors]:Y.push(xt)}}if(Y)throw new se(Y)}}add(Y){var B;if(Y&&Y!==this)if(this.closed)q(Y);else{if(Y instanceof G){if(Y.closed||Y._hasParent(this))return;Y._addParent(this)}(this._finalizers=null!==(B=this._finalizers)&&void 0!==B?B:[]).push(Y)}}_hasParent(Y){const{_parentage:B}=this;return B===Y||Array.isArray(B)&&B.includes(Y)}_addParent(Y){const{_parentage:B}=this;this._parentage=Array.isArray(B)?(B.push(Y),B):B?[B,Y]:Y}_removeParent(Y){const{_parentage:B}=this;B===Y?this._parentage=null:Array.isArray(B)&&(0,$.o)(B,Y)}remove(Y){const{_finalizers:B}=this;B&&(0,$.o)(B,Y),Y instanceof G&&Y._removeParent(this)}}G.EMPTY=(()=>{const ve=new G;return ve.closed=!0,ve})();const be=G.EMPTY;function Q(ve){return ve instanceof G||ve&&"closed"in ve&&(0,u.T)(ve.remove)&&(0,u.T)(ve.add)&&(0,u.T)(ve.unsubscribe)}function q(ve){(0,u.T)(ve)?ve():ve.unsubscribe()}},26:(he,U,x)=>{"use strict";x.d(U,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},983:(he,U,x)=>{"use strict";x.d(U,{w:()=>K});const K=new(x(226).c)(G=>G.complete())},360:(he,U,x)=>{"use strict";x.d(U,{_:()=>K});var u=x(707);function K($,G,be,Q,q){return new se($,G,be,Q,q)}class se extends u.vU{constructor(G,be,Q,q,ve,Y){super(G),this.onFinalize=ve,this.shouldUnsubscribe=Y,this._next=be?function(B){try{be(B)}catch(pe){G.error(pe)}}:super._next,this._error=q?function(B){try{q(B)}catch(pe){G.error(pe)}finally{this.unsubscribe()}}:super._error,this._complete=Q?function(){try{Q()}catch(B){G.error(B)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var G;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:be}=this;super.unsubscribe(),!be&&(null===(G=this.onFinalize)||void 0===G||G.call(this))}}}},964:(he,U,x)=>{"use strict";x.d(U,{p:()=>se});var u=x(974),K=x(360);function se($,G){return(0,u.N)((be,Q)=>{let q=0;be.subscribe((0,K._)(Q,ve=>$.call(G,ve,q++)&&Q.next(ve)))})}},354:(he,U,x)=>{"use strict";x.d(U,{T:()=>se});var u=x(974),K=x(360);function se($,G){return(0,u.N)((be,Q)=>{let q=0;be.subscribe((0,K._)(Q,ve=>{Q.next($.call(G,ve,q++))}))})}},697:(he,U,x)=>{"use strict";x.d(U,{s:()=>$});var u=x(983),K=x(974),se=x(360);function $(G){return G<=0?()=>u.w:(0,K.N)((be,Q)=>{let q=0;be.subscribe((0,se._)(Q,ve=>{++q<=G&&(Q.next(ve),G<=q&&Q.complete())}))})}},270:(he,U,x)=>{"use strict";x.d(U,{f:()=>u});const u={setTimeout(K,se,...$){const{delegate:G}=u;return G?.setTimeout?G.setTimeout(K,se,...$):setTimeout(K,se,...$)},clearTimeout(K){const{delegate:se}=u;return(se?.clearTimeout||clearTimeout)(K)},delegate:void 0}},494:(he,U,x)=>{"use strict";x.d(U,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},908:(he,U,x)=>{"use strict";function u(K,se){if(K){const $=K.indexOf(se);0<=$&&K.splice($,1)}}x.d(U,{o:()=>u})},853:(he,U,x)=>{"use strict";function u(K){const $=K(G=>{Error.call(G),G.stack=(new Error).stack});return $.prototype=Object.create(Error.prototype),$.prototype.constructor=$,$}x.d(U,{L:()=>u})},786:(he,U,x)=>{"use strict";x.d(U,{Y:()=>se,l:()=>$});var u=x(26);let K=null;function se(G){if(u.$.useDeprecatedSynchronousErrorHandling){const be=!K;if(be&&(K={errorThrown:!1,error:null}),G(),be){const{errorThrown:Q,error:q}=K;if(K=null,Q)throw q}}else G()}function $(G){u.$.useDeprecatedSynchronousErrorHandling&&K&&(K.errorThrown=!0,K.error=G)}},669:(he,U,x)=>{"use strict";function u(K){return K}x.d(U,{D:()=>u})},71:(he,U,x)=>{"use strict";function u(K){return"function"==typeof K}x.d(U,{T:()=>u})},974:(he,U,x)=>{"use strict";x.d(U,{N:()=>se});var u=x(71);function se($){return G=>{if(function K($){return(0,u.T)($?.lift)}(G))return G.lift(function(be){try{return $(be,this)}catch(Q){this.error(Q)}});throw new TypeError("Unable to lift unknown Observable type")}}},343:(he,U,x)=>{"use strict";function u(){}x.d(U,{l:()=>u})},334:(he,U,x)=>{"use strict";x.d(U,{m:()=>se});var u=x(26),K=x(270);function se($){K.f.setTimeout(()=>{const{onUnhandledError:G}=u.$;if(!G)throw $;G($)})}},414:(he,U,x)=>{"use strict";x.d(U,{A:()=>K});const K='

Usage

  1. Install ngx-select-ex through npm package manager using the following command:

    npm i ngx-select-ex --save\n
  2. Add NgxSelectModule into your AppModule class. app.module.ts would look like this:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule } from 'ngx-select-ex';\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n

    If you want to change the default options then use next code:

    import {NgModule} from '@angular/core';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {AppComponent} from './app.component';\nimport { NgxSelectModule, INgxSelectOptions } from 'ngx-select-ex';\n\nconst CustomSelectOptions: INgxSelectOptions = { // Check the interface for more options\n    optionValueField: 'id',\n    optionTextField: 'name'\n};\n\n@NgModule({\n  imports: [BrowserModule, NgxSelectModule.forRoot(CustomSelectOptions)],\n  declarations: [AppComponent],\n  bootstrap: [AppComponent],\n})\nexport class AppModule {\n}\n
  3. Include Bootstrap styles. For example add to your index.html

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">\n
  4. Add the tag <ngx-select> into some html

    <ngx-select [items]="items" [(ngModel)]="itemId"></ngx-select>\n
  5. More information regarding of using ngx-select-ex is located in demo.

API

Any item can be disabled for prevent selection. For disable an item add the property disabled to the item.

Input Type Default Description
[items] any[] [] Items array. Should be an array of objects with id and text properties. As convenience, you may also pass an array of strings, in which case the same string is used for both the ID and the text. Items may be nested by adding a options property to any item, whose value should be another array of items. Items that have children may omit to have an ID.
optionValueField string 'id' Provide an opportunity to change the name an id property of objects in the items
optionTextField string 'text' Provide an opportunity to change the name a text property of objects in the items
optGroupLabelField string 'label' Provide an opportunity to change the name a label property of objects with an options property in the items
optGroupOptionsField string 'options' Provide an opportunity to change the name of an options property of objects in the items
[multiple] boolean false Mode of this component. If set true user can select more than one option
[allowClear] boolean false Set to true to allow the selection to be cleared. This option only applies to single-value inputs
[placeholder] string '' Set to true Placeholder text to display when the element has no focus and selected items
[noAutoComplete] boolean false Set to true to hide the search input. This option only applies to single-value inputs
[keepSelectedItems] boolean false Storing the selected items when the item list is changed
[disabled] boolean false When true, it specifies that the component should be disabled
[defaultValue] any[] [] Use to set default value
autoSelectSingleOption boolean false Auto select a non disabled single option
autoClearSearch boolean false Auto clear a search text after select an option. Has effect for multiple = true
noResultsFound string 'No results found' The default text showed when a search has no results
size 'small'/'default'/'large' 'default' Adding bootstrap classes: form-control-sm, input-sm, form-control-lg input-lg, btn-sm, btn-lg
searchCallback (search: string, item: INgxSelectOption) => boolean null The callback function for custom filtering the select list
autoActiveOnMouseEnter boolean true Automatically activate item when mouse enter on it
isFocused boolean false Makes the component focused
keepSelectMenuOpened boolean false Keeps the select menu opened
autocomplete string 'off' Sets an autocomplete value for the input field
dropDownMenuOtherClasses string '' Add css classes to the element with dropdown-menu class. For example dropdown-menu-right
showOptionNotFoundForEmptyItems boolean false Shows the "Not Found" menu option in case of out of items at all
noSanitize boolean false Disables auto mark an HTML as safe. Turn it on for safety from XSS if you render untrusted content in the options
appendTo string null Append dropdown menu to any element using css selector
Output Description
(typed) Fired on changing search input. Returns string with that value.
(focus) Fired on select focus
(blur) Fired on select blur
(open) Fired on select dropdown open
(close) Fired on select dropdown close
(select) Fired on an item selected by user. Returns value of the selected item.
(remove) Fired on an item removed by user. Returns value of the removed item.
(navigated) Fired on navigate by the dropdown list. Returns: INgxOptionNavigated.
(selectionChanges) Fired on change selected options. Returns: INgxSelectOption[].

Warning! Although the component contains the select and the remove events, the better solution is using valueChanges of the FormControl.

import {Component} from '@angular/core';\nimport {FormControl} from '@angular/forms';\n\n@Component({\n    selector: 'app-example',\n    template: `<ngx-select [items]="['111', '222']" [formControl]="selectControl"></ngx-select>`\n})\nclass ExampleComponent {\n    public selectControl = new FormControl();\n    \n    constructor() {\n        this.selectControl.valueChanges.subscribe(value => console.log(value));\n    }\n}\n

Styles and customization

Currently, the component contains CSS classes named within BEM Methodology. As well it contains the "Bootstrap classes". Recommended use BEM classes for style customization.

List of styles for customization:

  • ngx-select - Main class of the component.
  • ngx-select_multiple - Modifier of the multiple mode. It's available when the property multiple is true.
  • ngx-select__disabled - Layer for the disabled mode.
  • ngx-select__selected - The common container for displaying selected items.
  • ngx-select__toggle - The toggle for single mode. It's available when the property multiple is false.
  • ngx-select__placeholder - The placeholder item. It's available when the property multiple is false.
  • ngx-select__selected-single - The selected item with single mode. It's available when the property multiple is false.
  • ngx-select__selected-plural - The multiple selected item. It's available when the property multiple is true.
  • ngx-select__allow-clear - The indicator that the selected single item can be removed. It's available while properties the multiple is false and the allowClear is true.
  • ngx-select__toggle-buttons - The container of buttons such as the clear and the toggle.
  • ngx-select__toggle-caret - The drop-down button of the single mode. It's available when the property multiple is false.
  • ngx-select__clear - The button clear.
  • ngx-select__clear-icon - The cross icon.
  • ngx-select__search - The input field for full text lives searching.
  • ngx-select__choices - The common container of items.
  • ngx-select__item-group - The group of items.
  • ngx-select__item - An item.
  • ngx-select__item_disabled - Modifier of a disabled item.
  • ngx-select__item_active - Modifier of the activated item.

Templates

For extended rendering customisation you are can use the ng-template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n\n    <ng-template ngx-select-option-selected let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found>\n        Nothing found\n    </ng-template>\n\n</ngx-select>\n

Also, you are can mix directives for reducing template:

<ngx-select [items]="items" optionValueField="hex" optionTextField="name" [(ngModel)]="ngxValue">\n    <ng-template ngx-select-option-selected ngx-select-option let-option let-text="text">\n        <span class="color-box" [style]="style('background-color:' + option.value)"></span>\n        <span [innerHtml]="text"></span>\n        ({{option.data.hex}})\n    </ng-template>\n\n    <ng-template ngx-select-option-not-found let-input>\n        Not found <button (click)="addItem(input)">(+) Add "{{input}}" as new item</button>\n    </ng-template>\n</ngx-select>\n

Description details of the directives:

  1. ngx-select-option-selected - Customization rendering selected options. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The text defined by the property optionTextField.
    • index - Number value of index the option in the select list. Always equal to zero for the single select.
  2. ngx-select-option - Customization rendering options in the dropdown menu. Representing variables:
    • option (implicit) - object of type INgxSelectOption.
    • text - The highlighted text defined by the property optionTextField. It is highlighted in the search.
    • index - Number value of index for the top level.
    • subIndex - Number value of index for the second level.
  3. ngx-select-option-not-found - Customization "not found text". Does not represent any variables.
'},48:(he,U,x)=>{"use strict";x.d(U,{A:()=>K});const K='

Getting started

First of all, Welcome!

'},175:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Container with fixed height and hidden overflow

\n
\n
\n

Default

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl1.value| json }}
\n
\n
\n \n
\n
\n\n
\n

Appended to scrollable

\n
\n
\n
\n \n \n
\n
\n
\n

\n
\n
{{ ngxControl2.value| json }}
\n
\n
\n \n
\n
\n
\n'},607:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {NgxSelectModule} from \"ngx-select-ex\";\nimport {JsonPipe} from \"@angular/common\";\n\n@Component({\n selector: 'app-append-to-demo',\n templateUrl: './append-to-demo.html',\n imports: [\n NgxSelectModule,\n ReactiveFormsModule,\n JsonPipe\n ]\n})\nexport class AppendToDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen'];\n\n public ngxControl1 = new UntypedFormControl();\n public ngxControl2 = new UntypedFormControl();\n}\n"},96:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a city by country

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},224:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-children-demo',\n templateUrl: './children-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class ChildrenDemoComponent {\n public items: any[] = [\n {\n id: 100,\n text: 'Austria',\n children: [\n {id: 54, text: 'Vienna'},\n ],\n },\n {\n id: 200,\n text: 'Belgium',\n children: [\n {id: 2, text: 'Antwerp'},\n {id: 9, text: 'Brussels'},\n ],\n },\n {\n id: 300,\n text: 'Bulgaria',\n children: [\n {id: 48, text: 'Sofia'},\n ],\n },\n {\n id: 400,\n text: 'Croatia',\n children: [\n {id: 58, text: 'Zagreb'},\n ],\n },\n {\n id: 500,\n text: 'Czech Republic',\n children: [\n {id: 42, text: 'Prague'},\n ],\n },\n {\n id: 600,\n text: 'Denmark',\n children: [\n {id: 13, text: 'Copenhagen'},\n ],\n },\n {\n id: 700,\n text: 'England',\n children: [\n {id: 6, text: 'Birmingham'},\n {id: 7, text: 'Bradford'},\n {id: 26, text: 'Leeds', disabled: true},\n {id: 30, text: 'London'},\n {id: 34, text: 'Manchester'},\n {id: 47, text: 'Sheffield'},\n ],\n },\n {\n id: 800,\n text: 'Finland',\n children: [\n {id: 25, text: 'Helsinki'},\n ],\n },\n {\n id: 900,\n text: 'France',\n children: [\n {id: 35, text: 'Marseille'},\n {id: 40, text: 'Paris'},\n ],\n },\n {\n id: 1000,\n text: 'Germany',\n children: [\n {id: 5, text: 'Berlin'},\n {id: 8, text: 'Bremen'},\n {id: 12, text: 'Cologne'},\n {id: 14, text: 'Dortmund'},\n {id: 15, text: 'Dresden'},\n {id: 17, text: 'D\xfcsseldorf'},\n {id: 18, text: 'Essen'},\n {id: 19, text: 'Frankfurt'},\n {id: 23, text: 'Hamburg'},\n {id: 24, text: 'Hannover'},\n {id: 27, text: 'Leipzig'},\n {id: 37, text: 'Munich'},\n {id: 50, text: 'Stuttgart'},\n ],\n },\n {\n id: 1100,\n text: 'Greece',\n children: [\n {id: 3, text: 'Athens'},\n ],\n },\n {\n id: 1200,\n text: 'Hungary',\n children: [\n {id: 11, text: 'Budapest'},\n ],\n },\n {\n id: 1300,\n text: 'Ireland',\n children: [\n {id: 16, text: 'Dublin'},\n ],\n },\n {\n id: 1400,\n text: 'Italy',\n children: [\n {id: 20, text: 'Genoa'},\n {id: 36, text: 'Milan'},\n {id: 38, text: 'Naples'},\n {id: 39, text: 'Palermo'},\n {id: 44, text: 'Rome'},\n {id: 52, text: 'Turin'},\n ],\n },\n {\n id: 1500,\n text: 'Latvia',\n children: [\n {id: 43, text: 'Riga'},\n ],\n },\n {\n id: 1600,\n text: 'Lithuania',\n children: [\n {id: 55, text: 'Vilnius'},\n ],\n },\n {\n id: 1700,\n text: 'Netherlands',\n children: [\n {id: 1, text: 'Amsterdam'},\n {id: 45, text: 'Rotterdam'},\n {id: 51, text: 'The Hague'},\n ],\n },\n {\n id: 1800,\n text: 'Poland',\n children: [\n {id: 29, text: '\u0141\xf3d\u017a'},\n {id: 31, text: 'Krak\xf3w'},\n {id: 41, text: 'Pozna\u0144'},\n {id: 56, text: 'Warsaw'},\n {id: 57, text: 'Wroc\u0142aw'},\n ],\n },\n {\n id: 1900,\n text: 'Portugal',\n children: [\n {id: 28, text: 'Lisbon'},\n ],\n },\n {\n id: 2000,\n text: 'Romania',\n children: [\n {id: 10, text: 'Bucharest'},\n ],\n },\n {\n id: 2100,\n text: 'Scotland',\n children: [\n {id: 21, text: 'Glasgow'},\n ],\n },\n {\n id: 2200,\n text: 'Spain',\n children: [\n {id: 4, text: 'Barcelona'},\n {id: 32, text: 'Madrid'},\n {id: 33, text: 'M\xe1laga'},\n {id: 46, text: 'Seville'},\n {id: 53, text: 'Valencia'},\n {id: 59, text: 'Zaragoza'},\n ],\n },\n {\n id: 2300,\n text: 'Sweden',\n children: [\n {id: 22, text: 'Gothenburg'},\n {id: 49, text: 'Stockholm'},\n ],\n },\n ];\n\n public ngxValue: any[] = [];\n public ngxDisabled = false;\n}\n"},125:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select multiple cities

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},545:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import {Component} from '@angular/core';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-multiple-demo',\n templateUrl: './multiple-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class MultipleDemoComponent {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin', 'D\xfcsseldorf',\n 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg', 'Hamburg', 'Hannover',\n 'Helsinki', 'Leeds', 'Leipzig', 'Lisbon', '\u0141\xf3d\u017a', 'London', 'Krak\xf3w', 'Madrid',\n 'M\xe1laga', 'Manchester', 'Marseille', 'Milan', 'Munich', 'Naples', 'Palermo',\n 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome', 'Rotterdam', 'Seville', 'Sheffield',\n 'Sofia', 'Stockholm', 'Stuttgart', 'The Hague', 'Turin', 'Valencia', 'Vienna',\n 'Vilnius', 'Warsaw', 'Wroc\u0142aw', 'Zagreb', 'Zaragoza'];\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('MultipleDemoComponent.doSelectOptions', options);\n}\n"},3:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a single city with {{items.length}} items

\n
\n
\n \n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
'},203:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component } from '@angular/core';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-no-autocomplete-demo',\n templateUrl: './no-autocomplete-demo.html',\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ]\n})\nexport class NoAutoCompleteDemoComponent {\n public _items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n constructor() {\n const a = [];\n for (let i = 1; i <= 20; i++) {\n this._items.forEach(v => a.push(i + ' ' + v));\n }\n this.items = a;\n }\n\n public items: string[] = [];\n public ngxValue: any = [];\n public ngxDisabled = false;\n}\n"},499:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a color

\n
\n
\n \n\n \n \n \n ({{option.data.hex}})\n \n\n \n "{{input}}" not found\n \n\n \n

\n
\n
{{ngxValue | json}}
\n
\n
\n \n
\n
\n
\n'},379:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component, ViewEncapsulation } from '@angular/core';\nimport { DomSanitizer, SafeStyle } from '@angular/platform-browser';\nimport {NgxSelectModule} from 'ngx-select-ex';\nimport {FormsModule} from '@angular/forms';\nimport {JsonPipe} from '@angular/common';\n\nconst COLORS = [\n {name: 'Blue 10', hex: '#C0E6FF'},\n {name: 'Blue 20', hex: '#7CC7FF'},\n {name: 'Blue 30', hex: '#5AAAFA', disabled: true},\n {name: 'Blue 40', hex: '#5596E6'},\n {name: 'Blue 50', hex: '#4178BE'},\n {name: 'Blue 60', hex: '#325C80'},\n {name: 'Blue 70', hex: '#264A60'},\n {name: 'Blue 80', hex: '#1D3649'},\n {name: 'Blue 90', hex: '#152935'},\n {name: 'Blue 100', hex: '#010205'},\n {name: 'Green 10', hex: '#C8F08F'},\n {name: 'Green 20', hex: '#B4E051'},\n {name: 'Green 30', hex: '#8CD211'},\n {name: 'Green 40', hex: '#5AA700'},\n {name: 'Green 50', hex: '#4B8400'},\n {name: 'Green 60', hex: '#2D660A'},\n {name: 'Green 70', hex: '#144D14'},\n {name: 'Green 80', hex: '#0A3C02'},\n {name: 'Green 90', hex: '#0C2808'},\n {name: 'Green 100', hex: '#010200'},\n {name: 'Red 10', hex: '#FFD2DD'},\n {name: 'Red 20', hex: '#FFA5B4'},\n {name: 'Red 30', hex: '#FF7D87'},\n {name: 'Red 40', hex: '#FF5050'},\n {name: 'Red 50', hex: '#E71D32'},\n {name: 'Red 60', hex: '#AD1625'},\n {name: 'Red 70', hex: '#8C101C'},\n {name: 'Red 80', hex: '#6E0A1E'},\n {name: 'Red 90', hex: '#4C0A17'},\n {name: 'Red 100', hex: '#040001'},\n {name: 'Yellow 10', hex: '#FDE876'},\n {name: 'Yellow 20', hex: '#FDD600'},\n {name: 'Yellow 30', hex: '#EFC100'},\n {name: 'Yellow 40', hex: '#BE9B00'},\n {name: 'Yellow 50', hex: '#8C7300'},\n {name: 'Yellow 60', hex: '#735F00'},\n {name: 'Yellow 70', hex: '#574A00'},\n {name: 'Yellow 80', hex: '#3C3200'},\n {name: 'Yellow 90', hex: '#281E00'},\n {name: 'Yellow 100', hex: '#020100'},\n];\n\n@Component({\n selector: 'app-rich-demo',\n templateUrl: './rich-demo.html',\n styles: [`.color-box {\n display: inline-block;\n height: 14px;\n width: 14px;\n margin-right: 4px;\n border: 1px solid #000;\n }`],\n encapsulation: ViewEncapsulation.None,\n imports: [\n NgxSelectModule,\n FormsModule,\n JsonPipe\n ],\n // Enable dynamic HTML styles\n})\nexport class RichDemoComponent {\n public items: any[] = COLORS;\n\n public ngxValue: any = [];\n public ngxDisabled = false;\n\n constructor(public sanitizer: DomSanitizer) {\n }\n\n public style(data: string): SafeStyle {\n return this.sanitizer.bypassSecurityTrustStyle(data);\n }\n}\n"},205:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u='

Select a single city

\n
\n
\n \n \n

\n
\n
{{ngxControl.value | json}}
\n
\n
\n \n
\n
\n
\n'},249:(he,U,x)=>{"use strict";x.r(U),x.d(U,{default:()=>u});const u="import { Component, OnDestroy } from '@angular/core';\nimport {ReactiveFormsModule, UntypedFormControl} from '@angular/forms';\nimport {INgxSelectOption, NgxSelectModule} from 'ngx-select-ex';\nimport {JsonPipe} from '@angular/common';\n\n@Component({\n selector: 'app-single-demo',\n templateUrl: './single-demo.html',\n imports: [\n JsonPipe,\n NgxSelectModule,\n ReactiveFormsModule\n ]\n})\nexport class SingleDemoComponent implements OnDestroy {\n public items: string[] = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',\n 'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',\n 'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',\n 'D\xfcsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',\n 'Hamburg', 'Hannover', 'Helsinki', 'Krak\xf3w', 'Leeds', 'Leipzig', 'Lisbon',\n 'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'M\xe1laga',\n 'Naples', 'Palermo', 'Paris', 'Pozna\u0144', 'Prague', 'Riga', 'Rome',\n 'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',\n 'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wroc\u0142aw',\n 'Zagreb', 'Zaragoza', '\u0141\xf3d\u017a'];\n\n public ngxControl = new UntypedFormControl();\n\n private _ngxDefaultTimeout;\n private _ngxDefaultInterval;\n private _ngxDefault;\n\n constructor() {\n this._ngxDefaultTimeout = setTimeout(() => {\n this._ngxDefaultInterval = setInterval(() => {\n const idx = Math.floor(Math.random() * (this.items.length - 1));\n this._ngxDefault = this.items[idx];\n // console.log('new default value = ', this._ngxDefault);\n }, 2000);\n }, 2000);\n }\n\n public ngOnDestroy(): void {\n clearTimeout(this._ngxDefaultTimeout);\n clearInterval(this._ngxDefaultInterval);\n }\n\n public doNgxDefault(): any {\n return this._ngxDefault;\n }\n\n public inputTyped = (source: string, text: string) => console.log('SingleDemoComponent.inputTyped', source, text);\n\n public doFocus = () => console.log('SingleDemoComponent.doFocus');\n\n public doBlur = () => console.log('SingleDemoComponent.doBlur');\n\n public doOpen = () => console.log('SingleDemoComponent.doOpen');\n\n public doClose = () => console.log('SingleDemoComponent.doClose');\n\n public doSelect = (value: any) => console.log('SingleDemoComponent.doSelect', value);\n\n public doRemove = (value: any) => console.log('SingleDemoComponent.doRemove', value);\n\n public doSelectOptions = (options: INgxSelectOption[]) => console.log('SingleDemoComponent.doSelectOptions', options);\n}\n"},969:(he,U,x)=>{"use strict";x.d(U,{FX:()=>He,If:()=>u,K2:()=>be,hZ:()=>se,i0:()=>$,iF:()=>Q,kY:()=>Y,kp:()=>K,sf:()=>Et,ui:()=>mt,wk:()=>q});var u=function(L){return L[L.State=0]="State",L[L.Transition=1]="Transition",L[L.Sequence=2]="Sequence",L[L.Group=3]="Group",L[L.Animate=4]="Animate",L[L.Keyframes=5]="Keyframes",L[L.Style=6]="Style",L[L.Trigger=7]="Trigger",L[L.Reference=8]="Reference",L[L.AnimateChild=9]="AnimateChild",L[L.AnimateRef=10]="AnimateRef",L[L.Query=11]="Query",L[L.Stagger=12]="Stagger",L}(u||{});const K="*";function se(L,F){return{type:u.Trigger,name:L,definitions:F,options:{}}}function $(L,F=null){return{type:u.Animate,styles:F,timings:L}}function be(L,F=null){return{type:u.Sequence,steps:L,options:F}}function Q(L){return{type:u.Style,styles:L,offset:null}}function q(L,F,J){return{type:u.State,name:L,styles:F,options:J}}function Y(L,F,J=null){return{type:u.Transition,expr:L,animation:F,options:J}}class Et{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(F=0,J=0){this.totalTime=F+J}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}onStart(F){this._originalOnStartFns.push(F),this._onStartFns.push(F)}onDone(F){this._originalOnDoneFns.push(F),this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(F=>F()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(F){this._position=this.totalTime?F*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(F){const J="start"==F?this._onStartFns:this._onDoneFns;J.forEach(et=>et()),J.length=0}}class mt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(F){this.players=F;let J=0,et=0,Ht=0;const or=this.players.length;0==or?queueMicrotask(()=>this._onFinish()):this.players.forEach(xn=>{xn.onDone(()=>{++J==or&&this._onFinish()}),xn.onDestroy(()=>{++et==or&&this._onDestroy()}),xn.onStart(()=>{++Ht==or&&this._onStart()})}),this.totalTime=this.players.reduce((xn,hs)=>Math.max(xn,hs.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(F=>F()),this._onDoneFns=[])}init(){this.players.forEach(F=>F.init())}onStart(F){this._onStartFns.push(F)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(F=>F()),this._onStartFns=[])}onDone(F){this._onDoneFns.push(F)}onDestroy(F){this._onDestroyFns.push(F)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(F=>F.play())}pause(){this.players.forEach(F=>F.pause())}restart(){this.players.forEach(F=>F.restart())}finish(){this._onFinish(),this.players.forEach(F=>F.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(F=>F.destroy()),this._onDestroyFns.forEach(F=>F()),this._onDestroyFns=[])}reset(){this.players.forEach(F=>F.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(F){const J=F*this.totalTime;this.players.forEach(et=>{const Ht=et.totalTime?Math.min(1,J/et.totalTime):1;et.setPosition(Ht)})}getPosition(){const F=this.players.reduce((J,et)=>null===J||et.totalTime>J.totalTime?et:J,null);return null!=F?F.getPosition():0}beforeDestroy(){this.players.forEach(F=>{F.beforeDestroy&&F.beforeDestroy()})}triggerCallback(F){const J="start"==F?this._onStartFns:this._onDoneFns;J.forEach(et=>et()),J.length=0}}const He="!"},213:(he,U,x)=>{"use strict";function se(e,t){return Object.is(e,t)}x.d(U,{bc$:()=>Fp,sZ2:()=>ga,o8S:()=>Mn,BIS:()=>B_,gRc:()=>vT,Ocv:()=>Uk,aKT:()=>da,uvJ:()=>yn,zcH:()=>Pn,bkB:()=>Jn,nKC:()=>le,zZn:()=>It,_q3:()=>ND,MKu:()=>FD,xe9:()=>ID,Vns:()=>is,SKi:()=>tt,Agw:()=>Lr,PLl:()=>Wl,rOR:()=>S_,sFG:()=>Iv,_9s:()=>Ef,czy:()=>cc,WPN:()=>Zi,C4Q:()=>Dc,NYb:()=>rb,giA:()=>ob,RxE:()=>lT,c1b:()=>lm,gXe:()=>ni,mal:()=>Hi,L39:()=>GO,EWP:()=>LD,a0P:()=>gR,w6W:()=>Fv,QZP:()=>BD,Rfq:()=>_i,WQX:()=>z,Hps:()=>zg,EmA:()=>Fo,Udg:()=>zO,Jn2:()=>Bk,vPA:()=>Fc,O8t:()=>Yc,An2:()=>Pr,H8p:()=>cl,KH2:()=>Zc,wOt:()=>V,WHO:()=>Yg,e01:()=>Of,lNU:()=>vs,h9k:()=>Iy,$MX:()=>qd,ZF7:()=>Aa,Kcf:()=>YC,e5t:()=>nE,UyX:()=>eE,cWb:()=>JC,osQ:()=>tE,H5H:()=>rD,mq5:()=>EI,JZv:()=>dt,TL3:()=>DO,jNT:()=>Tc,zjR:()=>em,ngT:()=>Mt,TL$:()=>NC,Tbb:()=>rt,rcV:()=>mo,Vt3:()=>Tb,GFd:()=>N0,OA$:()=>Nu,Jv_:()=>kM,R7$:()=>Ra,BMQ:()=>Hb,HbH:()=>oI,AVh:()=>Kb,vxM:()=>pI,wni:()=>iM,VBU:()=>Rv,FsC:()=>Bg,jDH:()=>Oe,G2t:()=>xo,$C:()=>Lg,EJ8:()=>jg,rXU:()=>Yi,nrm:()=>Jb,eu8:()=>nD,k0s:()=>vm,j41:()=>ym,RV6:()=>bI,xGo:()=>ed,KVO:()=>Ge,kS0:()=>na,QTQ:()=>vo,bIt:()=>sD,lsd:()=>lM,XpG:()=>qI,nI1:()=>GM,bMT:()=>zM,SdG:()=>ZI,NAR:()=>KI,Y8G:()=>zb,eq3:()=>RM,l_i:()=>PM,sMw:()=>LM,ziG:()=>VM,mGM:()=>aM,sdS:()=>cM,Dyx:()=>_I,Z7z:()=>mI,fX1:()=>gI,Njj:()=>Bh,EBC:()=>Ny,eBV:()=>Lu,npT:()=>My,Aen:()=>zr,xc7:()=>qb,DNE:()=>Ab,C5r:()=>WM,EFF:()=>vM,JRh:()=>uD,SpI:()=>wm,wXG:()=>Sy,DH7:()=>SM,mxI:()=>fD,R50:()=>dD,GBs:()=>sM});let $=null,G=!1,be=1;const Q=Symbol("SIGNAL");function q(e){const t=$;return $=e,t}const pe={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 Ct(e){if(G)throw new Error("");if(null===$)return;$.consumerOnSignalRead(e);const t=$.nextProducerIndex++;L($),t<$.producerNode.length&&$.producerNode[t]!==e&&He($)&&mt($.producerNode[t],$.producerIndexOfThis[t]),$.producerNode[t]!==e&&($.producerNode[t]=e,$.producerIndexOfThis[t]=He($)?Et(e,$,t):0),$.producerLastReadVersion[t]=e.version}function xt(e){if((!He(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==be)){if(!e.producerMustRecompute(e)&&!te(e))return void gt(e);e.producerRecomputeValue(e),gt(e)}}function Be(e){if(void 0===e.liveConsumerNode)return;const t=G;G=!0;try{for(const n of e.liveConsumerNode)n.dirty||jt(n)}finally{G=t}}function Te(){return!1!==$?.consumerAllowSignalWrites}function jt(e){e.dirty=!0,Be(e),e.consumerMarkedDirty?.(e)}function gt(e){e.dirty=!1,e.lastCleanEpoch=be}function lt(e){return e&&(e.nextProducerIndex=0),q(e)}function xe(e,t){if(q(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(He(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function te(e){L(e);for(let t=0;t0}function L(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function F(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function J(e){return void 0!==e.producerNode}const Ht=Symbol("UNSET"),or=Symbol("COMPUTING"),xn=Symbol("ERRORED"),hs={...pe,value:Ht,dirty:!0,error:null,equal:se,producerMustRecompute:e=>e.value===Ht||e.value===or,producerRecomputeValue(e){if(e.value===or)throw new Error("Detected cycle in computations.");const t=e.value;e.value=or;const n=lt(e);let o;try{o=e.computation()}catch(a){o=xn,e.error=a}finally{xe(e,n)}t!==Ht&&t!==xn&&o!==xn&&e.equal(t,o)?e.value=t:(e.value=o,e.version++)}};let tu=function eu(){throw new Error};function nu(){tu()}let Cr=null;function $n(e,t){Te()||nu(),e.equal(e.value,t)||(e.value=t,function gs(e){e.version++,function ae(){be++}(),Be(e),Cr?.()}(e))}const ps={...pe,equal:se,value:void 0};const pi=()=>{},ou={...pe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{null!==e.schedule&&e.schedule(e.ref)},hasRun:!1,cleanupFn:pi};var nn=x(412),Eo=x(413),_s=x(359),iu=x(354);(0,x(853).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}),x(964),x(697),x(974),x(360),x(669);const vs="https://g.co/ng/security#xss";class V extends Error{code;constructor(t,n){super(function Gn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function zn(e){return{toString:e}.toString()}const An="__parameters__";function Wn(e,t,n){return zn(()=>{const o=function Mo(e){return function(...n){if(e){const o=e(...n);for(const a in o)this[a]=o[a]}}}(t);function a(...c){if(this instanceof a)return o.apply(this,c),this;const f=new a(...c);return h.annotation=f,h;function h(p,m,y){const v=p.hasOwnProperty(An)?p[An]:Object.defineProperty(p,An,{value:[]})[An];for(;v.length<=y;)v.push(null);return(v[y]=v[y]||[]).push(f),p}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const dt=globalThis;function ke(e){for(let t in e)if(e[t]===ke)return t;throw Error("Could not find renamed property on target object.")}function lu(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function rt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(rt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function ir(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const cu=ke({__forward_ref__:ke});function _i(e){return e.__forward_ref__=_i,e.toString=function(){return rt(this())},e}function oe(e){return To(e)?e():e}function To(e){return"function"==typeof e&&e.hasOwnProperty(cu)&&e.__forward_ref__===_i}function Oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xo(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yr(e){return Jr(e,eo)||Jr(e,rl)}function Jr(e,t){return e.hasOwnProperty(t)?e[t]:null}function wr(e){return e&&(e.hasOwnProperty(ws)||e.hasOwnProperty(hh))?e[ws]:null}const eo=ke({\u0275prov:ke}),ws=ke({\u0275inj:ke}),rl=ke({ngInjectableDef:ke}),hh=ke({ngInjectorDef:ke});class le{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Oe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ts(e){return e&&!!e.\u0275providers}const Ao=ke({\u0275cmp:ke}),xs=ke({\u0275dir:ke}),qn=ke({\u0275pipe:ke}),Ss=ke({\u0275mod:ke}),Kn=ke({\u0275fac:ke}),lr=ke({__NG_ELEMENT_ID__:ke}),ol=ke({__NG_ENV_ID__:ke});function ue(e){return"string"==typeof e?e:null==e?"":String(e)}function bi(e,t){throw new V(-201,!1)}var Ee=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}(Ee||{});let As;function b(){return As}function I(e){const t=As;return As=e,t}function k(e,t,n){const o=Yr(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:n&Ee.Optional?null:void 0!==t?t:void bi()}const ge={},qe="__NG_DI_FLAG__",ot="ngTempTokenPath",Ze=/\n/gm,mn="__source";let ct;function yt(e){const t=ct;return ct=e,t}function ur(e,t=Ee.Default){if(void 0===ct)throw new V(-203,!1);return null===ct?k(e,void 0,t):ct.get(e,t&Ee.Optional?null:void 0,t)}function Ge(e,t=Ee.Default){return(b()||ur)(oe(e),t)}function z(e,t=Ee.Default){return Ge(e,to(t))}function to(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function xr(e){const t=[];for(let n=0;nArray.isArray(n)?ks(n,t):t(n))}function $m(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function al(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _n(e,t,n){let o=Os(e,t);return o>=0?e[1|o]=n:(o=~o,function Gm(e,t,n,o){let a=e.length;if(a==t)e.push(n,o);else if(1===a)e.push(o,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function yu(e,t){const n=Os(e,t);if(n>=0)return e[1|n]}function Os(e,t){return function vh(e,t,n){let o=0,a=e.length>>n;for(;a!==o;){const c=o+(a-o>>1),f=e[c<t?a=c:o=c+1}return~(a<{n.push(f)};return ks(t,f=>{const h=f;Du(h,c,[],o)&&(a||=[],a.push(h))}),void 0!==a&&Wm(a,c),n}function Wm(e,t){for(let n=0;n{t(c,o)})}}function Du(e,t,n,o){if(!(e=oe(e)))return!1;let a=null,c=wr(e);const f=!c&&Ce(e);if(c||f){if(f&&!f.standalone)return!1;a=e}else{const p=e.ngModule;if(c=wr(p),!c)return!1;a=p}const h=o.has(a);if(f){if(h)return!1;if(o.add(a),f.dependencies){const p="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const m of p)Du(m,t,n,o)}}else{if(!c)return!1;{if(null!=c.imports&&!h){let m;o.add(a);try{ks(c.imports,y=>{Du(y,t,n,o)&&(m||=[],m.push(y))})}finally{}void 0!==m&&Wm(m,t)}if(!h){const m=No(a)||(()=>new a);t({provide:a,useFactory:m,deps:Re},a),t({provide:bu,useValue:a,multi:!0},a),t({provide:fr,useValue:()=>Ge(a),multi:!0},a)}const p=c.providers;if(null!=p&&!h){const m=e;Cu(p,y=>{t(y,m)})}}}return a!==e&&void 0!==e.providers}function Cu(e,t){for(let n of e)Ts(n)&&(n=n.\u0275providers),Array.isArray(n)?Cu(n,t):t(n)}const Km=ke({provide:String,useValue:ke});function Rs(e){return null!==e&&"object"==typeof e&&Km in e}function Ei(e){return"function"==typeof e}const cl=new le(""),Eu={},GD={};let Ch;function wi(){return void 0===Ch&&(Ch=new $e),Ch}class yn{}class ko extends yn{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,o,a){super(),this.parent=n,this.source=o,this.scopes=a,wh(t,f=>this.processProvider(f)),this.records.set(vu,Ps(void 0,this)),a.has("environment")&&this.records.set(yn,Ps(void 0,this));const c=this.records.get(cl);null!=c&&"string"==typeof c.value&&this.scopes.add(c.value),this.injectorDefTypes=new Set(this.get(bu,Re,Ee.Self))}destroy(){ul(this),this._destroyed=!0;const t=q(null);try{for(const o of this._ngOnDestroyHooks)o.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const o of n)o()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),q(t)}}onDestroy(t){return ul(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ul(this);const n=yt(this),o=I(void 0);try{return t()}finally{yt(n),I(o)}}get(t,n=ge,o=Ee.Default){if(ul(this),t.hasOwnProperty(ol))return t[ol](this);o=to(o);const c=yt(this),f=I(void 0);try{if(!(o&Ee.SkipSelf)){let p=this.records.get(t);if(void 0===p){const m=function qD(e){return"function"==typeof e||"object"==typeof e&&e instanceof le}(t)&&Yr(t);p=m&&this.injectableDefInScope(m)?Ps(wu(t),Eu):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(o&Ee.Self?wi():this.parent).get(t,n=o&Ee.Optional&&n===ge?null:n)}catch(h){if("NullInjectorError"===h.name){if((h[ot]=h[ot]||[]).unshift(rt(t)),c)throw h;return function Fs(e,t,n,o){const a=e[ot];throw t[mn]&&a.unshift(t[mn]),e.message=function _h(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let a=rt(t);if(Array.isArray(t))a=t.map(rt).join(" -> ");else if("object"==typeof t){let c=[];for(let f in t)if(t.hasOwnProperty(f)){let h=t[f];c.push(f+":"+("string"==typeof h?JSON.stringify(h):rt(h)))}a=`{${c.join(", ")}}`}return`${n}${o?"("+o+")":""}[${a}]: ${e.replace(Ze,"\n ")}`}("\n"+e.message,a,n,o),e.ngTokenPath=a,e[ot]=null,e}(h,t,"R3InjectorError",this.source)}throw h}finally{I(f),yt(c)}}resolveInjectorInitializers(){const t=q(null),n=yt(this),o=I(void 0);try{const c=this.get(fr,Re,Ee.Self);for(const f of c)f()}finally{yt(n),I(o),q(t)}}toString(){const t=[],n=this.records;for(const o of n.keys())t.push(rt(o));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=Ei(t=oe(t))?t:oe(t&&t.provide);const o=function Ii(e){return Rs(e)?Ps(void 0,e.useValue):Ps(Qm(e),Eu)}(t);if(!Ei(t)&&!0===t.multi){let a=this.records.get(n);a||(a=Ps(void 0,Eu,!0),a.factory=()=>xr(a.multi),this.records.set(n,a)),n=t,a.multi.push(t)}this.records.set(n,o)}hydrate(t,n){const o=q(null);try{return n.value===Eu&&(n.value=GD,n.value=n.factory()),"object"==typeof n.value&&n.value&&function WD(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{q(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function wu(e){const t=Yr(e),n=null!==t?t.factory:No(e);if(null!==n)return n;if(e instanceof le)throw new V(204,!1);if(e instanceof Function)return function Eh(e){if(e.length>0)throw new V(204,!1);const n=function Es(e){return e&&(e[eo]||e[rl])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new V(204,!1)}function Qm(e,t,n){let o;if(Ei(e)){const a=oe(e);return No(a)||wu(a)}if(Rs(e))o=()=>oe(e.useValue);else if(function Zm(e){return!(!e||!e.useFactory)}(e))o=()=>e.useFactory(...xr(e.deps||[]));else if(function Ci(e){return!(!e||!e.useExisting)}(e))o=()=>Ge(oe(e.useExisting));else{const a=oe(e&&(e.useClass||e.provide));if(!function zD(e){return!!e.deps}(e))return No(a)||wu(a);o=()=>new a(...xr(e.deps))}return o}function ul(e){if(e.destroyed)throw new V(205,!1)}function Ps(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function wh(e,t){for(const n of e)Array.isArray(n)?wh(n,t):n&&Ts(n)?wh(n.\u0275providers,t):t(n)}function Xm(e,t){e instanceof ko&&ul(e);const o=yt(e),a=I(void 0);try{return t()}finally{yt(o),I(a)}}function Ih(){return void 0!==b()||null!=function on(){return ct}()}function Mi(e){if(!Ih())throw new V(-203,!1)}const Je=0,P=1,ee=2,ft=3,kt=4,ht=5,an=6,Ls=7,Ke=8,Pe=9,ln=10,de=11,Oo=12,fl=13,xi=14,Qe=15,no=16,Ro=17,Zn=18,Po=19,Mu=20,ro=21,Si=22,oo=23,Zt=24,Z=25,hl=1,hr=7,Ai=9,ut=10;var gl=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(gl||{});function it(e){return Array.isArray(e)&&"object"==typeof e[hl]}function pt(e){return Array.isArray(e)&&!0===e[hl]}function Vs(e){return!!(4&e.flags)}function io(e){return e.componentOffset>-1}function Tu(e){return!(1&~e.flags)}function kn(e){return!!e.template}function Bs(e){return!!(512&e[ee])}class o_{previousValue;currentValue;firstChange;constructor(t,n,o){this.previousValue=t,this.currentValue=n,this.firstChange=o}isFirstChange(){return this.firstChange}}function Ah(e,t,n,o){null!==t?t.applyValueToInputSignal(t,o):e[n]=o}const Nu=(()=>{const e=()=>i_;return e.ngInherit=!0,e})();function i_(e){return e.type.prototype.ngOnChanges&&(e.setInput=cC),lC}function lC(){const e=s_(this),t=e?.current;if(t){const n=e.previous;if(n===dr)e.previous=t;else for(let o in t)n[o]=t[o];e.current=null,this.ngOnChanges(t)}}function cC(e,t,n,o,a){const c=this.declaredInputs[o],f=s_(e)||function uC(e,t){return e[Nh]=t}(e,{previous:dr,current:null}),h=f.current||(f.current={}),p=f.previous,m=p[c];h[c]=new o_(m&&m.currentValue,n,p===dr),Ah(e,t,a,n)}const Nh="__ngSimpleChanges__";function s_(e){return e[Nh]||null}const Sr=function(e,t,n){};function Ae(e){for(;Array.isArray(e);)e=e[Je];return e}function Ar(e,t){return Ae(t[e])}function cn(e,t){return Ae(t[e.index])}function js(e,t){return e.data[t]}function Ni(e,t){return e[t]}function On(e,t){const n=t[e];return it(n)?n:n[Je]}function kh(e){return!(128&~e[ee])}function Rn(e,t){return null==t?null:e[t]}function Oh(e){e[Ro]=0}function Fu(e){1024&e[ee]||(e[ee]|=1024,kh(e)&&Lo(e))}function yl(e){return!!(9216&e[ee]||e[Zt]?.dirty)}function ku(e){e[ln].changeDetectionScheduler?.notify(9),64&e[ee]&&(e[ee]|=1024),yl(e)&&Lo(e)}function Lo(e){e[ln].changeDetectionScheduler?.notify(0);let t=Nr(e);for(;null!==t&&!(8192&t[ee])&&(t[ee]|=8192,kh(t));)t=Nr(t)}function vl(e,t){if(!(256&~e[ee]))throw new V(911,!1);null===e[ro]&&(e[ro]=[]),e[ro].push(t)}function Nr(e){const t=e[ft];return pt(t)?t[ft]:t}const fe={lFrame:qh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Ru=!1;function Lh(){return fe.bindingsEnabled}function Fr(){return null!==fe.skipHydrationRootTNode}function S(){return fe.lFrame.lView}function ne(){return fe.lFrame.tView}function Lu(e){return fe.lFrame.contextLView=e,e[Ke]}function Bh(e){return fe.lFrame.contextLView=null,e}function we(){let e=jh();for(;null!==e&&64===e.type;)e=e.parent;return e}function jh(){return fe.lFrame.currentTNode}function vn(e,t){const n=fe.lFrame;n.currentTNode=e,n.isParent=t}function Vu(){return fe.lFrame.isParent}function Bu(){fe.lFrame.isParent=!1}function $h(){return Ru}function Dl(e){const t=Ru;return Ru=e,t}function Qt(){const e=fe.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function je(){return fe.lFrame.bindingIndex++}function gr(e){const t=fe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Gh(e,t){const n=fe.lFrame;n.bindingIndex=n.bindingRootIndex=e,El(t)}function El(e){fe.lFrame.currentDirectiveIndex=e}function wl(){return fe.lFrame.currentQueryIndex}function $s(e){fe.lFrame.currentQueryIndex=e}function Wh(e){const t=e[P];return 2===t.type?t.declTNode:1===t.type?e[ht]:null}function Uu(e,t,n){if(n&Ee.SkipSelf){let a=t,c=e;for(;!(a=a.parent,null!==a||n&Ee.Host||(a=Wh(c),null===a||(c=c[xi],10&a.type))););if(null===a)return!1;t=a,e=c}const o=fe.lFrame=un();return o.currentTNode=t,o.lView=e,!0}function $u(e){const t=un(),n=e[P];fe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function un(){const e=fe.lFrame,t=null===e?null:e.child;return null===t?qh(e):t}function qh(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Kh(){const e=fe.lFrame;return fe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Zh=Kh;function Gu(){const e=Kh();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 Ot(){return fe.lFrame.selectedIndex}function Vo(e){fe.lFrame.selectedIndex=e}function Me(){const e=fe.lFrame;return js(e.tView,e.selectedIndex)}let ep=!0;function Gs(){return ep}function mr(e){ep=e}function Il(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n=o)break}else t[p]<0&&(e[Ro]+=65536),(h>14>16&&(3&e[ee])===t&&(e[ee]+=16384,rp(h,c)):rp(h,c)}const Bo=-1;class zs{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,o){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=o}}function Ks(e,t,n){let o=0;for(;ot){f=c-1;break}}}for(;c>16}(e),o=t;for(;n>0;)o=o[xi],n--;return o}let Qs=!0;function Xn(e){const t=Qs;return Qs=e,t}const Pt=255,Or=5;let y_=0;const Rr={};function Xs(e,t){const n=Zu(e,t);if(-1!==n)return n;const o=t[P];o.firstCreatePass&&(e.injectorIndex=t.length,xl(o.data,e),xl(t,null),xl(o.blueprint,null));const a=Ys(e,t),c=e.injectorIndex;if(Ku(a)){const f=Fi(a),h=Zs(a,t),p=h[P].data;for(let m=0;m<8;m++)t[c+m]=h[f+m]|p[f+m]}return t[c+8]=a,c}function xl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ys(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,o=null,a=t;for(;null!==a;){if(o=td(a),null===o)return Bo;if(n++,a=a[xi],-1!==o.injectorIndex)return o.injectorIndex|n<<16}return Bo}function Sl(e,t,n){!function sp(e,t,n){let o;"string"==typeof n?o=n.charCodeAt(0)||0:n.hasOwnProperty(lr)&&(o=n[lr]),null==o&&(o=n[lr]=y_++);const a=o&Pt;t.data[e+(a>>Or)]|=1<=0?t&Pt:up:t}(n);if("function"==typeof c){if(!Uu(t,e,o))return o&Ee.Host?Qu(a,0,o):Js(t,n,o,a);try{let f;if(f=c(o),null!=f||o&Ee.Optional)return f;bi()}finally{Zh()}}else if("number"==typeof c){let f=null,h=Zu(e,t),p=Bo,m=o&Ee.Host?t[Qe][ht]:null;for((-1===h||o&Ee.SkipSelf)&&(p=-1===h?Ys(e,t):t[h+8],p!==Bo&&Al(o,!1)?(f=t[P],h=Fi(p),t=Zs(p,t)):h=-1);-1!==h;){const y=t[P];if(Ju(c,h,y.data)){const v=lp(h,t,n,f,o,m);if(v!==Rr)return v}p=t[h+8],p!==Bo&&Al(o,t[P].data[h+8]===m)&&Ju(c,h,t)?(f=y,h=Fi(p),t=Zs(p,t)):h=-1}}return a}function lp(e,t,n,o,a,c){const f=t[P],h=f.data[e+8],y=ea(h,f,n,null==o?io(h)&&Qs:o!=f&&!!(3&h.type),a&Ee.Host&&c===h);return null!==y?jo(t,f,y,h):Rr}function ea(e,t,n,o,a){const c=e.providerIndexes,f=t.data,h=1048575&c,p=e.directiveStart,y=c>>20,C=a?h+y:e.directiveEnd;for(let E=o?h:h+y;E=p&&M.type===n)return E}if(a){const E=f[p];if(E&&kn(E)&&E.type===n)return p}return null}function jo(e,t,n,o){let a=e[n];const c=t.data;if(function op(e){return e instanceof zs}(a)){const f=a;f.resolving&&function cr(e,t){throw t&&t.join(" > "),new V(-200,e)}(function Ne(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ue(e)}(c[n]));const h=Xn(f.canSeeViewProviders);f.resolving=!0;const m=f.injectImpl?I(f.injectImpl):null;Uu(e,o,Ee.Default);try{a=e[n]=f.factory(void 0,c,e,o),t.firstCreatePass&&n>=o.directiveStart&&function tp(e,t,n){const{ngOnChanges:o,ngOnInit:a,ngDoCheck:c}=t.type.prototype;if(o){const f=i_(t);(n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f)}a&&(n.preOrderHooks??=[]).push(0-e,a),c&&((n.preOrderHooks??=[]).push(e,c),(n.preOrderCheckHooks??=[]).push(e,c))}(n,c[n],t)}finally{null!==m&&I(m),Xn(h),f.resolving=!1,Zh()}}return a}function Ju(e,t,n){return!!(n[t+(e>>Or)]&1<{const t=e.prototype.constructor,n=t[Kn]||ta(t),o=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==o;){const c=a[Kn]||ta(a);if(c&&c!==n)return c;a=Object.getPrototypeOf(a)}return c=>new c})}function ta(e){return To(e)?()=>{const t=ta(oe(e));return t&&t()}:No(e)}function td(e){const t=e[P],n=t.type;return 2===n?t.declTNode:1===n?e[ht]:null}function na(e){return function ap(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const o=n.length;let a=0;for(;aGe(vu)});static __NG_ELEMENT_ID__=-1}new le("").__NG_ELEMENT_ID__=e=>{const t=we();if(null===t)throw new V(204,!1);if(2&t.type)return t.value;if(e&Ee.Optional)return null;throw new V(204,!1)};const E_=!1;let lo=(()=>class e{static __NG_ELEMENT_ID__=CC;static __NG_ENV_ID__=n=>n})();class rd extends lo{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return vl(this._lView,t),()=>function Hs(e,t){if(null===e[ro])return;const n=e[ro].indexOf(t);-1!==n&&e[ro].splice(n,1)}(this._lView,t)}}function CC(){return new rd(S())}class Pr{}const Ol=new le("",{providedIn:"root",factory:()=>!1}),oa=new le(""),co=new le("");let Yn=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new nn.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();const Jn=class pp extends Eo.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ih()&&(this.destroyRef=z(lo,{optional:!0})??void 0,this.pendingTasks=z(Yn,{optional:!0})??void 0)}emit(t){const n=q(null);try{super.next(t)}finally{q(n)}}subscribe(t,n,o){let a=t,c=n||(()=>null),f=o;if(t&&"object"==typeof t){const p=t;a=p.next?.bind(p),c=p.error?.bind(p),f=p.complete?.bind(p)}this.__isAsync&&(c=this.wrapInTimeout(c),a&&(a=this.wrapInTimeout(a)),f&&(f=this.wrapInTimeout(f)));const h=super.subscribe({next:a,error:c,complete:f});return t instanceof _s.yU&&t.add(h),h}wrapInTimeout(t){return n=>{const o=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==o&&this.pendingTasks?.remove(o)})}}};function $o(...e){}function ia(e){let t,n;function o(){e=$o;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),o()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),o()})),()=>o()}function gp(e){return queueMicrotask(()=>e()),()=>{e=$o}}const sa="isAngularZone",Pl=sa+"_ID";let od=0;class tt{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Jn(!1);onMicrotaskEmpty=new Jn(!1);onStable=new Jn(!1);onError=new Jn(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:o=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:c=E_}=t;if(typeof Zone>"u")throw new V(908,!1);Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!a&&o,f.shouldCoalesceRunChangeDetection=a,f.callbackScheduled=!1,f.scheduleInRootZone=c,function id(e){const t=()=>{!function mp(e){function t(){ia(()=>{e.callbackScheduled=!1,aa(e),e.isCheckStableRunning=!0,Vl(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),aa(e))}(e)},n=od++;e._inner=e._inner.fork({name:"angular",properties:{[sa]:!0,[Pl]:n,[Pl+n]:!0},onInvokeTask:(o,a,c,f,h,p)=>{if(function M_(e){return uo(e,"__ignore_ng_zone__")}(p))return o.invokeTask(c,f,h,p);try{return w_(e),o.invokeTask(c,f,h,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===f.type||e.shouldCoalesceRunChangeDetection)&&t(),I_(e)}},onInvoke:(o,a,c,f,h,p,m)=>{try{return w_(e),o.invoke(c,f,h,p,m)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function wC(e){return uo(e,"__scheduler_tick__")}(p)&&t(),I_(e)}},onHasTask:(o,a,c,f)=>{o.hasTask(c,f),a===c&&("microTask"==f.change?(e._hasPendingMicrotasks=f.microTask,aa(e),Vl(e)):"macroTask"==f.change&&(e.hasPendingMacrotasks=f.macroTask))},onHandleError:(o,a,c,f)=>(o.handleError(c,f),e.runOutsideAngular(()=>e.onError.emit(f)),!1)})}(f)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(sa)}static assertInAngularZone(){if(!tt.isInAngularZone())throw new V(909,!1)}static assertNotInAngularZone(){if(tt.isInAngularZone())throw new V(909,!1)}run(t,n,o){return this._inner.run(t,n,o)}runTask(t,n,o,a){const c=this._inner,f=c.scheduleEventTask("NgZoneEvent: "+a,t,Ll,$o,$o);try{return c.runTask(f,n,o)}finally{c.cancelTask(f)}}runGuarded(t,n,o){return this._inner.runGuarded(t,n,o)}runOutsideAngular(t){return this._outer.run(t)}}const Ll={};function Vl(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 aa(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function w_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function I_(e){e._nesting--,Vl(e)}class _p{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Jn;onMicrotaskEmpty=new Jn;onStable=new Jn;onError=new Jn;run(t,n,o){return t.apply(n,o)}runGuarded(t,n,o){return t.apply(n,o)}runOutsideAngular(t){return t()}runTask(t,n,o,a){return t.apply(n,o)}}function uo(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class Pn{_console=console;handleError(t){this._console.error("ERROR",t)}}const ca=new le("",{providedIn:"root",factory:()=>{const e=z(tt),t=z(Pn);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function T_(){return Go(we(),S())}function Go(e,t){return new da(cn(e,t))}let da=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=T_})();function ld(e){return e instanceof da?e.nativeElement:e}function x_(){return this._results[Symbol.iterator]()}class S_{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Eo.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const o=function sn(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Um(e,t,n){if(e.length!==t.length)return!1;for(let o=0;oNp}),Np="ng",Wl=new le(""),Lr=new le("",{providedIn:"platform",factory:()=>"unknown"}),Fp=new le(""),B_=new le("",{providedIn:"root",factory:()=>Ln().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),va=new le("",{providedIn:"root",factory:()=>!1}),Sd=new Set;function Mt(e){Sd.has(e)||(Sd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Xo=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Xo||{});let ji=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();const ba=[Xo.EarlyRead,Xo.Write,Xo.MixedReadWrite,Xo.Read];let Vr=(()=>{class e{ngZone=z(tt);scheduler=z(Pr);errorHandler=z(Pn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;execute(){this.executing=!0;for(const n of ba)for(const o of this.sequences)if(!o.erroredOrDestroyed&&o.hooks[n])try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>o.hooks[n](o.pipelinedValue))}catch(a){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(a)}this.executing=!1;for(const n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(const n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();class Lp{impl;hooks;once;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,o,a){this.impl=t,this.hooks=n,this.once=o,this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Hi(e,t){!t?.injector&&Mi();const n=t?.injector??z(It);return Mt("NgAfterNextRender"),function Ad(e,t,n,o){const a=t.get(ji);a.impl??=t.get(Vr);const c=n?.phase??Xo.MixedReadWrite,f=!0!==n?.manualCleanup?t.get(lo):null,h=new Lp(a.impl,function G_(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,c),o,f);return a.impl.register(h),h}(e,n,t,!0)}let Ki=()=>null;function jn(e,t,n=!1){return Ki(e,t,n)}var ni=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(ni||{});let Wd,rc;function Xp(){if(void 0===Wd&&(Wd=null,dt.trustedTypes))try{Wd=dt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Wd}function Sa(e){return Xp()?.createHTML(e)||e}function py(e){return function Yp(){if(void 0===rc&&(rc=null,dt.trustedTypes))try{rc=dt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rc}()?.createHTML(e)||e}class ri{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vs})`}}class WC extends ri{getTypeName(){return"HTML"}}class qC extends ri{getTypeName(){return"Style"}}class KC extends ri{getTypeName(){return"Script"}}class ZC extends ri{getTypeName(){return"URL"}}class QC extends ri{getTypeName(){return"ResourceURL"}}function mo(e){return e instanceof ri?e.changingThisBreaksApplicationSecurity:e}function Aa(e,t){const n=function XC(e){return e instanceof ri&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${vs})`)}return n===t}function YC(e){return new WC(e)}function JC(e){return new qC(e)}function eE(e){return new KC(e)}function tE(e){return new ZC(e)}function nE(e){return new QC(e)}class rE{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Sa(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class oE{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Sa(t),n}}const sE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qd(e){return(e=String(e)).match(sE)?e:"unsafe:"+e}function _o(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function oc(...e){const t={};for(const n of e)for(const o in n)n.hasOwnProperty(o)&&(t[o]=!0);return t}const yy=_o("area,br,col,hr,img,wbr"),vy=_o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),by=_o("rp,rt"),Jp=oc(yy,oc(vy,_o("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")),oc(by,_o("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")),oc(by,vy)),eg=_o("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dy=oc(eg,_o("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"),_o("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")),cE=_o("script,style,template");class uE{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,o=!0,a=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?o=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,o&&n.firstChild)a.push(n),n=hE(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=fE(n);if(c){n=c;break}n=a.pop()}return this.buf.join("")}startElement(t){const n=Cy(t).toLowerCase();if(!Jp.hasOwnProperty(n))return this.sanitizedSomething=!0,!cE.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const o=t.attributes;for(let a=0;a"),!0}endElement(t){const n=Cy(t).toLowerCase();Jp.hasOwnProperty(n)&&!yy.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(wy(t))}}function fE(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ey(t);return t}function hE(e){const t=e.firstChild;if(t&&function dE(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Ey(t);return t}function Cy(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Ey(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const pE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gE=/([^\#-~ |!])/g;function wy(e){return e.replace(/&/g,"&").replace(pE,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(gE,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Kd;function Iy(e,t){let n=null;try{Kd=Kd||function _y(e){const t=new oE(e);return function iE(){try{return!!(new window.DOMParser).parseFromString(Sa(""),"text/html")}catch{return!1}}()?new rE(t):t}(e);let o=t?String(t):"";n=Kd.getInertBodyElement(o);let a=5,c=o;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,o=c,c=n.innerHTML,n=Kd.getInertBodyElement(o)}while(o!==c);return Sa((new uE).sanitizeChildren(tg(n)||n))}finally{if(n){const o=tg(n)||n;for(;o.firstChild;)o.firstChild.remove()}}}function tg(e){return"content"in e&&function mE(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Zi=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}(Zi||{});function My(e){const t=function ic(){const e=S();return e&&e[ln].sanitizer}();return t?py(t.sanitize(Zi.HTML,e)||""):Aa(e,"HTML")?py(mo(e)):Iy(Ln(),ue(e))}function Sy(e){return function zC(e){return Xp()?.createScriptURL(e)||e}(e[0])}const CE=/^>|^->||--!>|)/g;function Ny(e){return e.ownerDocument}var pn=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(pn||{}),cc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(cc||{});let Qd;function Xd(e,t){return Qd(e,t)}function oi(e,t,n,o,a){if(null!=o){let c,f=!1;pt(o)?c=o:it(o)&&(f=!0,o=o[Je]);const h=Ae(o);0===e&&null!==n?null==a?nf(t,n,h):yo(t,n,h,a||null,!0):1===e&&null!==n?yo(t,n,h,a||null,!0):2===e?function Oa(e,t,n){e.removeChild(null,t,n)}(t,h,f):3===e&&t.destroyNode(h),null!=c&&function Wy(e,t,n,o,a){const c=n[hr];c!==Ae(n)&&oi(t,e,o,c,a);for(let h=ut;ht.replace(EE,"\u200b$1\u200b"))}(t))}function Jd(e,t,n){return e.createElement(t,n)}function cg(e,t){t[ln].changeDetectionScheduler?.notify(10),lf(e,t,t[de],2,null,null)}function Ly(e,t){const n=e[Ai],o=t[ft];(it(o)||t[Qe]!==o[ft][Qe])&&(e[ee]|=gl.HasTransplantedViews),null===n?e[Ai]=[t]:n.push(t)}function ug(e,t){const n=e[Ai],o=n.indexOf(t);n.splice(o,1)}function uc(e,t){if(e.length<=ut)return;const n=ut+t,o=e[n];if(o){const a=o[no];null!==a&&a!==e&&ug(a,o),t>0&&(e[n-1][kt]=o[kt]);const c=al(e,ut+t);!function ef(e,t){cg(e,t),t[Je]=null,t[ht]=null}(o[P],o);const f=c[Zn];null!==f&&f.detachView(c[P]),o[ft]=null,o[kt]=null,o[ee]&=-129}return o}function ka(e,t){if(!(256&t[ee])){const n=t[de];n.destroyNode&&lf(e,t,n,3,null,null),function RE(e){let t=e[Oo];if(!t)return dc(e[P],e);for(;t;){let n=null;if(it(t))n=t[Oo];else{const o=t[ut];o&&(n=o)}if(!n){for(;t&&!t[kt]&&t!==e;)it(t)&&dc(t[P],t),t=t[ft];null===t&&(t=e),it(t)&&dc(t[P],t),n=t&&t[kt]}t=n}}(t)}}function dc(e,t){if(256&t[ee])return;const n=q(null);try{t[ee]&=-129,t[ee]|=256,t[Zt]&&ze(t[Zt]),function PE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o=0?o[h]():o[-h].unsubscribe(),f+=2}else n[f].call(o[n[f+1]]);null!==o&&(t[Ls]=null);const a=t[ro];if(null!==a){t[ro]=null;for(let f=0;f-1){const{encapsulation:c}=e.data[o.directiveStart+a];if(c===ni.None||c===ni.Emulated)return null}return cn(o,n)}}(e,t.parent,n)}function yo(e,t,n,o,a){e.insertBefore(t,n,o,a)}function nf(e,t,n){e.appendChild(t,n)}function By(e,t,n,o,a){null!==o?yo(e,t,n,o,a):nf(e,t,n)}function rf(e,t){return e.parentNode(t)}function Hy(e,t,n){return $y(e,t,n)}let fg,$y=function Uy(e,t,n){return 40&e.type?cn(e,n):null};function fc(e,t,n,o){const a=tf(e,o,t),c=t[de],h=Hy(o.parent||t[ht],o,t);if(null!=a)if(Array.isArray(n))for(let p=0;p-1){let c;for(;++ac?"":a[y+1].toLowerCase(),2&o&&m!==v){if(nr(o))return!1;f=!0}}}}else{if(!f&&!nr(o)&&!nr(p))return!1;if(f&&nr(p))continue;f=!1,o=p|1&o}}return nr(o)||f}function nr(e){return!(1&e)}function mg(e,t,n,o){if(null===t)return-1;let a=0;if(o||!n){let c=!1;for(;a-1)for(n++;n0?'="'+h+'"':"")+"]"}else 8&o?a+="."+f:4&o&&(a+=" "+f);else""!==a&&!nr(f)&&(t+=Jy(c,a),a=""),o=f,c=c||!nr(o);n++}return""!==a&&(t+=Jy(c,a)),t}const me={};function Ra(e=1){_g(ne(),S(),Ot()+e,!1)}function _g(e,t,n,o){if(!o)if(3&~t[ee]){const c=e.preOrderHooks;null!==c&&Dn(t,c,0,n)}else{const c=e.preOrderCheckHooks;null!==c&&Ml(t,c,n)}Vo(n)}function Yi(e,t=Ee.Default){const n=S();return null===n?Ge(e,t):Xu(we(),n,oe(e),t)}function vo(){throw new Error("invalid")}function cf(e,t,n,o,a,c){const f=q(null);try{let h=null;a&pn.SignalBased&&(h=t[o][Q]),null!==h&&void 0!==h.transformFn&&(c=h.transformFn(c)),a&pn.HasDecoratorInputTransform&&(c=e.inputTransforms[o].call(t,c)),null!==e.setInput?e.setInput(t,h,c,n,o):Ah(t,h,o,c)}finally{q(f)}}function ai(e,t,n,o,a,c,f,h,p,m,y){const v=t.blueprint.slice();return v[Je]=a,v[ee]=1228|o,(null!==m||e&&2048&e[ee])&&(v[ee]|=2048),Oh(v),v[ft]=v[xi]=e,v[Ke]=n,v[ln]=f||e&&e[ln],v[de]=h||e&&e[de],v[Pe]=p||e&&e[Pe]||null,v[ht]=c,v[Po]=function N_(){return TC++}(),v[an]=y,v[Mu]=m,v[Qe]=2==t.type?e[Qe]:v,v}function li(e,t,n,o,a){let c=e.data[t];if(null===c)c=function vg(e,t,n,o,a){const c=jh(),f=Vu(),p=e.data[t]=function QE(e,t,n,o,a,c){let f=t?t.injectorIndex:-1,h=0;return Fr()&&(h|=128),{type:n,index:o,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:h,providerIndexes:0,value:a,attrs:c,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,f?c:c&&c.parent,n,t,o,a);return null===e.firstChild&&(e.firstChild=p),null!==c&&(f?null==c.child&&null!==p.parent&&(c.child=p):null===c.next&&(c.next=p,p.prev=c)),p}(e,t,n,o,a),function vt(){return fe.lFrame.inI18n}()&&(c.flags|=32);else if(64&c.type){c.type=n,c.value=o,c.attrs=a;const f=function Us(){const e=fe.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();c.injectorIndex=null===f?-1:f.injectorIndex}return vn(c,!0),c}function ci(e,t,n,o){if(0===n)return-1;const a=t.length;for(let c=0;cZ&&_g(e,t,Z,!1),Sr(f?2:0,a),n(o,a)}finally{Vo(c),Sr(f?3:1,a)}}function uf(e,t,n){if(Vs(t)){const o=q(null);try{const c=t.directiveEnd;for(let f=t.directiveStart;fnull;function ev(e,t,n,o,a){for(let c in t){if(!t.hasOwnProperty(c))continue;const f=t[c];if(void 0===f)continue;o??={};let h,p=pn.None;Array.isArray(f)?(h=f[0],p=f[1]):h=f;let m=c;if(null!==a){if(!a.hasOwnProperty(c))continue;m=a[c]}0===e?tv(o,n,m,h,p):tv(o,n,m,h)}return o}function tv(e,t,n,o,a){let c;e.hasOwnProperty(n)?(c=e[n]).push(t,o):c=e[n]=[t,o],void 0!==a&&c.push(a)}function wn(e,t,n,o,a,c,f,h){const p=cn(t,n);let y,m=t.inputs;!h&&null!=m&&(y=m[o])?(yc(e,n,y,o,a),io(t)&&function JE(e,t){const n=On(t,e);16&n[ee]||(n[ee]|=64)}(n,t.index)):3&t.type&&(o=function YE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(o),a=null!=f?f(a,t.value||"",o):a,c.setProperty(p,o,a))}function Cg(e,t,n,o){if(Lh()){const a=null===o?null:{"":-1},c=function Ji(e,t){const n=e.directiveRegistry;let o=null,a=null;if(n)for(let c=0;c0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=h&&f.push(h),f.push(n,o,c)}}(e,t,o,ci(e,n,a.hostVars,me),a)}function mf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function vr(e,t,n,o,a,c){const f=cn(e,t);!function wg(e,t,n,o,a,c,f){if(null==c)e.removeAttribute(t,a,n);else{const h=null==f?ue(c):f(c,o||"",a);e.setAttribute(t,a,h,n)}}(t[de],f,c,e.value,n,o,a)}function aw(e,t,n,o,a,c){const f=c[t];if(null!==f)for(let h=0;h0&&(n[a-1][kt]=t),o{Lo(e.lView)},consumerOnSignalRead(){this.lView[Zt]=this}},pw={...pe,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Nr(e.lView);for(;t&&!dv(t[P]);)t=Nr(t);t&&Fu(t)},consumerOnSignalRead(){this.lView[Zt]=this}};function dv(e){return 2!==e.type}function fv(e){if(null===e[oo])return;let t=!0;for(;t;){let n=!1;for(const o of e[oo])o.dirty&&(n=!0,null===o.zone||Zone.current===o.zone?o.run():o.zone.run(()=>o.run()));t=n&&!!(8192&e[ee])}}function yf(e,t=!0,n=0){const a=e[ln].rendererFactory;a.begin?.();try{!function mw(e,t){const n=$h();try{Dl(!0),Ag(e,t);let o=0;for(;yl(e);){if(100===o)throw new V(103,!1);o++,Ag(e,1)}}finally{Dl(n)}}(e,n)}catch(f){throw t&&_c(e,f),f}finally{a.end?.()}}function pv(e,t,n,o){const a=t[ee];if(!(256&~a))return;$u(t);let h=!0,p=null,m=null;dv(e)?(m=function cw(e){return e[Zt]??function uw(e){const t=uv.pop()??Object.create(fw);return t.lView=e,t}(e)}(t),p=lt(m)):null===function ve(){return $}()?(h=!1,m=function hw(e){const t=e[Zt]??Object.create(pw);return t.lView=e,t}(t),p=lt(m)):t[Zt]&&(ze(t[Zt]),t[Zt]=null);try{Oh(t),function Cl(e){return fe.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&bg(e,t,n,2,o);const y=!(3&~a);if(y){const E=e.preOrderCheckHooks;null!==E&&Ml(t,E,null)}else{const E=e.preOrderHooks;null!==E&&Dn(t,E,0,null),zu(t,0)}if(function _w(e){for(let t=gd(e);null!==t;t=$l(t)){if(!(t[ee]&gl.HasTransplantedViews))continue;const n=t[Ai];for(let o=0;o-1&&(uc(t,o),al(n,o))}this._attachedToViewContainer=!1}ka(this._lView[P],this._lView)}onDestroy(t){vl(this._lView,t)}markForCheck(){vc(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Fu(this._cdRefInjectingView||this._lView)}detach(){this._lView[ee]&=-129}reattach(){ku(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,yf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Bs(this._lView),n=this._lView[no];null!==n&&!t&&ug(n,this._lView),cg(this._lView[P],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,!1);this._appRef=t;const n=Bs(this._lView),o=this._lView[no];null!==o&&!n&&Ly(o,this._lView),ku(this._lView)}}let Dc=(()=>class e{static __NG_ELEMENT_ID__=yv})();const vw=Dc,vf=class extends vw{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,o){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,o){const a=ui(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:o});return new bc(a)}};function yv(){return rs(we(),S())}function rs(e,t){return 4&e.type?new vf(t,e,Go(e,t)):null}class Cv{resolveComponentFactory(t){throw Error(`No component factory found for ${rt(t)}.`)}}class Cc{static NULL=new Cv}class is{}class wv{}class ss{}class Ef{}let Iv=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function Mv(){const e=S(),n=On(we().index,e);return(it(n)?n:e)[de]}()})(),Ew=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>null})}return e})();function Tf(e,t,n){let o=n?e.styles:null,a=n?e.classes:null,c=0;if(null!==t)for(let f=0;f0&&qy(e,n,c.join(" "))}}(C,Tt,M,o),void 0!==n&&function Av(e,t,n){const o=e.projection=[];for(let a=0;an()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class kv extends is{injector;componentFactoryResolver=new Og(this);instance=null;constructor(t){super();const n=new ko([...t.providers,{provide:is,useValue:this},{provide:Cc,useValue:this.componentFactoryResolver}],t.parent||wi(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let Fw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const o=bh(0,n.type),a=o.length>0?function Ov(e,t,n=null){return new kv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Oe({token:e,providedIn:"environment",factory:()=>new e(Ge(yn))})}return e})();function Rv(e){return zn(()=>{const t=Hg(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Oi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(Fw).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||ni.Emulated,styles:e.styles||Re,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Mt("NgStandalone"),Ug(n);const o=e.dependencies;return n.directiveDefs=Sf(o,!1),n.pipeDefs=Sf(o,!0),n.id=function Af(e){let t=0;const n=[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 a of n)t=Math.imul(31,t)+a.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function kw(e){return Ce(e)||At(e)}function Ow(e){return null!==e}function Lg(e){return zn(()=>({type:e.type,bootstrap:e.bootstrap||Re,declarations:e.declarations||Re,imports:e.imports||Re,exports:e.exports||Re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Vg(e,t){if(null==e)return dr;const n={};for(const o in e)if(e.hasOwnProperty(o)){const a=e[o];let c,f,h=pn.None;Array.isArray(a)?(h=a[0],c=a[1],f=a[2]??c):(c=a,f=a),t?(n[c]=h!==pn.None?[o,h]:o,t[c]=f):n[c]=o}return n}function Bg(e){return zn(()=>{const t=Hg(e);return Ug(t),t})}function jg(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Hg(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||dr,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Vg(e.inputs,t),outputs:Vg(e.outputs),debugInfo:null}}function Ug(e){e.features?.forEach(t=>t(e))}function Sf(e,t){if(!e)return null;const n=t?Ut:kw;return()=>("function"==typeof e?e():e).map(o=>n(o)).filter(Ow)}function zg(e){return"function"==typeof e&&void 0!==e[Q]}const Yg=new le(""),Of=new le("");let Jg,rb=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,o,a){this._ngZone=n,this.registry=o,Jg||(function jw(e){Jg=e}(a),a.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>!o.updateCb||!o.updateCb(n)||(clearTimeout(o.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,a){let c=-1;o&&o>0&&(c=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==c),n()},o)),this._callbacks.push({doneCb:n,timeoutId:c,updateCb:a})}whenStable(n,o,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,a),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,a){return[]}static \u0275fac=function(o){return new(o||e)(Ge(tt),Ge(ob),Ge(Of))};static \u0275prov=Oe({token:e,factory:e.\u0275fac})}return e})(),ob=(()=>{class e{_applications=new Map;registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return Jg?.findTestabilityInTree(this,n,o)??null}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Tc(e){return!!e&&"function"==typeof e.then}function em(e){return!!e&&"function"==typeof e.subscribe}const tm=new le("");let nm=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o});appInits=z(tm,{optional:!0})??[];injector=z(It);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const a of this.appInits){const c=Xm(this.injector,a);if(Tc(c))n.push(c);else if(em(c)){const f=new Promise((h,p)=>{c.subscribe({complete:h,error:p})});n.push(f)}}const o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(a=>{this.reject(a)}),0===n.length&&o(),this.initialized=!0}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Rf=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new rm})}return e})();class rm{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const o=this.queues.get(n);o.has(t)||(this.queuedEffectCount++,o.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}const xc=new le("");let Mn=(()=>{class e{_bootstrapListeners=[];_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=z(ca);afterRenderManager=z(ji);zonelessEnabled=z(Ol);rootEffectScheduler=z(Rf);dirtyFlags=0;deferredDirtyFlags=0;externalTestViews=new Set;afterTick=new Eo.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=z(Yn).hasPendingTasks.pipe((0,iu.T)(n=>!n));whenStable(){let n;return new Promise(o=>{n=this.isStable.subscribe({next:a=>{a&&o()}})}).finally(()=>{n.unsubscribe()})}_injector=z(yn);get injector(){return this._injector}bootstrap(n,o){const a=n instanceof ss;if(!this._injector.get(nm).done)throw!a&&function Di(e){const t=Ce(e)||At(e)||Ut(e);return null!==t&&t.standalone}(n),new V(405,!1);let f;f=a?n:this._injector.get(Cc).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const h=function ib(e){return e.isBoundToModule}(f)?void 0:this._injector.get(is),m=f.create(It.NULL,[],o||f.selector,h),y=m.location.nativeElement,v=m.injector.get(Yg,null);return v?.registerApplication(y),m.onDestroy(()=>{this.detachView(m.hostView),Sc(this.components,m),v?.unregisterApplication(y)}),this._loadComponent(m),m}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new V(101,!1);const n=q(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,q(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Ef,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;0!==this.dirtyFlags&&o++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const o=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:a,notifyErrorHandler:c}of this.allViews)l(a,c,o,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>yl(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){const o=n;Sc(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const o=this._injector.get(xc,[]);[...this._bootstrapListeners,...o].forEach(a=>a(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Sc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new V(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Sc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function l(e,t,n,o){(n||yl(e))&&yf(e,t,n&&!o?0:1)}let e0=()=>null;function Nc(e,t){return e0(e,t)}let lm=(()=>class e{static __NG_ELEMENT_ID__=vS})();function vS(){return r0(we(),S())}const bS=lm,t0=class extends bS{_lContainer;_hostTNode;_hostLView;constructor(t,n,o){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=o}get element(){return Go(this._hostTNode,this._hostLView)}get injector(){return new bt(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ys(this._hostTNode,this._hostLView);if(Ku(t)){const n=Zs(t,this._hostLView),o=Fi(t);return new bt(n[P].data[o+8],n)}return new bt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=n0(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-ut}createEmbeddedView(t,n,o){let a,c;"number"==typeof o?a=o:null!=o&&(a=o.index,c=o.injector);const f=Nc(this._lContainer,t.ssrId),h=t.createEmbeddedViewImpl(n||{},c,f);return this.insertImpl(h,a,br(this._hostTNode,f)),h}createComponent(t,n,o,a,c){const f=t&&!function dl(e){return"function"==typeof e}(t);let h;if(f)h=n;else{const M=n||{};h=M.index,o=M.injector,a=M.projectableNodes,c=M.environmentInjector||M.ngModuleRef}const p=f?t:new Ec(Ce(t)),m=o||this.parentInjector;if(!c&&null==p.ngModule){const A=(f?m:this.parentInjector).get(yn,null);A&&(c=A)}const y=Ce(p.componentType??{}),v=Nc(this._lContainer,y?.id??null),E=p.create(m,a,v?.firstChild??null,c);return this.insertImpl(E.hostView,h,br(this._hostTNode,v)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,o){const a=t._lView;if(function pC(e){return pt(e[ft])}(a)){const h=this.indexOf(t);if(-1!==h)this.detach(h);else{const p=a[ft],m=new t0(p,p[ht],p[ft]);m.detach(m.indexOf(t))}}const c=this._adjustIndex(n),f=this._lContainer;return ts(f,a,c,o),t.attachToViewContainerRef(),$m(mb(f),c,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=n0(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),o=uc(this._lContainer,n);o&&(al(mb(this._lContainer),n),ka(o[P],o))}detach(t){const n=this._adjustIndex(t,-1),o=uc(this._lContainer,n);return o&&null!=al(mb(this._lContainer),n)?new bc(o):null}_adjustIndex(t,n=0){return t??this.length+n}};function n0(e){return e[8]}function mb(e){return e[8]||(e[8]=[])}function r0(e,t){let n;const o=t[e.index];return pt(o)?n=o:(n=sv(o,t,null,e),t[e.index]=n,mc(t,n)),o0(n,t,e,o),new t0(n,e,t)}let o0=function a0(e,t,n,o){if(e[hr])return;let a;a=8&n.type?Ae(o):function DS(e,t){const n=e[de],o=n.createComment(""),a=cn(t,e);return yo(n,rf(n,a),o,function jy(e,t){return e.nextSibling(t)}(n,a),!1),o}(t,n),e[hr]=a},_b=()=>!1;class yb{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new yb(this.queryList)}setDirty(){this.queryList.setDirty()}}class vb{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const o=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[];for(let c=0;ct.trim())}(t):t}}class bb{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let o=0;o0)o.push(f[h/2]);else{const m=c[h+1],y=t[-p];for(let v=ut;v(Ct(t),t.value);return n[Q]=t,n}(e),o=n[Q];return t?.equal&&(o.equal=t.equal),n.set=a=>$n(o,a),n.update=a=>function ru(e,t){Te()||nu(),$n(e,t(e.value))}(o,a),n.asReadonly=Ib.bind(n),n}function Ib(){const e=this[Q];if(void 0===e.readonlyFn){const t=()=>this();t[Q]=e,e.readonlyFn=t}return e.readonlyFn}function g0(e){return zg(e)&&"function"==typeof e.set}function Tb(e){let t=function M0(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const o=[e];for(;t;){let a;if(kn(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new V(903,!1);a=t.\u0275dir}if(a){if(n){o.push(a);const f=e;f.inputs=um(e.inputs),f.inputTransforms=um(e.inputTransforms),f.declaredInputs=um(e.declaredInputs),f.outputs=um(e.outputs);const h=a.hostBindings;h&&GS(e,h);const p=a.viewQuery,m=a.contentQueries;if(p&&US(e,p),m&&$S(e,m),jS(e,a),lu(e.outputs,a.outputs),kn(a)&&a.data.animation){const y=e.data;y.animation=(y.animation||[]).concat(a.data.animation)}}const c=a.features;if(c)for(let f=0;f=0;o--){const a=e[o];a.hostVars=t+=a.hostVars,a.hostAttrs=We(a.hostAttrs,n=We(n,a.hostAttrs))}}(o)}function jS(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const o=t.inputs[n];if(void 0!==o&&(e.inputs[n]=o,e.declaredInputs[n]=t.declaredInputs[n],null!==t.inputTransforms)){const a=Array.isArray(o)?o[0]:o;if(!t.inputTransforms.hasOwnProperty(a))continue;e.inputTransforms??={},e.inputTransforms[a]=t.inputTransforms[a]}}}function um(e){return e===dr?{}:e===Re?[]:e}function US(e,t){const n=e.viewQuery;e.viewQuery=n?(o,a)=>{t(o,a),n(o,a)}:t}function $S(e,t){const n=e.contentQueries;e.contentQueries=n?(o,a,c)=>{t(o,a,c),n(o,a,c)}:t}function GS(e,t){const n=e.hostBindings;e.hostBindings=n?(o,a)=>{t(o,a),n(o,a)}:t}function N0(e){const t=e.inputConfig,n={};for(const o in t)if(t.hasOwnProperty(o)){const a=t[o];Array.isArray(a)&&a[3]&&(n[o]=a[3])}e.inputTransforms=n}function dm(e){return!!Sb(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Sb(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Do(e,t,n){return e[t]=n}function Dt(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Wa(e,t,n,o){const a=Dt(e,t,n);return Dt(e,t+1,o)||a}function Gf(e,t,n,o,a,c,f,h,p,m){const y=n+Z,v=t.firstCreatePass?function JS(e,t,n,o,a,c,f,h,p){const m=t.consts,y=li(t,e,4,f||null,h||null);Cg(t,n,y,Rn(m,p)),Il(t,y);const v=y.tView=Pa(2,y,o,a,c,t.directiveRegistry,t.pipeRegistry,null,t.schemas,m,null);return null!==t.queries&&(t.queries.template(t,y),v.queries=t.queries.embeddedTView(y)),y}(y,t,e,o,a,c,f,h,p):t.data[y];vn(v,!1);const C=F0(t,e,v,n);Gs()&&fc(t,e,C,v),Xt(C,e);const E=sv(C,e,C,v);return e[y]=E,mc(e,E),function s0(e,t,n){return _b(e,t,n)}(E,v,e),Tu(v)&&df(t,e,v),null!=p&&ff(e,v,m),v}function Ab(e,t,n,o,a,c,f,h){const p=S(),m=ne();return Gf(p,m,e,t,n,o,a,Rn(m.consts,c),f,h),Ab}let F0=function k0(e,t,n,o){return mr(!0),t[de].createComment("")};function Hb(e,t,n,o){const a=S();return Dt(a,je(),t)&&(ne(),vr(Me(),a,e,t,n,o)),Hb}function gm(e,t){return e<<17|t<<2}function ds(e){return e>>17&32767}function Ub(e){return 2|e}function Ka(e){return(131068&e)>>2}function $b(e,t){return-131069&e|t<<2}function Gb(e){return 1|e}function X0(e,t,n,o){const a=e[n+1],c=null===t;let f=o?ds(a):Ka(a),h=!1;for(;0!==f&&(!1===h||c);){const m=e[f+1];KA(e[f],t)&&(h=!0,e[f+1]=o?Gb(m):Ub(m)),f=o?ds(m):Ka(m)}h&&(e[n+1]=o?Ub(a):Gb(a))}function KA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Os(e,t)>=0}const Vt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Y0(e){return e.substring(Vt.key,Vt.keyEnd)}function ZA(e){return e.substring(Vt.value,Vt.valueEnd)}function J0(e,t){const n=Vt.textEnd;return n===t?-1:(t=Vt.keyEnd=function YA(e,t,n){for(;t32;)t++;return t}(e,Vt.key=t,n),qc(e,t,n))}function eI(e,t){const n=Vt.textEnd;let o=Vt.key=qc(e,t,n);return n===o?-1:(o=Vt.keyEnd=function JA(e,t,n){let o;for(;t=65&&(-33&o)<=90||o>=48&&o<=57);)t++;return t}(e,o,n),o=nI(e,o,n),o=Vt.value=qc(e,o,n),o=Vt.valueEnd=function eN(e,t,n){let o=-1,a=-1,c=-1,f=t,h=f;for(;f32&&(h=f),c=a,a=o,o=-33&p}return h}(e,o,n),nI(e,o,n))}function tI(e){Vt.key=0,Vt.keyEnd=0,Vt.value=0,Vt.valueEnd=0,Vt.textEnd=e.length}function qc(e,t,n){for(;t=0;n=eI(t,n))aI(e,Y0(t),ZA(t))}function oI(e){qr(aN,Co,e,!0)}function Co(e,t){for(let n=function QA(e){return tI(e),J0(e,qc(e,0,Vt.textEnd))}(t);n>=0;n=J0(t,n))_n(e,Y0(t),!0)}function Wr(e,t,n,o){const a=S(),c=ne(),f=gr(2);c.firstUpdatePass&&sI(c,e,f,o),t!==me&&Dt(a,f,t)&&lI(c,c.data[Ot()],a,a[de],e,a[f+1]=function cN(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=rt(mo(e)))),e}(t,n),o,f)}function qr(e,t,n,o){const a=ne(),c=gr(2);a.firstUpdatePass&&sI(a,null,c,o);const f=S();if(n!==me&&Dt(f,c,n)){const h=a.data[Ot()];if(uI(h,o)&&!iI(a,c)){let p=o?h.classesWithoutHost:h.stylesWithoutHost;null!==p&&(n=ir(p,n||"")),Wb(a,h,f,n,o)}else!function lN(e,t,n,o,a,c,f,h){a===me&&(a=Re);let p=0,m=0,y=0=e.expandoStartIndex}function sI(e,t,n,o){const a=e.data;if(null===a[n+1]){const c=a[Ot()],f=iI(e,n);uI(c,o)&&null===t&&!f&&(t=!1),t=function nN(e,t,n,o){const a=function Hu(e){const t=fe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let c=o?t.residualClasses:t.residualStyles;if(null===a)0===(o?t.classBindings:t.styleBindings)&&(n=Wf(n=Zb(null,e,t,n,o),t.attrs,o),c=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==a)if(n=Zb(a,e,t,n,o),null===c){let p=function rN(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==Ka(o))return e[ds(o)]}(e,t,o);void 0!==p&&Array.isArray(p)&&(p=Zb(null,e,t,p[1],o),p=Wf(p,t.attrs,o),function oN(e,t,n,o){e[ds(n?t.classBindings:t.styleBindings)]=o}(e,t,o,p))}else c=function iN(e,t,n){let o;const a=t.directiveEnd;for(let c=1+t.directiveStylingLast;c0)&&(m=!0)):y=n,a)if(0!==p){const C=ds(e[h+1]);e[o+1]=gm(C,h),0!==C&&(e[C+1]=$b(e[C+1],o)),e[h+1]=function GA(e,t){return 131071&e|t<<17}(e[h+1],o)}else e[o+1]=gm(h,0),0!==h&&(e[h+1]=$b(e[h+1],o)),h=o;else e[o+1]=gm(p,0),0===h?h=o:e[p+1]=$b(e[p+1],o),p=o;m&&(e[o+1]=Ub(e[o+1])),X0(e,y,o,!0),X0(e,y,o,!1),function qA(e,t,n,o,a){const c=a?e.residualClasses:e.residualStyles;null!=c&&"string"==typeof t&&Os(c,t)>=0&&(n[o+1]=Gb(n[o+1]))}(t,y,e,o,c),f=gm(h,p),c?t.classBindings=f:t.styleBindings=f}(a,c,t,n,f,o)}}function Zb(e,t,n,o,a){let c=null;const f=n.directiveEnd;let h=n.directiveStylingLast;for(-1===h?h=n.directiveStart:h++;h0;){const p=e[a],m=Array.isArray(p),y=m?p[1]:p,v=null===y;let C=n[a+1];C===me&&(C=v?Re:void 0);let E=v?yu(C,o):y===o?C:void 0;if(m&&!mm(E)&&(E=yu(p,o)),mm(E)&&(h=E,f))return h;const M=e[a+1];a=f?ds(M):Ka(M)}if(null!==t){let p=c?t.residualClasses:t.residualStyles;null!=p&&(h=yu(p,o))}return h}function mm(e){return void 0!==e}function uI(e,t){return!!(e.flags&(t?8:16))}class bN{destroy(t){}updateValue(t,n){}swap(t,n){const o=Math.min(t,n),a=Math.max(t,n),c=this.detach(a);if(a-o>1){const f=this.detach(o);this.attach(o,c),this.attach(a,f)}else this.attach(o,c)}move(t,n){this.attach(n,this.detach(t))}}function Qb(e,t,n,o,a){return e===n&&Object.is(t,o)?1:Object.is(a(e,t),a(n,o))?-1:0}function Xb(e,t,n,o){return!(void 0===t||!t.has(o)||(e.attach(n,t.get(o)),t.delete(o),0))}function dI(e,t,n,o,a){if(Xb(e,t,o,n(o,a)))e.updateValue(o,a);else{const c=e.create(o,a);e.attach(o,c)}}function fI(e,t,n,o){const a=new Set;for(let c=t;c<=n;c++)a.add(o(c,e.at(c)));return a}class hI{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const n=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let o=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const a=this._vMap;for(;a.has(o);)o=a.get(o);a.set(o,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,o]of this.kvMap)if(t(o,n),void 0!==this._vMap){const a=this._vMap;for(;a.has(o);)o=a.get(o),t(o,n)}}}function pI(e,t){Mt("NgControlFlow");const n=S(),o=je(),a=n[o]!==me?n[o]:-1,c=-1!==a?_m(n,Z+a):void 0;if(Dt(n,o,e)){const h=q(null);try{if(void 0!==c&&_f(c,0),-1!==e){const p=Z+e,m=_m(n,p),y=Yb(n[P],p),v=Nc(m,y.tView.ssrId);ts(m,ui(n,y,t,{dehydratedView:v}),0,br(y,v))}}finally{q(h)}}else if(void 0!==c){const h=xg(c,0);void 0!==h&&(h[Ke]=t)}}class CN{lContainer;$implicit;$index;constructor(t,n,o){this.lContainer=t,this.$implicit=n,this.$index=o}get $count(){return this.lContainer.length-ut}}function gI(e,t){return t}class wN{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,o){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=o}}function mI(e,t,n,o,a,c,f,h,p,m,y,v,C){Mt("NgControlFlow");const E=S(),M=ne(),A=void 0!==p,R=S(),H=h?f.bind(R[Qe][Ke]):f,N=new wN(A,H);R[Z+e]=N,Gf(E,M,e+1,t,n,o,a,Rn(M.consts,c)),A&&Gf(E,M,e+2,p,m,y,v,Rn(M.consts,C))}class IN extends bN{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,o){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=o}get length(){return this.lContainer.length-ut}at(t){return this.getLView(t)[Ke].$implicit}attach(t,n){const o=n[an];this.needsIndexUpdate||=t!==this.length,ts(this.lContainer,n,t,br(this.templateTNode,o))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function MN(e,t){return uc(e,t)}(this.lContainer,t)}create(t,n){const o=Nc(this.lContainer,this.templateTNode.tView.ssrId),a=ui(this.hostLView,this.templateTNode,new CN(this.lContainer,n,t),{dehydratedView:o});return this.operationsCounter?.recordCreate(),a}destroy(t){ka(t[P],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Ke].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t{e.destroy(p)})}(p,e,c.trackByFn),p.updateIndexes(),c.hasEmptyBlock){const m=je(),y=0===p.length;if(Dt(o,m,y)){const v=n+2,C=_m(o,v);if(y){const E=Yb(a,v),M=Nc(C,E.tView.ssrId);ts(C,ui(o,E,void 0,{dehydratedView:M}),0,br(E,M))}else _f(C,0)}}}finally{q(t)}}function _m(e,t){return e[t]}function Yb(e,t){return js(e,t)}function ym(e,t,n,o){const a=S(),c=ne(),f=Z+e,h=a[de],p=c.firstCreatePass?function xN(e,t,n,o,a,c){const f=t.consts,p=li(t,e,2,o,Rn(f,a));return Cg(t,n,p,Rn(f,c)),null!==p.attrs&&Tf(p,p.attrs,!1),null!==p.mergedAttrs&&Tf(p,p.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,p),p}(f,c,a,t,n,o):c.data[f],m=yI(c,a,p,h,t,e);a[f]=m;const y=Tu(p);return vn(p,!0),Ky(h,m,p),!function Oc(e){return!(32&~e.flags)}(p)&&Gs()&&fc(c,a,m,p),0===function l_(){return fe.lFrame.elementDepthCount}()&&Xt(m,a),function c_(){fe.lFrame.elementDepthCount++}(),y&&(df(c,a,p),uf(c,p,a)),null!==o&&ff(a,p),ym}function vm(){let e=we();Vu()?Bu():(e=e.parent,vn(e,!1));const t=e;(function u_(e){return fe.skipHydrationRootTNode===e})(t)&&function f_(){fe.skipHydrationRootTNode=null}(),function Ph(){fe.lFrame.elementDepthCount--}();const n=ne();return n.firstCreatePass&&(Il(n,e),Vs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function p_(e){return!!(8&e.flags)}(t)&&Wb(n,t,S(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function Cn(e){return!!(16&e.flags)}(t)&&Wb(n,t,S(),t.stylesWithoutHost,!1),vm}function Jb(e,t,n,o){return ym(e,t,n,o),vm(),Jb}let yI=(e,t,n,o,a,c)=>(mr(!0),Jd(o,a,function Jh(){return fe.lFrame.currentNamespace}()));function eD(e,t,n){const o=S(),a=ne(),c=e+Z,f=a.firstCreatePass?function NN(e,t,n,o,a){const c=t.consts,f=Rn(c,o),h=li(t,e,8,"ng-container",f);return null!==f&&Tf(h,f,!0),Cg(t,n,h,Rn(c,a)),null!==t.queries&&t.queries.elementStart(t,h),h}(c,a,o,t,n):a.data[c];vn(f,!0);const h=vI(a,o,f,e);return o[c]=h,Gs()&&fc(a,o,h,f),Xt(h,o),Tu(f)&&(df(a,o,f),uf(a,f,o)),null!=n&&ff(o,f),eD}function tD(){let e=we();const t=ne();return Vu()?Bu():(e=e.parent,vn(e,!1)),t.firstCreatePass&&(Il(t,e),Vs(e)&&t.queries.elementEnd(e)),tD}function nD(e,t,n){return eD(e,t,n),tD(),nD}let vI=(e,t,n,o)=>(mr(!0),lg(t[de],""));function bI(){return S()}const Za=void 0;var RN=["en",[["a","p"],["AM","PM"],Za],[["AM","PM"],Za,Za],[["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"]],Za,[["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"]],Za,[["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}",Za,"{1} 'at' {0}",Za],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ON(e){const n=Math.floor(Math.abs(e)),o=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===o?1:5}];let Kc={};function rD(e){const t=function PN(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=wI(t);if(n)return n;const o=t.split("-")[0];if(n=wI(o),n)return n;if("en"===o)return RN;throw new V(701,!1)}function EI(e){return rD(e)[Zc.PluralCase]}function wI(e){return e in Kc||(Kc[e]=dt.ng&&dt.ng.common&&dt.ng.common.locales&&dt.ng.common.locales[e]),Kc[e]}var Zc=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}(Zc||{});const bm="en-US";let II=bm,$I=(e,t,n)=>{};function sD(e,t,n,o){const a=S(),c=ne(),f=we();return aD(c,a,a[de],f,e,t,o),sD}function aD(e,t,n,o,a,c,f){const h=Tu(o),m=e.firstCreatePass&&lv(e),y=t[Ke],v=es(t);let C=!0;if(3&o.type||f){const A=cn(o,t),R=f?f(A):A,H=v.length,N=f?ye=>f(Ae(ye[o.index])):o.index;let ce=null;if(!f&&h&&(ce=function IF(e,t,n,o){const a=e.cleanup;if(null!=a)for(let c=0;cp?h[p]:null}"string"==typeof f&&(c+=2)}return null}(e,t,a,o.index)),null!==ce)(ce.__ngLastListenerFn__||ce).__ngNextListenerFn__=c,ce.__ngLastListenerFn__=c,C=!1;else{c=WI(o,t,y,c),$I(A,a,c);const ye=n.listen(R,a,c);v.push(c,ye),m&&m.push(a,N,H,H+1)}}else c=WI(o,t,y,c);const E=o.outputs;let M;if(C&&null!==E&&(M=E[a])){const A=M.length;if(A)for(let R=0;R-1?On(e.index,t):t,5);let h=zI(t,n,o,c),p=a.__ngNextListenerFn__;for(;p;)h=zI(t,n,p,c)&&h,p=p.__ngNextListenerFn__;return h}}function qI(e=1){return function Qh(e){return(fe.lFrame.contextLView=function Rh(e,t){for(;e>0;)t=t[xi],e--;return t}(e,fe.lFrame.contextLView))[Ke]}(e)}function MF(e,t){let n=null;const o=function Xy(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let a=0;a(mr(!0),function ag(e,t){return e.createText(t)}(t[de],o));function uD(e){return wm("",e,""),uD}function wm(e,t,n){const o=S(),a=function Bc(e,t,n,o){return Dt(e,je(),n)?t+ue(n)+o:me}(o,e,t,n);return a!==me&&function Hr(e,t,n){const o=Ar(t,e);!function Yd(e,t,n){e.setValue(t,n)}(e[de],o,n)}(o,Ot(),a),wm}function dD(e,t,n){g0(t)&&(t=t());const o=S();return Dt(o,je(),t)&&wn(ne(),Me(),o,e,t,o[de],n,!1),dD}function SM(e,t){const n=g0(e);return n&&e.set(t),n}function fD(e,t){const n=S(),o=ne(),a=we();return aD(o,n,n[de],a,e,t),fD}function hD(e,t,n,o,a){if(e=oe(e),Array.isArray(e))for(let c=0;c>20;if(Ei(e)||!e.multi){const E=new zs(m,a,Yi),M=gD(p,t,a?y:y+C,v);-1===M?(Sl(Xs(h,f),c,p),pD(c,e,t.length),t.push(p),h.directiveStart++,h.directiveEnd++,a&&(h.providerIndexes+=1048576),n.push(E),f.push(E)):(n[M]=E,f[M]=E)}else{const E=gD(p,t,y+C,v),M=gD(p,t,y,y+C),R=M>=0&&n[M];if(a&&!R||!a&&!(E>=0&&n[E])){Sl(Xs(h,f),c,p);const H=function qF(e,t,n,o,a){const c=new zs(e,n,Yi);return c.multi=[],c.index=t,c.componentProviders=0,FM(c,a,o&&!n),c}(a?WF:zF,n.length,a,o,m);!a&&R&&(n[M].providerFactory=H),pD(c,e,t.length,0),t.push(p),h.directiveStart++,h.directiveEnd++,a&&(h.providerIndexes+=1048576),n.push(H),f.push(H)}else pD(c,e,E>-1?E:M,FM(n[a?M:E],m,!a&&o));!a&&o&&R&&n[M].componentProviders++}}}function pD(e,t,n,o){const a=Ei(t),c=function Dh(e){return!!e.useClass}(t);if(a||c){const p=(c?oe(t.useClass):t).prototype.ngOnDestroy;if(p){const m=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const y=m.indexOf(n);-1===y?m.push(n,[o,p]):m[y+1].push(o,p)}else m.push(n,p)}}}function FM(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gD(e,t,n,o){for(let a=n;a{n.providersResolver=(o,a)=>function GF(e,t,n){const o=ne();if(o.firstCreatePass){const a=kn(e);hD(n,o.data,o.blueprint,a,!0),hD(t,o.data,o.blueprint,a,!1)}}(o,a?a(e):e,t)}}function RM(e,t,n,o){return BM(S(),Qt(),e,t,n,o)}function PM(e,t,n,o,a){return function jM(e,t,n,o,a,c,f){const h=t+n;return Wa(e,h,a,c)?Do(e,h+2,f?o.call(f,a,c):o(a,c)):Yf(e,h+2)}(S(),Qt(),e,t,n,o,a)}function LM(e,t,n,o,a,c){return function HM(e,t,n,o,a,c,f,h){const p=t+n;return function fm(e,t,n,o,a){const c=Wa(e,t,n,o);return Dt(e,t+2,a)||c}(e,p,a,c,f)?Do(e,p+3,h?o.call(h,a,c,f):o(a,c,f)):Yf(e,p+3)}(S(),Qt(),e,t,n,o,a,c)}function VM(e,t,n,o,a,c,f){return function UM(e,t,n,o,a,c,f,h,p){const m=t+n;return function Dr(e,t,n,o,a,c){const f=Wa(e,t,n,o);return Wa(e,t+2,a,c)||f}(e,m,a,c,f,h)?Do(e,m+4,p?o.call(p,a,c,f,h):o(a,c,f,h)):Yf(e,m+4)}(S(),Qt(),e,t,n,o,a,c,f)}function Yf(e,t){const n=e[t];return n===me?void 0:n}function BM(e,t,n,o,a,c){const f=t+n;return Dt(e,f,a)?Do(e,f+1,c?o.call(c,a):o(a)):Yf(e,f+1)}function GM(e,t){const n=ne();let o;const a=e+Z;n.firstCreatePass?(o=function rk(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}}(t,n.pipeRegistry),n.data[a]=o,o.onDestroy&&(n.destroyHooks??=[]).push(a,o.onDestroy)):o=n.data[a];const c=o.factory||(o.factory=No(o.type)),h=I(Yi);try{const p=Xn(!1),m=c();return Xn(p),function cD(e,t,n,o){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=o}(n,S(),a,m),m}finally{I(h)}}function zM(e,t,n){const o=e+Z,a=S(),c=Ni(a,o);return function Jf(e,t){return e[P].data[t].pure}(a,o)?BM(a,Qt(),t,c.transform,n,c):c.transform(n)}function WM(e,t){return rs(e,t)}class lT{full;major;minor;patch;constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}let Lk=(()=>{class e{zone=z(tt);changeDetectionScheduler=z(Pr);applicationRef=z(Mn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Vk=new le("",{factory:()=>!1});function CD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new tt({...ED(),scheduleInRootZone:n}),[{provide:tt,useFactory:e},{provide:fr,multi:!0,useFactory:()=>{const o=z(Lk,{optional:!0});return()=>o.initialize()}},{provide:fr,multi:!0,useFactory:()=>{const o=z(jk);return()=>{o.initialize()}}},!0===t?{provide:oa,useValue:!0}:[],{provide:co,useValue:n??E_}]}function Bk(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,o=CD({ngZoneFactory:()=>{const a=ED(e);return a.scheduleInRootZone=n,a.shouldCoalesceEventChangeDetection&&Mt("NgZone_CoalesceEvent"),new tt(a)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Fo([{provide:Vk,useValue:!0},{provide:Ol,useValue:!1},o])}function ED(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let jk=(()=>{class e{subscription=new _s.yU;initialized=!1;zone=z(tt);pendingTasks=z(Yn);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{tt.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{tt.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),th=(()=>{class e{appRef=z(Mn);taskService=z(Yn);ngZone=z(tt);zonelessEnabled=z(Ol);disableScheduling=z(oa,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new _s.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Pl):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(z(co,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof _p||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let o=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 8:this.appRef.deferredDirtyFlags|=8;break;case 6:case 14:this.appRef.dirtyFlags|=2,o=!0;break;case 13:this.appRef.dirtyFlags|=16,o=!0;break;case 12:o=!0;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick(o))return;const a=this.useMicrotaskScheduler?gp:ia;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>a(()=>this.tick())):this.ngZone.runOutsideAngular(()=>a(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Pl+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(n),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gp(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(o){return new(o||e)};static \u0275prov=Oe({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const ID=new le("",{providedIn:"root",factory:()=>z(ID,Ee.Optional|Ee.SkipSelf)||function Hk(){return typeof $localize<"u"&&$localize.locale||bm}()}),Uk=new le("",{providedIn:"root",factory:()=>"USD"}),Tm=new le("");function xm(e){return!e.moduleRef}let fs=null;let vT=(()=>class e{static __NG_ELEMENT_ID__=Xk})();function Xk(e){return function Yk(e,t,n){if(io(e)&&!n){const o=On(e.index,t);return new bc(o,o)}return 175&e.type?new bc(t[Qe],t):null}(we(),S(),!(16&~e))}class ET{constructor(){}supports(t){return dm(t)}create(t){return new rO(t)}}const nO=(e,t)=>t;class rO{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||nO}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,o=this._removalsHead,a=0,c=null;for(;n||o;){const f=!o||n&&n.currentIndex{f=this._trackByFn(a,h),null!==n&&Object.is(n.trackById,f)?(o&&(n=this._verifyReinsertion(n,h,f,a)),Object.is(n.item,h)||this._addIdentityChange(n,h)):(n=this._mismatch(n,h,f,a),o=!0),n=n._next,a++}),this.length=a;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,o,a){let c;return null===t?c=this._itTail:(c=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,c,a)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(o,a))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,c,a)):t=this._addAfter(new oO(n,o),c,a),t}_verifyReinsertion(t,n,o,a){let c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(o,null);return null!==c?t=this._reinsertAfter(c,t._prev,a):t.currentIndex!=a&&(t.currentIndex=a,this._addToMoves(t,a)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,o){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const a=t._prevRemoved,c=t._nextRemoved;return null===a?this._removalsHead=c:a._nextRemoved=c,null===c?this._removalsTail=a:c._prevRemoved=a,this._insertAfter(t,n,o),this._addToMoves(t,o),t}_moveAfter(t,n,o){return this._unlink(t),this._insertAfter(t,n,o),this._addToMoves(t,o),t}_addAfter(t,n,o){return this._insertAfter(t,n,o),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,o){const a=null===n?this._itHead:n._next;return t._next=a,t._prev=n,null===a?this._itTail=t:a._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new wT),this._linkedRecords.put(t),t.currentIndex=o,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,o=t._next;return null===n?this._itHead=o:n._next=o,null===o?this._itTail=n:o._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wT),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class oO{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}}class iO{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let o;for(o=this._head;null!==o;o=o._nextDup)if((null===n||n<=o.currentIndex)&&Object.is(o.trackById,t))return o;return null}remove(t){const n=t._prevDup,o=t._nextDup;return null===n?this._head=o:n._nextDup=o,null===o?this._tail=n:o._prevDup=n,null===this._head}}class wT{map=new Map;put(t){const n=t.trackById;let o=this.map.get(n);o||(o=new iO,this.map.set(n,o)),o.add(t)}get(t,n){const a=this.map.get(t);return a?a.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IT(e,t,n){const o=e.previousIndex;if(null===o)return o;let a=0;return n&&o{if(n&&n.key===a)this._maybeAddToChanges(n,o),this._appendAfter=n,n=n._next;else{const c=this._getOrCreateRecordForKey(a,o);n=this._insertBeforeOrAppend(n,c)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let o=n;null!==o;o=o._nextRemoved)o===this._mapHead&&(this._mapHead=null),this._records.delete(o.key),o._nextRemoved=o._next,o.previousValue=o.currentValue,o.currentValue=null,o._prev=null,o._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const o=t._prev;return n._next=t,n._prev=o,t._prev=n,o&&(o._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const a=this._records.get(t);this._maybeAddToChanges(a,n);const c=a._prev,f=a._next;return c&&(c._next=f),f&&(f._prev=c),a._next=null,a._prev=null,a}const o=new aO(t);return this._records.set(t,o),o.currentValue=n,this._addToAdditions(o),o}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(o=>n(t[o],o))}}class aO{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function TT(){return new ND([new ET])}let ND=(()=>{class e{factories;static \u0275prov=Oe({token:e,providedIn:"root",factory:TT});constructor(n){this.factories=n}static create(n,o){if(null!=o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||TT()),deps:[[e,new yh,new mu]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(null!=o)return o;throw new V(901,!1)}}return e})();function xT(){return new FD([new MT])}let FD=(()=>{class e{static \u0275prov=Oe({token:e,providedIn:"root",factory:xT});factories;constructor(n){this.factories=n}static create(n,o){if(o){const a=o.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||xT()),deps:[[e,new yh,new mu]]}}find(n){const o=this.factories.find(a=>a.supports(n));if(o)return o;throw new V(901,!1)}}return e})();function DO(e){try{const{rootComponent:t,appProviders:n,platformProviders:o}=e,a=function Qk(e=[]){if(fs)return fs;const t=function mT(e=[],t){return It.create({name:t,providers:[{provide:cl,useValue:"platform"},{provide:Tm,useValue:new Set([()=>fs=null])},...e]})}(e);return fs=t,function om(){!function hi(e){tu=e}(()=>{throw new V(600,!1)})}(),function _T(e){const t=e.get(Wl,null);Xm(e,()=>{t?.forEach(n=>n())})}(t),t}(o),c=[CD({}),{provide:Pr,useExisting:th},...n||[]];return function hT(e){const t=xm(e)?e.r3Injector:e.moduleRef.injector,n=t.get(tt);return n.run(()=>{xm(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const o=t.get(Pn,null);let a;if(n.runOutsideAngular(()=>{a=n.onError.subscribe({next:c=>{o.handleError(c)}})}),xm(e)){const c=()=>t.destroy(),f=e.platformInjector.get(Tm);f.add(c),t.onDestroy(()=>{a.unsubscribe(),f.delete(c)})}else{const c=()=>e.moduleRef.destroy(),f=e.platformInjector.get(Tm);f.add(c),e.moduleRef.onDestroy(()=>{Sc(e.allPlatformModules,e.moduleRef),a.unsubscribe(),f.delete(c)})}return function ab(e,t,n){try{const o=n();return Tc(o)?o.catch(a=>{throw t.runOutsideAngular(()=>e.handleError(a)),a}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(o,n,()=>{const c=t.get(nm);return c.runInitializers(),c.donePromise.then(()=>{if(function jN(e){"string"==typeof e&&(II=e.toLowerCase().replace(/_/g,"-"))}(t.get(ID,bm)||bm),xm(e)){const h=t.get(Mn);return void 0!==e.rootComponent&&h.bootstrap(e.rootComponent),h}return function qk(e,t){const n=e.injector.get(Mn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>n.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new V(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new kv({providers:c,parent:a,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:a,rootComponent:t})}catch(t){return Promise.reject(t)}}function GO(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function zO(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function LD(e,t){Mt("NgSignals");const n=function et(e){const t=Object.create(hs);t.computation=e;const n=()=>{if(xt(t),Ct(t),t.value===xn)throw t.error;return t.value};return n[Q]=t,n}(e);return t?.equal&&(n[Q].equal=t.equal),n}function Yc(e){const t=q(null);try{return e()}finally{q(t)}}let nx=(()=>class e{view;node;constructor(n,o){this.view=n,this.node=o}static __NG_ELEMENT_ID__=XO})();function XO(){return new nx(S(),we())}let JO=(()=>{class e extends rm{pendingTasks=z(Yn);taskId=null;schedule(n){super.schedule(n),null===this.taskId&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{null!==this.taskId&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=Oe({token:e,providedIn:"root",factory:()=>new e})}return e})();class eR{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,o,a,c,f){this.scheduler=t,this.effectFn=n,this.zone=o,this.injector=c,this.watcher=function ms(e,t,n){const o=Object.create(ou);n&&(o.consumerAllowSignalWrites=!0),o.fn=e,o.schedule=t;const a=p=>{o.cleanupFn=p};return o.ref={notify:()=>jt(o),run:()=>{if(null===o.fn)return;if(function Y(){return G}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(o.dirty=!1,o.hasRun&&!te(o))return;o.hasRun=!0;const p=lt(o);try{o.cleanupFn(),o.cleanupFn=pi,o.fn(a)}finally{xe(o,p)}},cleanup:()=>o.cleanupFn(),destroy:()=>function f(p){(function c(p){return null===p.fn&&null===p.schedule})(p)||(ze(p),p.cleanupFn(),p.fn=null,p.schedule=null,p.cleanupFn=pi)}(o),[Q]:o},o.ref}(h=>this.runEffect(h),()=>this.schedule(),f),this.unregisterOnDestroy=a?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Pn,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}let VD=!1;class rR{[Q];constructor(t){this[Q]=t}destroy(){this[Q].destroy()}}function BD(e,t){if(VD)return function nR(e,t){Mt("NgSignals"),!t?.injector&&Mi();const n=t?.injector??z(It),o=!0!==t?.manualCleanup?n.get(lo):null,a=new eR(n.get(JO),e,typeof Zone>"u"?null:Zone.current,o,n,t?.allowSignalWrites??!1),c=n.get(vT,null,{optional:!0});return c&&8&c._lView[ee]?(c._lView[Si]??=[]).push(a.watcher.notify):a.watcher.notify(),a}(e,t);Mt("NgSignals"),!t?.injector&&Mi();const n=t?.injector??z(It);let a,o=!0!==t?.manualCleanup?n.get(lo):null;const c=n.get(nx,null,{optional:!0}),f=n.get(Pr);return null===c||t?.forceRoot?a=function aR(e,t,n){const o=Object.create(oR);return o.fn=e,o.scheduler=t,o.notifier=n,o.zone=typeof Zone<"u"?Zone.current:null,o.scheduler.schedule(o),o.notifier.notify(13),o}(e,n.get(Rf),f):(a=function sR(e,t,n){const o=Object.create(iR);return o.view=e,o.zone=typeof Zone<"u"?Zone.current:null,o.notifier=t,o.fn=n,e[oo]??=new Set,e[oo].add(o),o.consumerMarkedDirty(o),o}(c.view,f,e),o instanceof rd&&o._lView===c.view&&(o=null)),a.injector=n,null!==o&&(a.onDestroyFn=o.onDestroy(()=>a.destroy())),new rR(a)}const rx={...pe,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:$o,run(){if(this.dirty=!1,this.hasRun&&!te(this))return;this.hasRun=!0;const e=o=>(this.cleanupFns??=[]).push(o),t=lt(this),n=Dl(!1);try{this.maybeCleanup(),this.fn(e)}finally{Dl(n),xe(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},oR={...rx,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){ze(this),this.onDestroyFn(),this.maybeCleanup()}},iR={...rx,consumerMarkedDirty(){this.view[ee]|=8192,Lo(this.view),this.notifier.notify(14)},destroy(){ze(this),this.onDestroyFn(),this.maybeCleanup(),this.view[oo]?.delete(this)}};function gR(e,t){const n=Ce(e),o=t.elementInjector||wi();return new Ec(n).create(o,t.projectableNodes,t.hostElement,t.environmentInjector)}},330:he=>{"use strict";he.exports=JSON.parse('{"name":"ngx-select-ex","version":"19.0.5","description":"Angular based replacement for select boxes","license":"MIT","private":false,"author":"Konstantin Polyntsov ","repository":{"type":"git","url":"git+ssh://git@github.com:optimistex/ngx-select-ex.git"},"bugs":{"url":"https://github.com/optimistex/ngx-select-ex/issues"},"homepage":"https://github.com/optimistex/ngx-select-ex#readme","scripts":{"build":"npm run lint && npm run sync && npm run build:package && npm run test && npm run build:demo && git add -A","build:demo":"ng build ngx-select-ex-demo","build:package":"ng build ngx-select-ex","lint":"ng lint","lint:quiet":"ng lint --quiet","lint:fix":"ng lint --fix","lint:ngx-select-ex:quiet":"ng lint ngx-select-ex --quiet","lint:ngx-select-ex-demo:quiet":"ng lint ngx-select-ex-demo --quiet","ng":"ng","release":"standard-version --commit-all","release:major":"standard-version --release-as major --commit-all","sync":"npm run sync:version && npm run sync:readme && npm run sync:license","sync:version":"npm --prefix=projects/ngx-select-ex pkg set version=$(npm pkg get version | xargs)","sync:readme":"cp README.md projects/ngx-select-ex/README.md","sync:license":"cp LICENSE projects/ngx-select-ex/LICENSE","publish":"npm publish ./dist/ngx-select-ex","publish-dev":"npm publish ./dist/ngx-select-ex --tag dev","start":"ng serve","test":"ng test --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex":"ng test ngx-select-ex --browsers=ChromeHeadlessNoSandbox --watch false","test:ngx-select-ex-demo":"ng test ngx-select-ex-demo --browsers=ChromeHeadlessNoSandbox --watch false","prepare":"husky"},"standard-version":{"scripts":{"postbump":"npm run build"}},"keywords":["ngx-select","ngx-select-ex","angular","angular18","angular19","select","select2","ui-select","multiselect","multi-select"],"dependencies":{"@angular/animations":"^19.0.0","@angular/cdk":"^19.0.0","@angular/common":"^19.0.0","@angular/compiler":"^19.0.0","@angular/core":"^19.0.0","@angular/forms":"^19.0.0","@angular/material":"^19.0.0","@angular/platform-browser":"^19.0.0","@angular/platform-browser-dynamic":"^19.0.0","@angular/router":"^19.0.0","rxjs":"~7.8.0","tslib":"^2.3.0","zone.js":"~0.15.0"},"devDependencies":{"@angular-devkit/build-angular":"^19.0.0","@angular/cli":"^19.0.0","@angular/compiler-cli":"^19.0.0","@types/jasmine":"~5.1.0","angular-eslint":"18.4.1","eslint":"^9.15.0","html-loader":"^5.1.0","husky":"^9.1.7","jasmine-core":"~5.4.0","karma":"~6.4.0","karma-chrome-launcher":"~3.2.0","karma-coverage":"~2.2.0","karma-jasmine":"~5.1.0","karma-jasmine-html-reporter":"~2.1.0","markdown-loader":"^8.0.0","ng-packagr":"^19.0.0","raw-loader":"^4.0.2","standard-version":"^9.5.0","typescript":"~5.6.2","typescript-eslint":"8.15.0"},"contributors":[{"name":"Konstantin Polyntsov","email":"optimistex@gmail.com","url":"https://github.com/optimistex"},{"name":"Vyacheslav Chub","email":"vyacheslav.chub@valor-software.com","url":"https://github.com/buchslava"},{"name":"Dmitriy Shekhovtsov","email":"valorkin@gmail.com","url":"https://github.com/valorkin"},{"name":"Oleksandr Telnov","email":"otelnov@gmail.com","url":"https://github.com/otelnov"}]}')}},he=>{he(he.s=538)}]); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a51ea5e5..e6e05d1b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ngx-select-ex", - "version": "19.0.4", + "version": "19.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ngx-select-ex", - "version": "19.0.4", + "version": "19.0.5", "license": "MIT", "dependencies": { "@angular/animations": "^19.0.0", diff --git a/package.json b/package.json index 1eb7d034..978fc89e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-select-ex", - "version": "19.0.4", + "version": "19.0.5", "description": "Angular based replacement for select boxes", "license": "MIT", "private": false, diff --git a/projects/ngx-select-ex/package.json b/projects/ngx-select-ex/package.json index d60768ef..0a8ffcfc 100644 --- a/projects/ngx-select-ex/package.json +++ b/projects/ngx-select-ex/package.json @@ -1,6 +1,6 @@ { "name": "ngx-select-ex", - "version": "19.0.4", + "version": "19.0.5", "license": "MIT", "peerDependencies": { "@angular/common": "^18.0.0 || ^19.0.0",