-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-4ADYIAMV.js
11 lines (9 loc) · 303 KB
/
chunk-4ADYIAMV.js
1
2
3
4
5
6
7
8
9
10
11
import{$ as Si,$a as Re,A as Ye,Aa as B,Ab as go,B as Ut,Ba as An,Bb as mo,C as $t,Ca as H,Cb as El,D as Xr,Da as ao,Db as Et,E as Xe,Ea as lo,Eb as Al,F as nl,Fa as co,Ga as V,H as rl,Ha as u,I as En,Ia as vl,J as Se,Ja as ke,K as Jr,Ka as Y,L as ol,La as le,M as sl,Ma as yl,N as eo,Na as P,O as De,Oa as uo,P as to,Pa as ho,Q as K,Qa as He,R,Ra as Cl,S as al,Sa as po,T as Be,Ta as _l,U as m,Ua as ze,V as x,Va as G,W as ll,Wa as z,X as io,Xa as U,Y as w,Z as v,_ as y,a as p,aa as E,ab as xe,b as D,ba as ie,bb as ce,c as wn,ca as A,cb as bl,d as Ka,da as b,db as Il,e as Ya,ea as cl,eb as Zt,f as Xa,fa as Je,fb as Sl,g as qr,ga as dl,gb as ne,h as Qr,ha as ul,hb as xi,i as j,ia as ge,ib as Ee,j as Q,ja as Di,jb as $,k as Dt,ka as hl,kb as Ei,l as wt,la as xt,lb as Pe,m as M,ma as Gt,mb as Ve,n as ae,na as no,nb as Le,o as C,oa as pl,ob as Dl,p as bi,pa as wi,q as xn,qa as ut,r as Ja,ra as Oe,rb as wl,s as S,sa as fl,sb as W,t as Ii,ta as ro,tb as xl,u as fe,ua as gl,v as Kr,va as we,w as el,wa as oo,x as Yr,xa as Wt,xb as Tn,y as tl,ya as ml,yb as Mn,z as il,za as so,zb as fo}from"./chunk-KYEXPK5P.js";var Ol=null;function tt(){return Ol}function kl(t){Ol??=t}var Fn=class{},re=new w(""),Do=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>y(rh),providedIn:"platform"});let t=e;return t})(),Rl=new w(""),rh=(()=>{let e=class e extends Do{constructor(){super(),this._doc=y(re),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return tt().getBaseHref(this._doc)}onPopState(n){let r=tt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=tt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function wo(t,e){if(t.length==0)return e;if(e.length==0)return t;let i=0;return t.endsWith("/")&&i++,e.startsWith("/")&&i++,i==2?t+e.substring(1):i==1?t+e:t+"/"+e}function Tl(t){let e=t.match(/#|\?|$/),i=e&&e.index||t.length,n=i-(t[i-1]==="/"?1:0);return t.slice(0,n)+t.slice(i)}function et(t){return t&&t[0]!=="?"?"?"+t:t}var it=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>y(xo),providedIn:"root"});let t=e;return t})(),Pl=new w(""),xo=(()=>{let e=class e extends it{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??y(re).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return wo(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+et(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+et(s));this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+et(s));this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(v(Do),v(Pl,8))},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Vl=(()=>{let e=class e extends it{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=wo(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,s){let a=this.prepareExternalUrl(o+et(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,r,a)}replaceState(n,r,o,s){let a=this.prepareExternalUrl(o+et(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(r){return new(r||e)(v(Do),v(Pl,8))},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})(),Qt=(()=>{let e=class e{constructor(n){this._subject=new Y,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ah(Tl(Ml(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+et(r))}normalize(n){return e.stripTrailingSlash(sh(this._basePath,Ml(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+et(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+et(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}};e.normalizeQueryParams=et,e.joinWithSlash=wo,e.stripTrailingSlash=Tl,e.\u0275fac=function(r){return new(r||e)(v(it))},e.\u0275prov=m({token:e,factory:()=>oh(),providedIn:"root"});let t=e;return t})();function oh(){return new Qt(v(it))}function sh(t,e){if(!t||!e.startsWith(t))return e;let i=e.substring(t.length);return i===""||["/",";","?","#"].includes(i[0])?i:e}function Ml(t){return t.replace(/\/index.html$/,"")}function ah(t){if(new RegExp("^(https?:)?//").test(t)){let[,i]=t.split(/\/\/[^\/]+/);return i}return t}function Ll(t,e){e=encodeURIComponent(e);for(let i of t.split(";")){let n=i.indexOf("="),[r,o]=n==-1?[i,""]:[i.slice(0,n),i.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}var vo=/\s+/,Fl=[],On=(()=>{let e=class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=Fl,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(vo):Fl}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(vo):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(vo).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(r){return new(r||e)(u(B),u(H))},e.\u0275dir=b({type:e,selectors:[["","ngClass",""]],inputs:{klass:[E.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Kt=(()=>{let e=class e{constructor(n,r){this._viewContainer=n,this._context=new yo,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Nl("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Nl("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}};e.\u0275fac=function(r){return new(r||e)(u(He),u(Ei))},e.\u0275dir=b({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),yo=class{constructor(){this.$implicit=null,this.ngIf=null}};function Nl(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${al(e)}'.`)}function lh(t,e){return new R(2100,!1)}var Co=class{createSubscription(e,i){return ao(()=>e.subscribe({next:i,error:n=>{throw n}}))}dispose(e){ao(()=>e.unsubscribe())}},_o=class{createSubscription(e,i){return e.then(i,n=>{throw n})}dispose(e){}},ch=new _o,dh=new Co,uh=(()=>{let e=class e{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Zt(n))return ch;if(Sl(n))return dh;throw lh(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this._ref.markForCheck())}};e.\u0275fac=function(r){return new(r||e)(u(ke,16))},e.\u0275pipe=cl({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var Z=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=A({type:e}),e.\u0275inj=x({});let t=e;return t})(),Eo="browser",hh="server";function Ae(t){return t===Eo}function Ao(t){return t===hh}var jl=(()=>{let e=class e{};e.\u0275prov=m({token:e,providedIn:"root",factory:()=>Ae(y(we))?new bo(y(re),window):new Io});let t=e;return t})(),bo=class{constructor(e,i){this.document=e,this.window=i,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let i=ph(this.document,e);i&&(this.scrollToElement(i),i.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let i=e.getBoundingClientRect(),n=i.left+this.window.pageXOffset,r=i.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}};function ph(t,e){let i=t.getElementById(e)||t.getElementsByName(e)[0];if(i)return i;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=n.nextNode()}}return null}var Io=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Nn=class{};var Fo=class extends Fn{constructor(){super(...arguments),this.supportsDOMEvents=!0}},No=class t extends Fo{static makeCurrent(){kl(new t)}onAndCancel(e,i,n){return e.addEventListener(i,n),()=>{e.removeEventListener(i,n)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=gh();return i==null?null:mh(i)}resetBaseElement(){Ai=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Ll(document.cookie,e)}},Ai=null;function gh(){return Ai=Ai||document.querySelector("base"),Ai?Ai.getAttribute("href"):null}function mh(t){return new URL(t,document.baseURI).pathname}var vh=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})(),Oo=new w(""),$l=(()=>{let e=class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(s=>s.supports(n)),!r)throw new R(5101,!1);return this._eventNameToPlugin.set(n,r),r}};e.\u0275fac=function(r){return new(r||e)(v(Oo),v(le))},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})(),kn=class{constructor(e){this._doc=e}},To="ng-app-id",Gl=(()=>{let e=class e{constructor(n,r,o,s={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ao(s),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${To}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=r,s.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,s=o?.get(r);if(s?.parentNode===n)return o.delete(r),s.removeAttribute(To),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=r,this.platformIsServer&&a.setAttribute(To,this.appId),n.appendChild(a),a}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),s=this.styleRef,a=s.get(r)?.elements;a?a.push(o):s.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(v(re),v(ro),v(oo,8),v(we))},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})(),Mo={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/MathML/"},Ro=/%COMP%/g,Wl="%COMP%",yh=`_nghost-${Wl}`,Ch=`_ngcontent-${Wl}`,_h=!0,bh=new w("",{providedIn:"root",factory:()=>_h});function Ih(t){return Ch.replace(Ro,t)}function Sh(t){return yh.replace(Ro,t)}function Zl(t,e){return e.map(i=>i.replace(Ro,t))}var Hl=(()=>{let e=class e{constructor(n,r,o,s,a,c,l,d=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Ao(c),this.defaultRenderer=new Ti(n,a,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Si.ShadowDom&&(r=D(p({},r),{encapsulation:Si.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Rn?o.applyToHost(n):o instanceof Mi&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,s=o.get(r.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(r.encapsulation){case Si.Emulated:s=new Rn(l,d,r,this.appId,f,a,c,g);break;case Si.ShadowDom:return new ko(l,d,n,r,a,c,this.nonce,g);default:s=new Mi(l,d,r,f,a,c,g);break}o.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(v($l),v(Gl),v(ro),v(bh),v(re),v(we),v(le),v(oo))},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})(),Ti=class{constructor(e,i,n,r){this.eventManager=e,this.doc=i,this.ngZone=n,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS(Mo[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(zl(e)?e.content:e).appendChild(i)}insertBefore(e,i,n){e&&(zl(e)?e.content:e).insertBefore(i,n)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new R(-5104,!1);return i||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,n,r){if(r){i=r+":"+i;let o=Mo[r];o?e.setAttributeNS(o,i,n):e.setAttribute(i,n)}else e.setAttribute(i,n)}removeAttribute(e,i,n){if(n){let r=Mo[n];r?e.removeAttributeNS(r,i):e.removeAttribute(`${n}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,n,r){r&(Wt.DashCase|Wt.Important)?e.style.setProperty(i,n,r&Wt.Important?"important":""):e.style[i]=n}removeStyle(e,i,n){n&Wt.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,n){e!=null&&(e[i]=n)}setValue(e,i){e.nodeValue=i}listen(e,i,n){if(typeof e=="string"&&(e=tt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(n))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function zl(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var ko=class extends Ti{constructor(e,i,n,r,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=i,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=Zl(r.id,r.styles);for(let d of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=d,this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,n){return super.insertBefore(this.nodeOrShadowRoot(e),i,n)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Mi=class extends Ti{constructor(e,i,n,r,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=c?Zl(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Rn=class extends Mi{constructor(e,i,n,r,o,s,a,c){let l=r+"-"+n.id;super(e,i,n,o,s,a,c,l),this.contentAttr=Ih(l),this.hostAttr=Sh(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let n=super.createElement(e,i);return super.setAttribute(n,this.contentAttr,""),n}},Dh=(()=>{let e=class e extends kn{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}};e.\u0275fac=function(r){return new(r||e)(v(re))},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})(),Ul=["alt","control","meta","shift"],wh={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},xh={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Eh=(()=>{let e=class e extends kn{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>tt().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(r.pop()),a="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),a="code."),Ul.forEach(d=>{let f=r.indexOf(d);f>-1&&(r.splice(f,1),a+=d+".")}),a+=s,r.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(n,r){let o=wh[n.key]||n.key,s="";return r.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Ul.forEach(a=>{if(a!==o){let c=xh[a];c(n)&&(s+=a+".")}}),s+=o,s===r)}static eventCallback(n,r,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>r(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(r){return new(r||e)(v(re))},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})();function wv(t,e){return El(p({rootComponent:t},Ah(e)))}function Ah(t){return{appProviders:[...Oh,...t?.providers??[]],platformProviders:Nh}}function Th(){No.makeCurrent()}function Mh(){return new co}function Fh(){return fl(document),document}var Nh=[{provide:we,useValue:Eo},{provide:gl,useValue:Th,multi:!0},{provide:re,useFactory:Fh,deps:[]}];var Oh=[{provide:pl,useValue:"root"},{provide:co,useFactory:Mh,deps:[]},{provide:Oo,useClass:Dh,multi:!0,deps:[re,le,we]},{provide:Oo,useClass:Eh,multi:!0,deps:[re]},Hl,Gl,$l,{provide:An,useExisting:Hl},{provide:Nn,useClass:vh,deps:[]},[]];var ql=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(r){return new(r||e)(v(re))},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var _="primary",Wi=Symbol("RouteTitle"),Bo=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function ti(t){return new Bo(t)}function Rh(t,e,i){let n=i.path.split("/");if(n.length>t.length||i.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let r={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:r}}function Ph(t,e){if(t.length!==e.length)return!1;for(let i=0;i<t.length;++i)if(!Ue(t[i],e[i]))return!1;return!0}function Ue(t,e){let i=t?Ho(t):void 0,n=e?Ho(e):void 0;if(!i||!n||i.length!=n.length)return!1;let r;for(let o=0;o<i.length;o++)if(r=i[o],!nc(t[r],e[r]))return!1;return!0}function Ho(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function nc(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let i=[...t].sort(),n=[...e].sort();return i.every((r,o)=>n[o]===r)}else return t===e}function rc(t){return t.length>0?t[t.length-1]:null}function mt(t){return xn(t)?t:Zt(t)?ae(Promise.resolve(t)):C(t)}var Vh={exact:sc,subset:ac},oc={exact:Lh,subset:jh,ignored:()=>!0};function Ql(t,e,i){return Vh[i.paths](t.root,e.root,i.matrixParams)&&oc[i.queryParams](t.queryParams,e.queryParams)&&!(i.fragment==="exact"&&t.fragment!==e.fragment)}function Lh(t,e){return Ue(t,e)}function sc(t,e,i){if(!Tt(t.segments,e.segments)||!Ln(t.segments,e.segments,i)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!sc(t.children[n],e.children[n],i))return!1;return!0}function jh(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(i=>nc(t[i],e[i]))}function ac(t,e,i){return lc(t,e,e.segments,i)}function lc(t,e,i,n){if(t.segments.length>i.length){let r=t.segments.slice(0,i.length);return!(!Tt(r,i)||e.hasChildren()||!Ln(r,i,n))}else if(t.segments.length===i.length){if(!Tt(t.segments,i)||!Ln(t.segments,i,n))return!1;for(let r in e.children)if(!t.children[r]||!ac(t.children[r],e.children[r],n))return!1;return!0}else{let r=i.slice(0,t.segments.length),o=i.slice(t.segments.length);return!Tt(t.segments,r)||!Ln(t.segments,r,n)||!t.children[_]?!1:lc(t.children[_],e,o,n)}}function Ln(t,e,i){return e.every((n,r)=>oc[i](t[r].parameters,n.parameters))}var ht=class{constructor(e=new T([],{}),i={},n=null){this.root=e,this.queryParams=i,this.fragment=n}get queryParamMap(){return this._queryParamMap??=ti(this.queryParams),this._queryParamMap}toString(){return zh.serialize(this)}},T=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jn(this)}},At=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap??=ti(this.parameters),this._parameterMap}toString(){return dc(this)}};function Bh(t,e){return Tt(t,e)&&t.every((i,n)=>Ue(i.parameters,e[n].parameters))}function Tt(t,e){return t.length!==e.length?!1:t.every((i,n)=>i.path===e[n].path)}function Hh(t,e){let i=[];return Object.entries(t.children).forEach(([n,r])=>{n===_&&(i=i.concat(e(r,n)))}),Object.entries(t.children).forEach(([n,r])=>{n!==_&&(i=i.concat(e(r,n)))}),i}var Zi=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>new Vi,providedIn:"root"});let t=e;return t})(),Vi=class{parse(e){let i=new Uo(e);return new ht(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${Fi(e.root,!0)}`,n=Gh(e.queryParams),r=typeof e.fragment=="string"?`#${Uh(e.fragment)}`:"";return`${i}${n}${r}`}},zh=new Vi;function jn(t){return t.segments.map(e=>dc(e)).join("/")}function Fi(t,e){if(!t.hasChildren())return jn(t);if(e){let i=t.children[_]?Fi(t.children[_],!1):"",n=[];return Object.entries(t.children).forEach(([r,o])=>{r!==_&&n.push(`${r}:${Fi(o,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}else{let i=Hh(t,(n,r)=>r===_?[Fi(t.children[_],!1)]:[`${r}:${Fi(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[_]!=null?`${jn(t)}/${i[0]}`:`${jn(t)}/(${i.join("//")})`}}function cc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pn(t){return cc(t).replace(/%3B/gi,";")}function Uh(t){return encodeURI(t)}function zo(t){return cc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bn(t){return decodeURIComponent(t)}function Kl(t){return Bn(t.replace(/\+/g,"%20"))}function dc(t){return`${zo(t.path)}${$h(t.parameters)}`}function $h(t){return Object.entries(t).map(([e,i])=>`;${zo(e)}=${zo(i)}`).join("")}function Gh(t){let e=Object.entries(t).map(([i,n])=>Array.isArray(n)?n.map(r=>`${Pn(i)}=${Pn(r)}`).join("&"):`${Pn(i)}=${Pn(n)}`).filter(i=>i);return e.length?`?${e.join("&")}`:""}var Wh=/^[^\/()?;#]+/;function Po(t){let e=t.match(Wh);return e?e[0]:""}var Zh=/^[^\/()?;=#]+/;function qh(t){let e=t.match(Zh);return e?e[0]:""}var Qh=/^[^=?&#]+/;function Kh(t){let e=t.match(Qh);return e?e[0]:""}var Yh=/^[^&#]+/;function Xh(t){let e=t.match(Yh);return e?e[0]:""}var Uo=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new T([],{}):new T([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(n[_]=new T(e,i)),n}parseSegment(){let e=Po(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new R(4009,!1);return this.capture(e),new At(Bn(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=qh(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let r=Po(this.remaining);r&&(n=r,this.capture(n))}e[Bn(i)]=Bn(n)}parseQueryParam(e){let i=Kh(this.remaining);if(!i)return;this.capture(i);let n="";if(this.consumeOptional("=")){let s=Xh(this.remaining);s&&(n=s,this.capture(n))}let r=Kl(i),o=Kl(n);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Po(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new R(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=_);let s=this.parseChildren();i[o]=Object.keys(s).length===1?s[_]:new T([],s),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new R(4011,!1)}};function uc(t){return t.segments.length>0?new T([],{[_]:t}):t}function hc(t){let e={};for(let[n,r]of Object.entries(t.children)){let o=hc(r);if(n===_&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let i=new T(t.segments,e);return Jh(i)}function Jh(t){if(t.numberOfChildren===1&&t.children[_]){let e=t.children[_];return new T(t.segments.concat(e.segments),e.children)}return t}function ii(t){return t instanceof ht}function ep(t,e,i=null,n=null){let r=pc(t);return fc(r,e,i,n)}function pc(t){let e;function i(o){let s={};for(let c of o.children){let l=i(c);s[c.outlet]=l}let a=new T(o.url,s);return o===t&&(e=a),a}let n=i(t.root),r=uc(n);return e??r}function fc(t,e,i,n){let r=t;for(;r.parent;)r=r.parent;if(e.length===0)return Vo(r,r,r,i,n);let o=tp(e);if(o.toRoot())return Vo(r,r,new T([],{}),i,n);let s=ip(o,r,t),a=s.processChildren?ki(s.segmentGroup,s.index,o.commands):mc(s.segmentGroup,s.index,o.commands);return Vo(r,s.segmentGroup,a,i,n)}function Hn(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Li(t){return typeof t=="object"&&t!=null&&t.outlets}function Vo(t,e,i,n,r){let o={};n&&Object.entries(n).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`});let s;t===e?s=i:s=gc(t,e,i);let a=uc(hc(s));return new ht(a,o,r)}function gc(t,e,i){let n={};return Object.entries(t.children).forEach(([r,o])=>{o===e?n[r]=i:n[r]=gc(o,e,i)}),new T(t.segments,n)}var zn=class{constructor(e,i,n){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=n,e&&n.length>0&&Hn(n[0]))throw new R(4003,!1);let r=n.find(Li);if(r&&r!==rc(n))throw new R(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function tp(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new zn(!0,0,t);let e=0,i=!1,n=t.reduce((r,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:s===0?(o.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?i=!0:a===".."?e++:a!=""&&r.push(a))}),r):[...r,o]},[]);return new zn(i,e,n)}var Jt=class{constructor(e,i,n){this.segmentGroup=e,this.processChildren=i,this.index=n}};function ip(t,e,i){if(t.isAbsolute)return new Jt(e,!0,0);if(!i)return new Jt(e,!1,NaN);if(i.parent===null)return new Jt(i,!0,0);let n=Hn(t.commands[0])?0:1,r=i.segments.length-1+n;return np(i,r,t.numberOfDoubleDots)}function np(t,e,i){let n=t,r=e,o=i;for(;o>r;){if(o-=r,n=n.parent,!n)throw new R(4005,!1);r=n.segments.length}return new Jt(n,!1,r-o)}function rp(t){return Li(t[0])?t[0].outlets:{[_]:t}}function mc(t,e,i){if(t??=new T([],{}),t.segments.length===0&&t.hasChildren())return ki(t,e,i);let n=op(t,e,i),r=i.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new T(t.segments.slice(0,n.pathIndex),{});return o.children[_]=new T(t.segments.slice(n.pathIndex),t.children),ki(o,0,r)}else return n.match&&r.length===0?new T(t.segments,{}):n.match&&!t.hasChildren()?$o(t,e,i):n.match?ki(t,0,r):$o(t,e,i)}function ki(t,e,i){if(i.length===0)return new T(t.segments,{});{let n=rp(i),r={};if(Object.keys(n).some(o=>o!==_)&&t.children[_]&&t.numberOfChildren===1&&t.children[_].segments.length===0){let o=ki(t.children[_],e,i);return new T(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(r[o]=mc(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(r[o]=s)}),new T(t.segments,r)}}function op(t,e,i){let n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(n>=i.length)return o;let s=t.segments[r],a=i[n];if(Li(a))break;let c=`${a}`,l=n<i.length-1?i[n+1]:null;if(r>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Xl(c,l,s))return o;n+=2}else{if(!Xl(c,{},s))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function $o(t,e,i){let n=t.segments.slice(0,e),r=0;for(;r<i.length;){let o=i[r];if(Li(o)){let c=sp(o.outlets);return new T(n,c)}if(r===0&&Hn(i[0])){let c=t.segments[e];n.push(new At(c.path,Yl(i[0]))),r++;continue}let s=Li(o)?o.outlets[_]:`${o}`,a=r<i.length-1?i[r+1]:null;s&&a&&Hn(a)?(n.push(new At(s,Yl(a))),r+=2):(n.push(new At(s,{})),r++)}return new T(n,{})}function sp(t){let e={};return Object.entries(t).forEach(([i,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[i]=$o(new T([],{}),0,n))}),e}function Yl(t){let e={};return Object.entries(t).forEach(([i,n])=>e[i]=`${n}`),e}function Xl(t,e,i){return t==i.path&&Ue(e,i.parameters)}var Ri="imperative",X=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(X||{}),Me=class{constructor(e,i){this.id=e,this.url=i}},ni=class extends Me{constructor(e,i,n="imperative",r=null){super(e,i),this.type=X.NavigationStart,this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},$e=class extends Me{constructor(e,i,n){super(e,i),this.urlAfterRedirects=n,this.type=X.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Te=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Te||{}),Un=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Un||{}),pt=class extends Me{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=X.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},ft=class extends Me{constructor(e,i,n,r){super(e,i),this.reason=n,this.code=r,this.type=X.NavigationSkipped}},ji=class extends Me{constructor(e,i,n,r){super(e,i),this.error=n,this.target=r,this.type=X.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},$n=class extends Me{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=X.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Go=class extends Me{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=X.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wo=class extends Me{constructor(e,i,n,r,o){super(e,i),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o,this.type=X.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Zo=class extends Me{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=X.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qo=class extends Me{constructor(e,i,n,r){super(e,i),this.urlAfterRedirects=n,this.state=r,this.type=X.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qo=class{constructor(e){this.route=e,this.type=X.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ko=class{constructor(e){this.route=e,this.type=X.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Yo=class{constructor(e){this.snapshot=e,this.type=X.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xo=class{constructor(e){this.snapshot=e,this.type=X.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jo=class{constructor(e){this.snapshot=e,this.type=X.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},es=class{constructor(e){this.snapshot=e,this.type=X.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gn=class{constructor(e,i,n){this.routerEvent=e,this.position=i,this.anchor=n,this.type=X.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Bi=class{},Hi=class{constructor(e){this.url=e}};var ts=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new qi,this.attachRef=null}},qi=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new ts,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Wn=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=is(e,this._root);return i?i.children.map(n=>n.value):[]}firstChild(e){let i=is(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=ns(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return ns(e,this._root).map(i=>i.value)}};function is(t,e){if(t===e.value)return e;for(let i of e.children){let n=is(t,i);if(n)return n}return null}function ns(t,e){if(t===e.value)return[e];for(let i of e.children){let n=ns(t,i);if(n.length)return n.unshift(e),n}return[]}var me=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function Xt(t){let e={};return t&&t.children.forEach(i=>e[i.value.outlet]=i),e}var Zn=class extends Wn{constructor(e,i){super(e),this.snapshot=i,ps(this,e)}toString(){return this.snapshot.toString()}};function vc(t){let e=ap(t),i=new Q([new At("",{})]),n=new Q({}),r=new Q({}),o=new Q({}),s=new Q(""),a=new gt(i,n,o,s,r,_,t,e.root);return a.snapshot=e.root,new Zn(new me(a,[]),e)}function ap(t){let e={},i={},n={},r="",o=new zi([],e,n,r,i,_,t,null,{});return new qn("",new me(o,[]))}var gt=class{constructor(e,i,n,r,o,s,a,c){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(S(l=>l[Wi]))??C(void 0),this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(S(e=>ti(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(e=>ti(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function hs(t,e,i="emptyOnly"){let n,{routeConfig:r}=t;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:p(p({},e.params),t.params),data:p(p({},e.data),t.data),resolve:p(p(p(p({},t.data),e.data),r?.data),t._resolvedData)}:n={params:p({},t.params),data:p({},t.data),resolve:p(p({},t.data),t._resolvedData??{})},r&&Cc(r)&&(n.resolve[Wi]=r.title),n}var zi=class{get title(){return this.data?.[Wi]}constructor(e,i,n,r,o,s,a,c,l){this.url=e,this.params=i,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=ti(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ti(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},qn=class extends Wn{constructor(e,i){super(i),this.url=e,ps(this,i)}toString(){return yc(this._root)}};function ps(t,e){e.value._routerState=t,e.children.forEach(i=>ps(t,i))}function yc(t){let e=t.children.length>0?` { ${t.children.map(yc).join(", ")} } `:"";return`${t.value}${e}`}function Lo(t){if(t.snapshot){let e=t.snapshot,i=t._futureSnapshot;t.snapshot=i,Ue(e.queryParams,i.queryParams)||t.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&t.fragmentSubject.next(i.fragment),Ue(e.params,i.params)||t.paramsSubject.next(i.params),Ph(e.url,i.url)||t.urlSubject.next(i.url),Ue(e.data,i.data)||t.dataSubject.next(i.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function rs(t,e){let i=Ue(t.params,e.params)&&Bh(t.url,e.url),n=!t.parent!=!e.parent;return i&&!n&&(!t.parent||rs(t.parent,e.parent))}function Cc(t){return typeof t.title=="string"||t.title===null}var lp=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=_,this.activateEvents=new Y,this.deactivateEvents=new Y,this.attachEvents=new Y,this.detachEvents=new Y,this.parentContexts=y(qi),this.location=y(He),this.changeDetector=y(ke),this.environmentInjector=y(wi),this.inputBinder=y(Xn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new R(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new R(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new R(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new R(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new os(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=b({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Je]});let t=e;return t})(),os=class{constructor(e,i,n){this.route=e,this.childContexts=i,this.parent=n}get(e,i){return e===gt?this.route:e===qi?this.childContexts:this.parent.get(e,i)}},Xn=new w(""),Jl=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Ii([r.queryParams,r.params,r.data]).pipe(De(([s,a,c],l)=>(c=p(p(p({},s),a),c),l===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let a=Al(r.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})();function cp(t,e,i){let n=Ui(t,e._root,i?i._root:void 0);return new Zn(n,e)}function Ui(t,e,i){if(i&&t.shouldReuseRoute(e.value,i.value.snapshot)){let n=i.value;n._futureSnapshot=e.value;let r=dp(t,e,i);return new me(n,r)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ui(t,a)),s}}let n=up(e.value),r=e.children.map(o=>Ui(t,o));return new me(n,r)}}function dp(t,e,i){return e.children.map(n=>{for(let r of i.children)if(t.shouldReuseRoute(n.value,r.value.snapshot))return Ui(t,n,r);return Ui(t,n)})}function up(t){return new gt(new Q(t.url),new Q(t.params),new Q(t.queryParams),new Q(t.fragment),new Q(t.data),t.outlet,t.component,t)}var _c="ngNavigationCancelingError";function bc(t,e){let{redirectTo:i,navigationBehaviorOptions:n}=ii(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=Ic(!1,Te.Redirect);return r.url=i,r.navigationBehaviorOptions=n,r}function Ic(t,e){let i=new Error(`NavigationCancelingError: ${t||""}`);return i[_c]=!0,i.cancellationCode=e,i}function hp(t){return Sc(t)&&ii(t.url)}function Sc(t){return!!t&&t[_c]}var pp=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ie({type:e,selectors:[["ng-component"]],standalone:!0,features:[xl],decls:1,vars:0,template:function(r,o){r&1&&ce(0,"router-outlet")},dependencies:[lp],encapsulation:2});let t=e;return t})();function fp(t,e){return t.providers&&!t._injector&&(t._injector=po(t.providers,e,`Route: ${t.path}`)),t._injector??e}function fs(t){let e=t.children&&t.children.map(fs),i=e?D(p({},t),{children:e}):p({},t);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==_&&(i.component=pp),i}function Ge(t){return t.outlet||_}function gp(t,e){let i=t.filter(n=>Ge(n)===e);return i.push(...t.filter(n=>Ge(n)!==e)),i}function Qi(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var mp=(t,e,i,n)=>S(r=>(new ss(e,r.targetRouterState,r.currentRouterState,i,n).activate(t),r)),ss=class{constructor(e,i,n,r,o){this.routeReuseStrategy=e,this.futureState=i,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let i=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,n,e),Lo(this.futureState.root),this.activateChildRoutes(i,n,e)}deactivateChildRoutes(e,i,n){let r=Xt(i);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,r[s],n),delete r[s]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(r===o)if(r.component){let s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,i,s.children)}else this.deactivateChildRoutes(e,i,n);else o&&this.deactivateRouteAndItsChildren(i,n)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Xt(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,i){let n=i.getContext(e.value.outlet),r=n&&e.value.component?n.children:i,o=Xt(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,i,n){let r=Xt(i);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new es(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Xo(e.value.snapshot))}activateRoutes(e,i,n){let r=e.value,o=i?i.value:null;if(Lo(r),r===o)if(r.component){let s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,s.children)}else this.activateChildRoutes(e,i,n);else if(r.component){let s=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Lo(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Qi(r.snapshot);s.attachRef=null,s.route=r,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Qn=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ei=class{constructor(e,i){this.component=e,this.route=i}};function vp(t,e,i){let n=t._root,r=e?e._root:null;return Ni(n,r,i,[n.value])}function yp(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function oi(t,e){let i=Symbol(),n=e.get(t,i);return n===i?typeof t=="function"&&!ll(t)?t:e.get(t):n}function Ni(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=Xt(e);return t.children.forEach(s=>{Cp(s,o[s.value.outlet],i,n.concat([s.value]),r),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Pi(a,i.getContext(s),r)),r}function Cp(t,e,i,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=_p(s,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new Qn(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Ni(t,e,a?a.children:null,n,r):Ni(t,e,i,n,r),c&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new ei(a.outlet.component,s))}else s&&Pi(e,a,r),r.canActivateChecks.push(new Qn(n)),o.component?Ni(t,null,a?a.children:null,n,r):Ni(t,null,i,n,r);return r}function _p(t,e,i){if(typeof i=="function")return i(t,e);switch(i){case"pathParamsChange":return!Tt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Tt(t.url,e.url)||!Ue(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rs(t,e)||!Ue(t.queryParams,e.queryParams);case"paramsChange":default:return!rs(t,e)}}function Pi(t,e,i){let n=Xt(t),r=t.value;Object.entries(n).forEach(([o,s])=>{r.component?e?Pi(s,e.children.getContext(o),i):Pi(s,null,i):Pi(s,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new ei(e.outlet.component,r)):i.canDeactivateChecks.push(new ei(null,r)):i.canDeactivateChecks.push(new ei(null,r))}function Ki(t){return typeof t=="function"}function bp(t){return typeof t=="boolean"}function Ip(t){return t&&Ki(t.canLoad)}function Sp(t){return t&&Ki(t.canActivate)}function Dp(t){return t&&Ki(t.canActivateChild)}function wp(t){return t&&Ki(t.canDeactivate)}function xp(t){return t&&Ki(t.canMatch)}function Dc(t){return t instanceof Ja||t?.name==="EmptyError"}var Vn=Symbol("INITIAL_VALUE");function ri(){return De(t=>Ii(t.map(e=>e.pipe(Xe(1),eo(Vn)))).pipe(S(e=>{for(let i of e)if(i!==!0){if(i===Vn)return Vn;if(i===!1||i instanceof ht)return i}return!0}),Ye(e=>e!==Vn),Xe(1)))}function Ep(t,e){return fe(i=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=i;return s.length===0&&o.length===0?C(D(p({},i),{guardsResult:!0})):Ap(s,n,r,t).pipe(fe(a=>a&&bp(a)?Tp(n,o,t,e):C(a)),S(a=>D(p({},i),{guardsResult:a})))})}function Ap(t,e,i,n){return ae(t).pipe(fe(r=>kp(r.component,r.route,i,e,n)),Se(r=>r!==!0,!0))}function Tp(t,e,i,n){return ae(e).pipe($t(r=>el(Fp(r.route.parent,n),Mp(r.route,n),Op(t,r.path,i),Np(t,r.route,i))),Se(r=>r!==!0,!0))}function Mp(t,e){return t!==null&&e&&e(new Jo(t)),C(!0)}function Fp(t,e){return t!==null&&e&&e(new Yo(t)),C(!0)}function Np(t,e,i){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let r=n.map(o=>Yr(()=>{let s=Qi(e)??i,a=oi(o,s),c=Sp(a)?a.canActivate(e,t):ut(s,()=>a(e,t));return mt(c).pipe(Se())}));return C(r).pipe(ri())}function Op(t,e,i){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>yp(s)).filter(s=>s!==null).map(s=>Yr(()=>{let a=s.guards.map(c=>{let l=Qi(s.node)??i,d=oi(c,l),f=Dp(d)?d.canActivateChild(n,t):ut(l,()=>d(n,t));return mt(f).pipe(Se())});return C(a).pipe(ri())}));return C(o).pipe(ri())}function kp(t,e,i,n,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return C(!0);let s=o.map(a=>{let c=Qi(e)??r,l=oi(a,c),d=wp(l)?l.canDeactivate(t,e,i,n):ut(c,()=>l(t,e,i,n));return mt(d).pipe(Se())});return C(s).pipe(ri())}function Rp(t,e,i,n){let r=e.canLoad;if(r===void 0||r.length===0)return C(!0);let o=r.map(s=>{let a=oi(s,t),c=Ip(a)?a.canLoad(e,i):ut(t,()=>a(e,i));return mt(c)});return C(o).pipe(ri(),wc(n))}function wc(t){return Ya(K(e=>{if(ii(e))throw bc(t,e)}),S(e=>e===!0))}function Pp(t,e,i,n){let r=e.canMatch;if(!r||r.length===0)return C(!0);let o=r.map(s=>{let a=oi(s,t),c=xp(a)?a.canMatch(e,i):ut(t,()=>a(e,i));return mt(c)});return C(o).pipe(ri(),wc(n))}var $i=class{constructor(e){this.segmentGroup=e||null}},Kn=class extends Error{constructor(e){super(),this.urlTree=e}};function Yt(t){return bi(new $i(t))}function Vp(t){return bi(new R(4e3,!1))}function Lp(t){return bi(Ic(!1,Te.GuardRejected))}var as=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let n=[],r=i.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return C(n);if(r.numberOfChildren>1||!r.children[_])return Vp(e.redirectTo);r=r.children[_]}}applyRedirectCommands(e,i,n){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,n);if(i.startsWith("/"))throw new Kn(r);return r}applyRedirectCreateUrlTree(e,i,n,r){let o=this.createSegmentGroup(e,i.root,n,r);return new ht(o,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let n={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[r]=i[a]}else n[r]=o}),n}createSegmentGroup(e,i,n,r){let o=this.createSegments(e,i.segments,n,r),s={};return Object.entries(i.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,r)}),new T(o,s)}createSegments(e,i,n,r){return i.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,i,n){let r=n[i.path.substring(1)];if(!r)throw new R(4001,!1);return r}findOrReturn(e,i){let n=0;for(let r of i){if(r.path===e.path)return i.splice(n),r;n++}return e}},ls={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jp(t,e,i,n,r){let o=gs(t,e,i);return o.matched?(n=fp(e,n),Pp(n,e,i,r).pipe(S(s=>s===!0?o:p({},ls)))):C(o)}function gs(t,e,i){if(e.path==="**")return Bp(i);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||i.length>0)?p({},ls):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||Rh)(i,t,e);if(!r)return p({},ls);let o={};Object.entries(r.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=r.consumed.length>0?p(p({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Bp(t){return{matched:!0,parameters:t.length>0?rc(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ec(t,e,i,n){return i.length>0&&Up(t,i,n)?{segmentGroup:new T(e,zp(n,new T(i,t.children))),slicedSegments:[]}:i.length===0&&$p(t,i,n)?{segmentGroup:new T(t.segments,Hp(t,i,n,t.children)),slicedSegments:i}:{segmentGroup:new T(t.segments,t.children),slicedSegments:i}}function Hp(t,e,i,n){let r={};for(let o of i)if(Jn(t,e,o)&&!n[Ge(o)]){let s=new T([],{});r[Ge(o)]=s}return p(p({},n),r)}function zp(t,e){let i={};i[_]=e;for(let n of t)if(n.path===""&&Ge(n)!==_){let r=new T([],{});i[Ge(n)]=r}return i}function Up(t,e,i){return i.some(n=>Jn(t,e,n)&&Ge(n)!==_)}function $p(t,e,i){return i.some(n=>Jn(t,e,n))}function Jn(t,e,i){return(t.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function Gp(t,e,i,n){return Ge(t)!==n&&(n===_||!Jn(e,i,t))?!1:gs(e,t,i).matched}function Wp(t,e,i){return e.length===0&&!t.children[i]}var cs=class{};function Zp(t,e,i,n,r,o,s="emptyOnly"){return new ds(t,e,i,n,r,s,o).recognize()}var qp=31,ds=class{constructor(e,i,n,r,o,s,a){this.injector=e,this.configLoader=i,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new as(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new R(4002,`'${e.segmentGroup}'`)}recognize(){let e=ec(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(S(i=>{let n=new zi([],Object.freeze({}),Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,{},_,this.rootComponentType,null,{}),r=new me(n,i),o=new qn("",r),s=ep(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,_).pipe(Ut(n=>{if(n instanceof Kn)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof $i?this.noMatchError(n):n}))}inheritParamsAndData(e,i){let n=e.value,r=hs(n,i,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(o=>this.inheritParamsAndData(o,n))}processSegmentGroup(e,i,n,r){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,i,n):this.processSegment(e,i,n,n.segments,r,!0).pipe(S(o=>o instanceof me?[o]:[]))}processChildren(e,i,n){let r=[];for(let o of Object.keys(n.children))o==="primary"?r.unshift(o):r.push(o);return ae(r).pipe($t(o=>{let s=n.children[o],a=gp(i,o);return this.processSegmentGroup(e,a,s,o)}),sl((o,s)=>(o.push(...s),o)),Xr(null),ol(),fe(o=>{if(o===null)return Yt(n);let s=xc(o);return Qp(s),C(s)}))}processSegment(e,i,n,r,o,s){return ae(i).pipe($t(a=>this.processSegmentAgainstRoute(a._injector??e,i,a,n,r,o,s).pipe(Ut(c=>{if(c instanceof $i)return C(null);throw c}))),Se(a=>!!a),Ut(a=>{if(Dc(a))return Wp(n,r,o)?C(new cs):Yt(n);throw a}))}processSegmentAgainstRoute(e,i,n,r,o,s,a){return Gp(n,r,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,n,o,s):Yt(r):Yt(r)}expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,s){let{matched:a,consumedSegments:c,positionalParamSegments:l,remainingSegments:d}=gs(i,r,o);if(!a)return Yt(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>qp&&(this.allowRedirects=!1));let f=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,l);return this.applyRedirects.lineralizeSegments(r,f).pipe(fe(g=>this.processSegment(e,n,i,g.concat(d),s,!1)))}matchSegmentAgainstRoute(e,i,n,r,o){let s=jp(i,n,r,e,this.urlSerializer);return n.path==="**"&&(i.children={}),s.pipe(De(a=>a.matched?(e=n._injector??e,this.getChildConfig(e,n,r).pipe(De(({routes:c})=>{let l=n._loadedInjector??e,{consumedSegments:d,remainingSegments:f,parameters:g}=a,I=new zi(d,g,Object.freeze(p({},this.urlTree.queryParams)),this.urlTree.fragment,Yp(n),Ge(n),n.component??n._loadedComponent??null,n,Xp(n)),{segmentGroup:te,slicedSegments:ee}=ec(i,d,f,c);if(ee.length===0&&te.hasChildren())return this.processChildren(l,c,te).pipe(S(St=>St===null?null:new me(I,St)));if(c.length===0&&ee.length===0)return C(new me(I,[]));let Zr=Ge(n)===o;return this.processSegment(l,c,te,ee,Zr?_:o,!0).pipe(S(St=>new me(I,St instanceof me?[St]:[])))}))):Yt(i)))}getChildConfig(e,i,n){return i.children?C({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?C({routes:i._loadedRoutes,injector:i._loadedInjector}):Rp(e,i,n,this.urlSerializer).pipe(fe(r=>r?this.configLoader.loadChildren(e,i).pipe(K(o=>{i._loadedRoutes=o.routes,i._loadedInjector=o.injector})):Lp(i))):C({routes:[],injector:e})}};function Qp(t){t.sort((e,i)=>e.value.outlet===_?-1:i.value.outlet===_?1:e.value.outlet.localeCompare(i.value.outlet))}function Kp(t){let e=t.value.routeConfig;return e&&e.path===""}function xc(t){let e=[],i=new Set;for(let n of t){if(!Kp(n)){e.push(n);continue}let r=e.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),i.add(r)):e.push(n)}for(let n of i){let r=xc(n.children);e.push(new me(n.value,r))}return e.filter(n=>!i.has(n))}function Yp(t){return t.data||{}}function Xp(t){return t.resolve||{}}function Jp(t,e,i,n,r,o){return fe(s=>Zp(t,e,i,n,s.extractedUrl,r,o).pipe(S(({state:a,tree:c})=>D(p({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ef(t,e){return fe(i=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=i;if(!r.length)return C(i);let o=new Set(r.map(c=>c.route)),s=new Set;for(let c of o)if(!s.has(c))for(let l of Ec(c))s.add(l);let a=0;return ae(s).pipe($t(c=>o.has(c)?tf(c,n,t,e):(c.data=hs(c,c.parent,t).resolve,C(void 0))),K(()=>a++),Jr(1),fe(c=>a===s.size?C(i):wt))})}function Ec(t){let e=t.children.map(i=>Ec(i)).flat();return[t,...e]}function tf(t,e,i,n){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!Cc(r)&&(o[Wi]=r.title),nf(o,t,e,n).pipe(S(s=>(t._resolvedData=s,t.data=hs(t,t.parent,i).resolve,null)))}function nf(t,e,i,n){let r=Ho(t);if(r.length===0)return C({});let o={};return ae(r).pipe(fe(s=>rf(t[s],e,i,n).pipe(Se(),K(a=>{o[s]=a}))),Jr(1),nl(o),Ut(s=>Dc(s)?wt:bi(s)))}function rf(t,e,i,n){let r=Qi(e)??n,o=oi(t,r),s=o.resolve?o.resolve(e,i):ut(r,()=>o(e,i));return mt(s)}function jo(t){return De(e=>{let i=t(e);return i?ae(i).pipe(S(()=>e)):C(e)})}var Ac=(()=>{let e=class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(s=>s.outlet===_);return r}getResolvedTitleForRoute(n){return n.data[Wi]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>y(of),providedIn:"root"});let t=e;return t})(),of=(()=>{let e=class e extends Ac{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(v(ql))},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Yi=new w("",{providedIn:"root",factory:()=>({})}),Gi=new w(""),ms=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(Mn)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=mt(n.loadComponent()).pipe(S(Tc),K(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),En(()=>{this.componentLoaders.delete(n)})),o=new Qr(r,()=>new j).pipe(qr());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return C({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=sf(r,this.compiler,n,this.onLoadEndListener).pipe(En(()=>{this.childrenLoaders.delete(r)})),a=new Qr(s,()=>new j).pipe(qr());return this.childrenLoaders.set(r,a),a}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function sf(t,e,i,n){return mt(t.loadChildren()).pipe(S(Tc),fe(r=>r instanceof Cl||Array.isArray(r)?C(r):ae(e.compileModuleAsync(r))),S(r=>{n&&n(t);let o,s,a=!1;return Array.isArray(r)?(s=r,a=!0):(o=r.create(i).injector,s=o.get(Gi,[],{optional:!0,self:!0}).flat()),{routes:s.map(fs),injector:o}}))}function af(t){return t&&typeof t=="object"&&"default"in t}function Tc(t){return af(t)?t.default:t}var vs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>y(lf),providedIn:"root"});let t=e;return t})(),lf=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Mc=new w(""),Fc=new w("");function cf(t,e,i){let n=t.get(Fc),r=t.get(re);return t.get(le).runOutsideAngular(()=>{if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,Promise.resolve();let o,s=new Promise(l=>{o=l}),a=r.startViewTransition(()=>(o(),df(t))),{onViewTransitionCreated:c}=n;return c&&ut(t,()=>c({transition:a,from:e,to:i})),s})}function df(t){return new Promise(e=>{yl(e,{injector:t})})}var ys=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new j,this.transitionAbortSubject=new j,this.configLoader=y(ms),this.environmentInjector=y(wi),this.urlSerializer=y(Zi),this.rootContexts=y(qi),this.location=y(Qt),this.inputBindingEnabled=y(Xn,{optional:!0})!==null,this.titleStrategy=y(Ac),this.options=y(Yi,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(vs),this.createViewTransition=y(Mc,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Qo(o)),r=o=>this.events.next(new Ko(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next(D(p(p({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new Q({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ri,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ye(s=>s.id!==0),S(s=>D(p({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),De(s=>{this.currentTransition=s;let a=!1,c=!1;return C(s).pipe(K(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?D(p({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),De(l=>{let d=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=l.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!d&&f!=="reload"){let g="";return this.events.next(new ft(l.id,this.urlSerializer.serialize(l.rawUrl),g,Un.IgnoredSameUrlNavigation)),l.resolve(null),wt}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return C(l).pipe(De(g=>{let I=this.transitions?.getValue();return this.events.next(new ni(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),I!==this.transitions?.getValue()?wt:Promise.resolve(g)}),Jp(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),K(g=>{s.targetSnapshot=g.targetSnapshot,s.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation=D(p({},this.currentNavigation),{finalUrl:g.urlAfterRedirects});let I=new $n(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(I)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:g,extractedUrl:I,source:te,restoredState:ee,extras:Zr}=l,St=new ni(g,this.urlSerializer.serialize(I),te,ee);this.events.next(St);let Xu=vc(this.rootComponentType).snapshot;return this.currentTransition=s=D(p({},l),{targetSnapshot:Xu,urlAfterRedirects:I,extras:D(p({},Zr),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=I,C(s)}else{let g="";return this.events.next(new ft(l.id,this.urlSerializer.serialize(l.extractedUrl),g,Un.IgnoredByUrlHandlingStrategy)),l.resolve(null),wt}}),K(l=>{let d=new Go(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),S(l=>(this.currentTransition=s=D(p({},l),{guards:vp(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),s)),Ep(this.environmentInjector,l=>this.events.next(l)),K(l=>{if(s.guardsResult=l.guardsResult,ii(l.guardsResult))throw bc(this.urlSerializer,l.guardsResult);let d=new Wo(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(d)}),Ye(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Te.GuardRejected),!1)),jo(l=>{if(l.guards.canActivateChecks.length)return C(l).pipe(K(d=>{let f=new Zo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}),De(d=>{let f=!1;return C(d).pipe(ef(this.paramsInheritanceStrategy,this.environmentInjector),K({next:()=>f=!0,complete:()=>{f||this.cancelNavigationTransition(d,"",Te.NoDataFromResolver)}}))}),K(d=>{let f=new qo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}))}),jo(l=>{let d=f=>{let g=[];f.routeConfig?.loadComponent&&!f.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(f.routeConfig).pipe(K(I=>{f.component=I}),S(()=>{})));for(let I of f.children)g.push(...d(I));return g};return Ii(d(l.targetSnapshot.root)).pipe(Xr(null),Xe(1))}),jo(()=>this.afterPreactivation()),De(()=>{let{currentSnapshot:l,targetSnapshot:d}=s,f=this.createViewTransition?.(this.environmentInjector,l.root,d.root);return f?ae(f).pipe(S(()=>s)):C(s)}),S(l=>{let d=cp(n.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=s=D(p({},l),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),K(()=>{this.events.next(new Bi)}),mp(this.rootContexts,n.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Xe(1),K({next:l=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $e(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{a=!0}}),to(this.transitionAbortSubject.pipe(K(l=>{throw l}))),En(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",Te.SupersededByNewNavigation),this.currentNavigation?.id===s.id&&(this.currentNavigation=null)}),Ut(l=>{if(c=!0,Sc(l))this.events.next(new pt(s.id,this.urlSerializer.serialize(s.extractedUrl),l.message,l.cancellationCode)),hp(l)?this.events.next(new Hi(l.url)):s.resolve(!1);else{this.events.next(new ji(s.id,this.urlSerializer.serialize(s.extractedUrl),l,s.targetSnapshot??void 0));try{s.resolve(n.errorHandler(l))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return wt}))}))}cancelNavigationTransition(n,r,o){let s=new pt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function uf(t){return t!==Ri}var hf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>y(pf),providedIn:"root"});let t=e;return t})(),us=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},pf=(()=>{let e=class e extends us{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Nc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:()=>y(ff),providedIn:"root"});let t=e;return t})(),ff=(()=>{let e=class e extends Nc{constructor(){super(...arguments),this.location=y(Qt),this.urlSerializer=y(Zi),this.options=y(Yi,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(vs),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ht,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=vc(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ni)this.stateMemento=this.createStateMemento();else if(n instanceof ft)this.rawUrlTree=r.initialUrl;else if(n instanceof $n){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(o,r)}}else n instanceof Bi?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):n instanceof pt&&(n.code===Te.GuardRejected||n.code===Te.NoDataFromResolver)?this.restoreHistory(r):n instanceof ji?this.restoreHistory(r,!0):n instanceof $e&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let s=this.browserPageId,a=p(p({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(o,"",a)}else{let s=p(p({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Oi=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Oi||{});function Oc(t,e){t.events.pipe(Ye(i=>i instanceof $e||i instanceof pt||i instanceof ji||i instanceof ft),S(i=>i instanceof $e||i instanceof ft?Oi.COMPLETE:(i instanceof pt?i.code===Te.Redirect||i.code===Te.SupersededByNewNavigation:!1)?Oi.REDIRECTING:Oi.FAILED),Ye(i=>i!==Oi.REDIRECTING),Xe(1)).subscribe(()=>{e()})}function gf(t){throw t}var mf={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vf={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},nt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=y(Tn),this.stateManager=y(Nc),this.options=y(Yi,{optional:!0})||{},this.pendingTasks=y(_l),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(ys),this.urlSerializer=y(Zi),this.location=y(Qt),this.urlHandlingStrategy=y(vs),this._events=new j,this.errorHandler=this.options.errorHandler||gf,this.navigated=!1,this.routeReuseStrategy=y(hf),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=y(Gi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!y(Xn,{optional:!0}),this.eventsSubscription=new Ka,this.isNgZoneEnabled=y(le)instanceof le&&le.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof pt&&r.code!==Te.Redirect&&r.code!==Te.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof $e)this.navigated=!0;else if(r instanceof Hi){let a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||uf(o.source)};this.scheduleNavigation(a,Ri,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Cf(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ri,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=p({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(n);this.scheduleNavigation(c,r,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(fs),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=r,d=l?this.currentUrlTree.fragment:a,f=null;switch(c){case"merge":f=p(p({},this.currentUrlTree.queryParams),s);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=s||null}f!==null&&(f=this.removeEmptyProps(f));let g;try{let I=o?o.snapshot:this.routerState.snapshot.root;g=pc(I)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),g=this.currentUrlTree.root}return fc(g,n,f,d??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=ii(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Ri,null,r)}navigate(n,r={skipLocationChange:!1}){return yf(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=p({},mf):r===!1?o=p({},vf):o=r,ii(n))return Ql(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Ql(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,s])=>(s!=null&&(r[o]=s),r),{})}scheduleNavigation(n,r,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,d;a?(c=a.resolve,l=a.reject,d=a.promise):d=new Promise((g,I)=>{c=g,l=I});let f=this.pendingTasks.add();return Oc(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(g=>Promise.reject(g))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function yf(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new R(4008,!1)}function Cf(t){return!(t instanceof Bi)&&!(t instanceof Hi)}var $v=(()=>{let e=class e{constructor(n,r,o,s,a,c){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new j,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(d=>{d instanceof $e&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||r||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let r=this.href===null?null:ml(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(n,r){let o=this.renderer,s=this.el.nativeElement;r!==null?o.setAttribute(s,n,r):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(r){return new(r||e)(u(nt),u(gt),Di("tabindex"),u(H),u(B),u(it))},e.\u0275dir=b({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,o){r&1&&ne("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),r&2&&G("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[E.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Et],skipLocationChange:[E.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Et],replaceUrl:[E.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Et],routerLink:"routerLink"},standalone:!0,features:[ho,Je]});let t=e;return t})();var Yn=class{};var _f=(()=>{let e=class e{constructor(n,r,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(Ye(n=>n instanceof $e),$t(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let s of r){s.providers&&!s._injector&&(s._injector=po(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ae(o).pipe(Kr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=C(null);let s=o.pipe(fe(a=>a===null?C(void 0):(r._loadedRoutes=a.routes,r._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(r.loadComponent&&!r._loadedComponent){let a=this.loader.loadComponent(r);return ae([s,a]).pipe(Kr())}else return s})}};e.\u0275fac=function(r){return new(r||e)(v(nt),v(Mn),v(wi),v(Yn),v(ms))},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),kc=new w(""),bf=(()=>{let e=class e{constructor(n,r,o,s,a={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ni?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof $e?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof ft&&n.code===Un.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Gn&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gn(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(r){vl()},e.\u0275prov=m({token:e,factory:e.\u0275fac});let t=e;return t})();function Gv(t,...e){return no([{provide:Gi,multi:!0,useValue:t},[],{provide:gt,useFactory:Rc,deps:[nt]},{provide:go,multi:!0,useFactory:Pc},e.map(i=>i.\u0275providers)])}function Rc(t){return t.routerState.root}function Xi(t,e){return{\u0275kind:t,\u0275providers:e}}function Pc(){let t=y(Oe);return e=>{let i=t.get(mo);if(e!==i.components[0])return;let n=t.get(nt),r=t.get(Vc);t.get(Cs)===1&&n.initialNavigation(),t.get(Lc,null,io.Optional)?.setUpPreloading(),t.get(kc,null,io.Optional)?.init(),n.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var Vc=new w("",{factory:()=>new j}),Cs=new w("",{providedIn:"root",factory:()=>1});function If(){return Xi(2,[{provide:Cs,useValue:0},{provide:fo,multi:!0,deps:[Oe],useFactory:e=>{let i=e.get(Rl,Promise.resolve());return()=>i.then(()=>new Promise(n=>{let r=e.get(nt),o=e.get(Vc);Oc(r,()=>{n(!0)}),e.get(ys).afterPreactivation=()=>(n(!0),o.closed?C(void 0):o),r.initialNavigation()}))}}])}function Sf(){return Xi(3,[{provide:fo,multi:!0,useFactory:()=>{let e=y(nt);return()=>{e.setUpLocationChangeListener()}}},{provide:Cs,useValue:2}])}var Lc=new w("");function Df(t){return Xi(0,[{provide:Lc,useExisting:_f},{provide:Yn,useExisting:t}])}function wf(){return Xi(8,[Jl,{provide:Xn,useExisting:Jl}])}function xf(t){let e=[{provide:Mc,useValue:cf},{provide:Fc,useValue:p({skipNextTransition:!!t?.skipInitialTransition},t)}];return Xi(9,e)}var tc=new w("ROUTER_FORROOT_GUARD"),Ef=[Qt,{provide:Zi,useClass:Vi},nt,qi,{provide:gt,useFactory:Rc,deps:[nt]},ms,[]],Wv=(()=>{let e=class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Ef,[],{provide:Gi,multi:!0,useValue:n},{provide:tc,useFactory:Ff,deps:[[nt,new xt,new Gt]]},{provide:Yi,useValue:r||{}},r?.useHash?Tf():Mf(),Af(),r?.preloadingStrategy?Df(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Nf(r):[],r?.bindToComponentInputs?wf().\u0275providers:[],r?.enableViewTransitions?xf().\u0275providers:[],Of()]}}static forChild(n){return{ngModule:e,providers:[{provide:Gi,multi:!0,useValue:n}]}}};e.\u0275fac=function(r){return new(r||e)(v(tc,8))},e.\u0275mod=A({type:e}),e.\u0275inj=x({});let t=e;return t})();function Af(){return{provide:kc,useFactory:()=>{let t=y(jl),e=y(le),i=y(Yi),n=y(ys),r=y(Zi);return i.scrollOffset&&t.setOffset(i.scrollOffset),new bf(r,n,t,e,i)}}}function Tf(){return{provide:it,useClass:Vl}}function Mf(){return{provide:it,useClass:xo}}function Ff(t){return"guarded"}function Nf(t){return[t.initialNavigation==="disabled"?Sf().\u0275providers:[],t.initialNavigation==="enabledBlocking"?If().\u0275providers:[]]}var ic=new w("");function Of(){return[{provide:ic,useFactory:Pc},{provide:go,multi:!0,useExisting:ic}]}var Kv=(()=>{let e=class e{constructor(){this.team$=new Dt(1),this.team$.next([])}getTeammates(){return this.team$.asObservable().pipe(S(n=>n.sort((r,o)=>r.name.toLowerCase()<o.name.toLowerCase()?-1:r.name.toLowerCase()<o.name.toLowerCase()?1:0)))}addTeammate(n){this.team$.pipe(Se(),S(r=>(r.push(n),r))).subscribe(r=>{this.team$.next(r)})}editTeammate(n,r){this.team$.pipe(Se(),S(o=>(o=o.map(s=>s===r?n:s),o))).subscribe(o=>{this.team$.next(o)})}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Jv=(()=>{let e=class e{constructor(){this.parameters$=new Dt(1)}getParameters(){return this.parameters$.asObservable().pipe(rl())}setParameters(n){this.parameters$.next(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var jc=!1;function kf(t){if((t=Math.trunc(t)||0)<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}if(!jc){jc=!0;let t=Reflect.getPrototypeOf(Int8Array);for(let e of[Array,String,t])Object.defineProperty(e.prototype,"at",{value:kf,writable:!0,enumerable:!1,configurable:!0})}var Bc=!1,Hc=!1;function zc(t,e,i){Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute(e)?this.getAttribute(e):null},set:function(n){n!==null?this.setAttribute(e,n):this.removeAttribute(e)}})}Bc||Element.prototype.hasOwnProperty("role")||(zc(Element.prototype,"role","role"),Bc=!0),Hc||Element.prototype.hasOwnProperty("ariaLabel")||(Hc=!0,["ActiveDescendant","Atomic","AutoComplete","Busy","Checked","ColCount","ColIndex","ColSpan","Controls","Current","DescribedBy","Details","Disabled","ErrorMessage","Expanded","FlowTo","HasPopup","Hidden","Invalid","KeyShortcuts","Label","LabelledBy","Level","Live","Modal","MultiLine","MultiSelectable","Orientation","Owns","Placeholder","PosInSet","Pressed","ReadOnly","Relevant","Required","RoleDescription","RowCount","RowIndex","RowSpan","Selected","SetSize","Sort","ValueMax","ValueMin","ValueNow","ValueText"].forEach(t=>zc(Element.prototype,"aria-"+t.toLowerCase(),"aria"+t)));var er=window,tr=er.ShadowRoot&&(er.ShadyCSS===void 0||er.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_s=Symbol(),Uc=new WeakMap,Ji=class{constructor(e,i,n){if(this._$cssResult$=!0,n!==_s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=i}get styleSheet(){let e=this.o,i=this.t;if(tr&&e===void 0){let n=i!==void 0&&i.length===1;n&&(e=Uc.get(i)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Uc.set(i,e))}return e}toString(){return this.cssText}},$c=t=>new Ji(typeof t=="string"?t:t+"",void 0,_s),Mt=(t,...e)=>{let i=t.length===1?t[0]:e.reduce((n,r,o)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[o+1],t[0]);return new Ji(i,t,_s)},bs=(t,e)=>{tr?t.adoptedStyleSheets=e.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet):e.forEach(i=>{let n=document.createElement("style"),r=er.litNonce;r!==void 0&&n.setAttribute("nonce",r),n.textContent=i.cssText,t.appendChild(n)})},ir=tr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let i="";for(let n of e.cssRules)i+=n.cssText;return $c(i)})(t):t;var Is,nr=window,Gc=nr.trustedTypes,Rf=Gc?Gc.emptyScript:"",Wc=nr.reactiveElementPolyfillSupport,Ds={toAttribute(t,e){switch(e){case Boolean:t=t?Rf:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=t!==null;break;case Number:i=t===null?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},Zc=(t,e)=>e!==t&&(e==e||t==t),Ss={attribute:!0,type:String,converter:Ds,reflect:!1,hasChanged:Zc},ws="finalized",rt=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var i;this.finalize(),((i=this.h)!==null&&i!==void 0?i:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((i,n)=>{let r=this._$Ep(n,i);r!==void 0&&(this._$Ev.set(r,n),e.push(r))}),e}static createProperty(e,i=Ss){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(e,i),!i.noAccessor&&!this.prototype.hasOwnProperty(e)){let n=typeof e=="symbol"?Symbol():"__"+e,r=this.getPropertyDescriptor(e,n,i);r!==void 0&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,i,n){return{get(){return this[i]},set(r){let o=this[e];this[i]=r,this.requestUpdate(e,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||Ss}static finalize(){if(this.hasOwnProperty(ws))return!1;this[ws]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let i=this.properties,n=[...Object.getOwnPropertyNames(i),...Object.getOwnPropertySymbols(i)];for(let r of n)this.createProperty(r,i[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let i=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let r of n)i.unshift(ir(r))}else e!==void 0&&i.push(ir(e));return i}static _$Ep(e,i){let n=i.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(i=>this.enableUpdating=i),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(i=>i(this))}addController(e){var i,n;((i=this._$ES)!==null&&i!==void 0?i:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)===null||n===void 0||n.call(e))}removeController(e){var i;(i=this._$ES)===null||i===void 0||i.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])})}createRenderRoot(){var e;let i=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return bs(i,this.constructor.elementStyles),i}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(i=>{var n;return(n=i.hostConnected)===null||n===void 0?void 0:n.call(i)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var n;return(n=i.hostDisconnected)===null||n===void 0?void 0:n.call(i)})}attributeChangedCallback(e,i,n){this._$AK(e,n)}_$EO(e,i,n=Ss){var r;let o=this.constructor._$Ep(e,n);if(o!==void 0&&n.reflect===!0){let s=(((r=n.converter)===null||r===void 0?void 0:r.toAttribute)!==void 0?n.converter:Ds).toAttribute(i,n.type);this._$El=e,s==null?this.removeAttribute(o):this.setAttribute(o,s),this._$El=null}}_$AK(e,i){var n;let r=this.constructor,o=r._$Ev.get(e);if(o!==void 0&&this._$El!==o){let s=r.getPropertyOptions(o),a=typeof s.converter=="function"?{fromAttribute:s.converter}:((n=s.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?s.converter:Ds;this._$El=o,this[o]=a.fromAttribute(i,s.type),this._$El=null}}requestUpdate(e,i,n){let r=!0;e!==void 0&&(((n=n||this.constructor.getPropertyOptions(e)).hasChanged||Zc)(this[e],i)?(this._$AL.has(e)||this._$AL.set(e,i),n.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,n))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}_$Ej(){return wn(this,null,function*(){this.isUpdatePending=!0;try{yield this._$E_}catch(i){Promise.reject(i)}let e=this.scheduleUpdate();return e!=null&&(yield e),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((r,o)=>this[o]=r),this._$Ei=void 0);let i=!1,n=this._$AL;try{i=this.shouldUpdate(n),i?(this.willUpdate(n),(e=this._$ES)===null||e===void 0||e.forEach(r=>{var o;return(o=r.hostUpdate)===null||o===void 0?void 0:o.call(r)}),this.update(n)):this._$Ek()}catch(r){throw i=!1,this._$Ek(),r}i&&this._$AE(n)}willUpdate(e){}_$AE(e){var i;(i=this._$ES)===null||i===void 0||i.forEach(n=>{var r;return(r=n.hostUpdated)===null||r===void 0?void 0:r.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((i,n)=>this._$EO(n,this[n],i)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};rt[ws]=!0,rt.elementProperties=new Map,rt.elementStyles=[],rt.shadowRootOptions={mode:"open"},Wc?.({ReactiveElement:rt}),((Is=nr.reactiveElementVersions)!==null&&Is!==void 0?Is:nr.reactiveElementVersions=[]).push("1.6.3");var xs,rr=window,si=rr.trustedTypes,qc=si?si.createPolicy("lit-html",{createHTML:t=>t}):void 0,As="$lit$",vt=`lit$${(Math.random()+"").slice(9)}$`,td="?"+vt,Pf=`<${td}>`,Ot=document,tn=()=>Ot.createComment(""),nn=t=>t===null||typeof t!="object"&&typeof t!="function",id=Array.isArray,Vf=t=>id(t)||typeof t?.[Symbol.iterator]=="function",Es=`[
\f\r]`,en=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qc=/-->/g,Kc=/>/g,Ft=RegExp(`>|${Es}(?:([^\\s"'>=/]+)(${Es}*=${Es}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),Yc=/'/g,Xc=/"/g,nd=/^(?:script|style|textarea|title)$/i,rd=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),ci=rd(1),od=rd(2),kt=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),Jc=new WeakMap,Nt=Ot.createTreeWalker(Ot,129,null,!1);function sd(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return qc!==void 0?qc.createHTML(e):e}var Lf=(t,e)=>{let i=t.length-1,n=[],r,o=e===2?"<svg>":"",s=en;for(let a=0;a<i;a++){let c=t[a],l,d,f=-1,g=0;for(;g<c.length&&(s.lastIndex=g,d=s.exec(c),d!==null);)g=s.lastIndex,s===en?d[1]==="!--"?s=Qc:d[1]!==void 0?s=Kc:d[2]!==void 0?(nd.test(d[2])&&(r=RegExp("</"+d[2],"g")),s=Ft):d[3]!==void 0&&(s=Ft):s===Ft?d[0]===">"?(s=r??en,f=-1):d[1]===void 0?f=-2:(f=s.lastIndex-d[2].length,l=d[1],s=d[3]===void 0?Ft:d[3]==='"'?Xc:Yc):s===Xc||s===Yc?s=Ft:s===Qc||s===Kc?s=en:(s=Ft,r=void 0);let I=s===Ft&&t[a+1].startsWith("/>")?" ":"";o+=s===en?c+Pf:f>=0?(n.push(l),c.slice(0,f)+As+c.slice(f)+vt+I):c+vt+(f===-2?(n.push(void 0),a):I)}return[sd(t,o+(t[i]||"<?>")+(e===2?"</svg>":"")),n]},rn=class t{constructor({strings:e,_$litType$:i},n){let r;this.parts=[];let o=0,s=0,a=e.length-1,c=this.parts,[l,d]=Lf(e,i);if(this.el=t.createElement(l,n),Nt.currentNode=this.el.content,i===2){let f=this.el.content,g=f.firstChild;g.remove(),f.append(...g.childNodes)}for(;(r=Nt.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes()){let f=[];for(let g of r.getAttributeNames())if(g.endsWith(As)||g.startsWith(vt)){let I=d[s++];if(f.push(g),I!==void 0){let te=r.getAttribute(I.toLowerCase()+As).split(vt),ee=/([.?@])?(.*)/.exec(I);c.push({type:1,index:o,name:ee[2],strings:te,ctor:ee[1]==="."?Ms:ee[1]==="?"?Fs:ee[1]==="@"?Ns:li})}else c.push({type:6,index:o})}for(let g of f)r.removeAttribute(g)}if(nd.test(r.tagName)){let f=r.textContent.split(vt),g=f.length-1;if(g>0){r.textContent=si?si.emptyScript:"";for(let I=0;I<g;I++)r.append(f[I],tn()),Nt.nextNode(),c.push({type:2,index:++o});r.append(f[g],tn())}}}else if(r.nodeType===8)if(r.data===td)c.push({type:2,index:o});else{let f=-1;for(;(f=r.data.indexOf(vt,f+1))!==-1;)c.push({type:7,index:o}),f+=vt.length-1}o++}}static createElement(e,i){let n=Ot.createElement("template");return n.innerHTML=e,n}};function ai(t,e,i=t,n){var r,o,s,a;if(e===kt)return e;let c=n!==void 0?(r=i._$Co)===null||r===void 0?void 0:r[n]:i._$Cl,l=nn(e)?void 0:e._$litDirective$;return c?.constructor!==l&&((o=c?._$AO)===null||o===void 0||o.call(c,!1),l===void 0?c=void 0:(c=new l(t),c._$AT(t,i,n)),n!==void 0?((s=(a=i)._$Co)!==null&&s!==void 0?s:a._$Co=[])[n]=c:i._$Cl=c),c!==void 0&&(e=ai(t,c._$AS(t,e.values),c,n)),e}var Ts=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var i;let{el:{content:n},parts:r}=this._$AD,o=((i=e?.creationScope)!==null&&i!==void 0?i:Ot).importNode(n,!0);Nt.currentNode=o;let s=Nt.nextNode(),a=0,c=0,l=r[0];for(;l!==void 0;){if(a===l.index){let d;l.type===2?d=new on(s,s.nextSibling,this,e):l.type===1?d=new l.ctor(s,l.name,l.strings,this,e):l.type===6&&(d=new Os(s,this,e)),this._$AV.push(d),l=r[++c]}a!==l?.index&&(s=Nt.nextNode(),a++)}return Nt.currentNode=Ot,o}v(e){let i=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,i),i+=n.strings.length-2):n._$AI(e[i])),i++}},on=class t{constructor(e,i,n,r){var o;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=n,this.options=r,this._$Cp=(o=r?.isConnected)===null||o===void 0||o}get _$AU(){var e,i;return(i=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&i!==void 0?i:this._$Cp}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=ai(this,e,i),nn(e)?e===q||e==null||e===""?(this._$AH!==q&&this._$AR(),this._$AH=q):e!==this._$AH&&e!==kt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Vf(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==q&&nn(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ot.createTextNode(e)),this._$AH=e}g(e){var i;let{values:n,_$litType$:r}=e,o=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=rn.createElement(sd(r.h,r.h[0]),this.options)),r);if(((i=this._$AH)===null||i===void 0?void 0:i._$AD)===o)this._$AH.v(n);else{let s=new Ts(o,this),a=s.u(this.options);s.v(n),this.$(a),this._$AH=s}}_$AC(e){let i=Jc.get(e.strings);return i===void 0&&Jc.set(e.strings,i=new rn(e)),i}T(e){id(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,n,r=0;for(let o of e)r===i.length?i.push(n=new t(this.k(tn()),this.k(tn()),this,this.options)):n=i[r],n._$AI(o),r++;r<i.length&&(this._$AR(n&&n._$AB.nextSibling,r),i.length=r)}_$AR(e=this._$AA.nextSibling,i){var n;for((n=this._$AP)===null||n===void 0||n.call(this,!1,!0,i);e&&e!==this._$AB;){let r=e.nextSibling;e.remove(),e=r}}setConnected(e){var i;this._$AM===void 0&&(this._$Cp=e,(i=this._$AP)===null||i===void 0||i.call(this,e))}},li=class{constructor(e,i,n,r,o){this.type=1,this._$AH=q,this._$AN=void 0,this.element=e,this.name=i,this._$AM=r,this.options=o,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,i=this,n,r){let o=this.strings,s=!1;if(o===void 0)e=ai(this,e,i,0),s=!nn(e)||e!==this._$AH&&e!==kt,s&&(this._$AH=e);else{let a=e,c,l;for(e=o[0],c=0;c<o.length-1;c++)l=ai(this,a[n+c],i,c),l===kt&&(l=this._$AH[c]),s||(s=!nn(l)||l!==this._$AH[c]),l===q?e=q:e!==q&&(e+=(l??"")+o[c+1]),this._$AH[c]=l}s&&!r&&this.j(e)}j(e){e===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ms=class extends li{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===q?void 0:e}},jf=si?si.emptyScript:"",Fs=class extends li{constructor(){super(...arguments),this.type=4}j(e){e&&e!==q?this.element.setAttribute(this.name,jf):this.element.removeAttribute(this.name)}},Ns=class extends li{constructor(e,i,n,r,o){super(e,i,n,r,o),this.type=5}_$AI(e,i=this){var n;if((e=(n=ai(this,e,i,0))!==null&&n!==void 0?n:q)===kt)return;let r=this._$AH,o=e===q&&r!==q||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,s=e!==q&&(r===q||o);o&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var i,n;typeof this._$AH=="function"?this._$AH.call((n=(i=this.options)===null||i===void 0?void 0:i.host)!==null&&n!==void 0?n:this.element,e):this._$AH.handleEvent(e)}},Os=class{constructor(e,i,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ai(this,e)}};var ed=rr.litHtmlPolyfillSupport;ed?.(rn,on),((xs=rr.litHtmlVersions)!==null&&xs!==void 0?xs:rr.litHtmlVersions=[]).push("2.8.0");var or=(t,e,i)=>{var n,r;let o=(n=i?.renderBefore)!==null&&n!==void 0?n:e,s=o._$litPart$;if(s===void 0){let a=(r=i?.renderBefore)!==null&&r!==void 0?r:null;o._$litPart$=s=new on(e.insertBefore(tn(),a),a,void 0,i??{})}return s._$AI(t),s};var ks,Rs;var We=class extends rt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,i;let n=super.createRenderRoot();return(e=(i=this.renderOptions).renderBefore)!==null&&e!==void 0||(i.renderBefore=n.firstChild),n}update(e){let i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=or(i,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return kt}};We.finalized=!0,We._$litElement$=!0,(ks=globalThis.litElementHydrateSupport)===null||ks===void 0||ks.call(globalThis,{LitElement:We});var ad=globalThis.litElementPolyfillSupport;ad?.({LitElement:We});((Rs=globalThis.litElementVersions)!==null&&Rs!==void 0?Rs:globalThis.litElementVersions=[]).push("3.3.3");var ld=Mt`@charset "UTF-8";:host,:root{--δ2:var(--cds-global-layout-space-xxs, calc(4 * 1rem / var(--cds-global-base, 20)));--δ3:var(--cds-global-layout-space-xs, calc(8 * 1rem / var(--cds-global-base, 20)));--δ4:var(--cds-global-layout-space-sm, calc(12 * 1rem / var(--cds-global-base, 20)));--δ5:var(--cds-global-layout-space-md, calc(16 * 1rem / var(--cds-global-base, 20)));--δ6:var(--cds-global-layout-space-lg, calc(24 * 1rem / var(--cds-global-base, 20)));--δ7:var(--cds-global-layout-space-xl, calc(32 * 1rem / var(--cds-global-base, 20)))}[cds-layout~="wrap:none"]{flex-wrap:nowrap!important}[cds-layout*="align:stretch"]{flex-grow:1!important}[cds-layout*="align:shrink"]{flex-shrink:1!important;flex-grow:0!important}[cds-layout~=horizontal]{display:flex;flex-direction:row;flex-wrap:wrap;justify-items:flex-start;align-items:flex-start;width:100%;margin:0;min-height:0}[cds-layout~=horizontal]>[cds-layout~=horizontal],[cds-layout~=horizontal]>[cds-layout~=vertical],[cds-layout~=horizontal]>[cds-text]{width:initial!important}[cds-layout~=horizontal][cds-layout*="align:top"]{align-items:flex-start}[cds-layout~=horizontal][cds-layout*="align:left"]{justify-content:flex-start}[cds-layout~=horizontal][cds-layout*="align:right"]{justify-content:flex-end}[cds-layout~=horizontal][cds-layout*="align:vertical-center"]{align-items:center;align-content:center}[cds-layout~=horizontal][cds-layout*="align:horizontal-center"]{justify-content:center}[cds-layout~=horizontal][cds-layout*="align:center"]{align-items:center;align-content:center;justify-content:center}[cds-layout~=horizontal][cds-layout*="order:reverse"]{flex-direction:row-reverse}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]{justify-content:stretch;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>*{flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]{align-items:stretch;align-content:stretch;flex-grow:1}[cds-layout~=horizontal][cds-layout*="align:stretch"]>*{flex-grow:1}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:vertical-center"]{align-self:center}[cds-layout~=horizontal]>[cds-layout*="align:center"],[cds-layout~=horizontal]>[cds-layout*="align:horizontal-center"]{margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:top"]{align-self:flex-start}[cds-layout~=horizontal]>[cds-layout*="align:right"]{margin-left:auto!important}[cds-layout~=horizontal]>[cds-layout*="align:left"]{margin-right:auto!important}[cds-layout~=vertical]{width:100%;display:flex;flex-direction:column;align-items:flex-start}[cds-layout~=vertical],[cds-layout~=vertical][cds-layout*="align:top"]{justify-content:flex-start}[cds-layout~=vertical][cds-layout*="align:left"]{align-items:flex-start}[cds-layout~=vertical][cds-layout*="align:right"]{align-items:flex-end}[cds-layout~=vertical][cds-layout*="align:vertical-center"]{justify-content:center}[cds-layout~=vertical][cds-layout*="align:horizontal-center"]{align-items:center}[cds-layout~=vertical][cds-layout*="align:center"]{align-items:center;justify-content:center}[cds-layout~=vertical][cds-layout*="order:reverse"]{flex-direction:column-reverse}[cds-layout~=vertical][cds-layout*="align:horizontal-stretch"]{align-items:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]{align-items:stretch;justify-content:stretch}[cds-layout~=vertical][cds-layout*="align:stretch"]>*{flex-grow:1}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:vertical-center"]{margin-top:auto;margin-bottom:auto}[cds-layout~=vertical]>[cds-layout*="align:center"],[cds-layout~=vertical]>[cds-layout*="align:horizontal-center"]{align-self:center}[cds-layout~=vertical]>[cds-layout*="align:top"]{margin-bottom:auto!important}[cds-layout~=vertical]>[cds-layout*="align:right"]{margin-left:auto}[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}[cds-layout~=grid]{display:grid;align-items:start;align-content:start;grid-template-columns:repeat(var(--cds-global-layout-grid-cols,12),1fr);width:100%}[cds-layout~=grid][cds-layout*=rows]{grid-template-rows:repeat(12,auto)}[cds-layout~=grid]>[cds-layout*=row]{align-self:stretch}[cds-layout~=grid][cds-layout*="align:top"]{align-content:start}[cds-layout~=grid][cds-layout*="align:right"]{justify-content:end}[cds-layout~=grid][cds-layout*="align:left"]{justify-content:start}[cds-layout~=grid][cds-layout*="align:horizontal-stretch"]{justify-items:stretch;justify-content:stretch}[cds-layout~=grid][cds-layout*="align:stretch"]{align-items:stretch;align-content:stretch;justify-items:stretch;justify-content:stretch}[cds-layout~=grid][cds-layout*="align:vertical-center"]{align-items:center;align-content:center}[cds-layout~=grid][cds-layout*="align:horizontal-center"]{justify-items:center;justify-content:center}[cds-layout~=grid][cds-layout*="align:center"]{align-items:center;align-content:center;justify-items:center;justify-content:center}::slotted([cds-layout~="display:screen-reader-only"]),[cds-layout~="display:screen-reader-only"]{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);padding:0;border:0;height:1px;width:1px;overflow:hidden;white-space:nowrap;top:0;left:0;display:block!important}[cds-layout*="gap:none"]{gap:0}[cds-layout*="gap:xxs"]{gap:var(--δ2)}[cds-layout*="gap:xs"]{gap:var(--δ3)}[cds-layout*="gap:sm"]{gap:var(--δ4)}[cds-layout*="gap:md"]{gap:var(--δ5)}[cds-layout*="gap:lg"]{gap:var(--δ6)}[cds-layout~="p:none"]{padding:0!important}[cds-layout~="p:xxs"]{padding:var(--δ2)!important}[cds-layout~="p:xs"]{padding:var(--δ3)!important}[cds-layout~="p:sm"]{padding:var(--δ4)!important}[cds-layout~="p:md"]{padding:var(--δ5)!important}[cds-layout~="m:md"]{margin:var(--δ5)!important}[cds-layout~="p:lg"]{padding:var(--δ6)!important}[cds-layout~="p-y:xs"]{padding-top:var(--δ3)!important;padding-bottom:var(--δ3)!important}[cds-layout~="p-x:lg"]{padding-left:var(--δ6)!important;padding-right:var(--δ6)!important}[cds-layout~="p-y:lg"]{padding-top:var(--δ6)!important;padding-bottom:var(--δ6)!important}[cds-layout~="p-l:md"]{padding-left:var(--δ5)!important}@media (min-width:992px){[cds-layout*="gap@md:lg"]{gap:var(--δ6)}[cds-layout~="p@md:lg"]{padding:var(--δ6)!important}[cds-layout~="m@md:xl"]{margin:var(--δ7)!important}}[cds-layout~=fill]{width:100%!important}*,:after,:before{box-sizing:border-box}[cds-layout~=horizontal][cds-layout*="align:horizontal-stretch"]>::slotted(*),[cds-layout~=horizontal][cds-layout*="align:stretch"]>::slotted(*),[cds-layout~=vertical][cds-layout*="align:stretch"]>::slotted(*){flex-grow:1}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align:left"]),[cds-layout~=vertical]>[cds-layout*="align:left"]{margin-right:auto}@media (min-width:576px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto}}@media (min-width:768px){[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto}}@media (min-width:992px){[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@md:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@md:left"]){margin-right:auto}}@media (min-width:1200px){[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto}}@media (min-width:1440px){[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:vertical-center"]){margin-top:auto;margin-bottom:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:horizontal-center"]){align-self:center}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:top"]){margin-bottom:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:bottom"]){margin-top:auto!important}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto}[cds-layout~=vertical] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto}}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align:left"]){margin-right:auto!important}@media (min-width:576px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xs:left"]){margin-right:auto!important}}@media (min-width:768px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@sm:left"]){margin-right:auto!important}}@media (min-width:992px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@md:left"]){margin-right:auto!important}}@media (min-width:1200px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@lg:left"]){margin-right:auto!important}}@media (min-width:1440px){[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:vertical-center"]){align-self:center}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:center"]),[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:horizontal-center"]){margin-left:auto!important;margin-right:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:top"]){align-self:flex-start}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:bottom"]){align-self:flex-end}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:right"]){margin-left:auto!important}[cds-layout~=horizontal] ::slotted([cds-layout*="align@xl:left"]){margin-right:auto!important}}[cds-text]{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);margin-top:0;margin-bottom:0}[cds-text][cds-layout~=grid]::after,[cds-text][cds-layout~=grid]::before,[cds-text][cds-layout~=horizontal]::after,[cds-text][cds-layout~=horizontal]::before,[cds-text][cds-layout~=vertical]::after,[cds-text][cds-layout~=vertical]::before{display:none}[cds-text*=display],[cds-text*=section],[cds-text*=subsection],[cds-text*=title]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);color:var(--cds-global-typography-color-400,var(--cds-global-color-construction-900,#21333b))}[cds-text*=body],[cds-text*=message],[cds-text*=secondary]{color:var(--cds-global-typography-color-500,var(--cds-global-color-black,#000))}[cds-text*=inline]{width:auto!important;display:inline-block!important}[cds-text*=display]{font-size:var(--cds-global-typography-display-font-size,calc(40 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-display-font-weight,500);line-height:var(--cds-global-typography-display-line-height,1.1em);letter-spacing:var(--cds-global-typography-display-letter-spacing,-.0125em)}[cds-text*=display]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) + .037em)}[cds-text*=display]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-display-line-height,1.1em) - 1em)/ 2))*-1) - .044em)}[cds-text*=title]{font-size:var(--cds-global-typography-title-font-size,calc(24 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-title-font-weight,500);line-height:var(--cds-global-typography-title-line-height,1.333333em);letter-spacing:var(--cds-global-typography-title-letter-spacing,-.00833333em)}[cds-text*=title]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-title-line-height,1.333333em) - 1em)/ 2))*-1) + .037em)}[cds-text*=title]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-title-line-height,1.333333em) - 1em)/ 2))*-1) - .044em)}[cds-text*=section]{font-size:var(--cds-global-typography-section-font-size,calc(20 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-section-font-weight,500);line-height:var(--cds-global-typography-section-line-height,1.2em);letter-spacing:var(--cds-global-typography-section-letter-spacing,-.01em)}[cds-text*=section]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) + .037em)}[cds-text*=section]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-section-line-height,1.2em) - 1em)/ 2))*-1) - .044em)}[cds-text*=subsection]{font-size:var(--cds-global-typography-subsection-font-size,calc(16 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-subsection-font-weight,500);line-height:var(--cds-global-typography-subsection-line-height,1.5em);letter-spacing:var(--cds-global-typography-subsection-letter-spacing,-.0125em)}[cds-text*=subsection]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-subsection-line-height,1.5em) - 1em)/ 2))*-1) + .037em)}[cds-text*=subsection]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-subsection-line-height,1.5em) - 1em)/ 2))*-1) - .044em)}[cds-text*=body]{font-weight:var(--cds-global-typography-body-font-weight,400);font-size:var(--cds-global-typography-body-font-size,calc(14 * 1rem / var(--cds-global-base,20)));letter-spacing:var(--cds-global-typography-body-letter-spacing,-.00714286em);line-height:var(--cds-global-typography-body-line-height,1.4285714em)}[cds-text*=body]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-body-line-height,1.4285714em) - 1em)/ 2))*-1) + .1em)}[cds-text*=body]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-body-line-height,1.4285714em) - 1em)/ 2))*-1) - .044em)}body[cds-text*=body]::after,body[cds-text*=body]::before{content:none}[cds-text*=message]{font-size:var(--cds-global-typography-message-font-size,calc(16 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-message-font-weight,calc(400 * 1rem / var(--cds-global-base,20)));line-height:var(--cds-global-typography-message-line-height,1.5em);letter-spacing:var(--cds-global-typography-message-letter-spacing,-.0125em)}[cds-text*=message]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-message-line-height,1.5em) - 1em)/ 2))*-1) + .037em)}[cds-text*=message]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-message-line-height,1.5em) - 1em)/ 2))*-1) - .044em)}[cds-text*=secondary]{font-size:var(--cds-global-typography-secondary-font-size,calc(13 * 1rem / var(--cds-global-base,20)));font-weight:var(--cds-global-typography-secondary-font-weight,400);line-height:var(--cds-global-typography-secondary-line-height,1.23077em);letter-spacing:var(--cds-global-typography-secondary-letter-spacing,-.007692em)}[cds-text*=secondary]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) + .037em)}[cds-text*=secondary]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((var(--cds-global-typography-secondary-line-height,1.23077em) - 1em)/ 2))*-1) - .044em)}[cds-text~=link]{color:var(--cds-global-typography-link-color,var(--cds-global-color-blue-700,#0079ad))!important;text-decoration:underline!important;line-height:inherit!important;font-size:inherit!important}[cds-text~=link]:focus{outline:var(--cds-alias-object-interaction-outline,Highlight solid 2px);outline-offset:var(--cds-alias-object-interaction-outline-offset,1px)}[cds-text~=link]:hover{color:var(--cds-global-typography-link-color-hover,var(--cds-global-color-blue-800,#00608a))!important}[cds-text~=link]:visited:not([cds-text~=static]){color:var(--cds-global-typography-link-color-visited,var(--cds-global-color-lavender-600,#3b40ce))!important}[cds-text~=link]:visited:not([cds-text~=static]):hover{color:var(--cds-global-typography-link-color-visited-hover,var(--cds-global-color-lavender-700,#2429c2))!important}@media (-webkit-min-device-pixel-ratio:0){[cds-text=link]:focus{outline:var(--cds-alias-object-interaction-outline-webkit,5px auto -webkit-focus-ring-color)}}[cds-text~=code]{color:var(--cds-alias-status-danger,var(--cds-global-color-red-700,#e02200));font-family:monospace;font-size:1.1em}[cds-divider]{display:block;height:var(--cds-alias-object-border-width-100,calc(1 * 1rem / var(--cds-global-base,20)));overflow:hidden;box-shadow:var(--cds-alias-object-border-color,var(--cds-global-color-construction-200,#cbd4d8)) 0 0 0 var(--cds-alias-object-border-width-100,calc(1 * 1rem / var(--cds-global-base,20))) inset}[cds-text~=light]{font-weight:var(--cds-global-typography-font-weight-light,300)!important}[cds-text~=justify]{text-align:justify!important}[cds-text~=left]{text-align:left!important}[cds-text~=right]{text-align:right!important}[cds-text~=center]{text-align:center!important}[cds-text~=lhe]{padding:.05px 0}[cds-text~=lhe]::before{content:"";margin-top:-.124em;display:block;height:0}[cds-text~=lhe]::after{content:"";margin-bottom:-.221em;display:block;height:0}[cds-text*=h2],[cds-text*=h3]{font-family:var(--cds-global-typography-header-font-family, "Clarity City", "Avenir Next", sans-serif);font-size:1.4rem;font-weight:200;color:var(--cds-global-typography-color-400);line-height:1.7143em;letter-spacing:-.017857em}[cds-text*=h2]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.7143em - 1em)/ 2))*-1) + .037em)}[cds-text*=h2]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.7143em - 1em)/ 2))*-1) - .044em)}[cds-text*=h3]{font-size:1.1rem;line-height:1.0909em;letter-spacing:-.013636em}[cds-text*=h3]::before{content:"";display:block;height:0;width:0;margin-bottom:calc(((var(--cds-global-typography-top-gap-height,.1475em) + calc((1.0909em - 1em)/ 2))*-1) + .037em)}[cds-text*=h3]::after{content:"";display:block;height:0;width:0;margin-top:calc((((1em - var(--cds-global-typography-top-gap-height,.1475em) - var(--cds-global-typography-ascender-height,.1703em) - var(--cds-global-typography-x-height,.517em)) + calc((1.0909em - 1em)/ 2))*-1) - .044em)}:host{all:initial;display:block;visibility:inherit;font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);contain:layout;box-sizing:border-box!important;-webkit-appearance:none!important}*,:after,:before{box-sizing:inherit!important}slot{font-family:var(--cds-global-typography-font-family, "Clarity City", "Avenir Next", sans-serif);display:contents!important}::slotted(*){font-family:inherit;box-sizing:inherit}::slotted(*)::placeholder{color:var(--cds-global-typography-color-200,var(--cds-global-color-construction-600,#4f6169))}:host([_is-anchor]),:host([role=button]){cursor:pointer!important}:host([_is-anchor]) ::slotted(*),:host([role=button]) ::slotted(*){cursor:pointer!important}:host([role=button][disabled]){cursor:not-allowed!important}:host([role=button][disabled]) ::slotted(*){cursor:not-allowed!important;pointer-events:none}:host([hidden]),[hidden]{display:none!important}:host([hidden*=false]){display:block!important}:host([role=dialog][hidden]),:host([role=dialog][hidden]) ::slotted(*){display:block!important;visibility:hidden!important}:host([role=dialog][hidden*=false]),:host([role=dialog][hidden*=false]) ::slotted(*){visibility:visible!important}:host([_focused]) .input,:host([_focused]) [focusable],:host([tabindex="0"]:focus),:host([tabindex="0"]:focus) [focusable],[tabindex="0"][focusable]:focus{outline:Highlight solid 2px;outline:5px auto -webkit-focus-ring-color;outline-offset:var(--cds-alias-object-interaction-outline-offset,1px)}`;var Bf=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?D(p({},e),{finisher(i){i.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}},Hf=(t,e,i)=>{e.constructor.createProperty(i,t)};function Ps(t){return(e,i)=>i!==void 0?Hf(t,e,i):Bf(t,e)}function Fe(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function oe(t){return function e(i){return arguments.length===0||Fe(i)?e:t.apply(this,arguments)}}function ve(t){return function e(i,n){switch(arguments.length){case 0:return e;case 1:return Fe(i)?e:oe(function(r){return t(i,r)});default:return Fe(i)&&Fe(n)?e:Fe(i)?oe(function(r){return t(r,n)}):Fe(n)?oe(function(r){return t(i,r)}):t(i,n)}}}var zf=ve(function(e,i){return i instanceof e||i!=null&&(i.constructor===e||e.name==="Object"&&typeof i=="object")}),sn=zf;function yt(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var cd=Object.prototype.toString,Uf=function(){return cd.call(arguments)==="[object Arguments]"?function(e){return cd.call(e)==="[object Arguments]"}:function(e){return yt("callee",e)}}(),sr=Uf;var dd=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Vs(t){return Object.prototype.toString.call(t)==="[object Object]"}function an(t){return Object.prototype.toString.call(t)==="[object String]"}function Ls(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var $f=oe(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():dd(e)?[]:an(e)?"":Vs(e)?{}:sr(e)?function(){return arguments}():Ls(e)?e.constructor.from(""):void 0}),ud=$f;function ar(t){for(var e=[],i;!(i=t.next()).done;)e.push(i.value);return e}function lr(t,e,i){for(var n=0,r=i.length;n<r;){if(t(e,i[n]))return!0;n+=1}return!1}function js(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function Gf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var cr=typeof Object.is=="function"?Object.is:Gf;var Wf=!{toString:null}.propertyIsEnumerable("toString"),hd=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],pd=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),Zf=function(e,i){for(var n=0;n<e.length;){if(e[n]===i)return!0;n+=1}return!1},qf=typeof Object.keys=="function"&&!pd?oe(function(e){return Object(e)!==e?[]:Object.keys(e)}):oe(function(e){if(Object(e)!==e)return[];var i,n,r=[],o=pd&&sr(e);for(i in e)yt(i,e)&&(!o||i!=="length")&&(r[r.length]=i);if(Wf)for(n=hd.length-1;n>=0;)i=hd[n],yt(i,e)&&!Zf(r,i)&&(r[r.length]=i),n-=1;return r}),Bs=qf;var Qf=oe(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}),Hs=Qf;function fd(t,e,i,n){var r=ar(t),o=ar(e);function s(a,c){return ln(a,c,i.slice(),n.slice())}return!lr(function(a,c){return!lr(s,c,a)},o,r)}function ln(t,e,i,n){if(cr(t,e))return!0;var r=Hs(t);if(r!==Hs(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(r){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&js(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&cr(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!cr(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var o=i.length-1;o>=0;){if(i[o]===t)return n[o]===e;o-=1}switch(r){case"Map":return t.size!==e.size?!1:fd(t.entries(),e.entries(),i.concat([t]),n.concat([e]));case"Set":return t.size!==e.size?!1:fd(t.values(),e.values(),i.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=Bs(t);if(s.length!==Bs(e).length)return!1;var a=i.concat([t]),c=n.concat([e]);for(o=s.length-1;o>=0;){var l=s[o];if(!(yt(l,e)&&ln(e[l],t[l],a,c)))return!1;o-=1}return!0}var Kf=ve(function(e,i){return ln(e,i,[],[])}),gd=Kf;var Yf=oe(function(e){return e!=null&&gd(e,ud(e))}),zs=Yf;function Rt(t){return t==null}function Ne(t){return Rt(t)||zs(t)}function ur(t){return sn(String,t)}function hr(t){return ur(t)&&!zs(t.trim())&&+t==+t}function md(t){return sn(String,t)||Rt(t)}function dr(t){return sn(Object,t)}function Us(t){return sn(Map,t)}function $s(t,e){return t!==e}function Gs(t,e){return md(t)&&$s(t,e)}function Ws(t,e){return!Ne(t)&&$s(t,e)}function cn(t,e){return JSON.stringify(t)===JSON.stringify(e)}function Zs(t,e,i=`\${${t}}`){return t.split(".").reduce((n,r)=>{try{let o=n[r];switch(!0){case o===null:case o===!1:case o==="":case o===0:return o;default:return o||i}}catch{return i}},e)}function vd(t){let e=new Map;for(let[i,n]of t)Us(n)?e.set(i,vd(n)):e.set(i,n);return e}function qs(t){switch(!0){case Us(t):return vd(t);case(dr(t)&&!Array.isArray(t)):return Ze({},t);default:return JSON.parse(JSON.stringify(t))}}function Ze(...t){let e={};return t.map(i=>dr(i)?p({},i):{}).forEach(i=>{Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?e[n]=Array.from(r):dr(r)?e[n]=Ze(e[n]||{},r):e[n]=r})}),e}function qe(t){return t.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())}function yd(t){return t.split("-").map((e,i)=>i?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():e).join("")}function Qs(t){return pr(yd(t))}function pr(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Ks(t,e,i=""){let n=t.split(" "),r=i===""?n.filter(o=>o!==e):n.map(o=>o===e?i:o);return r.length>0?r.join(" "):""}function Ys(t,e,i){return t.replace(/\$\{.+?\}/g,n=>{let r=n.substr(2,n.length-3).trim();return Zs(r,e,i)})}function dn(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(i){return e.apply(this,arguments)};case 2:return function(i,n){return e.apply(this,arguments)};case 3:return function(i,n,r){return e.apply(this,arguments)};case 4:return function(i,n,r,o){return e.apply(this,arguments)};case 5:return function(i,n,r,o,s){return e.apply(this,arguments)};case 6:return function(i,n,r,o,s,a){return e.apply(this,arguments)};case 7:return function(i,n,r,o,s,a,c){return e.apply(this,arguments)};case 8:return function(i,n,r,o,s,a,c,l){return e.apply(this,arguments)};case 9:return function(i,n,r,o,s,a,c,l,d){return e.apply(this,arguments)};case 10:return function(i,n,r,o,s,a,c,l,d,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function fr(t,e,i){return function(){for(var n=[],r=0,o=t,s=0,a=!1;s<e.length||r<arguments.length;){var c;s<e.length&&(!Fe(e[s])||r>=arguments.length)?c=e[s]:(c=arguments[r],r+=1),n[s]=c,Fe(c)?a=!0:o-=1,s+=1}return!a&&o<=0?i.apply(this,n):dn(Math.max(0,o),fr(t,n,i))}}var Xf=ve(function(e,i){return e===1?oe(i):dn(e,fr(e,[],i))}),gr=Xf;var Cd=Number.isInteger||function(e){return e<<0===e};var Jf=ve(function(e,i){var n=e<0?i.length+e:e;return an(i)?i.charAt(n):i[n]}),_d=Jf;var eg=ve(function(e,i){return e.map(function(n){for(var r=i,o=0,s;o<n.length;){if(r==null)return;s=n[o],r=Cd(s)?_d(s,r):r[s],o+=1}return r})}),bd=eg;var tg=ve(function(e,i){return bd([e],i)[0]}),Id=tg;var Sd={"@@functional/placeholder":!0};var ig=gr(2,(t,e)=>Id(t,e)!==void 0);function Dd(t,e){return e||(e=window&&window.customElements),!e||!!e.get(t)}var mr=ig(Sd,window);var se=class{static log(...e){vr()&&Xs()&&console.log(...e)}static warn(...e){vr()&&Xs()&&console.warn(...e)}static error(...e){vr()&&Xs()&&console.error(...e)}};function Xs(){return!mr(["jasmine"])}function vr(){return!window.CDS.environment.production}var yr,wd,Js,ea;function Cr(t=!0){if(!t||!yr){let e=document&&document.querySelector("[ng-version]");yr=e?""+e.getAttribute("ng-version"):void 0}return yr}function xd(t=!0){return t&&yr||(wd=window?.angular?.version?.full),wd}function _r(t=!0){return t&&Js||(Js=window?.CDS?._react?.version?window.CDS._react.version:document.querySelector("[data-reactroot], [data-reactid]")?"unknown version":void 0),Js}function br(t=!0){if(!t||!ea){let e=document.querySelectorAll("*"),i;for(let n=0;n<e.length;n++)if(e[n].__vue__){i=e[n];break}ea=i?"unknown version":void 0}return ea}function Ed(){return window?.location?.href?.includes("localhost:6006")}function ta(t,...e){return e.forEach(([i,n])=>{t.style[i]=n}),t}function ia(t,...e){return e.forEach(i=>{t.style[i]=""}),t}function di(t){return`calc((${t} / var(--cds-global-base)) * 1rem)`}var Ad=["a[href]","area[href]","audio[controls]","button:not([disabled])",'input:not([type="hidden"]):not([disabled]):not([readonly])',"iframe","object","embed","select:not([disabled])","textarea:not([disabled])","video[controls]","*[contenteditable=true]","[role=button]:not([disabled])"],i_=["*[tabindex]",...Ad],n_=['*[tabindex]:not([tabindex="-1"])',...Ad];function Td(t){return t!=null&&""+t!="false"}function na(t,e){switch(e&&e.type){case Array:case Object:return p({reflect:!1},e);case String:return p({reflect:!0,attribute:qe(t),converter:{toAttribute:i=>i||null}},e);case Number:return p({reflect:!0,attribute:qe(t)},e);case Boolean:return p({reflect:!0,attribute:qe(t),converter:{toAttribute:i=>i?"":null,fromAttribute:i=>Td(i)}},e);case Date:return p({reflect:!1,converter:{fromAttribute:i=>new Date(i)}},e);default:return p({},e)}}function Md(t,e,i){let n=t.firstUpdated;t.firstUpdated=function(r){if(i&&i.required&&Ne(this[e])){let o=i.requiredMessage||function(s="warning",a,c){let l=c.toLocaleLowerCase();return`${pr(s)}: ${a} is required to use ${l} component. Set the JS Property or HTML Attribute.
`+(Cr()?`Angular: <${l} [${a}]="..."></${l}>
`:"")+(br()?`Vue: <${l} :${a}="..."></${l}>
`:"")+(_r()?`React: <${Qs(l)} ${function(d){return d.startsWith("aria")?qe(d):d}(a)}={...} />
`:"")+`HTML: <${l} ${qe(a)}="..."></${l}>
JavaScript: document.querySelector('${l}').${a} = '...';
`}(i.required,e,this.tagName);if(i.required==="error")throw Error(o);se.warn(o,this)}n&&n.call(this,r)}}function N(t){return(e,i)=>(t?.required&&Md(e,i,t),Ps(na(i,t))(e,i))}function un(t){return(e,i)=>{let n=na(i,t);return n&&(n.reflect=!!t?.reflect&&t.reflect,n.reflect&&!t?.attribute&&(n.attribute="_"+qe(i))),Ps(n)(e,i)}}function Fd(){return t=>t.addInitializer(e=>new ra(e))}var ra=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){return wn(this,null,function*(){yield this.host.updateComplete,this.host.addEventListener("keydown",e=>this.emulateActive(e)),this.host.addEventListener("mousedown",e=>this.emulateActive(e)),this.host.addEventListener("keyup",()=>this.emulateInactive()),this.host.addEventListener("blur",()=>this.emulateInactive()),this.host.addEventListener("mouseup",()=>this.emulateInactive())})}emulateActive(e){this.host.disabled||this.host?.setAttribute("cds-active",""),e.code==="Space"&&e.target===this.host&&e.preventDefault()}emulateInactive(){this.host.removeAttribute("cds-active")}};function Nd(){return t=>t.addInitializer(e=>new oa(e))}var oa=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){(this.host.hasAttribute("aria-controls")||this.host.ariaControls)&&(this.host.ariaHasPopup="true",this.host.ariaExpanded="false")}};function Od(){return t=>t.addInitializer(e=>new sa(e))}var sa=class{constructor(e){this.host=e,this.host.addController(this)}hostUpdated(){this.host.disabled!==null&&(this.host.ariaDisabled=this.host.disabled),this.host.readonly&&(this.host.ariaDisabled=null)}};function kd(){return t=>t.addInitializer(e=>new aa(e))}var aa=class{constructor(e){this.host=e,this.host.addController(this)}hostUpdated(){this.host.pressed!==null&&this.host.pressed!==void 0&&(this.host.ariaPressed=this.host.pressed?"true":"false"),this.host.readonly&&(this.host.ariaPressed=null)}};function Rd(){return t=>t.addInitializer(e=>new la(e))}var la=class{constructor(e){this.host=e,this.host.addController(this)}hostConnected(){this.host.tabIndex=0}hostUpdated(){this.host.role=this.host.readonly?null:"button",this.host.tabIndex=this.host.disabled?-1:0,this.host.readonly&&this.host.removeAttribute("tabindex")}};function Pd(){return t=>t.addInitializer(e=>new ca(e))}var ca=class{constructor(e){this.host=e,this.host.addController(this)}get currentAnchor(){return this.host.parentElement?.tagName==="A"?this.host.parentElement:null}hostConnected(){this.setAnchor()}hostUpdated(){this.setAnchor()}setAnchor(){this.currentAnchor&&this.currentAnchor!==this.previousAnchor&&(this.previousAnchor=this.currentAnchor,this.host.readonly=!0,this.currentAnchor.style.lineHeight="0",this.currentAnchor.style.textDecoration="none")}};var Ir=t=>t??q;function Sr(t=window){return!Rt(t)}function da(t){t.preventDefault(),t.stopPropagation()}var ua=new Map([["arrow-left","ArrowLeft"],["arrow-right","ArrowRight"],["arrow-up","ArrowUp"],["arrow-down","ArrowDown"],["tab","Tab"],["enter","Enter"],["escape","Escape"],["space"," "],["home","Home"],["end","End"]]),Dr=class{static get keycodes(){return qs(ua)}static add(e,i){ua.set(e,i)}static has(e){return ua.has(e)}static getCode(e,i=this.keycodes){return ng(e,i)}};function ng(t,e){return e.get(t)||""}function rg(t,e){return Dr.getCode(e)===t.key}function Ld(t,e,i){t.filter(n=>rg(e,n)).length>0&&i()}var Vd;(function(t){t.ArrowUp="ArrowUp",t.ArrowDown="ArrowDown",t.ArrowLeft="ArrowLeft",t.ArrowRight="ArrowRight",t.End="End",t.Home="Home",t.PageUp="PageUp",t.PageDown="PageDown"})(Vd||(Vd={}));function jd(t,e,i){let n=document.createElement("div");e.appendChild(n),or(t,e,p({renderBefore:n},i));let r=n.previousSibling;return n.remove(),r}function Bd(){return t=>t.addInitializer(e=>new ha(e))}var ha=class{constructor(e){this.host=e,this.triggerNativeButtonBehaviorHandler=this.triggerNativeButtonBehavior.bind(this),this.emulateKeyBoardEventBehaviorHandler=this.emulateKeyBoardEventBehavior.bind(this),this.host.addController(this)}hostUpdated(){this.setButtonType(),this.setupNativeButtonBehavior()}setButtonType(){!this.host.type&&this.host.closest("form")&&(this.host.type="submit")}setupNativeButtonBehavior(){this.host.readonly||this.host.disabled?(this.host.removeEventListener("click",this.triggerNativeButtonBehaviorHandler),this.host.removeEventListener("keyup",this.emulateKeyBoardEventBehaviorHandler)):(this.host.addEventListener("click",this.triggerNativeButtonBehaviorHandler),this.host.addEventListener("keyup",this.emulateKeyBoardEventBehaviorHandler))}emulateKeyBoardEventBehavior(e){Ld(["enter","space"],e,()=>{this.host.type==="submit"?this.triggerNativeButtonBehavior(e):this.host.click(),da(e)})}triggerNativeButtonBehavior(e){if(this.host.disabled)da(e);else if(!e.defaultPrevented){let i=jd(ci`<button aria-hidden="true" role="presentation" ?disabled="${this.host.disabled}" tabindex="-1" style="display:none!important" value="${Ir(this.host.value)}" name="${Ir(this.host.name)}" type="${Ir(this.host.type)}"></button>`,this.host);i?.dispatchEvent(new MouseEvent("click",{relatedTarget:this.host,composed:!0})),i?.remove()}}};function Hd(){return t=>t.addInitializer(e=>new pa(e))}var pa=class{constructor(e){this.host=e,this.host.addController(this)}hostUpdated(){this.host.expanded!==null&&this.host.expanded!==void 0&&(this.host.ariaExpanded=this.host.expanded?"true":"false"),this.host.readonly&&(this.host.ariaExpanded=null)}};var ye=class extends We{constructor(){super(...arguments),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){let e=this._disabled;this._disabled=t,this.requestUpdate("disabled",e)}};M([N({type:Boolean})],ye.prototype,"pressed",void 0),M([N({type:Boolean})],ye.prototype,"expanded",void 0),M([N({type:Boolean})],ye.prototype,"readonly",void 0),M([N({type:String})],ye.prototype,"type",void 0),M([N({type:String})],ye.prototype,"name",void 0),M([N({type:String})],ye.prototype,"value",void 0),M([N({type:Boolean})],ye.prototype,"disabled",null),M([N({type:String})],ye.prototype,"popup",void 0),ye=M([Fd(),Rd(),kd(),Hd(),Od(),Nd(),Bd(),Pd()],ye);var zd=new class{constructor(){if(this.supports={js:!0},!document.body.hasAttribute("cds-supports")||document.body.getAttribute("cds-supports")==="no-js"){let t=qe(Object.keys(this.supports).reduce((e,i)=>`${e} ${this.supports[i]?i:"no-"+i}`,"")).trim();document.body.setAttribute("cds-supports",t)}}};function wr(){Sr()&&(window.CDS=window.CDS||{_version:[],_react:{version:void 0},_supports:zd.supports,_isStateProxied:!1,_state:{focusTrapItems:[],layerElements:[],i18nRegistry:{},elementRegistry:{},iconRegistry:{},motionRegistry:{}},environment:{production:!1},getDetails:Ud,logDetails:og},function(){let t="6.9.2";window.CDS._version.indexOf(t)<0&&(window.CDS._version.push(t),document.querySelector("body")?.setAttribute("cds-version",window.CDS._version.join(" "))),window.CDS._version.length>1&&se.warn("Running more than one version of Clarity can cause unexpected issues. Please ensure only one version is loaded.")}(),window.CDS._isStateProxied||(window.CDS._isStateProxied=!0,window.CDS._state=new Proxy(window.CDS._state,{set:(t,e,i)=>{let n={key:e,prev:window.CDS._state[e],current:i};return t[e]=i,document.dispatchEvent(new CustomEvent("CDS_STATE_UPDATE",{detail:n})),!0}})))}function Ud(){return{versions:window.CDS._version,environment:window.CDS.environment,userAgent:navigator.userAgent,supports:window.CDS._supports,angularVersion:Cr(!1),angularJSVersion:xd(!1),reactVersion:_r(!1),vueVersion:br(!1),state:D(p({},window.CDS._state),{iconRegistry:Object.keys(window.CDS._state.iconRegistry),motionRegistry:Object.keys(window.CDS._state.motionRegistry),focusTrapRegistry:Object.keys(window.CDS._state.focusTrapItems.map(t=>t.focusTrapId))})}}function og(){se.log(JSON.stringify(Ud(),null,2))}var sg=gr(3,(t,e,i)=>{Dd(t)&&!Ed()?se.warn(t+" has already been registered"):(i.define(t,e),wr(),window&&!Object.keys(window.CDS._state.elementRegistry).some(n=>n===t)&&(window.CDS._state.elementRegistry=D(p({},window.CDS._state.elementRegistry),{[t]:{}})))});function hn(t,e){Sr()&&mr(["customElements"])&&sg(t,e,window.customElements)}var fa=class{constructor(e,i){this.fn=e,this.subscriptions=i}unsubscribe(){let e=this.subscriptions.indexOf(this);e!==-1&&this.subscriptions.splice(e,1)}},xr=class{constructor(){this.subscriptions=[]}subscribe(e){let i=new fa(e,this.subscriptions);return this.subscriptions.push(i),i}emit(e){this.subscriptions.forEach(i=>i.fn(e))}toEventObservable(){return this}};var ga=new xr;ga.listener=document.addEventListener("CDS_STATE_UPDATE",t=>ga.emit(t.detail));var L=class t{static get state(){return wr(),window.CDS._state}static getValue(e){return t.state[e]}static setValue(e,i){t.state[e]=i}static log(){se.log(JSON.stringify(t.state,null,2))}};L.stateUpdates=ga.toEventObservable();var pn={actions:{sort:"Sort",expand:"Expand",close:"Close",resize:"Resize",filter:"Filter"},alert:{closeButtonAriaLabel:"Close",loading:"Loading",info:"Info",success:"Success",warning:"Warning",danger:"Error"},dropdown:{open:"Open"},file:{browse:"browse",files:"files",removeFile:"remove file"},modal:{closeButtonAriaLabel:"Close modal",contentStart:"Beginning of modal content",contentBox:"Scrollable modal body",contentEnd:"End of modal content"},navigation:{navigationElement:"navigation",navigationLabel:"navigation menu",navigationAbridgedText:"View abridged menu",navigationUnabridgedText:"View unabridged menu"},overlay:{closeButtonAriaLabel:"Close dialog",contentStart:"Beginning of dialog content",contentEnd:"End of dialog content"},popup:{closeButtonAriaLabel:"Close popup",contentStart:"Beginning of popup content",contentEnd:"End of popup content"},password:{showButtonAriaLabel:"Show password",hideButtonAriaLabel:"Hide password"},progress:{loading:"Loading",looping:"Loading"},treeview:{loading:"Loading"},grid:{resizeColumn:"Resize Column",closeDetails:"Close Details",noData:"No Results Found",rowDetailStart:"Start of row details",rowDetailEnd:"End of row details",footerEnd:"End of grid rows",action:"Action",dropTarget:"Drop Item",pagination:{label:"grid pagination",firstPage:"go to first page",previousPage:"go to previous page",nextPage:"go to next page",lastPage:"go to last page",pageSize:"rows per page",page:"page"}}},ot=class t{static get keys(){return Object.keys(L.state.i18nRegistry).length===0&&(L.state.i18nRegistry=Ze(pn,L.state.i18nRegistry)),Ze(pn,L.state.i18nRegistry)}static findKey(e){let i=t.keys;return Object.keys(i).find(n=>cn(i[n],e))}static get(e){return e&&t.keys[e]||{}}static reset(){L.state.i18nRegistry=Ze({},pn)}static hydrate(e,i){return JSON.parse(Ys(JSON.stringify(e),i))}static localize(e){L.state.i18nRegistry=Ze(pn,L.state.i18nRegistry,e)}};function ma(){return(t,e)=>{let i=t.connectedCallback,n=t.disconnectedCallback;t.connectedCallback=function(){t.__i18nSub=L.stateUpdates.subscribe(o=>{o.key==="i18nRegistry"&&this.requestUpdate(e)}),i&&i.apply(this)},t.disconnectedCallback=function(){t.__i18nSub.unsubscribe(),n&&n.apply(this)};let r={get(){let o=Ze(ot.keys[this.__i18nKey],this.__i18n||{});return ot.hydrate(o,this)},set(o){let s=$d(o,this),a=Gd(ot.findKey(s)||"",this.__i18nKey,s,this.__i18n);a.key!==void 0&&(this.__i18nKey=a.key+""),a.values!==void 0&&(this.__i18n=p({},a.values)),a.update===!0&&this.requestUpdate(),this.requestUpdate(e)},enumerable:!0,configurable:!0};return e!==void 0?function(o,s,a){let c=Object.defineProperty(s,a,o);return N({type:Object,attribute:"cds-i18n"})(c,a)}(r,t,e):function(o,s){let a={kind:"method",placement:"prototype",key:s.key,descriptor:o};return N({type:Object})(a)}(r,t)}}function $d(t,e){if(Ne(t)){let i={};if(e.hasAttribute("cds-i18n")){let n=e.getAttribute("cds-i18n")+"";if(Ne(n))i={};else try{i=JSON.parse(n)}catch{se.warn("Clarity i18n: Invalid JSON passed to cds-i18n"),i={}}}return i}return t}function Gd(t,e,i,n){return Ne(t)?cn(i,n)?{update:!1}:{update:!0,values:i}:t===e?{update:!1,values:{}}:{update:!0,key:t,values:{}}}function va(t){return["xxs","xs","sm","md","lg","xl","xxl"].indexOf(t)>-1}var Er=ld;var Wd=["unknown",{outline:'<circle class="cds-internal-dot-3" cx="31.1" cy="18" r="2.9"/><circle class="cds-internal-dot-2" cx="18" cy="18" r="2.9"/><circle class="cds-internal-dot-1" cx="4.9" cy="18" r="2.9"/>'}];var O=class t{static get registry(){return p({unknown:Wd[1]},L.state.iconRegistry)}static addIcons(...e){L.state.iconRegistry=p(p({},L.state.iconRegistry),Object.fromEntries(e.filter(([i])=>!t.registry[i])))}static addAliases(...e){let i=e.filter(([n])=>t.registry[n]).flatMap(([n,r])=>r.map(o=>[o,t.registry[n]]));L.state.iconRegistry=p(p({},L.state.iconRegistry),Object.fromEntries(i))}static getIconNameFromShape(e){return e[0]}};var ag=["logout",{outline:'<path d="M7,6H23v9.8h2V6a2,2,0,0,0-2-2H7A2,2,0,0,0,5,6V30a2,2,0,0,0,2,2H23a2,2,0,0,0,2-2H7Z"/><path d="M28.16,17.28a1,1,0,0,0-1.41,1.41L30.13,22H15.63a1,1,0,0,0-1,1,1,1,0,0,0,1,1h14.5l-3.38,3.46a1,1,0,1,0,1.41,1.41L34,23.07Z"/>',solid:'<path d="M23,4H7A2,2,0,0,0,5,6V30a2,2,0,0,0,2,2H23a2,2,0,0,0,2-2V24H15.63a1,1,0,0,1-1-1,1,1,0,0,1,1-1H25V6A2,2,0,0,0,23,4Z"/><path d="M28.16,17.28a1,1,0,0,0-1.41,1.41L30.13,22H25v2h5.13l-3.38,3.46a1,1,0,1,0,1.41,1.41L34,23.07Z"/>'}];var lg=["new",{outline:'<path d="M34.59,23l-4.08-5,4-4.9a1.82,1.82,0,0,0,.23-1.94A1.93,1.93,0,0,0,32.94,10h-31A1.91,1.91,0,0,0,0,11.88V24.13A1.91,1.91,0,0,0,1.94,26H33.05a1.93,1.93,0,0,0,1.77-1.09A1.82,1.82,0,0,0,34.59,23ZM2,24V12H32.78l-4.84,5.93L32.85,24Z"/><polygon points="9.39 19.35 6.13 15 5 15 5 21.18 6.13 21.18 6.13 16.84 9.39 21.18 10.51 21.18 10.51 15 9.39 15 9.39 19.35"/><polygon points="12.18 21.18 16.84 21.18 16.84 20.16 13.31 20.16 13.31 18.55 16.5 18.55 16.5 17.52 13.31 17.52 13.31 16.03 16.84 16.03 16.84 15 12.18 15 12.18 21.18"/><polygon points="24.52 19.43 23.06 15 21.84 15 20.37 19.43 19.05 15 17.82 15 19.78 21.18 20.89 21.18 22.45 16.59 24 21.18 25.13 21.18 27.08 15 25.85 15 24.52 19.43"/>',solid:'<path d="M34.11,24.49l-3.92-6.62,3.88-6.35A1,1,0,0,0,33.22,10H2a2,2,0,0,0-2,2V24a2,2,0,0,0,2,2H33.25A1,1,0,0,0,34.11,24.49Zm-23.6-3.31H9.39L6.13,16.84v4.35H5V15H6.13l3.27,4.35V15h1.12ZM16.84,16H13.31v1.49h3.2v1h-3.2v1.61h3.53v1H12.18V15h4.65Zm8.29,5.16H24l-1.55-4.59L20.9,21.18H19.78l-2-6.18H19l1.32,4.43L21.84,15h1.22l1.46,4.43L25.85,15h1.23Z"/>'}];var cg=["note",{outline:'<path d="M28,30H6V8H19.22l2-2H6A2,2,0,0,0,4,8V30a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V15l-2,2Z"/><path d="M33.53,5.84,30.16,2.47a1.61,1.61,0,0,0-2.28,0L14.17,16.26l-1.11,4.81A1.61,1.61,0,0,0,14.63,23,1.69,1.69,0,0,0,15,23l4.85-1.07L33.53,8.12A1.61,1.61,0,0,0,33.53,5.84ZM18.81,20.08l-3.66.81L16,17.26,26.32,6.87l2.82,2.82ZM30.27,8.56,27.45,5.74,29,4.16,31.84,7Z"/>',solid:'<path d="M33,6.4,29.3,2.7a1.71,1.71,0,0,0-2.36,0L23.65,6H6A2,2,0,0,0,4,8V30a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V11.76l3-3A1.67,1.67,0,0,0,33,6.4ZM18.83,20.13l-4.19.93,1-4.15,9.55-9.57,3.23,3.23ZM29.5,9.43,26.27,6.2l1.85-1.85,3.23,3.23Z"/>'}];var dg=["pencil",{outline:'<path d="M33.87,8.32,28,2.42a2.07,2.07,0,0,0-2.92,0L4.27,23.2l-1.9,8.2a2.06,2.06,0,0,0,2,2.5,2.14,2.14,0,0,0,.43,0L13.09,32,33.87,11.24A2.07,2.07,0,0,0,33.87,8.32ZM12.09,30.2,4.32,31.83l1.77-7.62L21.66,8.7l6,6ZM29,13.25l-6-6,3.48-3.46,5.9,6Z"/>',solid:'<path d="M4.22,23.2l-1.9,8.2a2.06,2.06,0,0,0,2,2.5,2.14,2.14,0,0,0,.43,0L13,32,28.84,16.22,20,7.4Z"/><path d="M33.82,8.32l-5.9-5.9a2.07,2.07,0,0,0-2.92,0L21.72,5.7l8.83,8.83,3.28-3.28A2.07,2.07,0,0,0,33.82,8.32Z"/>'}];var Zd=({finisher:t,descriptor:e})=>(i,n)=>{var r;if(n===void 0){let o=(r=i.originalKey)!==null&&r!==void 0?r:i.key,s=e!=null?{kind:"method",placement:"prototype",key:o,descriptor:e(i.key)}:D(p({},i),{key:o});return t!=null&&(s.finisher=function(a){t(a,o)}),s}{let o=i.constructor;e!==void 0&&Object.defineProperty(i,n,e(n)),t?.(o,n)}};function qd(t,e){return Zd({descriptor:i=>{let n={get(){var r,o;return(o=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector(t))!==null&&o!==void 0?o:null},enumerable:!0,configurable:!0};if(e){let r=typeof i=="symbol"?Symbol():"__"+i;n.get=function(){var o,s;return this[r]===void 0&&(this[r]=(s=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector(t))!==null&&s!==void 0?s:null),this[r]}}return n}})}var Qd=Mt`@keyframes fadeInAndOut{0%,to{opacity:0}75%{opacity:1}}:host{--color:currentColor;display:inline-block;height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));margin:0;vertical-align:middle;fill:var(--color);color:var(--color);contain:strict;cursor:inherit}svg{display:block}:host([size*=xs]){height:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20)))}:host([size*=sm]){height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-7,calc(16 * 1rem / var(--cds-global-base,20)))}:host([size*=md]){height:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-9,calc(24 * 1rem / var(--cds-global-base,20)))}:host([size*=lg]){height:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-11,calc(36 * 1rem / var(--cds-global-base,20)))}:host([size*=xl]){height:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)));width:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)));min-height:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)));min-width:var(--cds-global-space-12,calc(48 * 1rem / var(--cds-global-base,20)))}:host([size*=xxl]){height:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))));width:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))));min-height:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))));min-width:calc(var(--cds-global-space-13,calc(64 * 1rem / var(--cds-global-base,20))) - var(--cds-global-space-5,calc(8 * 1rem / var(--cds-global-base,20))))}:host([size*=fit]){height:auto;width:auto;contain:layout}:host([status=success]){--color:var(--cds-alias-status-success, var(--cds-global-color-green-700, #42810e))}:host([status=danger]){--color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}:host([status=warning]){--color:var(--cds-alias-status-warning-dark, var(--cds-global-color-ochre-800, #a36500))}:host([status=info]){--color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}:host([status=neutral]){--color:var(--cds-alias-status-neutral, var(--cds-global-color-construction-600, #4f6169))}:host([inverse]){--color:var(--cds-global-color-construction-200, #cbd4d8)}:host([direction=up]){transform:rotate(0)}:host([direction=down]){transform:rotate(180deg)}:host([direction=right]){transform:rotate(90deg)}:host([direction=left]){transform:rotate(270deg)}:host([flip=horizontal]){transform:scale(-1) rotateX(180deg)}:host([flip=vertical]){transform:scale(-1) rotateY(180deg)}.alert,.badge{fill:var(--badge-color,var(--cds-alias-status-danger,var(--cds-global-color-red-700,#e02200)))}:host([badge=success]){--badge-color:var(--cds-alias-status-success, var(--cds-global-color-green-700, #42810e))}:host([badge=danger]){--badge-color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}:host([badge*=warning]){--badge-color:var(--cds-alias-status-warning-dark, var(--cds-global-color-ochre-800, #a36500))}:host([badge=inherit]){--badge-color:currentColor}:host([badge=info]){--badge-color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}:host([badge=neutral]){--badge-color:var(--cds-alias-status-neutral, var(--cds-global-color-construction-600, #4f6169))}:host([badge=inherit-triangle]){--badge-color:currentColor}:host([badge][inverse]){--badge-color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}:host([badge=success][inverse]){--badge-color:var(--cds-alias-status-success, var(--cds-global-color-green-700, #42810e))}:host([badge*=warning][inverse]){--badge-color:var(--cds-alias-status-warning-dark, var(--cds-global-color-ochre-800, #a36500))}:host([badge*=inherit][inverse]){--badge-color:currentColor}:host([badge=info][inverse]){--badge-color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}.cds-internal-dot-1{animation:fadeInAndOut 1.8s ease-in 0s infinite}.cds-internal-dot-2{animation:fadeInAndOut 1.8s ease-out .422s infinite}.cds-internal-dot-3{animation:fadeInAndOut 1.8s ease-out .675s infinite}@media (prefers-reduced-motion){.cds-internal-dot-1,.cds-internal-dot-2,.cds-internal-dot-3{animation:none}}`;var Qe;function ug(t){switch(!0){case Ne(t):return Qe.NilSizeValue;case va(t):return Qe.ValidSizeString;case hr(t):return Qe.ValidNumericString;default:return Qe.BadSizeValue}}function hg(t){return Ne(t)?"":Ks(t,"fit")}function pg(t,e){return!Rt(t)&&t.indexOf("fit")>-1?[["width","auto"],["height","auto"],["min-width",e],["min-height",e]]:[["width",e],["height",e],["min-width",e],["min-height",e]]}function Kd(t,e){let i="";switch(ug(hg(e))){case Qe.ValidNumericString:return i=di(parseInt(e)),void ta(t,...pg(e,i));case Qe.ValidSizeString:case Qe.NilSizeValue:return void ia(t,"width","height","min-width","min-height");case Qe.BadSizeValue:default:return}}(function(t){t.BadSizeValue="bad-value",t.ValidSizeString="value-is-string",t.ValidNumericString="value-is-numeric",t.NilSizeValue="value-is-nil"})(Qe||(Qe={}));function ya(t){return t.badge&&(t.badge==="inherit-triangle"||t.badge==="warning-triangle")}function Yd(t){let e="";return t.badge&&ya(t)?e='<path d="M26.85 1.14L21.13 11a1.28 1.28 0 001.1 2h11.45a1.28 1.28 0 001.1-2l-5.72-9.86a1.28 1.28 0 00-2.21 0z" class="alert" />':t.badge&&(e='<circle cx="30" cy="6" r="5" class="badge" />'),e}function Xd(t){let e=O.registry[t.shape]??O.registry.unknown,i=t.solid&&e.solid?e.solid:e.outline;return t.badge&&!ya(t)&&(i=t.solid?e.solidBadged??i:e.outlineBadged??i),ya(t)&&(i=t.solid?e.solidAlerted??i:e.outlineAlerted??i),i}var ue=class extends We{constructor(){super(...arguments),this._shape="unknown",this.solid=!1,this.inverse=!1}static get styles(){return[Er,Qd]}get shape(){return this._shape}set shape(e){if(Ws(e,this._shape)){let i=this._shape;this._shape=e,this.requestUpdate("shape",i)}}get size(){return this._size}set size(e){if(Gs(e,this._size)){let i=this._size;this._size=e,Kd(this,e),this.requestUpdate("size",i)}}updated(e){if(e.has("innerOffset")&&this.innerOffset>0){let i=di(-1*this.innerOffset),n=`calc(100% + ${di(2*this.innerOffset)})`;this.svg.style.width=n,this.svg.style.height=n,this.svg.style.margin=`${i} 0 0 ${i}`}}firstUpdated(e){if(super.firstUpdated(e),this.isConnected){let i="unknown";this.subscription=L.stateUpdates.subscribe(n=>{n.key==="iconRegistry"&&O.registry[this.shape]&&i!==this.shape&&(i=this.shape,this.requestUpdate("shape"))})}}disconnectedCallback(){super.disconnectedCallback(),this.subscription?.unsubscribe()}render(){return ur(O.registry[this.shape])?ci`<span .innerHTML="${O.registry[this.shape]}"></span>`:od`<svg .innerHTML="${Xd(this)+Yd(this)}" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"></svg>`}};M([N({type:String})],ue.prototype,"shape",null),M([N({type:String})],ue.prototype,"size",null),M([N({type:String})],ue.prototype,"direction",void 0),M([N({type:String})],ue.prototype,"flip",void 0),M([N({type:Boolean})],ue.prototype,"solid",void 0),M([N({type:String})],ue.prototype,"status",void 0),M([N({type:Boolean})],ue.prototype,"inverse",void 0),M([N({type:String})],ue.prototype,"badge",void 0),M([un({type:Number})],ue.prototype,"innerOffset",void 0),M([qd("svg")],ue.prototype,"svg",void 0);var Ar=["angle",{outline:'<path d="M29.52,22.52,18,10.6,6.48,22.52a1.7,1.7,0,0,0,2.45,2.36L18,15.49l9.08,9.39a1.7,1.7,0,0,0,2.45-2.36Z"/>'}];var Ca=["calendar",{outline:'<path d="M32.25,6H29V8h3V30H4V8H7V6H3.75A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V7.81A1.78,1.78,0,0,0,32.25,6Z"/><rect x="8" y="14" width="2" height="2"/><rect x="14" y="14" width="2" height="2"/><rect x="20" y="14" width="2" height="2"/><rect x="26" y="14" width="2" height="2"/><rect x="8" y="19" width="2" height="2"/><rect x="14" y="19" width="2" height="2"/><rect x="20" y="19" width="2" height="2"/><rect x="26" y="19" width="2" height="2"/><rect x="8" y="24" width="2" height="2"/><rect" x="14" y="24" width="2" height="2"/><rect x="20" y="24" width="2" height="2"/><rect x="26" y="24" width="2" height="2"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M26,10a1,1,0,0,0,1-1V3a1,1,0,0,0-2,0V9A1,1,0,0,0,26,10Z"/><rect x="13" y="6" width="10" height="2"/>',outlineAlerted:'<path d="M33.68,15.4H32V30H4V8H7V6H3.75A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V15.38Z"/><rect x="8" y="14" width="2" height="2"/><rect x="14" y="14" width="2" height="2"/><rect x="8" y="19" width="2" height="2"/><rect x="14" y="19" width="2" height="2"/><rect x="20" y="19" width="2" height="2"/><rect x="26" y="19" width="2" height="2"/><rect x="8" y="24" width="2" height="2"/><rect x="14" y="24" width="2" height="2"/><rect x="20" y="24" width="2" height="2"/><rect x="26" y="24" width="2" height="2"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><polygon points="21.29 6 13 6 13 8 20.14 8 21.29 6"/>',outlineBadged:'<path d="M32,13.22V30H4V8H7V6H3.75A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V12.34A7.45,7.45,0,0,1,32,13.22Z"/><rect x="8" y="14" width="2" height="2"/><rect x="14" y="14" width="2" height="2"/><rect x="20" y="14" width="2" height="2"/><rect x="26" y="14" width="2" height="2"/><rect x="8" y="19" width="2" height="2"/><rect x="14" y="19" width="2" height="2"/><rect x="20" y="19" width="2" height="2"/><rect x="26" y="19" width="2" height="2"/><rect x="8" y="24" width="2" height="2"/><rect x="14" y="24" width="2" height="2"/><rect x="20" y="24" width="2" height="2"/><rect x="26" y="24" width="2" height="2"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M22.5,6H13V8h9.78A7.49,7.49,0,0,1,22.5,6Z"/>',solid:'<path d="M32.25,6h-4V9a2.2,2.2,0,1,1-4.4,0V6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V7.81A1.78,1.78,0,0,0,32.25,6ZM10,26H8V24h2Zm0-5H8V19h2Zm0-5H8V14h2Zm6,10H14V24h2Zm0-5H14V19h2Zm0-5H14V14h2Zm6,10H20V24h2Zm0-5H20V19h2Zm0-5H20V14h2Zm6,10H26V24h2Zm0-5H26V19h2Zm0-5H26V14h2Z"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M26,10a1,1,0,0,0,1-1V3a1,1,0,0,0-2,0V9A1,1,0,0,0,26,10Z"/>',solidAlerted:'<path d="M33.68,15.4H22.23A3.68,3.68,0,0,1,19,9.89L21.29,6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V15.38ZM10,26H8V24h2Zm0-5H8V19h2Zm0-5H8V14h2Zm6,10H14V24h2Zm0-5H14V19h2Zm0-5H14V14h2Zm6,10H20V24h2Zm0-5H20V19h2Zm6,5H26V24h2Zm0-5H26V19h2Z"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/>',solidBadged:'<path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M30,13.5A7.5,7.5,0,0,1,22.5,6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V12.34A7.45,7.45,0,0,1,30,13.5ZM10,26H8V24h2Zm0-5H8V19h2Zm0-5H8V14h2Zm6,10H14V24h2Zm0-5H14V19h2Zm0-5H14V14h2Zm6,10H20V24h2Zm0-5H20V19h2Zm0-5H20V14h2Zm6,10H26V24h2Zm0-5H26V19h2Zm0-5H26V14h2Z"/>'}];var he=["check-circle",{outline:'<path d="M18,6A12,12,0,1,0,30,18,12,12,0,0,0,18,6Zm0,22A10,10,0,1,1,28,18,10,10,0,0,1,18,28Z"/><path d="M16.34,23.74l-5-5a1,1,0,0,1,1.41-1.41l3.59,3.59,6.78-6.78a1,1,0,0,1,1.41,1.41Z"/>',solid:'<path d="M30,18A12,12,0,1,1,18,6,12,12,0,0,1,30,18Zm-4.77-2.16a1.4,1.4,0,0,0-2-2l-6.77,6.77L13,17.16a1.4,1.4,0,0,0-2,2l5.45,5.45Z"/>'}];var fg=["cog",{outline:'<path d="M18.1,11c-3.9,0-7,3.1-7,7s3.1,7,7,7c3.9,0,7-3.1,7-7S22,11,18.1,11z M18.1,23c-2.8,0-5-2.2-5-5s2.2-5,5-5c2.8,0,5,2.2,5,5S20.9,23,18.1,23z"/><path d="M32.8,14.7L30,13.8l-0.6-1.5l1.4-2.6c0.3-0.6,0.2-1.4-0.3-1.9l-2.4-2.4c-0.5-0.5-1.3-0.6-1.9-0.3l-2.6,1.4l-1.5-0.6l-0.9-2.8C21,2.5,20.4,2,19.7,2h-3.4c-0.7,0-1.3,0.5-1.4,1.2L14,6c-0.6,0.1-1.1,0.3-1.6,0.6L9.8,5.2C9.2,4.9,8.4,5,7.9,5.5L5.5,7.9C5,8.4,4.9,9.2,5.2,9.8l1.3,2.5c-0.2,0.5-0.4,1.1-0.6,1.6l-2.8,0.9C2.5,15,2,15.6,2,16.3v3.4c0,0.7,0.5,1.3,1.2,1.5L6,22.1l0.6,1.5l-1.4,2.6c-0.3,0.6-0.2,1.4,0.3,1.9l2.4,2.4c0.5,0.5,1.3,0.6,1.9,0.3l2.6-1.4l1.5,0.6l0.9,2.9c0.2,0.6,0.8,1.1,1.5,1.1h3.4c0.7,0,1.3-0.5,1.5-1.1l0.9-2.9l1.5-0.6l2.6,1.4c0.6,0.3,1.4,0.2,1.9-0.3l2.4-2.4c0.5-0.5,0.6-1.3,0.3-1.9l-1.4-2.6l0.6-1.5l2.9-0.9c0.6-0.2,1.1-0.8,1.1-1.5v-3.4C34,15.6,33.5,14.9,32.8,14.7z M32,19.4l-3.6,1.1L28.3,21c-0.3,0.7-0.6,1.4-0.9,2.1l-0.3,0.5l1.8,3.3l-2,2l-3.3-1.8l-0.5,0.3c-0.7,0.4-1.4,0.7-2.1,0.9l-0.5,0.1L19.4,32h-2.8l-1.1-3.6L15,28.3c-0.7-0.3-1.4-0.6-2.1-0.9l-0.5-0.3l-3.3,1.8l-2-2l1.8-3.3l-0.3-0.5c-0.4-0.7-0.7-1.4-0.9-2.1l-0.1-0.5L4,19.4v-2.8l3.4-1l0.2-0.5c0.2-0.8,0.5-1.5,0.9-2.2l0.3-0.5L7.1,9.1l2-2l3.2,1.8l0.5-0.3c0.7-0.4,1.4-0.7,2.2-0.9l0.5-0.2L16.6,4h2.8l1.1,3.5L21,7.7c0.7,0.2,1.4,0.5,2.1,0.9l0.5,0.3l3.3-1.8l2,2l-1.8,3.3l0.3,0.5c0.4,0.7,0.7,1.4,0.9,2.1l0.1,0.5l3.6,1.1V19.4z"/>',outlineAlerted:'<path d="M33.7,15.4h-5.3v0.1l3.6,1.1v2.8l-3.6,1.1L28.3,21c-0.3,0.7-0.6,1.4-0.9,2.1l-0.3,0.5l1.8,3.3l-2,2l-3.3-1.8l-0.5,0.3c-0.7,0.4-1.4,0.7-2.1,0.9l-0.5,0.1L19.4,32h-2.8l-1.1-3.6L15,28.3c-0.7-0.3-1.4-0.6-2.1-0.9l-0.5-0.3l-3.3,1.8l-2-2l1.8-3.3l-0.3-0.5c-0.4-0.7-0.7-1.4-0.9-2.1l-0.1-0.5L4,19.4v-2.8l3.4-1l0.2-0.5c0.2-0.8,0.5-1.5,0.9-2.2l0.3-0.5L7.1,9.1l2-2l3.2,1.8l0.5-0.3c0.7-0.4,1.4-0.7,2.2-0.9l0.5-0.2L16.6,4h2.8l1.1,3.4l1.4-2.3l-0.6-2C21,2.4,20.4,2,19.7,2h-3.4c-0.7,0-1.3,0.5-1.4,1.2L14,6c-0.6,0.1-1.1,0.3-1.6,0.6L9.8,5.2C9.2,4.9,8.4,5,7.9,5.5L5.5,7.9C5,8.4,4.9,9.2,5.2,9.8l1.3,2.5c-0.2,0.5-0.4,1.1-0.6,1.6l-2.8,0.9C2.5,15,2,15.6,2,16.3v3.4c0,0.7,0.5,1.3,1.2,1.5L6,22.1l0.6,1.5l-1.4,2.6c-0.3,0.6-0.2,1.4,0.3,1.9l2.4,2.4c0.5,0.5,1.3,0.6,1.9,0.3l2.6-1.4l1.5,0.6l0.9,2.9c0.2,0.6,0.8,1.1,1.5,1.1h3.4c0.7,0,1.3-0.5,1.5-1.1l0.9-2.9l1.5-0.6l2.6,1.4c0.6,0.3,1.4,0.2,1.9-0.3l2.4-2.4c0.5-0.5,0.6-1.3,0.3-1.9l-1.4-2.6l0.6-1.5l2.9-0.9c0.6-0.2,1.1-0.8,1.1-1.5v-3.4C34,16,33.9,15.7,33.7,15.4z"/><path d="M18.1,23c-2.8,0-5-2.2-5-5s2.2-5,5-5c0.2,0,0.5,0,0.7,0.1c-0.2-0.6-0.3-1.3-0.2-2h-0.5c-3.9,0-7,3.1-7,7c0,3.9,3.1,7,7,7c3.9,0,7-3.1,7-7c0-0.9-0.2-1.8-0.5-2.6h-2.2c0.5,0.8,0.7,1.6,0.7,2.5C23.1,20.8,20.9,23,18.1,23z"/>',outlineBadged:'<path d="M11.1,18c0,3.9,3.1,7,7,7c3.9,0,7-3.1,7-7s-3.1-7-7-7C14.2,11,11.1,14.1,11.1,18z M23.1,18c0,2.8-2.2,5-5,5c-2.8,0-5-2.2-5-5s2.2-5,5-5C20.9,13,23.1,15.2,23.1,18z"/><path d="M32.8,14.7L30,13.8l-0.1-0.3c-0.8,0-1.6-0.2-2.4-0.4c0.3,0.6,0.6,1.3,0.8,1.9l0.1,0.5l3.6,1.1v2.8l-3.6,1.1L28.3,21c-0.3,0.7-0.6,1.4-0.9,2.1l-0.3,0.5l1.8,3.3l-2,2l-3.3-1.8l-0.5,0.3c-0.7,0.4-1.4,0.7-2.1,0.9l-0.5,0.1L19.4,32h-2.8l-1.1-3.6L15,28.3c-0.7-0.3-1.4-0.6-2.1-0.9l-0.5-0.3l-3.3,1.8l-2-2l1.8-3.3l-0.3-0.5c-0.4-0.7-0.7-1.4-0.9-2.1l-0.1-0.5L4,19.4v-2.8l3.4-1l0.2-0.5c0.2-0.8,0.5-1.5,0.9-2.2l0.3-0.5L7.1,9.1l2-2l3.2,1.8l0.5-0.3c0.7-0.4,1.4-0.7,2.2-0.9l0.5-0.2L16.6,4h2.8l1.1,3.5L21,7.7c0.7,0.2,1.3,0.5,1.9,0.8c-0.3-0.8-0.4-1.6-0.4-2.5l-0.4-0.2l-0.9-2.8C21,2.5,20.4,2,19.7,2h-3.4c-0.7,0-1.3,0.5-1.4,1.2L14,6c-0.6,0.1-1.1,0.3-1.6,0.6L9.8,5.2C9.2,4.9,8.4,5,7.9,5.5L5.5,7.9C5,8.4,4.9,9.2,5.2,9.8l1.3,2.5c-0.2,0.5-0.4,1.1-0.6,1.6l-2.8,0.9C2.5,15,2,15.6,2,16.3v3.4c0,0.7,0.5,1.3,1.2,1.5L6,22.1l0.6,1.5l-1.4,2.6c-0.3,0.6-0.2,1.4,0.3,1.9l2.4,2.4c0.5,0.5,1.3,0.6,1.9,0.3l2.6-1.4l1.5,0.6l0.9,2.9c0.2,0.6,0.8,1.1,1.5,1.1h3.4c0.7,0,1.3-0.5,1.5-1.1l0.9-2.9l1.5-0.6l2.6,1.4c0.6,0.3,1.4,0.2,1.9-0.3l2.4-2.4c0.5-0.5,0.6-1.3,0.3-1.9l-1.4-2.6l0.6-1.5l2.9-0.9c0.6-0.2,1.1-0.8,1.1-1.5v-3.4C34,15.6,33.5,14.9,32.8,14.7z"/>',solid:'<path d="M32.57,15.72l-3.35-1a11.65,11.65,0,0,0-.95-2.33l1.64-3.07a.61.61,0,0,0-.11-.72L27.41,6.2a.61.61,0,0,0-.72-.11L23.64,7.72a11.62,11.62,0,0,0-2.36-1l-1-3.31A.61.61,0,0,0,19.69,3H16.31a.61.61,0,0,0-.58.43l-1,3.3a11.63,11.63,0,0,0-2.38,1l-3-1.62a.61.61,0,0,0-.72.11L6.2,8.59a.61.61,0,0,0-.11.72l1.62,3a11.63,11.63,0,0,0-1,2.37l-3.31,1a.61.61,0,0,0-.43.58v3.38a.61.61,0,0,0,.43.58l3.33,1a11.62,11.62,0,0,0,1,2.33L6.09,26.69a.61.61,0,0,0,.11.72L8.59,29.8a.61.61,0,0,0,.72.11l3.09-1.65a11.65,11.65,0,0,0,2.3.94l1,3.37a.61.61,0,0,0,.58.43h3.38a.61.61,0,0,0,.58-.43l1-3.38a11.63,11.63,0,0,0,2.28-.94l3.11,1.66a.61.61,0,0,0,.72-.11l2.39-2.39a.61.61,0,0,0,.11-.72l-1.66-3.1a11.63,11.63,0,0,0,.95-2.29l3.37-1a.61.61,0,0,0,.43-.58V16.31A.61.61,0,0,0,32.57,15.72ZM18,23.5A5.5,5.5,0,1,1,23.5,18,5.5,5.5,0,0,1,18,23.5Z"/>',solidAlerted:'<path d="M32.57,15.72,31.5,15.4H22.85A5.5,5.5,0,1,1,18,12.5a5.53,5.53,0,0,1,.65,0A3.68,3.68,0,0,1,19,9.89l2.09-3.62-.86-2.83A.61.61,0,0,0,19.69,3H16.31a.61.61,0,0,0-.58.43l-1,3.3a11.63,11.63,0,0,0-2.38,1l-3-1.62a.61.61,0,0,0-.72.11L6.2,8.59a.61.61,0,0,0-.11.72l1.62,3a11.63,11.63,0,0,0-1,2.37l-3.31,1a.61.61,0,0,0-.43.58v3.38a.61.61,0,0,0,.43.58l3.33,1a11.62,11.62,0,0,0,1,2.33L6.09,26.69a.61.61,0,0,0,.11.72L8.59,29.8a.61.61,0,0,0,.72.11l3.09-1.65a11.65,11.65,0,0,0,2.3.94l1,3.37a.61.61,0,0,0,.58.43h3.38a.61.61,0,0,0,.58-.43l1-3.38a11.63,11.63,0,0,0,2.28-.94l3.11,1.66a.61.61,0,0,0,.72-.11l2.39-2.39a.61.61,0,0,0,.11-.72l-1.66-3.1a11.63,11.63,0,0,0,.95-2.29l3.37-1a.61.61,0,0,0,.43-.58V16.31A.61.61,0,0,0,32.57,15.72Z"/>',solidBadged:'<path d="M32.57,15.72l-3.35-1a12.12,12.12,0,0,0-.47-1.32,7.49,7.49,0,0,1-6.14-6.16,11.82,11.82,0,0,0-1.33-.48l-1-3.31A.61.61,0,0,0,19.69,3H16.31a.61.61,0,0,0-.58.43l-1,3.3a11.63,11.63,0,0,0-2.38,1l-3-1.62a.61.61,0,0,0-.72.11L6.2,8.59a.61.61,0,0,0-.11.72l1.62,3a11.63,11.63,0,0,0-1,2.37l-3.31,1a.61.61,0,0,0-.43.58v3.38a.61.61,0,0,0,.43.58l3.33,1a11.62,11.62,0,0,0,1,2.33L6.09,26.69a.61.61,0,0,0,.11.72L8.59,29.8a.61.61,0,0,0,.72.11l3.09-1.65a11.65,11.65,0,0,0,2.3.94l1,3.37a.61.61,0,0,0,.58.43h3.38a.61.61,0,0,0,.58-.43l1-3.38a11.63,11.63,0,0,0,2.28-.94l3.11,1.66a.61.61,0,0,0,.72-.11l2.39-2.39a.61.61,0,0,0,.11-.72l-1.66-3.1a11.63,11.63,0,0,0,.95-2.29l3.37-1a.61.61,0,0,0,.43-.58V16.31A.61.61,0,0,0,32.57,15.72ZM18,23.5A5.5,5.5,0,1,1,23.5,18,5.5,5.5,0,0,1,18,23.5Z"/>'}];var _a=["event",{outline:'<path d="M16.17,25.86,10.81,20.5a1,1,0,0,1,1.41-1.41L16.17,23l8.64-8.64a1,1,0,0,1,1.41,1.41Z"/><path d="M32.25,6H29V8h3V30H4V8H7V6H3.75A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V7.81A1.78,1.78,0,0,0,32.25,6Z"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M26,10a1,1,0,0,0,1-1V3a1,1,0,0,0-2,0V9A1,1,0,0,0,26,10Z"/><rect x="13" y="6" width="10" height="2"/>',outlineAlerted:'<path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M10.81,20.5l5.36,5.36L26.22,15.81a1,1,0,0,0,.23-.41H23.8L16.17,23l-3.94-3.94a1,1,0,0,0-1.41,1.41Z"/><polygon points="21.29 6 13 6 13 8 20.14 8 21.29 6"/><path d="M33.68,15.4H32V30H4V8H7V6H3.75A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V15.38Z"/>',outlineBadged:'<path d="M10.81,20.5l5.36,5.36L26.22,15.81a1,1,0,0,0-1.41-1.41L16.17,23l-3.94-3.94a1,1,0,0,0-1.41,1.41Z"/><path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M32,13.22V30H4V8H7V6H3.75A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V12.34A7.45,7.45,0,0,1,32,13.22Z"/><path d="M22.5,6H13V8h9.78A7.49,7.49,0,0,1,22.5,6Z"/>',solid:'<path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M26,10a1,1,0,0,0,1-1V3a1,1,0,0,0-2,0V9A1,1,0,0,0,26,10Z"/><path d="M32.25,6h-4V9a2.2,2.2,0,0,1-4.4,0V6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V7.81A1.78,1.78,0,0,0,32.25,6ZM25.94,16.58l-9.67,9.67L11,20.94A1.36,1.36,0,0,1,12.9,19l3.38,3.38L24,14.66a1.36,1.36,0,1,1,1.93,1.93Z"/>',solidAlerted:'<path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M33.68,15.4H26.3a1.34,1.34,0,0,1-.36,1.18l-9.67,9.67L11,20.94A1.36,1.36,0,0,1,12.9,19l3.38,3.38,7-7h-1A3.68,3.68,0,0,1,19,9.89L21.29,6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V15.38Z"/>',solidBadged:'<path d="M10,10a1,1,0,0,0,1-1V3A1,1,0,0,0,9,3V9A1,1,0,0,0,10,10Z"/><path d="M30,13.5A7.5,7.5,0,0,1,22.5,6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.19A1.78,1.78,0,0,0,3.75,32h28.5A1.78,1.78,0,0,0,34,30.19V12.34A7.45,7.45,0,0,1,30,13.5Zm-4.06,3.08-9.67,9.67L11,20.94A1.36,1.36,0,0,1,12.9,19l3.38,3.38L24,14.66a1.36,1.36,0,1,1,1.93,1.93Z"/>'}];var pe=["exclamation-circle",{outline:'<path d="M18,6A12,12,0,1,0,30,18,12,12,0,0,0,18,6Zm0,22A10,10,0,1,1,28,18,10,10,0,0,1,18,28Z"/><path d="M18,20.07a1.3,1.3,0,0,1-1.3-1.3v-6a1.3,1.3,0,1,1,2.6,0v6A1.3,1.3,0,0,1,18,20.07Z"/><circle cx="17.95" cy="23.02" r="1.5"/>',solid:'<path d="M18,6A12,12,0,1,0,30,18,12,12,0,0,0,18,6Zm-1.49,6a1.49,1.49,0,0,1,3,0v6.89a1.49,1.49,0,1,1-3,0ZM18,25.5a1.72,1.72,0,1,1,1.72-1.72A1.72,1.72,0,0,1,18,25.5Z"/>'}];var ba=["exclamation-triangle",{outline:'<path d="M18,21.32a1.3,1.3,0,0,0,1.3-1.3V14a1.3,1.3,0,1,0-2.6,0v6A1.3,1.3,0,0,0,18,21.32Z"/><circle cx="17.95" cy="24.27" r="1.5"/><path d="M30.33,25.54,20.59,7.6a3,3,0,0,0-5.27,0L5.57,25.54A3,3,0,0,0,8.21,30H27.69a3,3,0,0,0,2.64-4.43Zm-1.78,1.94a1,1,0,0,1-.86.49H8.21a1,1,0,0,1-.88-1.48L17.07,8.55a1,1,0,0,1,1.76,0l9.74,17.94A1,1,0,0,1,28.55,27.48Z"/>',solid:'<path d="M30.33,25.54,20.59,7.6a3,3,0,0,0-5.27,0L5.57,25.54A3,3,0,0,0,8.21,30H27.69a3,3,0,0,0,2.64-4.43ZM16.46,12.74a1.49,1.49,0,0,1,3,0v6.89a1.49,1.49,0,1,1-3,0ZM18,26.25a1.72,1.72,0,1,1,1.72-1.72A1.72,1.72,0,0,1,18,26.25Z"/>'}];var Ia=["eye",{outline:'<path d="M33.62,17.53c-3.37-6.23-9.28-10-15.82-10S5.34,11.3,2,17.53L1.72,18l.26.48c3.37,6.23,9.28,10,15.82,10s12.46-3.72,15.82-10l.26-.48ZM17.8,26.43C12.17,26.43,7,23.29,4,18c3-5.29,8.17-8.43,13.8-8.43S28.54,12.72,31.59,18C28.54,23.29,23.42,26.43,17.8,26.43Z"/><path d="M18.09,11.17A6.86,6.86,0,1,0,25,18,6.86,6.86,0,0,0,18.09,11.17Zm0,11.72A4.86,4.86,0,1,1,23,18,4.87,4.87,0,0,1,18.09,22.89Z"/>',solid:'<path d="M33.62,17.53c-3.37-6.23-9.28-10-15.82-10S5.34,11.3,2,17.53L1.72,18l.26.48c3.37,6.23,9.28,10,15.82,10s12.46-3.72,15.82-10l.26-.48ZM17.8,26.43C12.17,26.43,7,23.29,4,18c3-5.29,8.17-8.43,13.8-8.43S28.54,12.72,31.59,18C28.54,23.29,23.42,26.43,17.8,26.43Z"/><circle cx="18.09" cy="18.03" r="6.86"/>'}];var Sa=["eye-hide",{outline:'<path d="M25.19,20.4A6.78,6.78,0,0,0,25.62,18a6.86,6.86,0,0,0-6.86-6.86,6.79,6.79,0,0,0-2.37.43L18,13.23a4.78,4.78,0,0,1,.74-.06A4.87,4.87,0,0,1,23.62,18a4.79,4.79,0,0,1-.06.74Z"/><path d="M34.29,17.53c-3.37-6.23-9.28-10-15.82-10a16.82,16.82,0,0,0-5.24.85L14.84,10a14.78,14.78,0,0,1,3.63-.47c5.63,0,10.75,3.14,13.8,8.43a17.75,17.75,0,0,1-4.37,5.1l1.42,1.42a19.93,19.93,0,0,0,5-6l.26-.48Z"/><path d="M4.87,5.78l4.46,4.46a19.52,19.52,0,0,0-6.69,7.29L2.38,18l.26.48c3.37,6.23,9.28,10,15.82,10a16.93,16.93,0,0,0,7.37-1.69l5,5,1.75-1.5-26-26Zm9.75,9.75,6.65,6.65a4.81,4.81,0,0,1-2.5.72A4.87,4.87,0,0,1,13.9,18,4.81,4.81,0,0,1,14.62,15.53Zm-1.45-1.45a6.85,6.85,0,0,0,9.55,9.55l1.6,1.6a14.91,14.91,0,0,1-5.86,1.2c-5.63,0-10.75-3.14-13.8-8.43a17.29,17.29,0,0,1,6.12-6.3Z"/>',solid:'<path d="M18.37,11.17A6.79,6.79,0,0,0,16,11.6l8.8,8.8A6.78,6.78,0,0,0,25.23,18,6.86,6.86,0,0,0,18.37,11.17Z"/><path d="M34.29,17.53c-3.37-6.23-9.28-10-15.82-10a16.82,16.82,0,0,0-5.24.85L14.84,10a14.78,14.78,0,0,1,3.63-.47c5.63,0,10.75,3.14,13.8,8.43a17.75,17.75,0,0,1-4.37,5.1l1.42,1.42a19.93,19.93,0,0,0,5-6l.26-.48Z"/><path d="M4.87,5.78l4.46,4.46a19.52,19.52,0,0,0-6.69,7.29L2.38,18l.26.48c3.37,6.23,9.28,10,15.82,10a16.93,16.93,0,0,0,7.37-1.69l5,5,1.75-1.5-26-26Zm8.3,8.3a6.85,6.85,0,0,0,9.55,9.55l1.6,1.6a14.91,14.91,0,0,1-5.86,1.2c-5.63,0-10.75-3.14-13.8-8.43a17.29,17.29,0,0,1,6.12-6.3Z"/>'}];var Da=["info-circle",{outline:'<circle cx="17.93" cy="11.9" r="1.4"/><path d="M21,23H19V15H16a1,1,0,0,0,0,2h1v6H15a1,1,0,1,0,0,2h6a1,1,0,0,0,0-2Z"/><path d="M18,6A12,12,0,1,0,30,18,12,12,0,0,0,18,6Zm0,22A10,10,0,1,1,28,18,10,10,0,0,1,18,28Z"/>',solid:'<path d="M18,6A12,12,0,1,0,30,18,12,12,0,0,0,18,6Zm-2,5.15a2,2,0,1,1,2,2A2,2,0,0,1,15.9,11.15ZM23,24a1,1,0,0,1-1,1H15a1,1,0,1,1,0-2h2V17H16a1,1,0,0,1,0-2h4v8h2A1,1,0,0,1,23,24Z"/>'}];var wa=["times",{outline:'<path d="M19.41,18l8.29-8.29a1,1,0,0,0-1.41-1.41L18,16.59,9.71,8.29A1,1,0,0,0,8.29,9.71L16.59,18,8.29,26.29a1,1,0,1,0,1.41,1.41L18,19.41l8.29,8.29a1,1,0,0,0,1.41-1.41Z"/>'}];var gg=["user",{outline:'<path d="M18,17a7,7,0,1,0-7-7A7,7,0,0,0,18,17ZM18,5a5,5,0,1,1-5,5A5,5,0,0,1,18,5Z"/><path d="M30.47,24.37a17.16,17.16,0,0,0-24.93,0A2,2,0,0,0,5,25.74V31a2,2,0,0,0,2,2H29a2,2,0,0,0,2-2V25.74A2,2,0,0,0,30.47,24.37ZM29,31H7V25.73a15.17,15.17,0,0,1,22,0h0Z"/>',outlineAlerted:'<path d="M30.47,24.37a17.16,17.16,0,0,0-24.93,0A2,2,0,0,0,5,25.74V31a2,2,0,0,0,2,2H29a2,2,0,0,0,2-2V25.74A2,2,0,0,0,30.47,24.37ZM29,31H7V25.73a15.17,15.17,0,0,1,22,0h0Z"/><path d="M18,17a7,7,0,0,0,4.45-1.6h-.22A3.68,3.68,0,0,1,20,14.6a5,5,0,1,1,1.24-8.42l1-1.76A7,7,0,1,0,18,17Z"/>',outlineBadged:'<path d="M30.47,24.37a17.16,17.16,0,0,0-24.93,0A2,2,0,0,0,5,25.74V31a2,2,0,0,0,2,2H29a2,2,0,0,0,2-2V25.74A2,2,0,0,0,30.47,24.37ZM29,31H7V25.73a15.17,15.17,0,0,1,22,0h0Z"/><path d="M18,17a7,7,0,0,0,6.85-5.56,7.4,7.4,0,0,1-2.24-6.69A7,7,0,1,0,18,17ZM18,5a5,5,0,1,1-5,5A5,5,0,0,1,18,5Z"/>',solid:'<path d="M30.61,24.52a17.16,17.16,0,0,0-25.22,0,1.51,1.51,0,0,0-.39,1v6A1.5,1.5,0,0,0,6.5,33h23A1.5,1.5,0,0,0,31,31.5v-6A1.51,1.51,0,0,0,30.61,24.52Z"/><circle cx="18" cy="10" r="7"/>',solidAlerted:'<path d="M30.61,24.52a17.16,17.16,0,0,0-25.22,0,1.51,1.51,0,0,0-.39,1v6A1.5,1.5,0,0,0,6.5,33h23A1.5,1.5,0,0,0,31,31.5v-6A1.51,1.51,0,0,0,30.61,24.52Z"/><path d="M18,17a7,7,0,0,0,4.45-1.6h-.22A3.68,3.68,0,0,1,19,9.89l3.16-5.47A7,7,0,1,0,18,17Z"/>',solidBadged:'<path d="M30.61,24.52a17.16,17.16,0,0,0-25.22,0,1.51,1.51,0,0,0-.39,1v6A1.5,1.5,0,0,0,6.5,33h23A1.5,1.5,0,0,0,31,31.5v-6A1.51,1.51,0,0,0,30.61,24.52Z"/><path d="M18,17a7,7,0,0,0,6.85-5.56,7.4,7.4,0,0,1-2.24-6.69A7,7,0,1,0,18,17Z"/>'}];var Tr=["window-close",{outline:'<path d="M19.41,18l7.29-7.29a1,1,0,0,0-1.41-1.41L18,16.59,10.71,9.29a1,1,0,0,0-1.41,1.41L16.59,18,9.29,25.29a1,1,0,1,0,1.41,1.41L18,19.41l7.29,7.29a1,1,0,0,0,1.41-1.41Z"/>'}];var mg=["calculator",{outline:'<path d="M28,2H8A2,2,0,0,0,6,4V32a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V4A2,2,0,0,0,28,2ZM8,32V4H28V32Z"/><path d="M12,8H25.67V6H11a1,1,0,0,0-1,1v4.67h2Z"/><polygon points="12 16 10 16 10 18 14 18 14 14 12 14 12 16"/><polygon points="24 16 22 16 22 18 26 18 26 14 24 14 24 16"/><polygon points="18 16 16 16 16 18 20 18 20 14 18 14 18 16"/><polygon points="12 22 10 22 10 24 14 24 14 20 12 20 12 22"/><polygon points="24 22 22 22 22 24 26 24 26 20 24 20 24 22"/><polygon points="18 22 16 22 16 24 20 24 20 20 18 20 18 22"/><polygon points="12 28 10 28 10 30 14 30 14 26 12 26 12 28"/><polygon points="24 28 22 28 22 30 26 30 26 26 24 26 24 28"/><polygon points="18 28 16 28 16 30 20 30 20 26 18 26 18 28"/>',solid:'<path d="M28,2H8A2,2,0,0,0,6,4V32a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V4A2,2,0,0,0,28,2ZM12,28H10V26h2Zm0-6H10V20h2Zm0-6H10V14h2Zm7,12H17V26h2Zm0-6H17V20h2Zm0-6H17V14h2Zm7,12H24V26h2Zm0-6H24V20h2Zm0-6H24V14h2Zm0-7H10V5H26Z"/>'}];var vg=["floppy",{outline:'<path d="M27.36,4H6A2,2,0,0,0,4,6V30a2,2,0,0,0,2,2H30a2,2,0,0,0,2-2V8.78ZM25,30H11V22H25Zm5,0H27V22a2,2,0,0,0-2-2H11a2,2,0,0,0-2,2v8H6V6h4v6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2H12V6H26.51L30,9.59Z"/>',outlineAlerted:'<path d="M30,15.4V30H27V22a2,2,0,0,0-2-2H11a2,2,0,0,0-2,2v8H6V6h4v6a2,2,0,0,0,2,2h7.35a3.54,3.54,0,0,1-.77-2H12V6h9.29l1.15-2H6A2,2,0,0,0,4,6V30a2,2,0,0,0,2,2H30a2,2,0,0,0,2-2V15.4ZM25,30H11V22H25Z"/>',outlineBadged:'<path d="M30,13.5h0V30H27V22a2,2,0,0,0-2-2H11a2,2,0,0,0-2,2v8H6V6h4v6a2,2,0,0,0,2,2H24a2,2,0,0,0,2-1.68l-.43-.3H12V6H22.5a7.49,7.49,0,0,1,.28-2H6A2,2,0,0,0,4,6V30a2,2,0,0,0,2,2H30a2,2,0,0,0,2-2V13.22A7.49,7.49,0,0,1,30,13.5ZM25,30H11V22H25Z"/>',solid:'<path d="M27.36,4H6A2,2,0,0,0,4,6V30a2,2,0,0,0,2,2H30a2,2,0,0,0,2-2V8.78ZM26,30H10V21.5A1.5,1.5,0,0,1,11.5,20h13A1.5,1.5,0,0,1,26,21.5ZM24,14H12a2,2,0,0,1-2-2V6h2v6H26A2,2,0,0,1,24,14Z"/>',solidAlerted:'<path d="M22.23,15.4A3.69,3.69,0,0,1,19.35,14H12a2,2,0,0,1-2-2V6h2v6h6.58A3.67,3.67,0,0,1,19,9.89L22.45,4H6A2,2,0,0,0,4,6V30a2,2,0,0,0,2,2H30a2,2,0,0,0,2-2V15.4ZM26,30H10V21.5A1.5,1.5,0,0,1,11.5,20h13A1.5,1.5,0,0,1,26,21.5Z"/>',solidBadged:'<path d="M30,13.5a7.46,7.46,0,0,1-4-1.18A2,2,0,0,1,24,14H12a2,2,0,0,1-2-2V6h2v6H25.54a7.45,7.45,0,0,1-2.76-8H6A2,2,0,0,0,4,6V30a2,2,0,0,0,2,2H30a2,2,0,0,0,2-2V13.22A7.49,7.49,0,0,1,30,13.5ZM26,30H10V21.5A1.5,1.5,0,0,1,11.5,20h13A1.5,1.5,0,0,1,26,21.5Z"/>'}];var lu=(()=>{let e=class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}};e.\u0275fac=function(r){return new(r||e)(u(H),u(B))},e.\u0275dir=b({type:e});let t=e;return t})(),Ta=(()=>{let e=class e extends lu{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,features:[P]});let t=e;return t})(),Vr=new w(""),yg={provide:Vr,useExisting:Be(()=>cu),multi:!0},cu=(()=>{let e=class e extends Ta{writeValue(n){this.setProperty("checked",n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){r&1&&ne("change",function(a){return o.onChange(a.target.checked)})("blur",function(){return o.onTouched()})},features:[W([yg]),P]});let t=e;return t})(),Cg={provide:Vr,useExisting:Be(()=>Ma),multi:!0};function _g(){let t=tt()?tt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var bg=new w(""),Ma=(()=>{let e=class e extends lu{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!_g())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}};e.\u0275fac=function(r){return new(r||e)(u(H),u(B),u(bg,8))},e.\u0275dir=b({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&ne("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[W([Cg]),P]});let t=e;return t})();function Ct(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function du(t){return t!=null&&typeof t.length=="number"}var Pt=new w(""),uu=new w(""),Ig=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Jd=class{static min(e){return hu(e)}static max(e){return pu(e)}static required(e){return fu(e)}static requiredTrue(e){return Sg(e)}static email(e){return Dg(e)}static minLength(e){return gu(e)}static maxLength(e){return wg(e)}static pattern(e){return xg(e)}static nullValidator(e){return Fr(e)}static compose(e){return bu(e)}static composeAsync(e){return Su(e)}};function hu(t){return e=>{if(Ct(e.value)||Ct(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i<t?{min:{min:t,actual:e.value}}:null}}function pu(t){return e=>{if(Ct(e.value)||Ct(t))return null;let i=parseFloat(e.value);return!isNaN(i)&&i>t?{max:{max:t,actual:e.value}}:null}}function fu(t){return Ct(t.value)?{required:!0}:null}function Sg(t){return t.value===!0?null:{required:!0}}function Dg(t){return Ct(t.value)||Ig.test(t.value)?null:{email:!0}}function gu(t){return e=>Ct(e.value)||!du(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}function wg(t){return e=>du(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function xg(t){if(!t)return Fr;let e,i;return typeof t=="string"?(i="",t.charAt(0)!=="^"&&(i+="^"),i+=t,t.charAt(t.length-1)!=="$"&&(i+="$"),e=new RegExp(i)):(i=t.toString(),e=t),n=>{if(Ct(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:i,actualValue:r}}}}function Fr(t){return null}function mu(t){return t!=null}function vu(t){return Zt(t)?ae(t):t}function yu(t){let e={};return t.forEach(i=>{e=i!=null?p(p({},e),i):e}),Object.keys(e).length===0?null:e}function Cu(t,e){return e.map(i=>i(t))}function Eg(t){return!t.validate}function _u(t){return t.map(e=>Eg(e)?e:i=>e.validate(i))}function bu(t){if(!t)return null;let e=t.filter(mu);return e.length==0?null:function(i){return yu(Cu(i,e))}}function Iu(t){return t!=null?bu(_u(t)):null}function Su(t){if(!t)return null;let e=t.filter(mu);return e.length==0?null:function(i){let n=Cu(i,e).map(vu);return tl(n).pipe(S(yu))}}function Du(t){return t!=null?Su(_u(t)):null}function eu(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function wu(t){return t._rawValidators}function xu(t){return t._rawAsyncValidators}function xa(t){return t?Array.isArray(t)?t:[t]:[]}function Nr(t,e){return Array.isArray(t)?t.includes(e):t===e}function tu(t,e){let i=xa(e);return xa(t).forEach(r=>{Nr(i,r)||i.push(r)}),i}function iu(t,e){return xa(e).filter(i=>!Nr(t,i))}var Or=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Iu(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Du(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,i){return this.control?this.control.hasError(e,i):!1}getError(e,i){return this.control?this.control.getError(e,i):null}},hi=class extends Or{get formDirective(){return null}get path(){return null}},st=class extends Or{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},kr=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Ag={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},DS=D(p({},Ag),{"[class.ng-submitted]":"isSubmitted"}),Tg=(()=>{let e=class e extends kr{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(u(st,2))},e.\u0275dir=b({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&U("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[P]});let t=e;return t})(),wS=(()=>{let e=class e extends kr{constructor(n){super(n)}};e.\u0275fac=function(r){return new(r||e)(u(hi,10))},e.\u0275dir=b({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&U("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[P]});let t=e;return t})();var fn="VALID",Mr="INVALID",ui="PENDING",gn="DISABLED";function Fa(t){return(Lr(t)?t.validators:t)||null}function Mg(t){return Array.isArray(t)?Iu(t):t||null}function Na(t,e){return(Lr(e)?e.asyncValidators:t)||null}function Fg(t){return Array.isArray(t)?Du(t):t||null}function Lr(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Eu(t,e,i){let n=t.controls;if(!(e?Object.keys(n):n).length)throw new R(1e3,"");if(!n[i])throw new R(1001,"")}function Au(t,e,i){t._forEachChild((n,r)=>{if(i[r]===void 0)throw new R(1002,"")})}var pi=class{constructor(e,i){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(i)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===fn}get invalid(){return this.status===Mr}get pending(){return this.status==ui}get disabled(){return this.status===gn}get enabled(){return this.status!==gn}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(tu(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(tu(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(iu(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(iu(e,this._rawAsyncValidators))}hasValidator(e){return Nr(this._rawValidators,e)}hasAsyncValidator(e){return Nr(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(i=>{i.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ui,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=gn,this.errors=null,this._forEachChild(n=>{n.disable(D(p({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(D(p({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!0))}enable(e={}){let i=this._parentMarkedDirty(e.onlySelf);this.status=fn,this._forEachChild(n=>{n.enable(D(p({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(D(p({},e),{skipPristineCheck:i})),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fn||this.status===ui)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(i=>i._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?gn:fn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ui,this._hasOwnPendingAsyncValidator=!0;let i=vu(this.asyncValidator(this));this._asyncValidationSubscription=i.subscribe(n=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(n,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,i={}){this.errors=e,this._updateControlsErrors(i.emitEvent!==!1)}get(e){let i=e;return i==null||(Array.isArray(i)||(i=i.split(".")),i.length===0)?null:i.reduce((n,r)=>n&&n._find(r),this)}getError(e,i){let n=i?this.get(i):this;return n&&n.errors?n.errors[e]:null}hasError(e,i){return!!this.getError(e,i)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Y,this.statusChanges=new Y}_calculateStatus(){return this._allControlsDisabled()?gn:this.errors?Mr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ui)?ui:this._anyControlsHaveStatus(Mr)?Mr:fn}_anyControlsHaveStatus(e){return this._anyControls(i=>i.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Lr(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let i=this._parent&&this._parent.dirty;return!e&&!!i&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Mg(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Fg(this._rawAsyncValidators)}},vn=class extends pi{constructor(e,i,n){super(Fa(i),Na(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,i){return this.controls[e]?this.controls[e]:(this.controls[e]=i,i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange),i)}addControl(e,i,n={}){this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}setControl(e,i,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],i&&this.registerControl(e,i),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,i={}){Au(this,!0,e),Object.keys(e).forEach(n=>{Eu(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e={},i={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this._reduceChildren({},(e,i,n)=>(e[n]=i.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(i,n)=>n._syncPendingControls()?!0:i);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(i=>{let n=this.controls[i];n&&e(n,i)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[i,n]of Object.entries(this.controls))if(this.contains(i)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(i,n,r)=>((n.enabled||this.disabled)&&(i[r]=n.value),i))}_reduceChildren(e,i){let n=e;return this._forEachChild((r,o)=>{n=i(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Ea=class extends vn{};var Oa=new w("CallSetDisabledState",{providedIn:"root",factory:()=>jr}),jr="always";function Ng(t,e){return[...e.path,t]}function nu(t,e,i=jr){ka(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||i==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),kg(t,e),Pg(t,e),Rg(t,e),Og(t,e)}function ru(t,e,i=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),Pr(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Rr(t,e){t.forEach(i=>{i.registerOnValidatorChange&&i.registerOnValidatorChange(e)})}function Og(t,e){if(e.valueAccessor.setDisabledState){let i=n=>{e.valueAccessor.setDisabledState(n)};t.registerOnDisabledChange(i),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(i)})}}function ka(t,e){let i=wu(t);e.validator!==null?t.setValidators(eu(i,e.validator)):typeof i=="function"&&t.setValidators([i]);let n=xu(t);e.asyncValidator!==null?t.setAsyncValidators(eu(n,e.asyncValidator)):typeof n=="function"&&t.setAsyncValidators([n]);let r=()=>t.updateValueAndValidity();Rr(e._rawValidators,r),Rr(e._rawAsyncValidators,r)}function Pr(t,e){let i=!1;if(t!==null){if(e.validator!==null){let r=wu(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.validator);o.length!==r.length&&(i=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let r=xu(t);if(Array.isArray(r)&&r.length>0){let o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(i=!0,t.setAsyncValidators(o))}}}let n=()=>{};return Rr(e._rawValidators,n),Rr(e._rawAsyncValidators,n),i}function kg(t,e){e.valueAccessor.registerOnChange(i=>{t._pendingValue=i,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&Tu(t,e)})}function Rg(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&Tu(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function Tu(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Pg(t,e){let i=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};t.registerOnChange(i),e._registerOnDestroy(()=>{t._unregisterOnChange(i)})}function Vg(t,e){t==null,ka(t,e)}function Lg(t,e){return Pr(t,e)}function jg(t,e){if(!t.hasOwnProperty("model"))return!1;let i=t.model;return i.isFirstChange()?!0:!Object.is(e,i.currentValue)}function Bg(t){return Object.getPrototypeOf(t.constructor)===Ta}function Hg(t,e){t._syncPendingControls(),e.forEach(i=>{let n=i.control;n.updateOn==="submit"&&n._pendingChange&&(i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function zg(t,e){if(!e)return null;Array.isArray(e);let i,n,r;return e.forEach(o=>{o.constructor===Ma?i=o:Bg(o)?n=o:r=o}),r||n||i||null}function Ug(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function ou(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function su(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var mn=class extends pi{constructor(e=null,i,n){super(Fa(i),Na(n,i)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(i),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Lr(i)&&(i.nonNullable||i.initialValueIsDefault)&&(su(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,i={}){this.value=this._pendingValue=e,this._onChange.length&&i.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,i.emitViewToModelChange!==!1)),this.updateValueAndValidity(i)}patchValue(e,i={}){this.setValue(e,i)}reset(e=this.defaultValue,i={}){this._applyFormState(e),this.markAsPristine(i),this.markAsUntouched(i),this.setValue(this.value,i),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ou(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ou(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){su(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var $g=t=>t instanceof mn;var ES=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=b({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let t=e;return t})(),Gg={provide:Vr,useExisting:Be(()=>Mu),multi:!0},Mu=(()=>{let e=class e extends Ta{writeValue(n){let r=n??"";this.setProperty("value",r)}registerOnChange(n){this.onChange=r=>{n(r==""?null:parseFloat(r))}}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&ne("input",function(a){return o.onChange(a.target.value)})("blur",function(){return o.onTouched()})},features:[W([Gg]),P]});let t=e;return t})();var Fu=new w("");var Wg={provide:hi,useExisting:Be(()=>Nu)},Nu=(()=>{let e=class e extends hi{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Y,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pr(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return nu(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){ru(n.control||null,n,!1),Ug(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,Hg(this.form,this.directives),this.ngSubmit.emit(n),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(ru(r||null,n),$g(o)&&(nu(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);Vg(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&Lg(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ka(this.form,this),this._oldForm&&Pr(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(r){return new(r||e)(u(Pt,10),u(uu,10),u(Oa,8))},e.\u0275dir=b({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&ne("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[E.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[W([Wg]),P,Je]});let t=e;return t})();var Zg={provide:st,useExisting:Be(()=>qg)},qg=(()=>{let e=class e extends st{set isDisabled(n){}constructor(n,r,o,s,a){super(),this._ngModelWarningConfig=a,this._added=!1,this.name=null,this.update=new Y,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=zg(this,s)}ngOnChanges(n){this._added||this._setUpControl(),jg(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return Ng(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}};e._ngModelWarningSentOnce=!1,e.\u0275fac=function(r){return new(r||e)(u(hi,13),u(Pt,10),u(uu,10),u(Vr,10),u(Fu,8))},e.\u0275dir=b({type:e,selectors:[["","formControlName",""]],inputs:{name:[E.None,"formControlName","name"],isDisabled:[E.None,"disabled","isDisabled"],model:[E.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[W([Zg]),P,Je]});let t=e;return t})();function Qg(t){return typeof t=="number"?t:parseInt(t,10)}function Ou(t){return typeof t=="number"?t:parseFloat(t)}var Br=(()=>{let e=class e{constructor(){this._validator=Fr}ngOnChanges(n){if(this.inputName in n){let r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Fr,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return n!=null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=b({type:e,features:[Je]});let t=e;return t})(),Kg={provide:Pt,useExisting:Be(()=>Yg),multi:!0},Yg=(()=>{let e=class e extends Br{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=n=>Ou(n),this.createValidator=n=>pu(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&G("max",o._enabled?o.max:null)},inputs:{max:"max"},features:[W([Kg]),P]});let t=e;return t})(),Xg={provide:Pt,useExisting:Be(()=>Jg),multi:!0},Jg=(()=>{let e=class e extends Br{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=n=>Ou(n),this.createValidator=n=>hu(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&G("min",o._enabled?o.min:null)},inputs:{min:"min"},features:[W([Xg]),P]});let t=e;return t})(),em={provide:Pt,useExisting:Be(()=>tm),multi:!0};var tm=(()=>{let e=class e extends Br{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Et,this.createValidator=n=>fu}enabled(n){return n}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&G("required",o._enabled?"":null)},inputs:{required:"required"},features:[W([em]),P]});let t=e;return t})();var im={provide:Pt,useExisting:Be(()=>nm),multi:!0},nm=(()=>{let e=class e extends Br{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=n=>Qg(n),this.createValidator=n=>gu(n)}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=ge(e)))(o||e)}})(),e.\u0275dir=b({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&G("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[W([im]),P]});let t=e;return t})();var ku=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=A({type:e}),e.\u0275inj=x({});let t=e;return t})(),Aa=class extends pi{constructor(e,i,n){super(Fa(i),Na(n,i)),this.controls=e,this._initObservables(),this._setUpdateStrategy(i),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,i={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}insert(e,i,n={}){this.controls.splice(e,0,i),this._registerControl(i),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,i={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:i.emitEvent})}setControl(e,i,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),i&&(this.controls.splice(r,0,i),this._registerControl(i)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,i={}){Au(this,!1,e),e.forEach((n,r)=>{Eu(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i)}patchValue(e,i={}){e!=null&&(e.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:i.emitEvent})}),this.updateValueAndValidity(i))}reset(e=[],i={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:i.emitEvent})}),this._updatePristine(i),this._updateTouched(i),this.updateValueAndValidity(i)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(i=>i._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((i,n)=>n._syncPendingControls()?!0:i,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((i,n)=>{e(i,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(i=>i.enabled&&e(i))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function au(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var AS=(()=>{let e=class e{constructor(){this.useNonNullable=!1}get nonNullable(){let n=new e;return n.useNonNullable=!0,n}group(n,r=null){let o=this._reduceControls(n),s={};return au(r)?s=r:r!==null&&(s.validators=r.validator,s.asyncValidators=r.asyncValidator),new vn(o,s)}record(n,r=null){let o=this._reduceControls(n);return new Ea(o,r)}control(n,r,o){let s={};return this.useNonNullable?(au(r)?s=r:(s.validators=r,s.asyncValidators=o),new mn(n,D(p({},s),{nonNullable:!0}))):new mn(n,r,o)}array(n,r,o){let s=n.map(a=>this._createControl(a));return new Aa(s,r,o)}_reduceControls(n){let r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){if(n instanceof mn)return n;if(n instanceof pi)return n;if(Array.isArray(n)){let r=n[0],o=n.length>1?n[1]:null,s=n.length>2?n[2]:null;return this.control(r,o,s)}else return this.control(n)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=m({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var fi=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Oa,useValue:n.callSetDisabledState??jr}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=A({type:e}),e.\u0275inj=x({imports:[ku]});let t=e;return t})(),TS=(()=>{let e=class e{static withConfig(n){return{ngModule:e,providers:[{provide:Fu,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:Oa,useValue:n.callSetDisabledState??jr}]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=A({type:e}),e.\u0275inj=x({imports:[ku]});let t=e;return t})();hn("cds-icon",ue);var yn=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(yn||{});function Cn(t,e){return{type:yn.Trigger,name:t,definitions:e,options:{}}}function Hr(t,e=null){return{type:yn.Animate,styles:e,timings:t}}function Vt(t){return{type:yn.Style,styles:t,offset:null}}function gi(t,e,i=null){return{type:yn.Transition,expr:t,animation:e,options:i}}var Ru=Mt`:host{--icon-width:var(--cds-global-space-7, calc(16 * 1rem / var(--cds-global-base, 20)));--icon-height:var(--cds-global-space-7, calc(16 * 1rem / var(--cds-global-base, 20)));--width:var(--icon-width);--height:var(--icon-width);--cursor:pointer;--color:var(--cds-global-typography-color-300, var(--cds-global-color-construction-800, #2d4048));--font-size:var(--cds-global-typography-font-size-3, calc(13 * 1rem / var(--cds-global-base, 20)));--background:transparent;--padding:0;--outline:var(--cds-alias-object-interaction-outline, Highlight solid 2px);--outline-offset:calc(var(--cds-alias-object-interaction-outline-offset, 1px) * -1);pointer-events:none;display:inline-block;outline:0!important}:host([role=button]){pointer-events:initial;cursor:var(--cursor)!important}:host([status=active]){--color:var(--cds-alias-status-info, var(--cds-global-color-blue-700, #0079ad))}::slotted([shape=close]),::slotted([shape=info-circle]),::slotted([shape=times]),:host([shape=close]),:host([shape=info-circle]){--icon-width:var(--cds-global-space-8, calc(18 * 1rem / var(--cds-global-base, 20)));--icon-height:var(--cds-global-space-8, calc(18 * 1rem / var(--cds-global-base, 20)))}:host(:hover){--color:var(--cds-alias-object-interaction-color-hover, var(--cds-global-color-construction-1000, #1b2b32))}:host(:active){--color:var(--cds-alias-object-interaction-color-active, var(--cds-global-color-construction-1000, #1b2b32))}:host(:active) .private-host{transform:translateY(calc(var(--cds-global-space-1,calc(1 * 1rem / var(--cds-global-base,20)))/ 2))}:host([disabled]){--color:var(--cds-alias-object-interaction-color-disabled, var(--cds-global-color-construction-300, #aeb8bc))}.private-host{--icon-color:var(--color);background:var(--background);padding:var(--padding);color:var(--color);font-size:var(--font-size);display:flex;justify-content:center;align-items:center;min-width:var(--width);min-height:var(--height)}::slotted(cds-icon),cds-icon{width:var(--icon-width);height:var(--icon-height);pointer-events:none}::slotted(cds-icon:not([status])),cds-icon{--color:var(--icon-color)}:host([disabled]:active){pointer-events:none!important}.private-host::after{content:"";position:absolute;left:calc(-1*var(--width) - 1);top:calc(-1*var(--height) - 1);width:var(--cds-alias-object-interaction-touch-target,calc(36 * 1rem / var(--cds-global-base,20)));height:var(--cds-alias-object-interaction-touch-target,calc(36 * 1rem / var(--cds-global-base,20)))}:host([disabled]) .private-host::after{outline:0!important}:host(:focus) .private-host::after{outline:var(--outline);outline-offset:var(--outline-offset)}@media (-webkit-min-device-pixel-ratio:0){:host(:focus) .private-host::after{outline-color:-webkit-focus-ring-color}}`;var je=class extends ye{constructor(){super(...arguments),this.i18n=ot.keys.actions,this.cdsButtonAction=!0}render(){return ci`<div class="private-host"><slot><cds-icon .shape="${this.shape?this.shape:"ellipsis-vertical"}" .size="${this.iconSize}" ?solid="${this.pressed||this.expanded}" inner-offset="${1}"></cds-icon></slot></div>`}updated(e){super.updated(e),this.ariaLabel||this.readonly||se.warn("A aria-label is required for interactive cds-button-action type",this),e.has("readonly")&&(this.readonly&&!this.hasAttribute("aria-label")?this.ariaHidden="true":this.ariaHidden=null)}};je.styles=[Er,Ru],M([N({type:String})],je.prototype,"shape",void 0),M([N({type:String,reflect:!0})],je.prototype,"action",void 0),M([N({type:String})],je.prototype,"iconSize",void 0),M([ma()],je.prototype,"i18n",void 0),M([un({type:Boolean,reflect:!0,attribute:"cds-button-action"})],je.prototype,"cdsButtonAction",void 0);var Pu="cds-internal-close-button",_n=class extends je{constructor(){super(...arguments),this.shape="close"}connectedCallback(){super.connectedCallback(),this.ariaLabel=this.ariaLabel?this.ariaLabel:this.i18n.close}};M([N({type:String})],_n.prototype,"shape",void 0);hn(Pu,_n),O.addIcons(wa),O.addAliases(["times",["close"]]);var zt=["*"];function sm(t,e){t&1&&ce(0,"label")}var am=[[["","clrCheckbox",""],["","clrToggle",""]],[["label"]]],lm=["[clrCheckbox],[clrToggle]","label"];function cm(t,e){t&1&&ce(0,"label")}function dm(t,e){t&1&&$(0,2,["*ngIf","showHelper"])}function um(t,e){t&1&&ce(0,"cds-icon",5)}function hm(t,e){t&1&&ce(0,"cds-icon",6)}function pm(t,e){t&1&&$(0,3,["*ngIf","showInvalid"])}function fm(t,e){t&1&&$(0,4,["*ngIf","showValid"])}var gm=[[["label"]],[["clr-checkbox-wrapper"],["clr-toggle-wrapper"]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],mm=["label","clr-checkbox-wrapper,clr-toggle-wrapper","clr-control-helper","clr-control-error","clr-control-success"];function vm(t,e){t&1&&ce(0,"label")}function ym(t,e){t&1&&ce(0,"cds-icon",5)}function Cm(t,e){t&1&&ce(0,"cds-icon",6)}function _m(t,e){t&1&&$(0,2,["*ngIf","showHelper"])}function bm(t,e){t&1&&$(0,3,["*ngIf","showInvalid"])}function Im(t,e){t&1&&$(0,4,["*ngIf","showValid"])}var Sm=[[["label"]],[["","clrInput",""]],[["clr-control-helper"]],[["clr-control-error"]],[["clr-control-success"]]],Dm=["label","[clrInput]","clr-control-helper","clr-control-error","clr-control-success"];function wm(t,e){if(t&1){let i=bl();Re(0,"button",4),ne("click",function(){dl(i);let r=xi(2);return ul(r.close())}),ce(1,"cds-icon",5),xe()}if(t&2){let i=xi(2);G("aria-label",i.clrCloseButtonAriaLabel)}}function xm(t,e){if(t&1&&(Re(0,"div",1)(1,"div",2),$(2),xe(),ze(3,wm,2,1,"button",3),xe()),t&2){let i=xi();U("alert-sm",i.isSmall)("alert-lightweight",i.isLight)("alert-app-level",i.isAppLevel),z("ngClass",i.alertClass),V(3),z("ngIf",i.closable)}}function Em(t,e){if(t&1&&ce(0,"clr-alerts-pager",2),t&2){let i=xi();z("clrCurrentAlertIndex",i.currentAlertIndex)}}var Am=[[["clr-alert"]]],Tm=["clr-alert"];var Dn=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=b({type:t,selectors:[["cds-icon"]]}),t})();var Ie=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z]}),t})();var Mm=0;function Uu(){return"clr-id-"+Mm++}var Ra="0.2s ease-in-out",Dw=[Cn("skipInitialRender",[gi(":enter",[])]),Cn("toggle",[gi("void => *",[Vt({display:"block",height:0}),Hr(Ra,Vt({height:"*"}))])])],ww=[Cn("skipInitialRender",[gi(":enter",[])]),Cn("toggle",[gi("void => *",[Vt({display:"block",height:0}),Hr(Ra,Vt({height:"*"}))]),gi("* => void",[Vt({display:"block"}),Hr(Ra,Vt({height:0,display:"none"}))])])],Fm={open:"Open",close:"Close",show:"Show",hide:"Hide",expand:"Expand",collapse:"Collapse",more:"More",select:"Select",selectAll:"Select All",previous:"Previous",next:"Next",current:"Jump to current",info:"Info",success:"Success",warning:"Warning",danger:"Error",rowActions:"Available actions",pickColumns:"Manage Columns",showColumns:"Show Columns",sortColumn:"Sort Column",firstPage:"First Page",lastPage:"Last Page",nextPage:"Next Page",previousPage:"Previous Page",currentPage:"Current Page",totalPages:"Total Pages",filterItems:"Filter items",minValue:"Min value",maxValue:"Max value",modalContentStart:"Beginning of Modal Content",modalContentEnd:"End of Modal Content",showColumnsMenuDescription:"Show or hide columns menu",allColumnsSelected:"All columns selected",signpostToggle:"Signpost Toggle",signpostClose:"Signpost Close",loading:"Loading",detailPaneStart:"Start of row details",detailPaneEnd:"End of row details",singleSelectionAriaLabel:"Single selection header",singleActionableAriaLabel:"Single actionable header",detailExpandableAriaLabel:"Toggle more row content",datagridFilterAriaLabel:"Toggle {COLUMN} filter",datagridFilterDialogAriaLabel:"Filter dialog",columnSeparatorAriaLabel:"Column resize handle",columnSeparatorDescription:"Use left or right key to resize the column",alertCloseButtonAriaLabel:"Close alert",alertNextAlertAriaLabel:"Next alert message, {CURRENT} of {COUNT}",alertPreviousAlertAriaLabel:"Previous alert message, {CURRENT} of {COUNT}",datepickerDialogLabel:"Choose date",datepickerToggleChooseDateLabel:"Choose date",datepickerToggleChangeDateLabel:"Change date, {SELECTED_DATE}",datepickerPreviousMonth:"Previous month",datepickerCurrentMonth:"Current month",datepickerNextMonth:"Next month",datepickerPreviousDecade:"Previous decade",datepickerNextDecade:"Next decade",datepickerCurrentDecade:"Current decade",datepickerSelectMonthText:"Select month, the current month is {CALENDAR_MONTH}",datepickerSelectYearText:"Select year, the current year is {CALENDAR_YEAR}",datepickerSelectedLabel:"{FULL_DATE} - Selected",stackViewChanged:"Value changed.",responsiveNavToggleOpen:"Open navigation menu",responsiveNavToggleClose:"Close navigation menu",responsiveNavOverflowOpen:"Open navigation overflow menu",responsiveNavOverflowClose:"Close navigation overflow menu",verticalNavToggle:"Toggle vertical navigation",timelineStepNotStarted:"Not started",timelineStepCurrent:"Current",timelineStepSuccess:"Completed",timelineStepError:"Error",timelineStepProcessing:"In progress",comboboxDelete:"Delete selected option",comboboxSearching:'Searching for matches for "{INPUT}"',comboboxSelection:"Selection",comboboxSelected:"Selected",comboboxNoResults:"No results",comboboxOpen:"Show options",datagridExpandableBeginningOf:"Beginning of",datagridExpandableEndOf:"End of",datagridExpandableRowContent:"Expandable row content",datagridExpandableRowsHelperText:"Screen reader table commands may not work for viewing expanded content, please use your screen reader's browse mode to read the content exposed by this button",wizardStepSuccess:"Completed",wizardStepError:"Error",wizardStepnavAriaLabel:"Step navigation",passwordHide:"Hide password for {LABEL}",passwordShow:"Show password for {LABEL}",selectedRows:"Selected rows"},Wa=(()=>{class t{constructor(){this._strings=Fm}get keys(){return this._strings}localize(i){this._strings=p(p({},this._strings),i)}parse(i,n={}){let r=Object.keys(n),o=i;return r.length&&r.forEach(s=>{o=o.replace(`{${s}}`,n[s])}),o}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var k=function(t){return t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Backspace="Backspace",t.Tab="Tab",t.Enter="Enter",t.Escape="Escape",t.Space="Space",t.Spacebar=" ",t.Home="Home",t.End="End",t}(k||{}),Lt=function(t){return t.ArrowUp="Up",t.ArrowDown="Down",t.ArrowRight="Right",t.ArrowLeft="Left",t.Space="Spacebar",t.Escape="Esc",t}(Lt||{});function Za(t){return t===k.ArrowUp||t===Lt.ArrowUp?k.ArrowUp:t===k.ArrowDown||t===Lt.ArrowDown?k.ArrowDown:t===k.ArrowRight||t===Lt.ArrowRight?k.ArrowRight:t===k.ArrowLeft||t===Lt.ArrowLeft?k.ArrowLeft:t===k.Space||t===Lt.Space?k.Space:t===k.Escape||t===Lt.Escape?k.Escape:t}function Nm(t){let e=Za(t.key);(e===k.ArrowUp||e===k.ArrowDown||e===k.ArrowLeft||e===k.ArrowRight)&&t.preventDefault()}var bt=(()=>{class t{constructor(){this._open=!1,this._openChange=new j,this._openEventChange=new j,this._popoverAligned=new j,this._popoverVisible=new j}get openChange(){return this._openChange.asObservable()}get popoverVisible(){return this._popoverVisible.asObservable()}get openEvent(){return this._openEvent}set openEvent(i){this._openEvent=i,this._openEventChange.next(i)}get open(){return this._open}set open(i){i=!!i,this._open!==i&&(this._open=i,this._openChange.next(i))}get originalEvent(){return this._openEvent}get popoverAligned(){return this._popoverAligned.asObservable()}getEventChange(){return this._openEventChange.asObservable()}toggleWithEvent(i){Nm(i),this.openEvent=i,this.open=!this.open}popoverVisibleEmit(i){this._popoverVisible.next(i)}popoverAlignedEmit(i){this._popoverAligned.next(i)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),$u=(()=>{class t{constructor(i,n,r){this.renderer=i,this.smartOpenService=n,this.document=r,this.outsideClickClose=!0,this.scrollToClose=!0,this.subscriptions=[],this.subscriptions.push(n.openChange.subscribe(o=>{o?(this.addEscapeListener(),this.addClickListener(),this.addScrollListener()):this.removeAllEventListeners()}),n.getEventChange().subscribe(o=>{this.ignoredEvent=o}))}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe()),this.removeAllEventListeners()}addScrollListener(){if(this.scrollToClose)this.documentScroller=il(this.document,"scroll",{capture:!0}),this.scrollSubscription=this.documentScroller.pipe(Ye(this.testForSmartPopoverContentContainer)).subscribe(()=>{this.smartOpenService.open=!1,this.setAnchorFocus()});else return}removeScrollListener(){this.documentScroller&&(this.scrollSubscription.unsubscribe(),delete this.documentScroller)}addClickListener(){this.outsideClickClose&&(this.documentClickListener=this.renderer.listen(this.document,"click",i=>{i===this.ignoredEvent?delete this.ignoredEvent:(this.smartOpenService.open=!1,i.target.focus())}))}removeClickListener(){this.outsideClickClose&&(delete this.ignoredEvent,this.documentClickListener&&(this.documentClickListener(),delete this.documentClickListener))}addEscapeListener(){this.escapeListener=this.renderer.listen(this.document,"keydown.escape",()=>{this.smartOpenService.open=!1,this.setAnchorFocus()})}removeEscapeListener(){this.escapeListener&&(this.escapeListener(),delete this.escapeListener)}setCloseFocus(){this.closeButtonRef.nativeElement.focus()}setAnchorFocus(){this.anchorButtonRef.nativeElement.focus()}testForSmartPopoverContentContainer(i){let n=i.target;for(;n.classList&&n.parentElement.localName!=="body";)n=n.parentElement;return n.classList?!n.classList.contains("clr-popover-content"):!1}removeAllEventListeners(){this.removeScrollListener(),this.removeClickListener(),this.removeEscapeListener()}}return t.\u0275fac=function(i){return new(i||t)(v(H),v(bt),v(re))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();var _e=function(t){return t[t.VERTICAL=0]="VERTICAL",t[t.HORIZONTAL=1]="HORIZONTAL",t}(_e||{}),F=function(t){return t[t.START=0]="START",t[t.CENTER=.5]="CENTER",t[t.END=1]="END",t}(F||{}),bn=function(t){return t[t.BOTTOM=0]="BOTTOM",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t[t.TOP=3]="TOP",t}(bn||{}),_t=t=>D(p({},t),{side:-1*t.side});var at=(t,e)=>{let i=t.content+(e?.5:-.5);return i<0||i>1?t:D(p({},t),{content:i})};function mi(t,e,i){return n=>e(t(n),i)}function Ce(t,e,i){let n=e.left,r=e.top;switch(t.axis+t.side){case-1:{n+=Vu(t,e,i),r-=i.height;break}case 1:{n+=Vu(t,e,i),r+=e.height;break}case 0:{n-=i.width,r+=Lu(t,e,i);break}case 2:{n+=e.width,r+=Lu(t,e,i);break}default:break}return{xOffset:n,yOffset:r}}function Vu(t,e,i){let n=0;switch(t.anchor){case F.START:break;case F.CENTER:{n+=e.width/2;break}case F.END:{n+=e.width;break}default:break}switch(t.content){case F.START:break;case F.CENTER:{n-=i.width/2;break}case F.END:{n-=i.width;break}default:break}return n}function Lu(t,e,i){let n=0;switch(t.anchor){case F.START:break;case F.CENTER:{n+=e.height/2;break}case F.END:{n+=e.height;break}default:break}switch(t.content){case F.START:break;case F.CENTER:{n-=i.height/2;break}case F.END:{n-=i.height;break}default:break}return n}function Om(t,e){let i=[],n={bottom:t.yOffset+e.height,left:t.xOffset,right:t.xOffset+e.width,top:t.yOffset};return n.top>=0||i.push(bn.TOP),n.left>=0||i.push(bn.LEFT),n.bottom<=(window.innerHeight||document.documentElement.clientHeight)||i.push(bn.BOTTOM),n.right<=(window.innerWidth||document.documentElement.clientWidth)||i.push(bn.RIGHT),i}var km=(()=>{class t{constructor(i,n){this.eventService=i,this.platformId=n,this._shouldRealign=new j,this.shouldRealign=this._shouldRealign.asObservable()}realign(){this._shouldRealign.next()}alignContent(i){if(!Ae(this.platformId))return{xOffset:0,yOffset:0};this.currentAnchorCoords=this.eventService.anchorButtonRef.nativeElement.getBoundingClientRect(),this.currentContentCoords=i.getBoundingClientRect(),this.contentOffsets=Ce(this.position,this.currentAnchorCoords,this.currentContentCoords);let n=Om(this.contentOffsets,this.currentContentCoords),r=n.reduce((o,s)=>o+s,0);return n.length===1&&this.position.axis===_e.VERTICAL?this.handleVerticalAxisOneViolation(r):n.length===1&&this.position.axis===_e.HORIZONTAL?this.handleHorizontalAxisOneViolation(r):n.length===2&&this.position.axis===_e.VERTICAL?this.handleVerticalAxisTwoViolations(r):n.length===2&&this.position.axis===_e.HORIZONTAL&&this.handleHorizontalAxisTwoViolations(r),this.currentContentCoords.top<0&&(this.contentOffsets.yOffset+=Math.abs(this.currentContentCoords.top)),this.contentOffsets.yOffset+this.currentAnchorCoords.y<0&&(this.contentOffsets.yOffset=0-this.currentContentCoords.top),this.contentOffsets}handleVerticalAxisOneViolation(i){switch(i){case 0:case 3:{this.contentOffsets=Ce(_t(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 1:{this.contentOffsets=Ce(this.position,this.currentAnchorCoords,this.currentContentCoords),this.contentOffsets.xOffset<0&&(this.contentOffsets.xOffset=10);break}case 2:{this.contentOffsets=Ce(at(this.position,!0),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}handleVerticalAxisTwoViolations(i){switch(i){case 5:{let n=mi(_t,at,!0);this.contentOffsets=Ce(n(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 4:{let n=mi(_t,at,!1);this.contentOffsets=Ce(n(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 3:break;case 2:{let n=mi(_t,at,!0);this.contentOffsets=Ce(n(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 1:{let n=mi(_t,at,!1);this.contentOffsets=Ce(n(this.position),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}handleHorizontalAxisOneViolation(i){switch(i){case 1:case 2:{this.contentOffsets=Ce(_t(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 0:{this.contentOffsets=Ce(at(this.position,!0),this.currentAnchorCoords,this.currentContentCoords);break}case 3:{this.contentOffsets=Ce(at(this.position),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}handleHorizontalAxisTwoViolations(i){switch(i){case 5:case 4:{let n=mi(_t,at,!1);this.contentOffsets=Ce(n(this.position),this.currentAnchorCoords,this.currentContentCoords);break}case 3:break;case 2:case 1:{let n=mi(_t,at,!0);this.contentOffsets=Ce(n(this.position),this.currentAnchorCoords,this.currentContentCoords);break}default:break}}}return t.\u0275fac=function(i){return new(i||t)(v($u),v(we))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();var Gu=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({}),t})();var be=function(t){return t.UP="up",t.DOWN="down",t.LEFT="left",t.RIGHT="right",t}(be||{}),lt=class{constructor(e){this.renderer=e,this._unlistenFuncs=[]}get current(){return this._current}reset(e){this._current=e}listenToArrowKeys(e){this._unlistenFuncs.push(this.renderer.listen(e,"keydown.arrowup",()=>!this.move(be.UP))),this._unlistenFuncs.push(this.renderer.listen(e,"keydown.arrowdown",()=>!this.move(be.DOWN))),this._unlistenFuncs.push(this.renderer.listen(e,"keydown.arrowleft",()=>!this.move(be.LEFT))),this._unlistenFuncs.push(this.renderer.listen(e,"keydown.arrowright",()=>!this.move(be.RIGHT)))}registerContainer(e,i="0"){this.renderer.setAttribute(e,"tabindex",i),this.listenToArrowKeys(e),this._unlistenFuncs.push(this.renderer.listen(e,"keydown.space",()=>!this.activateCurrent())),this._unlistenFuncs.push(this.renderer.listen(e,"keydown.enter",()=>!this.activateCurrent()))}moveTo(e){e!==void 0&&(this.current&&this.current.blur(),e.focus(),this._current=e)}move(e){let i=!1;if(this.current){let n=this.current[e];n&&(xn(n)?n:C(n)).subscribe(o=>{o&&(this.moveTo(o),i=!0)})}return i}activateCurrent(){return this.current&&this.current.activate?(this.current.activate(),!0):!1}detachListeners(){this._unlistenFuncs.forEach(e=>e())}};lt.\u0275fac=function(e){return new(e||lt)(v(H))};lt.\u0275prov=m({token:lt,factory:lt.\u0275fac});function Rm(t,e){return t||new lt(e)}var Pm={provide:lt,useFactory:Rm,deps:[[new xt,new Gt,lt],H]},dt=function(t){return t[t.BEFORE=-1]="BEFORE",t[t.AFTER=1]="AFTER",t}(dt||{}),Ke=class{};Ke["top-right"]={axis:_e.VERTICAL,side:dt.BEFORE,anchor:F.END,content:F.END};Ke["top-left"]={axis:_e.VERTICAL,side:dt.BEFORE,anchor:F.START,content:F.START};Ke["bottom-right"]={axis:_e.VERTICAL,side:dt.AFTER,anchor:F.END,content:F.END};Ke["bottom-left"]={axis:_e.VERTICAL,side:dt.AFTER,anchor:F.START,content:F.START};Ke["right-top"]={axis:_e.HORIZONTAL,side:dt.AFTER,anchor:F.CENTER,content:F.END};Ke["right-bottom"]={axis:_e.HORIZONTAL,side:dt.AFTER,anchor:F.START,content:F.START};Ke["left-top"]={axis:_e.HORIZONTAL,side:dt.BEFORE,anchor:F.CENTER,content:F.END};Ke["left-bottom"]={axis:_e.HORIZONTAL,side:dt.BEFORE,anchor:F.START,content:F.START};var Wu=new w("POPOVER_HOST_ANCHOR"),Vm=(()=>{class t{constructor(i){this.toggleService=i,this.lastOpenChange=null}ngOnInit(){this.subscription=this.toggleService.openChange.subscribe(i=>{this.lastOpenChange=i})}ngOnDestroy(){this.subscription?.unsubscribe()}onEscapeKey(i){this.lastOpenChange!==null&&(this.lastOpenChange===!1&&i.stopPropagation(),this.lastOpenChange=null)}}return t.\u0275fac=function(i){return new(i||t)(u(bt))},t.\u0275dir=b({type:t,hostBindings:function(i,n){i&1&&ne("keyup.escape",function(o){return n.onEscapeKey(o)})},standalone:!0}),t})(),Lm=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=b({type:t,standalone:!0,features:[W([bt,$u,km,{provide:Wu,useExisting:B}]),uo([Vm])]}),t})(),zr=class{static linkParent(e,i,n){e.forEach(r=>r[n]=i)}static linkVertical(e,i=!0){e.forEach((n,r)=>{r>0&&(n.up=e[r-1]),r<e.length-1&&(n.down=e[r+1])}),i&&e.length>1&&(e[0].up=e[e.length-1],e[e.length-1].down=e[0])}};var Ew=new w("IF_ACTIVE_ID");var Ur=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z]}),t})(),Aw=new w("FOCUS_ON_VIEW_INIT");var jm=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=ie({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(i,n){},encapsulation:2}),t})(),Gr=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({}),t})(),Bm=0,It=(()=>{class t{constructor(){this._id="clr-form-control-"+ ++Bm,this._idChange=new Q(this._id)}get id(){return this._id}set id(i){this._id=i,this._idChange.next(i)}get idChange(){return this._idChange.asObservable()}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),Hm=0,_i=(()=>{class t{constructor(){this._id=`clr-form-container-${++Hm}`,this._idChange=new Q(this._id)}get id(){return this._id}set id(i){this._id=i,this._idChange.next(i)}get idChange(){return this._idChange.asObservable()}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),vi={HELPER:"helper",ERROR:"error",SUCCESS:"success",NONE:null},qa=(()=>{class t{constructor(i,n){this.controlIdService=i,this.containerIdService=n,this.controlIdSuffix="abstract"}get id(){return this.containerIdService?`${this.containerIdService.id}-${this.controlIdSuffix}`:this.controlIdService?`${this.controlIdService.id}-${this.controlIdSuffix}`:null}}return t.\u0275fac=function(i){return new(i||t)(u(It,8),u(_i,8))},t.\u0275dir=b({type:t}),t})(),zm=(()=>{class t extends qa{constructor(i,n){super(i,n),this.controlIdService=i,this.containerIdService=n,this.controlIdSuffix=vi.ERROR}}return t.\u0275fac=function(i){return new(i||t)(u(It,8),u(_i,8))},t.\u0275cmp=ie({type:t,selectors:[["clr-control-error"]],hostVars:3,hostBindings:function(i,n){i&2&&(G("id",n.id),U("clr-subtext",!0))},features:[P],ngContentSelectors:zt,decls:1,vars:0,template:function(i,n){i&1&&(Ee(),$(0))},encapsulation:2}),t})(),Um=(()=>{class t extends qa{constructor(i,n){super(i,n),this.controlIdService=i,this.containerIdService=n,this.controlIdSuffix=vi.HELPER}}return t.\u0275fac=function(i){return new(i||t)(u(It,8),u(_i,8))},t.\u0275cmp=ie({type:t,selectors:[["clr-control-helper"]],hostVars:3,hostBindings:function(i,n){i&2&&(G("id",n.id),U("clr-subtext",!0))},features:[P],ngContentSelectors:zt,decls:1,vars:0,template:function(i,n){i&1&&(Ee(),$(0))},encapsulation:2}),t})(),ct=(()=>{class t{constructor(){this._controlChanges=new j,this._helpers=new j}get controlChanges(){return this._controlChanges.asObservable()}get helpersChange(){return this._helpers.asObservable()}setControl(i){this._controlChanges.next(i)}setHelpers(i){this._helpers.next(i)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),de=function(t){return t.NONE="NONE",t.VALID="VALID",t.INVALID="INVALID",t}(de||{}),Bt=(()=>{class t{constructor(i){this.ngControlService=i,this.subscriptions=[],this._statusChanges=new Q(de.NONE),this.subscriptions.push(this.ngControlService.controlChanges.subscribe(n=>{n&&(this.control=n,this.subscriptions.push(this.control.statusChanges.subscribe(()=>{this.triggerStatusChange()})))}))}get statusChanges(){return this._statusChanges.asObservable()}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}triggerStatusChange(){if(this.control){let i=de[this.control.status];this._statusChanges.next(["VALID","INVALID"].includes(i)?i:de.NONE)}}}return t.\u0275fac=function(i){return new(i||t)(v(ct))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),jt=function(t){return t.VERTICAL="vertical",t.HORIZONTAL="horizontal",t.COMPACT="compact",t}(jt||{}),Ht=(()=>{class t{constructor(){this.minLabelSize=1,this.maxLabelSize=12,this.layout=jt.HORIZONTAL,this.layoutValues=Object.keys(jt).map(i=>jt[i]),this._labelSize=2}get labelSize(){return this._labelSize}set labelSize(i){this.labelSizeIsValid(i)&&(this._labelSize=i)}get layoutClass(){return`clr-form-${this.layout}`}isVertical(){return this.layout===jt.VERTICAL}isHorizontal(){return this.layout===jt.HORIZONTAL}isCompact(){return this.layout===jt.COMPACT}isValid(i){return this.layoutValues.indexOf(i)>-1}labelSizeIsValid(i){return Number.isInteger(i)&&i>=this.minLabelSize&&i<=this.maxLabelSize}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),yi=(()=>{class t{constructor(i,n,r,o,s){this.controlIdService=i,this.layoutService=n,this.ngControlService=r,this.renderer=o,this.el=s,this.enableGrid=!0,this.subscriptions=[]}get labelText(){return this.el.nativeElement&&this.el.nativeElement.textContent}ngOnInit(){(this.controlIdService||this.ngControlService)&&this.renderer.addClass(this.el.nativeElement,"clr-control-label"),this.enableGrid&&this.layoutService&&!this.layoutService.isVertical()&&this.el.nativeElement&&this.el.nativeElement.className.indexOf("clr-col")<0&&(this.renderer.addClass(this.el.nativeElement,"clr-col-12"),this.renderer.addClass(this.el.nativeElement,`clr-col-md-${this.layoutService.labelSize}`)),this.controlIdService&&!this.forAttr&&this.subscriptions.push(this.controlIdService.idChange.subscribe(i=>this.forAttr=i))}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}disableGrid(){this.enableGrid=!1}}return t.\u0275fac=function(i){return new(i||t)(u(It,8),u(Ht,8),u(ct,8),u(H),u(B))},t.\u0275dir=b({type:t,selectors:[["label"]],hostVars:1,hostBindings:function(i,n){i&2&&G("for",n.forAttr)},inputs:{forAttr:[E.None,"for","forAttr"]}}),t})(),$m=(()=>{class t extends qa{constructor(i,n){super(i,n),this.controlIdService=i,this.containerIdService=n,this.controlIdSuffix=vi.SUCCESS}}return t.\u0275fac=function(i){return new(i||t)(u(It,8),u(_i,8))},t.\u0275cmp=ie({type:t,selectors:[["clr-control-success"]],hostVars:3,hostBindings:function(i,n){i&2&&(G("id",n.id),U("clr-subtext",!0))},features:[P],ngContentSelectors:zt,decls:1,vars:0,template:function(i,n){i&1&&(Ee(),$(0))},encapsulation:2}),t})(),Gm="clr-error",Wm="clr-success",In=(()=>{class t{constructor(i){this.layoutService=i,this.className=""}controlClass(i=de.NONE,n=!1,r=""){let o=[this.className,r];switch(i){case de.VALID:o.push(Wm);break;case de.INVALID:o.push(Gm);break}return n&&this.layoutService&&this.className.indexOf("clr-col")===-1&&o.push(`clr-col-md-${this.layoutService.maxLabelSize-this.layoutService.labelSize} clr-col-12`),o.join(" ").trim()}initControlClass(i,n){n&&n.className&&(this.className=n.className,n.className.split(" ").forEach(o=>{o.startsWith("clr-col")&&i.removeClass(n,o)}))}}return t.\u0275fac=function(i){return new(i||t)(v(Ht,8))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),Zu=(()=>{class t{constructor(i,n,r,o){this.ifControlStateService=i,this.layoutService=n,this.controlClassService=r,this.ngControlService=o,this._dynamic=!1,this.subscriptions=[],this.subscriptions.push(this.ifControlStateService.statusChanges.subscribe(s=>{this.state=s,this.updateHelpers()})),this.subscriptions.push(this.ngControlService.controlChanges.subscribe(s=>{this.control=s}))}get showHelper(){return this.controlHelperComponent?!!this.controlHelperComponent&&(!this.touched||this.state===de.NONE)||!this.controlSuccessComponent&&this.state===de.VALID||!this.controlErrorComponent&&this.state===de.INVALID:!1}get showValid(){return this.touched&&this.state===de.VALID&&!!this.controlSuccessComponent}get showInvalid(){return this.touched&&this.state===de.INVALID&&!!this.controlErrorComponent}get touched(){return this.control?.touched}ngAfterContentInit(){this.updateHelpers()}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}controlClass(){return!this.controlSuccessComponent&&this.state===de.VALID||!this.touched?this.controlClassService.controlClass(de.NONE,this.addGrid()):this.controlClassService.controlClass(this.state,this.addGrid())}addGrid(){return this.layoutService&&!this.layoutService.isVertical()}updateHelpers(){this.ngControlService&&this.ngControlService.setHelpers({show:this.showInvalid||this.showHelper||this.showValid,showInvalid:this.showInvalid,showHelper:this.showHelper,showValid:this.showValid})}}return t.\u0275fac=function(i){return new(i||t)(u(Bt),u(Ht,8),u(In),u(ct))},t.\u0275dir=b({type:t,contentQueries:function(i,n,r){if(i&1&&(Pe(r,yi,5),Pe(r,$m,5),Pe(r,zm,5),Pe(r,Um,5)),i&2){let o;Ve(o=Le())&&(n.label=o.first),Ve(o=Le())&&(n.controlSuccessComponent=o.first),Ve(o=Le())&&(n.controlErrorComponent=o.first),Ve(o=Le())&&(n.controlHelperComponent=o.first)}}}),t})();var Pa=class{constructor(e,i,n=0){if(this.injector=i.injector,!this.injector.get(e,null)){let r=this.injector.get(so),o=this.injector.get(B);i.createComponent(r.resolveComponentFactory(jm));let s=r.resolveComponentFactory(e),a=[];a[n]=[o.nativeElement];let c=i.createComponent(s,void 0,void 0,a);i.remove(0),c.instance._dynamic=!0,this.injector=c.injector}}get(e,i){return this.injector.get(e,i)}},Va=(()=>{class t{constructor(){this._touched=new j}get touchedChange(){return this._touched.asObservable()}markAsTouched(){this._touched.next()}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),La=function(t){return t.FORM="form",t.MODEL="model",t}(La||{}),qu=(()=>{class t{constructor(i,n,r,o,s,a){this.vcr=i,this.wrapperType=n,this.ngControl=o,this.index=0,this.subscriptions=[],this.renderer=s,this.el=a,r&&(this.ngControlService=r.get(ct,null),this.ifControlStateService=r.get(Bt,null),this.controlClassService=r.get(In,null),this.markControlService=r.get(Va,null),this.differs=r.get(lo,null)),this.controlClassService&&this.controlClassService.initControlClass(s,a.nativeElement),this.markControlService&&this.subscriptions.push(this.markControlService.touchedChange.subscribe(()=>{this.markAsTouched()})),this.ngControlService&&this.subscriptions.push(this.ngControlService.helpersChange.subscribe(c=>{this.setAriaDescribedBy(c)})),o&&(this.differ=this.differs.find(o).create())}get id(){return this._id}set id(i){this._id=i,this.controlIdService&&(this.controlIdService.id=i)}ngOnInit(){this._containerInjector=new Pa(this.wrapperType,this.vcr,this.index),this.controlIdService=this._containerInjector.get(It),this.containerIdService=this._containerInjector.get(_i,null),this._id?this.controlIdService.id=this._id:this._id=this.controlIdService.id,this.ngControlService&&this.ngControl&&this.ngControlService.setControl(this.ngControl)}ngDoCheck(){if(this.differ){let i=this.differ.diff(this.ngControl);i&&i.forEachChangedItem(n=>{(n.key===La.FORM||n.key===La.MODEL)&&n.currentValue!==n.previousValue&&this.triggerValidation()})}}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}triggerValidation(){this.ifControlStateService&&this.ifControlStateService.triggerStatusChange()}getProviderFromContainer(i,n){try{return this._containerInjector.get(i,n)}catch{return n}}markAsTouched(){this.ngControl&&(this.ngControl.control.markAsTouched(),this.ngControl.control.updateValueAndValidity())}setAriaDescribedBy(i){if(i.show){let n=this.getAriaDescribedById(i);if(n!==null){this.renderer.setAttribute(this.el.nativeElement,"aria-describedby",n);return}}this.renderer.removeAttribute(this.el.nativeElement,"aria-describedby")}getAriaDescribedById(i){let n=vi.HELPER;return i.showInvalid?n=vi.ERROR:i.showValid&&(n=vi.SUCCESS),this.containerIdService?this.containerIdService.id.concat("-",n):this.controlIdService?this.controlIdService.id.concat("-",n):null}}return t.\u0275fac=function(i){return new(i||t)(u(He),u(hl),u(Oe),u(st),u(H),u(B))},t.\u0275dir=b({type:t,hostVars:1,hostBindings:function(i,n){i&1&&ne("blur",function(){return n.triggerValidation()}),i&2&&Il("id",n.id)},inputs:{id:"id"}}),t})();var Tw=(()=>{class t{constructor(i,n){this.layoutService=i,this.markControlService=n}set labelSize(i){let n=parseInt(i,10)||2;this.layoutService.labelSize=n}onFormSubmit(){this.markAsTouched()}markAsTouched(){this.markControlService.markAsTouched()}}return t.\u0275fac=function(i){return new(i||t)(u(Ht),u(Va))},t.\u0275dir=b({type:t,selectors:[["","clrForm",""]],contentQueries:function(i,n,r){if(i&1&&Pe(r,yi,5),i&2){let o;Ve(o=Le())&&(n.labels=o)}},hostVars:6,hostBindings:function(i,n){i&1&&ne("submit",function(){return n.onFormSubmit()}),i&2&&U("clr-form",!0)("clr-form-horizontal",n.layoutService.isHorizontal())("clr-form-compact",n.layoutService.isCompact())},inputs:{labelSize:[E.None,"clrLabelSize","labelSize"]},features:[W([Ht,Va])]}),t})(),Zm=(()=>{class t{constructor(i,n){this.ifControlStateService=i,this.ngControlService=n,this.subscriptions=[],this.displayedContent=!1,n&&this.subscriptions.push(this.ngControlService.controlChanges.subscribe(r=>{this.control=r})),i&&this.subscriptions.push(this.ifControlStateService.statusChanges.subscribe(r=>{this.handleState(r)}))}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}handleState(i){}}return t.\u0275fac=function(i){return new(i||t)(u(Bt,8),u(ct,8))},t.\u0275dir=b({type:t}),t})(),Mw=(()=>{class t extends Zm{constructor(i,n,r,o){if(super(i,n),this.template=r,this.container=o,!this.ifControlStateService)throw new Error("clrIfError can only be used within a form control container element like clr-input-container")}handleState(i){this.error&&this.control?this.displayError(this.control.hasError(this.error)):this.displayError(de.INVALID===i)}displayError(i){this.container&&(i?this.displayedContent===!1?(this.embeddedViewRef=this.container.createEmbeddedView(this.template,{error:this.control.getError(this.error)}),this.displayedContent=!0):this.embeddedViewRef&&this.embeddedViewRef.context&&(this.embeddedViewRef.context.error=this.control.getError(this.error)):(this.container.clear(),this.displayedContent=!1))}}return t.\u0275fac=function(i){return new(i||t)(u(Bt,8),u(ct,8),u(Ei),u(He))},t.\u0275dir=b({type:t,selectors:[["","clrIfError",""]],inputs:{error:[E.None,"clrIfError","error"]},features:[P]}),t})();var Fw=(()=>{class t{constructor(i){this.layoutService=i}ngOnInit(){this.layout&&this.layoutService.isValid(this.layout)&&(this.layoutService.layout=this.layout)}}return t.\u0275fac=function(i){return new(i||t)(u(Ht))},t.\u0275dir=b({type:t,selectors:[["","clrForm","","clrLayout",""]],inputs:{layout:[E.None,"clrLayout","layout"]}}),t})(),J=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,Ie]}),t})(),Qa=new w("IS_TOGGLE");function qm(){return new Q(!1)}var Qm={provide:Qa,useFactory:qm},Km=(()=>{class t{constructor(i){this._dynamic=!1,this.toggle=!1,this.subscriptions=[],this.subscriptions.push(i.subscribe(n=>{this.toggle=n}))}ngOnInit(){this.label&&this.label.disableGrid()}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}}return t.\u0275fac=function(i){return new(i||t)(u(Qa))},t.\u0275cmp=ie({type:t,selectors:[["clr-checkbox-wrapper"],["clr-toggle-wrapper"]],contentQueries:function(i,n,r){if(i&1&&Pe(r,yi,7),i&2){let o;Ve(o=Le())&&(n.label=o.first)}},hostVars:4,hostBindings:function(i,n){i&2&&U("clr-checkbox-wrapper",!n.toggle)("clr-toggle-wrapper",n.toggle)},features:[W([It,Qm])],ngContentSelectors:lm,decls:3,vars:1,consts:[[4,"ngIf"]],template:function(i,n){i&1&&(Ee(am),$(0),$(1,1),ze(2,sm,1,0,"label",0)),i&2&&(V(2),z("ngIf",!n.label))},dependencies:[Kt,yi],encapsulation:2}),t})(),Ym=(()=>{class t extends qu{constructor(i,n,r,o,s,a){super(i,Km,n,r,o,s),this.toggle=a}ngOnInit(){super.ngOnInit();let i=this.getProviderFromContainer(Qa,null);i&&this.toggle!==null&&i.next(!0)}}return t.\u0275fac=function(i){return new(i||t)(u(He),u(Oe),u(st,10),u(H),u(B),Di("clrToggle"))},t.\u0275dir=b({type:t,selectors:[["","clrCheckbox",""],["","clrToggle",""]],features:[P]}),t})(),Nw=(()=>{class t extends Zu{constructor(i,n,r,o){super(o,i,n,r),this.layoutService=i,this.controlClassService=n,this.ngControlService=r,this.ifControlStateService=o,this.inline=!1}get clrInline(){return this.inline}set clrInline(i){typeof i=="string"?this.inline=i!=="false":this.inline=!!i}ngAfterContentInit(){this.setAriaRoles()}setAriaRoles(){this.role=this.checkboxes.length?"group":null}}return t.\u0275fac=function(i){return new(i||t)(u(Ht,8),u(In),u(ct),u(Bt))},t.\u0275cmp=ie({type:t,selectors:[["clr-checkbox-container"],["clr-toggle-container"]],contentQueries:function(i,n,r){if(i&1&&Pe(r,Ym,5),i&2){let o;Ve(o=Le())&&(n.checkboxes=o)}},hostVars:7,hostBindings:function(i,n){i&2&&(G("role",n.role),U("clr-form-control",!0)("clr-form-control-disabled",n.control==null?null:n.control.disabled)("clr-row",n.addGrid()))},inputs:{clrInline:"clrInline"},features:[W([Bt,ct,In,_i]),P],ngContentSelectors:mm,decls:10,vars:9,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],[1,"clr-subtext-wrapper"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(i,n){i&1&&(Ee(gm),$(0),ze(1,cm,1,0,"label",0),Re(2,"div",1),$(3,1),Re(4,"div",2),ze(5,dm,1,0,"ng-content",0)(6,um,1,0,"cds-icon",3)(7,hm,1,0,"cds-icon",4)(8,pm,1,0,"ng-content",0)(9,fm,1,0,"ng-content",0),xe()()),i&2&&(V(),z("ngIf",!n.label&&n.addGrid()),V(),U("clr-control-inline",n.clrInline),z("ngClass",n.controlClass()),V(3),z("ngIf",n.showHelper),V(),z("ngIf",n.showInvalid),V(),z("ngIf",n.showValid),V(),z("ngIf",n.showInvalid),V(),z("ngIf",n.showValid))},dependencies:[On,Kt,Dn,yi],encapsulation:2}),t})(),Xm=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,Ie,J,Gr,J]}),t})();var Jm=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z]}),t})();var e0=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z]}),t})();var ja=class{containsItem(e){return this.model?this.model.includes(e):!1}select(e){this.addItem(e)}unselect(e){this.removeItem(e)}isEmpty(){return!(this.model&&this.model.length>0)}pop(){let e;return this.model&&this.model.length>0&&(e=this.model[this.model.length-1],this.removeItem(e)),e}toString(e,i=-1){let n="";return this.model&&(i>-1?this.model[i]&&(e&&this.model[i][e]?n+=this.model[i][e]:n+=this.model[i].toString()):this.model.forEach(r=>{e&&r[e]?n+=r[e]:n+=r.toString(),n+=" "})),n.trim()}addItem(e){this.containsItem(e)||(this.model=this.model||[],this.model.push(e))}removeItem(e){if(this.model===null||this.model===void 0)return;let i=this.model.indexOf(e);i>-1&&this.model.splice(i,1),this.model.length===0&&(this.model=null)}},Ba=class{containsItem(e){return this.model===e}select(e){this.model=e}unselect(e){this.containsItem(e)&&(this.model=null)}isEmpty(){return!this.model}pop(){let e=this.model;return this.model=null,e}toString(e){return this.model?e&&this.model[e]?this.model[e]:this.model.toString():""}};var Ci=class{};function Qu(t){return[t,{provide:Ci,useExisting:t}]}var Ha=class extends Ba{constructor(){super(...arguments),this._focusChanged=new Q(null)}get focusChanged(){return this._focusChanged.asObservable()}select(e){this.model!==e&&(this.model=e,this._focusChanged.next(e))}},t0=(()=>{class t{constructor(){this.loading=!1,this.showAllOptions=!0,this._currentInput="",this._inputChanged=new Q(""),this._selectionChanged=new Dt(1),this.inputChanged=this._inputChanged.asObservable()}get currentInput(){return this._currentInput}set currentInput(i){i===""&&!this.multiselectable&&this.setSelectionValue(null),this._currentInput=i,this._inputChanged.next(i)}get selectionChanged(){return this._selectionChanged.asObservable()}get multiselectable(){return this.selectionModel instanceof ja}select(i){i==null||this.selectionModel.containsItem(i)||(this.selectionModel.select(i),this._selectionChanged.next(this.selectionModel))}toggle(i){i!=null&&(this.selectionModel.containsItem(i)?this.selectionModel.unselect(i):this.selectionModel.select(i),this._selectionChanged.next(this.selectionModel))}unselect(i){i==null||!this.selectionModel.containsItem(i)||(this.selectionModel.unselect(i),this._selectionChanged.next(this.selectionModel))}setSelectionValue(i){!this.selectionModel||this.selectionModel.model===i||!this.selectionModel.model&&!i||(this.selectionModel.model=i,this._selectionChanged.next(this.selectionModel))}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),i0=(()=>{class t{constructor(i,n,r,o){this.toggleService=n,this.selectionService=r,this.platformId=o,this.pseudoFocus=new Ha,this.optionData=[],this.handleFocusSubscription(),this.renderer=i.createRenderer(null,null)}get trigger(){return this._trigger}set trigger(i){this._trigger=i,this.addFocusOnBlurListener(i)}get listbox(){return this._listbox}set listbox(i){this._listbox=i,this.addFocusOnBlurListener(i)}get textInput(){return this._textInput}set textInput(i){this._textInput=i,this.renderer.listen(i,"keydown",n=>!this.handleTextInput(n)),this.addFocusOnBlurListener(i)}focusInput(){this.textInput&&Ae(this.platformId)&&this.textInput.focus()}focusFirstActive(){if(this.optionData.length>0)if(this.selectionService.selectionModel.isEmpty())this.pseudoFocus.select(this.optionData[0]);else{let i;this.selectionService.multiselectable?i=this.selectionService.selectionModel.model[0]:i=this.selectionService.selectionModel.model;let n=this.optionData.find(r=>r.value===i);n?this.pseudoFocus.select(n):this.pseudoFocus.select(this.optionData[0]),this.scrollIntoSelectedModel("auto")}}addOptionValues(i){this.optionData=i}handleFocusSubscription(){this.toggleService.openChange.subscribe(i=>{i||(this.pseudoFocus.model=null)})}moveFocusTo(i){let n=this.optionData.findIndex(r=>r.equals(this.pseudoFocus.model));i===be.UP?n===-1||n===0?n=this.optionData.length-1:n--:i===be.DOWN&&(n===-1||n===this.optionData.length-1?n=0:n++),this.pseudoFocus.select(this.optionData[n]),this.scrollIntoSelectedModel()}openAndMoveTo(i){this.toggleService.open?this.moveFocusTo(i):(this.toggleService.openChange.pipe(Xe(1)).subscribe(n=>{n&&this.moveFocusTo(i)}),this.toggleService.open=!0)}handleTextInput(i){let n=!1,r=Za(i.key);if(i)switch(r){case k.Enter:this.toggleService.open&&this.pseudoFocus.model&&(this.selectionService.multiselectable?this.selectionService.toggle(this.pseudoFocus.model.value):this.selectionService.select(this.pseudoFocus.model.value),n=!0);break;case k.Space:this.toggleService.open||(this.toggleService.open=!0,n=!0);break;case k.ArrowUp:this.preventViewportScrolling(i),this.openAndMoveTo(be.UP),n=!0;break;case k.ArrowDown:this.preventViewportScrolling(i),this.openAndMoveTo(be.DOWN),n=!0;break;default:i.key!==k.Tab&&!(this.selectionService.multiselectable&&i.key===k.Backspace)&&i.key!==k.Escape&&!this.toggleService.open&&(this.toggleService.open=!0);break}return n}scrollIntoSelectedModel(i="smooth"){this.pseudoFocus.model&&this.pseudoFocus.model.el&&this.pseudoFocus.model.el.scrollIntoView({behavior:i,block:"center",inline:"nearest"})}preventViewportScrolling(i){i.preventDefault(),i.stopImmediatePropagation()}addFocusOnBlurListener(i){Ae(this.platformId)&&this.renderer.listen(i,"blur",n=>{this.focusOutOfComponent(n)&&(this.toggleService.open=!1,this.componentCdRef&&this.componentCdRef.detectChanges())})}focusOutOfComponent(i){let n=i.relatedTarget||document.activeElement;return!(this.textInput.contains(n)||this.trigger.contains(n)||this.listbox.contains(n))}}return t.\u0275fac=function(i){return new(i||t)(v(An),v(bt),v(t0),v(we))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),Ow=Qu(i0);var n0=(()=>{class t{constructor(){O.addIcons(pe,he,Ar,Tr)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,fi,Ie,e0,J,Ur,Gu,Jm,J,Ur]}),t})(),r0=(()=>{class t extends Zu{}return t.\u0275fac=(()=>{let e;return function(n){return(e||(e=ge(t)))(n||t)}})(),t.\u0275cmp=ie({type:t,selectors:[["clr-input-container"]],hostVars:6,hostBindings:function(i,n){i&2&&U("clr-form-control",!0)("clr-form-control-disabled",n.control==null?null:n.control.disabled)("clr-row",n.addGrid())},features:[W([Bt,ct,It,In]),P],ngContentSelectors:Dm,decls:10,vars:7,consts:[[4,"ngIf"],[1,"clr-control-container",3,"ngClass"],[1,"clr-input-wrapper"],["class","clr-validate-icon","shape","exclamation-circle","status","danger","aria-hidden","true",4,"ngIf"],["class","clr-validate-icon","shape","check-circle","status","success","aria-hidden","true",4,"ngIf"],["shape","exclamation-circle","status","danger","aria-hidden","true",1,"clr-validate-icon"],["shape","check-circle","status","success","aria-hidden","true",1,"clr-validate-icon"]],template:function(i,n){i&1&&(Ee(Sm),$(0),ze(1,vm,1,0,"label",0),Re(2,"div",1)(3,"div",2),$(4,1),ze(5,ym,1,0,"cds-icon",3)(6,Cm,1,0,"cds-icon",4),xe(),ze(7,_m,1,0,"ng-content",0)(8,bm,1,0,"ng-content",0)(9,Im,1,0,"ng-content",0),xe()),i&2&&(V(),z("ngIf",!n.label&&n.addGrid()),V(),z("ngClass",n.controlClass()),V(3),z("ngIf",n.showInvalid),V(),z("ngIf",n.showValid),V(),z("ngIf",n.showHelper),V(),z("ngIf",n.showInvalid),V(),z("ngIf",n.showValid))},dependencies:[On,Kt,Dn,yi],encapsulation:2}),t})(),kw=(()=>{class t extends qu{constructor(i,n,r,o,s){super(i,r0,n,r,o,s),this.index=1}}return t.\u0275fac=function(i){return new(i||t)(u(He),u(Oe),u(st,10),u(H),u(B))},t.\u0275dir=b({type:t,selectors:[["","clrInput",""]],hostVars:2,hostBindings:function(i,n){i&2&&U("clr-input",!0)},features:[P]}),t})(),Ku=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,fi,Ie,J,J]}),t})();var o0=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,Ku,Ie]}),t})();var s0=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({}),t})();var a0=7,l0=6,Rw=a0*l0;var c0=(()=>{class t{constructor(){O.addIcons(pe,he,Ar,_a,Ca)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,s0,Gr,Ur,Gu,Ie,J]}),t})(),Pw=new w(void 0);var d0=(()=>{class t{constructor(){O.addIcons(Sa,Ia,pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,fi,Ie,J,J]}),t})();var u0=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,J,Gr,Ie,J]}),t})();var h0=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,J,Gr,Ie,J]}),t})();var p0=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,fi,Ie,J,J]}),t})();var f0=(()=>{class t{constructor(){O.addIcons(pe,he)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,fi,Ie,J,J]}),t})(),Vw=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,J,Xm,n0,c0,Ku,d0,u0,p0,f0,h0,o0]}),t})();var za=function(t){return t[t.WIDTH=0]="WIDTH",t[t.HIDDEN=1]="HIDDEN",t}(za||{}),Lw=Object.keys(za).map(t=>za[t]).filter(t=>t===parseInt(t,10));var jw=new w("COLUMN_STATE");var Ua=(()=>{class t{constructor(){this.selectable=!1,this.eager=!0,this.childrenFetched=new j}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function g0(t){return t||new Ua}var Bw={provide:Ua,useFactory:g0,deps:[[new xt,new Gt,Ua]]};function ju(t,e,i){return Xa.create(n=>{e(n);let r=t.subscribe(n);return()=>{r.unsubscribe(),i&&i(n)}})}var Wr=(()=>{class t{constructor(i,n,r,o,s){this.renderer=i,this.parent=n,this.toggleService=r,this.focusService=o,this.platformId=s,this.id=Uu(),this.focusBackOnTriggerWhenClosed=!1,this._unlistenFuncs=[],this.resetChildren(),this.moveToFirstItemWhenOpen(),this.parent||this.handleRootFocus()}get trigger(){return this._trigger}set trigger(i){this._trigger=i,this.parent?this._unlistenFuncs.push(this.renderer.listen(i,"keydown.arrowright",n=>this.toggleService.toggleWithEvent(n))):(this._unlistenFuncs.push(this.renderer.listen(i,"keydown.arrowup",n=>this.toggleService.toggleWithEvent(n))),this._unlistenFuncs.push(this.renderer.listen(i,"keydown.arrowdown",n=>this.toggleService.toggleWithEvent(n))),this.focusService.listenToArrowKeys(i))}get container(){return this._container}set container(i){this._container=i,this._unlistenFuncs.push(this.renderer.listen(i,"keydown.tab",n=>this.toggleService.toggleWithEvent(n))),this.parent?this._unlistenFuncs.push(this.renderer.listen(i,"keydown.escape",n=>{this.focusService.move(be.LEFT),n.stopPropagation()})):(this.focusService.registerContainer(i),this._unlistenFuncs.push(this.renderer.listen(i,"keydown.escape",n=>this.toggleService.toggleWithEvent(n))),this._unlistenFuncs.push(this.renderer.listen(i,"blur",n=>{this.children.pipe(Xe(1)).subscribe(o=>o.forEach(s=>s.blur()));let r=n.relatedTarget||document.activeElement;r&&Ae(this.platformId)&&(i.contains(r)||r===this.trigger)||(this.focusBackOnTriggerWhenClosed=!1,this.toggleService.open=!1)})))}ngOnDestroy(){this._unlistenFuncs.forEach(i=>i()),this.focusService.detachListeners()}moveToFirstItemWhenOpen(){let i=this.toggleService.openChange.subscribe(n=>{n&&this.toggleService.originalEvent&&setTimeout(()=>{this.focusService.moveTo(this),this.parent?this.focusService.move(be.RIGHT):this.focusService.move(be.DOWN)})});this._unlistenFuncs.push(()=>i.unsubscribe())}handleRootFocus(){let i=this.toggleService.openChange.subscribe(n=>{n||(this.focusService.reset(this),this.focusBackOnTriggerWhenClosed&&this.focus()),this.focusBackOnTriggerWhenClosed=n});this._unlistenFuncs.push(()=>i.unsubscribe())}focus(){this.trigger&&Ae(this.platformId)&&this.trigger.focus()}blur(){this.trigger&&Ae(this.platformId)&&this.trigger.blur()}activate(){Ae(this.platformId)&&this.trigger.click()}resetChildren(){this.children=new Dt(1),this.parent?this.right=this.openAndGetChildren().pipe(S(i=>i[0])):(this.down=this.openAndGetChildren().pipe(S(i=>i[0])),this.up=this.openAndGetChildren().pipe(S(i=>i[i.length-1])))}addChildren(i){zr.linkVertical(i),this.parent&&zr.linkParent(i,this.closeAndGetThis(),be.LEFT),this.children.next(i)}openAndGetChildren(){return ju(this.children,()=>this.toggleService.open=!0)}closeAndGetThis(){return ju(C(this),()=>this.toggleService.open=!1)}}return t.\u0275fac=function(i){return new(i||t)(v(H),v(t,12),v(bt),v(lt),v(we))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),m0=Qu(Wr),Sn=(()=>{class t{constructor(){this._changes=new j}get changes(){return this._changes.asObservable()}closeMenus(){this._changes.next(!1)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})();function v0(t){return t||new Sn}var y0={provide:Sn,useFactory:v0,deps:[[new xt,new Gt,Sn]]},Yu=(()=>{class t{constructor(i,n,r,o,s){this.parent=i,this.toggleService=n,this.focusHandler=r,this.cdr=o,this.isMenuClosable=!0,this.subscriptions=[],this.subscriptions.push(s.changes.subscribe(a=>this.toggleService.open=a)),this.subscriptions.push(n.openChange.subscribe(()=>this.cdr.markForCheck()))}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}}return t.\u0275fac=function(i){return new(i||t)(u(t,12),u(bt),u(Wr),u(ke),u(Sn))},t.\u0275cmp=ie({type:t,selectors:[["clr-dropdown"]],hostVars:4,hostBindings:function(i,n){i&2&&U("dropdown",!0)("open",n.toggleService.open)},inputs:{isMenuClosable:[E.None,"clrCloseMenuOnItemClick","isMenuClosable"]},features:[W([y0,Pm,m0]),uo([Lm])],ngContentSelectors:zt,decls:1,vars:0,template:function(i,n){i&1&&(Ee(),$(0))},encapsulation:2}),t})(),C0=(()=>{class t{constructor(i,n,r){this.el=i,this.renderer=n,this.platformId=r,this.id=Uu(),this.disabled=!1,n.setAttribute(i.nativeElement,"id",this.id),n.setAttribute(i.nativeElement,"tabindex","-1")}focus(){Ae(this.platformId)&&(this.renderer.setAttribute(this.el.nativeElement,"tabindex","0"),this.el.nativeElement.focus(),this.el.nativeElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))}blur(){Ae(this.platformId)&&(this.renderer.setAttribute(this.el.nativeElement,"tabindex","-1"),this.el.nativeElement.blur())}activate(){Ae(this.platformId)&&this.el.nativeElement.click()}}return t.\u0275fac=function(i){return new(i||t)(v(B),v(H),v(we))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),_0=[{provide:Ci,useClass:C0}],Hw=(()=>{class t{constructor(i,n,r){this.dropdown=i,this._dropdownService=n,this.focusableItem=r}get disabled(){return this.focusableItem.disabled}set disabled(i){this.focusableItem.disabled=!!i||i===""}get dropdownItemId(){return this.focusableItem.id}set dropdownItemId(i){this.focusableItem.id=i}onDropdownItemClick(){if(this.dropdown.isMenuClosable&&!this.disabled&&this.dropdown.toggleService.open){let i=this.findRootDropdown();i.focusHandler.focus(),i.focusHandler.focusBackOnTriggerWhenClosed=!1}setTimeout(()=>{this.dropdown.isMenuClosable&&!this.disabled&&this._dropdownService.closeMenus()})}onSpaceKeydown(i){this.stopImmediatePropagationIfDisabled(i)}onEnterKeydown(i){this.stopImmediatePropagationIfDisabled(i)}stopImmediatePropagationIfDisabled(i){this.disabled&&(i.preventDefault(),i.stopImmediatePropagation())}findRootDropdown(){let i=this.dropdown;for(;i.parent;)i=i.parent;return i}}return t.\u0275fac=function(i){return new(i||t)(u(Yu),u(Sn),u(Ci))},t.\u0275dir=b({type:t,selectors:[["","clrDropdownItem",""]],hostVars:7,hostBindings:function(i,n){i&1&&ne("click",function(){return n.onDropdownItemClick()})("keydown.space",function(o){return n.onSpaceKeydown(o)})("keydown.enter",function(o){return n.onEnterKeydown(o)}),i&2&&(G("role","menuitem")("aria-disabled",n.disabled)("id",n.dropdownItemId),U("disabled",n.disabled)("dropdown-item",!0))},inputs:{disabled:[E.None,"clrDisabled","disabled"],dropdownItemId:[E.None,"id","dropdownItemId"]},features:[W([_0])]}),t})(),h=function(t){return t[t.RIGHT_CENTER=0]="RIGHT_CENTER",t[t.RIGHT_TOP=1]="RIGHT_TOP",t[t.RIGHT_BOTTOM=2]="RIGHT_BOTTOM",t[t.TOP_CENTER=3]="TOP_CENTER",t[t.TOP_RIGHT=4]="TOP_RIGHT",t[t.TOP_LEFT=5]="TOP_LEFT",t[t.BOTTOM_CENTER=6]="BOTTOM_CENTER",t[t.BOTTOM_RIGHT=7]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=8]="BOTTOM_LEFT",t[t.LEFT_CENTER=9]="LEFT_CENTER",t[t.LEFT_TOP=10]="LEFT_TOP",t[t.LEFT_BOTTOM=11]="LEFT_BOTTOM",t}(h||{}),b0="relative",Bu="absolute",I0="fixed",Hu="scroll",zu="auto",$a=class{constructor(e){this.element=e,this.boundOnScrollListener=this.emitScrollEvent.bind(this),this.scrollableElements=[],e.style.position=Bu,e.style.top=0,e.style.bottom="auto",e.style.left=0,e.style.right="auto"}anchor(e,i,n,{offsetX:r=0,offsetY:o=0,useAnchorParent:s=!1}={}){this.addScrollEventListeners(e),s&&(e=e.parentNode),e.style.position="static";let a=e.getBoundingClientRect(),c=this.element.getBoundingClientRect(),l=a.left-c.left+r,d=a.top-c.top+o;switch(i){case h.LEFT_TOP:case h.TOP_LEFT:break;case h.TOP_CENTER:l+=a.width/2;break;case h.TOP_RIGHT:l+=a.width;break;case h.RIGHT_TOP:l+=a.width;break;case h.LEFT_BOTTOM:d+=a.height;break;case h.BOTTOM_LEFT:d+=a.height;break;case h.BOTTOM_CENTER:d+=a.height,l+=a.width/2;break;case h.BOTTOM_RIGHT:d+=a.height,l+=a.width;break;case h.RIGHT_BOTTOM:d+=a.height,l+=a.width;break;case h.LEFT_CENTER:d+=a.height/2;break;case h.RIGHT_CENTER:d+=a.height/2,l+=a.width;break;default:}switch(n){case h.LEFT_TOP:case h.TOP_LEFT:break;case h.TOP_CENTER:l-=c.width/2;break;case h.TOP_RIGHT:l-=c.width;break;case h.RIGHT_TOP:l-=c.width;break;case h.LEFT_BOTTOM:d-=c.height;break;case h.BOTTOM_LEFT:d-=c.height;break;case h.BOTTOM_CENTER:d-=c.height,l-=c.width/2;break;case h.BOTTOM_RIGHT:d-=c.height,l-=c.width;break;case h.RIGHT_BOTTOM:d-=c.height,l-=c.width;break;case h.LEFT_CENTER:d-=c.height/2;break;case h.RIGHT_CENTER:d-=c.height/2,l-=c.width;break;default:}let f=getComputedStyle(this.element),g=parseInt(f.marginLeft,10),I=parseInt(f.marginRight,10),te=parseInt(f.marginTop,10),ee=parseInt(f.marginBottom,10);switch(i){case h.LEFT_TOP:case h.TOP_LEFT:case h.TOP_RIGHT:case h.RIGHT_TOP:(n===h.BOTTOM_RIGHT||n===h.RIGHT_BOTTOM)&&(d-=ee,l-=I),(n===h.BOTTOM_LEFT||n===h.LEFT_BOTTOM)&&(d-=te,l+=g),(n===h.TOP_LEFT||n===h.LEFT_TOP)&&(d+=te,l+=g),(n===h.TOP_RIGHT||n===h.RIGHT_TOP)&&(d+=te,l-=I);break;case h.LEFT_BOTTOM:case h.BOTTOM_LEFT:case h.BOTTOM_RIGHT:case h.RIGHT_BOTTOM:(n===h.BOTTOM_LEFT||n===h.LEFT_BOTTOM)&&(d-=ee,l+=g),(n===h.BOTTOM_RIGHT||n===h.RIGHT_BOTTOM)&&(d-=ee,l-=I),(n===h.TOP_LEFT||n===h.LEFT_TOP)&&(d+=te,l+=g),(n===h.TOP_RIGHT||n===h.RIGHT_TOP)&&(d+=te,l-=I);break;case h.TOP_CENTER:d-=ee,l+=g,l-=I;break;case h.BOTTOM_CENTER:d+=te,l+=g,l-=I;break;case h.LEFT_CENTER:d+=te,d-=ee,l-=I;break;case h.RIGHT_CENTER:d+=te,d-=ee,l+=g;break;default:}return this.element.style.transform=`translateX(${Math.round(l)}px) translateY(${Math.round(d)}px)`,this._scroll.asObservable()}release(){this.element.style.transform="",this.removeScrollEventListeners()}isPositioned(e){let i=getComputedStyle(e).position;return i===b0||i===Bu||i===I0}emitScrollEvent(){this._scroll.next()}addScrollEventListeners(e){this._scroll=new j;let i=e,n=e;for(;n&&n!==document&&(this.scrolls(n)&&(n.addEventListener("scroll",this.boundOnScrollListener),this.scrollableElements.push(n)),!(n!==i&&this.isPositioned(n)));)n=n.parentNode}removeScrollEventListeners(){for(let e of this.scrollableElements)e.removeEventListener("scroll",this.boundOnScrollListener);this.scrollableElements.length=0,this._scroll&&(this._scroll.complete(),delete this._scroll)}scrolls(e){let i=getComputedStyle(e);return i.overflowX===Hu||i.overflowX===zu||i.overflowY===Hu||i.overflowY===zu}},S0=(()=>{class t{constructor(i,n){this.parentHost=n,this.closeOnOutsideClick=!1,this.popoverOptions={},this.updateAnchor=!1,this.documentESCListener=null,this.closeOnOutsideClickCallback=r=>{this.anchorElem.contains(r.target)||(this.toggleService.open=!1)},this.el=i.get(B),this.toggleService=i.get(bt),this.renderer=i.get(H),this.ngZone=i.get(le),this.ref=i.get(ke),this.anchorElem=n.nativeElement,this.popoverInstance=new $a(this.el.nativeElement),this.subscription=this.toggleService.openChange.subscribe(r=>{r?(this.anchor(),this.attachESCListener()):(this.release(),this.detachESCListener())}),this.toggleService.open&&(this.anchor(),this.attachESCListener())}get isOffScreen(){return!this.toggleService.open}ngAfterViewChecked(){this.updateAnchor&&(this.updateAnchor=!1,this.popoverInstance.anchor(this.anchorElem,this.anchorPoint,this.popoverPoint,this.popoverOptions).subscribe(()=>{this.toggleService.open=!1}),this.attachOutsideClickListener())}ngOnDestroy(){this.release(),this.detachESCListener(),this.subscription.unsubscribe()}anchor(){this.updateAnchor=!0}release(){this.detachOutsideClickListener(),this.popoverInstance.release()}attachESCListener(){this.popoverOptions.ignoreGlobalESCListener||this.ngZone.runOutsideAngular(()=>{this.documentESCListener=this.renderer.listen("document","keydown",i=>{i&&i.key&&Za(i.key)===k.Escape&&this.ngZone.run(()=>{this.toggleService.open=!1,this.ref.markForCheck()})})})}detachESCListener(){this.documentESCListener&&(this.documentESCListener(),this.documentESCListener=null)}attachOutsideClickListener(){this.closeOnOutsideClick&&this.toggleService.open&&document&&document.addEventListener&&document.addEventListener("click",this.closeOnOutsideClickCallback,!0)}detachOutsideClickListener(){this.closeOnOutsideClick&&document&&document.removeEventListener&&document.removeEventListener("click",this.closeOnOutsideClickCallback,!0)}}return t.\u0275fac=function(i){return new(i||t)(u(Oe),u(B,4))},t.\u0275dir=b({type:t,hostVars:2,hostBindings:function(i,n){i&2&&U("is-off-screen",n.isOffScreen)}}),t})(),zw=(()=>{class t extends S0{constructor(i,n,r,o){if(!n)throw new Error("clr-dropdown-menu should only be used inside of a clr-dropdown");super(i,n),r?(this.anchorPoint=h.RIGHT_TOP,this.popoverPoint=h.LEFT_TOP):(this.anchorPoint=h.BOTTOM_LEFT,this.popoverPoint=h.LEFT_TOP),this.popoverOptions.allowMultipleOpen=!0,this.popoverOptions.ignoreGlobalESCListener=!0,this.closeOnOutsideClick=!0,this.focusHandler=o}set position(i){switch(i){case"top-right":this.anchorPoint=h.TOP_RIGHT,this.popoverPoint=h.RIGHT_BOTTOM;break;case"top-left":this.anchorPoint=h.TOP_LEFT,this.popoverPoint=h.LEFT_BOTTOM;break;case"bottom-right":this.anchorPoint=h.BOTTOM_RIGHT,this.popoverPoint=h.RIGHT_TOP;break;case"bottom-left":this.anchorPoint=h.BOTTOM_LEFT,this.popoverPoint=h.LEFT_TOP;break;case"right-top":this.anchorPoint=h.RIGHT_TOP,this.popoverPoint=h.LEFT_TOP;break;case"right-bottom":this.anchorPoint=h.RIGHT_BOTTOM,this.popoverPoint=h.LEFT_BOTTOM;break;case"left-top":this.anchorPoint=h.LEFT_TOP,this.popoverPoint=h.RIGHT_TOP;break;case"left-bottom":this.anchorPoint=h.LEFT_BOTTOM,this.popoverPoint=h.RIGHT_BOTTOM;break;default:this.anchorPoint=h.BOTTOM_LEFT,this.popoverPoint=h.LEFT_TOP;break}}ngAfterContentInit(){this.focusHandler.container=this.el.nativeElement,this.items.changes.subscribe(()=>this.focusHandler.addChildren(this.items.toArray())),this.items.notifyOnChanges()}ngOnDestroy(){super.ngOnDestroy(),this.focusHandler.resetChildren()}}return t.\u0275fac=function(i){return new(i||t)(u(Oe),u(Wu,8),u(t,12),u(Wr))},t.\u0275cmp=ie({type:t,selectors:[["clr-dropdown-menu"]],contentQueries:function(i,n,r){if(i&1&&Pe(r,Ci,4),i&2){let o;Ve(o=Le())&&(n.items=o)}},hostVars:3,hostBindings:function(i,n){i&2&&(G("role","menu"),U("dropdown-menu",!0))},inputs:{position:[E.None,"clrPosition","position"]},features:[P],ngContentSelectors:zt,decls:1,vars:0,template:function(i,n){i&1&&(Ee(),$(0))},encapsulation:2}),t})(),Uw=(()=>{class t{constructor(i,n,r,o){this.toggleService=n,this.isRootLevelToggle=!0,i.parent&&(this.isRootLevelToggle=!1),o.trigger=r.nativeElement}get active(){return this.toggleService.open}onDropdownTriggerClick(i){this.toggleService.toggleWithEvent(i)}}return t.\u0275fac=function(i){return new(i||t)(u(Yu),u(bt),u(B),u(Wr))},t.\u0275dir=b({type:t,selectors:[["","clrDropdownTrigger",""],["","clrDropdownToggle",""]],hostVars:10,hostBindings:function(i,n){i&1&&ne("click",function(o){return n.onDropdownTriggerClick(o)}),i&2&&(G("aria-haspopup","menu")("aria-expanded",n.active),U("dropdown-toggle",n.isRootLevelToggle)("dropdown-item",!n.isRootLevelToggle)("expandable",!n.isRootLevelToggle)("active",n.active))}}),t})();var D0=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,Ur,Ie]}),t})(),w0=["info","warning","danger","success"],Ga=(()=>{class t{constructor(i){this.commonStrings=i,this.defaultIconShape="info-circle",this._alertIconShape="",this._alertType="info"}get alertType(){return this._alertType}set alertType(i){w0.indexOf(i)>-1&&(this._alertType=i)}get alertIconShape(){return this._alertIconShape===""?this.iconInfoFromType(this._alertType).shape:this._alertIconShape}set alertIconShape(i){i?i!==this._alertIconShape&&(this._alertIconShape=i):this._alertIconShape=""}get alertIconTitle(){return this.iconInfoFromType(this._alertType).title}iconInfoFromType(i){let n={shape:"",cssClass:"",title:""};switch(i){case"warning":n.shape="exclamation-triangle",n.cssClass="alert-warning",n.title=this.commonStrings.keys.warning;break;case"danger":n.shape="exclamation-circle",n.cssClass="alert-danger",n.title=this.commonStrings.keys.danger;break;case"success":n.shape="check-circle",n.cssClass="alert-success",n.title=this.commonStrings.keys.success;break;default:n.shape=this.defaultIconShape,n.cssClass="alert-info",n.title=this.commonStrings.keys.info;break}return n}}return t.\u0275fac=function(i){return new(i||t)(v(Wa))},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),$r=(()=>{class t{constructor(){this._change=new j}get changes(){return this._change.asObservable()}get current(){return this._current}set current(i){i!==this._current&&(this._current=i,this._change.next(i))}get activeAlerts(){return this.allAlerts&&this.allAlerts.filter(i=>!i._closed)}get currentAlert(){return this.activeAlerts&&this.activeAlerts[this.current]}set currentAlert(i){this.current=this.activeAlerts.indexOf(i)}get count(){return this.activeAlerts&&this.activeAlerts.length||0}manage(i){this.subscription&&this.subscription.unsubscribe(),this.allAlerts=i,this.current=typeof this._current=="number"?this._current:0,this._change.next(this.current),this.subscription=this.allAlerts.changes.subscribe(()=>{this.current>=this.allAlerts.length&&(this.current=Math.max(0,this.allAlerts.length-1))})}next(){this._current=this.current===this.activeAlerts.length-1?0:this.current+1,this._change.next(this._current)}previous(){this.activeAlerts.length!==0&&(this._current=this.current===0?this.activeAlerts.length-1:this.current-1,this._change.next(this._current))}open(){this.activeAlerts.length!==0&&(this.currentAlert||(this._current=0),this._change.next(this._current))}close(i){this.activeAlerts.length!==0&&(i&&(this._current=Math.max(0,this.current-1)),this._change.next(this._current))}destroy(){this.subscription&&this.subscription.unsubscribe()}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=m({token:t,factory:t.\u0275fac}),t})(),x0=(()=>{class t{constructor(i,n,r,o,s,a){this.iconService=i,this.cdr=n,this.multiAlertService=r,this.commonStrings=o,this.renderer=s,this.hostElement=a,this.isLight=!1,this.isSmall=!1,this.closable=!0,this.isAppLevel=!1,this.clrCloseButtonAriaLabel=this.commonStrings.keys.alertCloseButtonAriaLabel,this._closedChanged=new Y(!1),this._closed=!1,this.subscriptions=[]}get alertType(){return this.iconService.alertType}set alertType(i){this.iconService.alertType=i}set alertIconShape(i){this.iconService.alertIconShape=i}set closed(i){i&&!this._closed?this.close():!i&&this._closed&&this.open()}get alertClass(){return this.iconService.iconInfoFromType(this.iconService.alertType).cssClass}get hidden(){return this._hidden}set hidden(i){i!==this._hidden&&(this._hidden=i,this._hidden?this.renderer.addClass(this.hostElement.nativeElement,"alert-hidden"):this.renderer.removeClass(this.hostElement.nativeElement,"alert-hidden"),this.cdr.detectChanges())}ngOnInit(){this.multiAlertService&&this.subscriptions.push(this.multiAlertService.changes.subscribe(()=>{this.hidden=this.multiAlertService.currentAlert!==this}))}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe())}open(){this._closed=!1,this.multiAlertService&&this.multiAlertService.open(),this._closedChanged.emit(!1)}close(){if(!this.closable)return;let i=this.multiAlertService?.currentAlert===this;this._closed=!0,this.multiAlertService?.activeAlerts&&this.multiAlertService.close(i),this._closedChanged.emit(!0)}}return t.\u0275fac=function(i){return new(i||t)(u(Ga),u(ke),u($r,8),u(Wa),u(H),u(B))},t.\u0275cmp=ie({type:t,selectors:[["clr-alert"]],inputs:{isLight:[E.None,"clrAlertLightweight","isLight"],isSmall:[E.None,"clrAlertSizeSmall","isSmall"],closable:[E.None,"clrAlertClosable","closable"],isAppLevel:[E.None,"clrAlertAppLevel","isAppLevel"],clrCloseButtonAriaLabel:"clrCloseButtonAriaLabel",alertType:[E.None,"clrAlertType","alertType"],alertIconShape:[E.None,"clrAlertIcon","alertIconShape"],closed:[E.None,"clrAlertClosed","closed"]},outputs:{_closedChanged:"clrAlertClosedChange"},features:[W([Ga])],ngContentSelectors:zt,decls:1,vars:1,consts:[["class","alert",3,"ngClass","alert-sm","alert-lightweight","alert-app-level",4,"ngIf"],[1,"alert",3,"ngClass"],[1,"alert-items"],["type","button","class","close",3,"click",4,"ngIf"],["type","button",1,"close",3,"click"],["shape","window-close"]],template:function(i,n){i&1&&(Ee(),ze(0,xm,4,8,"div",0)),i&2&&z("ngIf",!n._closed)},dependencies:[On,Kt,Dn],encapsulation:2}),t})(),$w=(()=>{class t{constructor(i){this.iconService=i}}return t.\u0275fac=function(i){return new(i||t)(u(Ga))},t.\u0275cmp=ie({type:t,selectors:[["clr-alert-item"]],hostAttrs:[1,"alert-item"],ngContentSelectors:zt,decls:3,vars:2,consts:[[1,"alert-icon-wrapper"],["role","img",1,"alert-icon"]],template:function(i,n){i&1&&(Ee(),Re(0,"div",0),ce(1,"cds-icon",1),xe(),$(2)),i&2&&(V(),G("shape",n.iconService.alertIconShape)("aria-label",n.iconService.alertIconTitle))},dependencies:[Dn],encapsulation:2}),t})(),Gw=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=b({type:t,selectors:[["",8,"alert-text"]]}),t})(),E0=(()=>{class t{constructor(i,n){this.multiAlertService=i,this.commonStrings=n,this.currentAlertChange=new Y(!1),this.currentAlertIndexChange=new Y}get currentAlert(){return this.multiAlertService.currentAlert}set currentAlert(i){i&&(this.multiAlertService.currentAlert=i)}get currentAlertIndex(){return this.multiAlertService.current}set currentAlertIndex(i){this.multiAlertService.current=i}get previousAlertAriaLabel(){let i=this.currentAlertIndex+1;return this.commonStrings.parse(this.commonStrings.keys.alertPreviousAlertAriaLabel,{CURRENT:(i===1?this.multiAlertService.count:i-1).toString(),COUNT:this.multiAlertService.count.toString()})}get nextAlertAriaLabel(){let i=this.currentAlertIndex+1;return this.commonStrings.parse(this.commonStrings.keys.alertNextAlertAriaLabel,{CURRENT:(i===this.multiAlertService.count?1:i+1).toString(),COUNT:this.multiAlertService.count.toString()})}ngOnInit(){this.multiAlertServiceChanges=this.multiAlertService.changes.subscribe(i=>{this.currentAlertIndexChange.emit(i),this.currentAlertChange.emit(this.multiAlertService.activeAlerts[i])})}ngOnDestroy(){this.multiAlertServiceChanges.unsubscribe()}pageUp(){this.multiAlertService.next()}pageDown(){this.multiAlertService.previous()}}return t.\u0275fac=function(i){return new(i||t)(u($r),u(Wa))},t.\u0275cmp=ie({type:t,selectors:[["clr-alerts-pager"]],hostVars:2,hostBindings:function(i,n){i&2&&U("alerts-pager",!0)},inputs:{currentAlert:[E.None,"clrCurrentAlert","currentAlert"],currentAlertIndex:[E.None,"clrCurrentAlertIndex","currentAlertIndex"]},outputs:{currentAlertChange:"clrCurrentAlertChange",currentAlertIndexChange:"clrCurrentAlertIndexChange"},decls:9,vars:4,consts:[[1,"alerts-pager-control"],[1,"alerts-page-down"],["type","button",1,"alerts-pager-button",3,"click"],["shape","angle","direction","left"],[1,"alerts-pager-text"],[1,"alerts-page-up"],["shape","angle","direction","right"]],template:function(i,n){i&1&&(Re(0,"div",0)(1,"div",1)(2,"button",2),ne("click",function(){return n.pageDown()}),ce(3,"cds-icon",3),xe()(),Re(4,"div",4),Dl(5),xe(),Re(6,"div",5)(7,"button",2),ne("click",function(){return n.pageUp()}),ce(8,"cds-icon",6),xe()()()),i&2&&(V(2),G("aria-label",n.previousAlertAriaLabel),V(3),wl("",n.multiAlertService.current+1," / ",n.multiAlertService.count,""),V(2),G("aria-label",n.nextAlertAriaLabel))},dependencies:[Dn],encapsulation:2}),t})(),Ww=(()=>{class t{constructor(i){this.multiAlertService=i,this.currentAlertChange=new Y(!1),this.currentAlertIndexChange=new Y(!1),this.subscriptions=[]}set allAlerts(i){this.multiAlertService.manage(i)}set _inputCurrentIndex(i){Number.isInteger(i)&&i>=0&&(this.multiAlertService.current=i)}get currentAlertIndex(){return this.multiAlertService.current}set currentAlertIndex(i){this.multiAlertService.current=i}get currentAlert(){return this.multiAlertService.currentAlert}set currentAlert(i){i&&(this.multiAlertService.currentAlert=i)}get alerts(){return this.allAlerts.filter(i=>i.hidden===!1)}get currentAlertType(){return this.multiAlertService.currentAlert?this.multiAlertService.currentAlert.alertType:""}ngAfterContentInit(){this.subscriptions.push(this.multiAlertService.changes.subscribe(i=>{this.currentAlertIndexChange.next(i),this.currentAlertChange.next(this.multiAlertService.currentAlert)}))}ngOnDestroy(){this.subscriptions.forEach(i=>i.unsubscribe()),this.multiAlertService.destroy()}}return t.\u0275fac=function(i){return new(i||t)(u($r))},t.\u0275cmp=ie({type:t,selectors:[["clr-alerts"]],contentQueries:function(i,n,r){if(i&1&&Pe(r,x0,4),i&2){let o;Ve(o=Le())&&(n.allAlerts=o)}},hostVars:10,hostBindings:function(i,n){i&2&&U("alerts",!0)("alert-danger",n.currentAlertType=="danger")("alert-info",n.currentAlertType=="info")("alert-success",n.currentAlertType=="success")("alert-warning",n.currentAlertType=="warning")},inputs:{_inputCurrentIndex:[E.None,"clrCurrentAlertIndex","_inputCurrentIndex"],currentAlert:[E.None,"clrCurrentAlert","currentAlert"]},outputs:{currentAlertChange:"clrCurrentAlertChange",currentAlertIndexChange:"clrCurrentAlertIndexChange"},features:[W([$r])],ngContentSelectors:Tm,decls:3,vars:1,consts:[[1,"alerts-wrapper"],[3,"clrCurrentAlertIndex",4,"ngIf"],[3,"clrCurrentAlertIndex"]],template:function(i,n){i&1&&(Ee(Am),Re(0,"div",0),ze(1,Em,1,1,"clr-alerts-pager",1),$(2),xe()),i&2&&(V(),z("ngIf",n.multiAlertService.count>1))},dependencies:[Kt,E0],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var Zw=(()=>{class t{constructor(){O.addIcons(he,Da,pe,ba,Tr)}}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=A({type:t}),t.\u0275inj=x({imports:[Z,Ie,D0]}),t})();var qw=new w("TABS_ID");var Qw={"top-left":{anchorPoint:h.TOP_CENTER,popoverPoint:h.BOTTOM_RIGHT,offsetY:-16,offsetX:0},"top-middle":{anchorPoint:h.TOP_CENTER,popoverPoint:h.BOTTOM_CENTER,offsetY:-16,offsetX:0},"top-right":{anchorPoint:h.TOP_CENTER,popoverPoint:h.BOTTOM_LEFT,offsetY:-16,offsetX:0},"right-top":{anchorPoint:h.RIGHT_CENTER,popoverPoint:h.LEFT_BOTTOM,offsetY:0,offsetX:16},"right-middle":{anchorPoint:h.RIGHT_CENTER,popoverPoint:h.LEFT_CENTER,offsetY:0,offsetX:16},"right-bottom":{anchorPoint:h.RIGHT_CENTER,popoverPoint:h.LEFT_TOP,offsetY:0,offsetX:16},"bottom-right":{anchorPoint:h.BOTTOM_CENTER,popoverPoint:h.TOP_LEFT,offsetY:16,offsetX:0},"bottom-middle":{anchorPoint:h.BOTTOM_CENTER,popoverPoint:h.TOP_CENTER,offsetY:16,offsetX:0},"bottom-left":{anchorPoint:h.BOTTOM_CENTER,popoverPoint:h.TOP_RIGHT,offsetY:16,offsetX:0},"left-bottom":{anchorPoint:h.LEFT_CENTER,popoverPoint:h.RIGHT_TOP,offsetY:0,offsetX:-16},"left-middle":{anchorPoint:h.LEFT_CENTER,popoverPoint:h.RIGHT_CENTER,offsetY:0,offsetX:-16},"left-top":{anchorPoint:h.LEFT_CENTER,popoverPoint:h.RIGHT_BOTTOM,offsetY:0,offsetX:-16},default:{anchorPoint:h.RIGHT_CENTER,popoverPoint:h.LEFT_CENTER,offsetY:0,offsetX:16}};export{Kt as a,uh as b,Z as c,wv as d,lp as e,nt as f,$v as g,Gv as h,Wv as i,Kv as j,Jv as k,O as l,Ar as m,fg as n,gg as o,ag as p,lg as q,cg as r,dg as s,mg as t,vg as u,cu as v,Ma as w,Jd as x,Tg as y,wS as z,vn as A,mn as B,ES as C,Mu as D,Nu as E,qg as F,Yg as G,Jg as H,tm as I,nm as J,AS as K,TS as L,Dn as M,zm as N,Um as O,yi as P,Tw as Q,Mw as R,Fw as S,Km as T,Ym as U,Nw as V,r0 as W,kw as X,Vw as Y,Yu as Z,Hw as _,zw as $,Uw as aa,D0 as ba,x0 as ca,$w as da,Gw as ea,Ww as fa,Zw as ga};