<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{$ as On,Aa as Wc,B as Dr,Ba as mi,C as kr,Da as Yc,Fa as Kc,Ga as qc,Ha as Zc,I as Rn,Ia as Ln,J as Ue,Ja as Nn,Ka as Tr,L as $c,La as jn,M as Re,Ma as Bn,N as xo,Na as Cs,O as Sr,Oa as Pt,P as Ii,Pa as Qc,Q as xs,Qa as Xc,R as Oe,Ra as Jc,S as Ei,Sa as td,Ta as ed,U as Di,Ua as id,V as ys,Va as rd,W as ws,Xa as wo,_ as Gt,a as ie,aa as Ar,ba as Mn,c as gs,d as Nc,da as Vc,e as jc,g as An,h as bs,i as _s,ia as Pn,j as Ir,k as oe,m as vs,n as Xt,o as vo,oa as yo,pa as Fn,q as Bc,r as Tn,u as Er,v as Uc,ya as zc,za as Gc}from"./chunk-3L4XOAO2.js";import{g as Hc}from"./chunk-77ITQUXC.js";import{$ as hc,$a as vn,$b as ee,A as yt,Aa as w,Ab as Ec,Ac as Tc,Ba as h,Bc as yn,D as ls,Db as ui,Dc as wn,E as po,Fa as vc,Ga as _n,Gc as fs,Ha as Jt,Hb as L,Hc as Rc,I as fo,Ia as xc,Ib as N,Jb as nt,Jc as hs,K as Tt,Ka as yc,Kb as zi,Kc as vt,La as _r,Lb as Hi,M as pc,Mb as Dc,N as xe,Na as ne,Nb as ei,Nc as Oc,Oa as ot,Ob as wi,Oc as Mc,P as bn,Pa as cs,Pb as bo,Q as ho,Qa as Qt,Qb as Rt,Rb as _o,Rc as Cn,Sb as K,Sc as yr,Ta as wc,Tb as me,Ub as ht,Vc as Ci,W as Qe,Wb as te,Wc as In,X as fc,Xb as re,Xc as En,Y as ci,Ya as Cc,Yb as lt,Z as Dt,Za as E,Zb as ct,Zc as Pc,_ as de,_a as p,_b as us,_c as Dn,a as Ke,aa as Ht,ab as Te,ac as pe,b as yi,bc as ms,c as Ie,ca as gc,cb as vr,da as br,e as uc,ea as Bt,eb as go,ed as De,f as H,fb as Ic,fd as Fc,g as qe,ga as G,gb as ds,h as ss,ha as Ct,hc as Vt,hd as kn,ia as it,ib as ye,ic as Gi,id as Sn,j as Ae,ja as V,jb as xn,jd as wr,k as li,kb as st,kc as ps,kd as Wi,l as Wt,la as Xe,lc as kc,ld as Cr,m as fn,ma as Je,mb as di,mc as Sc,n as Vi,na as bc,nb as J,od as ue,p as O,pa as X,pd as Lc,q as hn,r as mc,ra as g,sa as rt,tb as z,u as gn,ua as y,ub as tt,v as Ee,vb as I,w as mo,wa as _c,xa as be,xb as ft,y as Ze,yc as Ac,za as ti,zb as xr}from"./chunk-KTFRGUFQ.js";import{a as m,b as C,d as dc,e as si,f as as,g as pn,h as f,i as A,j as at}from"./chunk-3XDY2U67.js";var Fm=as((C$,xa)=&gt;{(function(r,t,o){if(!r)return;for(var e={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},i={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},n={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&amp;":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","&lt;":",","&gt;":".","?":"/","|":"\\"},a={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},s,l=1;l&lt;20;++l)e[111+l]="f"+l;for(l=0;l&lt;=9;++l)e[l+96]=l.toString();function c(b,S,Q){if(b.addEventListener){b.addEventListener(S,Q,!1);return}b.attachEvent("on"+S,Q)}function d(b){if(b.type=="keypress"){var S=String.fromCharCode(b.which);return b.shiftKey||(S=S.toLowerCase()),S}return e[b.which]?e[b.which]:i[b.which]?i[b.which]:String.fromCharCode(b.which).toLowerCase()}function u(b,S){return b.sort().join(",")===S.sort().join(",")}function x(b){var S=[];return b.shiftKey&amp;&amp;S.push("shift"),b.altKey&amp;&amp;S.push("alt"),b.ctrlKey&amp;&amp;S.push("ctrl"),b.metaKey&amp;&amp;S.push("meta"),S}function k(b){if(b.preventDefault){b.preventDefault();return}b.returnValue=!1}function D(b){if(b.stopPropagation){b.stopPropagation();return}b.cancelBubble=!0}function U(b){return b=="shift"||b=="ctrl"||b=="alt"||b=="meta"}function W(){if(!s){s={};for(var b in e)b&gt;95&amp;&amp;b&lt;112||e.hasOwnProperty(b)&amp;&amp;(s[e[b]]=b)}return s}function dt(b,S,Q){return Q||(Q=W()[b]?"keydown":"keypress"),Q=="keypress"&amp;&amp;S.length&amp;&amp;(Q="keydown"),Q}function Kt(b){return b==="+"?["+"]:(b=b.replace(/\+{2}/g,"+plus"),b.split("+"))}function ge(b,S){var Q,wt,le,Ce=[];for(Q=Kt(b),le=0;le&lt;Q.length;++le)wt=Q[le],a[wt]&amp;&amp;(wt=a[wt]),S&amp;&amp;S!="keypress"&amp;&amp;n[wt]&amp;&amp;(wt=n[wt],Ce.push("shift")),U(wt)&amp;&amp;Ce.push(wt);return S=dt(wt,Ce,S),{key:wt,modifiers:Ce,action:S}}function se(b,S){return b===null||b===t?!1:b===S?!0:se(b.parentNode,S)}function It(b){var S=this;if(b=b||t,!(S instanceof It))return new It(b);S.target=b,S._callbacks={},S._directMap={};var Q={},wt,le=!1,Ce=!1,oi=!1;function ni(q){q=q||{};var _t=!1,xt;for(xt in Q){if(q[xt]){_t=!0;continue}Q[xt]=0}_t||(oi=!1)}function hr(q,_t,xt,pt,At,Se){var Et,Zt,jt=[],ut=xt.type;if(!S._callbacks[q])return[];for(ut=="keyup"&amp;&amp;U(q)&amp;&amp;(_t=[q]),Et=0;Et&lt;S._callbacks[q].length;++Et)if(Zt=S._callbacks[q][Et],!(!pt&amp;&amp;Zt.seq&amp;&amp;Q[Zt.seq]!=Zt.level)&amp;&amp;ut==Zt.action&amp;&amp;(ut=="keypress"&amp;&amp;!xt.metaKey&amp;&amp;!xt.ctrlKey||u(_t,Zt.modifiers))){var ve=!pt&amp;&amp;Zt.combo==At,gr=pt&amp;&amp;Zt.seq==pt&amp;&amp;Zt.level==Se;(ve||gr)&amp;&amp;S._callbacks[q].splice(Et,1),jt.push(Zt)}return jt}function qt(q,_t,xt,pt){S.stopCallback(_t,_t.target||_t.srcElement,xt,pt)||q(_t,xt)===!1&amp;&amp;(k(_t),D(_t))}S._handleKey=function(q,_t,xt){var pt=hr(q,_t,xt),At,Se={},Et=0,Zt=!1;for(At=0;At&lt;pt.length;++At)pt[At].seq&amp;&amp;(Et=Math.max(Et,pt[At].level));for(At=0;At&lt;pt.length;++At){if(pt[At].seq){if(pt[At].level!=Et)continue;Zt=!0,Se[pt[At].seq]=1,qt(pt[At].callback,xt,pt[At].combo,pt[At].seq);continue}Zt||qt(pt[At].callback,xt,pt[At].combo)}var jt=xt.type=="keypress"&amp;&amp;Ce;xt.type==oi&amp;&amp;!U(q)&amp;&amp;!jt&amp;&amp;ni(Se),Ce=Zt&amp;&amp;xt.type=="keydown"};function ce(q){typeof q.which!="number"&amp;&amp;(q.which=q.keyCode);var _t=d(q);if(_t){if(q.type=="keyup"&amp;&amp;le===_t){le=!1;return}S.handleKey(_t,x(q),q)}}function ai(){clearTimeout(wt),wt=setTimeout(ni,1e3)}function os(q,_t,xt,pt){Q[q]=0;function At(ut){return function(){oi=ut,++Q[q],ai()}}function Se(ut){qt(xt,ut,q),pt!=="keyup"&amp;&amp;(le=d(ut)),setTimeout(ni,10)}for(var Et=0;Et&lt;_t.length;++Et){var Zt=Et+1===_t.length,jt=Zt?Se:At(pt||ge(_t[Et+1]).action);uo(_t[Et],jt,pt,q,Et)}}function uo(q,_t,xt,pt,At){S._directMap[q+":"+xt]=_t,q=q.replace(/\s+/g," ");var Se=q.split(" "),Et;if(Se.length&gt;1){os(q,Se,_t,xt);return}Et=ge(q,xt),S._callbacks[Et.key]=S._callbacks[Et.key]||[],hr(Et.key,Et.modifiers,{type:Et.action},pt,q,At),S._callbacks[Et.key][pt?"unshift":"push"]({callback:_t,modifiers:Et.modifiers,action:Et.action,seq:pt,level:At,combo:q})}S._bindMultiple=function(q,_t,xt){for(var pt=0;pt&lt;q.length;++pt)uo(q[pt],_t,xt)},c(b,"keypress",ce),c(b,"keydown",ce),c(b,"keyup",ce)}It.prototype.bind=function(b,S,Q){var wt=this;return b=b instanceof Array?b:[b],wt._bindMultiple.call(wt,b,S,Q),wt},It.prototype.unbind=function(b,S){var Q=this;return Q.bind.call(Q,b,function(){},S)},It.prototype.trigger=function(b,S){var Q=this;return Q._directMap[b+":"+S]&amp;&amp;Q._directMap[b+":"+S]({},b),Q},It.prototype.reset=function(){var b=this;return b._callbacks={},b._directMap={},b},It.prototype.stopCallback=function(b,S){var Q=this;if((" "+S.className+" ").indexOf(" mousetrap ")&gt;-1||se(S,Q.target))return!1;if("composedPath"in b&amp;&amp;typeof b.composedPath=="function"){var wt=b.composedPath()[0];wt!==b.target&amp;&amp;(S=wt)}return S.tagName=="INPUT"||S.tagName=="SELECT"||S.tagName=="TEXTAREA"||S.isContentEditable},It.prototype.handleKey=function(){var b=this;return b._handleKey.apply(b,arguments)},It.addKeycodes=function(b){for(var S in b)b.hasOwnProperty(S)&amp;&amp;(e[S]=b[S]);s=null},It.init=function(){var b=It(t);for(var S in b)S.charAt(0)!=="_"&amp;&amp;(It[S]=function(Q){return function(){return b[Q].apply(b,arguments)}}(S))},It.init(),r.Mousetrap=It,typeof xa&lt;"u"&amp;&amp;xa.exports&amp;&amp;(xa.exports=It),typeof define=="function"&amp;&amp;define.amd&amp;&amp;define(function(){return It})})(typeof window&lt;"u"?window:null,typeof window&lt;"u"?document:null)});var Xl=as((Zl,Ql)=&gt;{(function(r,t){typeof define=="function"&amp;&amp;define.amd?define([],t):typeof Zl&lt;"u"?t():(t(),r.FileSaver={})})(Zl,function(){"use strict";function r(s,l){return typeof l&gt;"u"?l={autoBom:!1}:typeof l!="object"&amp;&amp;(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&amp;&amp;/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s}function t(s,l,c){var d=new XMLHttpRequest;d.open("GET",s),d.responseType="blob",d.onload=function(){a(d.response,l,c)},d.onerror=function(){console.error("could not download file")},d.send()}function o(s){var l=new XMLHttpRequest;l.open("HEAD",s,!1);try{l.send()}catch{}return 200&lt;=l.status&amp;&amp;299&gt;=l.status}function e(s){try{s.dispatchEvent(new MouseEvent("click"))}catch{var l=document.createEvent("MouseEvents");l.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),s.dispatchEvent(l)}}var i=typeof window=="object"&amp;&amp;window.window===window?window:typeof self=="object"&amp;&amp;self.self===self?self:typeof global=="object"&amp;&amp;global.global===global?global:void 0,n=i.navigator&amp;&amp;/Macintosh/.test(navigator.userAgent)&amp;&amp;/AppleWebKit/.test(navigator.userAgent)&amp;&amp;!/Safari/.test(navigator.userAgent),a=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&amp;&amp;!n?function(s,l,c){var d=i.URL||i.webkitURL,u=document.createElement("a");l=l||s.name||"download",u.download=l,u.rel="noopener",typeof s=="string"?(u.href=s,u.origin===location.origin?e(u):o(u.href)?t(s,l,c):e(u,u.target="_blank")):(u.href=d.createObjectURL(s),setTimeout(function(){d.revokeObjectURL(u.href)},4e4),setTimeout(function(){e(u)},0))}:"msSaveOrOpenBlob"in navigator?function(s,l,c){if(l=l||s.name||"download",typeof s!="string")navigator.msSaveOrOpenBlob(r(s,c),l);else if(o(s))t(s,l,c);else{var d=document.createElement("a");d.href=s,d.target="_blank",setTimeout(function(){e(d)})}}:function(s,l,c,d){if(d=d||open("","_blank"),d&amp;&amp;(d.document.title=d.document.body.innerText="downloading..."),typeof s=="string")return t(s,l,c);var u=s.type==="application/octet-stream",x=/constructor/i.test(i.HTMLElement)||i.safari,k=/CriOS\/[\d]+/.test(navigator.userAgent);if((k||u&amp;&amp;x||n)&amp;&amp;typeof FileReader&lt;"u"){var D=new FileReader;D.onloadend=function(){var dt=D.result;dt=k?dt:dt.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=dt:location=dt,d=null},D.readAsDataURL(s)}else{var U=i.URL||i.webkitURL,W=U.createObjectURL(s);d?d.location=W:location.href=W,d=null,setTimeout(function(){U.revokeObjectURL(W)},4e4)}});i.saveAs=a.saveAs=a,typeof Ql&lt;"u"&amp;&amp;(Ql.exports=a)})});var ph=as(Ja=&gt;{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.marker=void 0;function $1(r){return r}Ja.marker=$1});function rE(r){return r&amp;&amp;typeof r.connect=="function"&amp;&amp;!(r instanceof uc)}var od=class{applyChanges(t,o,e,i,n){t.forEachOperation((a,s,l)=&gt;{let c,d;if(a.previousIndex==null){let u=e(a,s,l);c=o.createEmbeddedView(u.templateRef,u.context,u.index),d=1}else l==null?(o.remove(s),d=3):(c=o.get(s),o.move(c,l),d=2);n&amp;&amp;n({context:c?.context,operation:d,record:a})})}detach(){}};var nd=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(t=!1,o,e=!0,i){this._multiple=t,this._emitChanges=e,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new H,o&amp;&amp;o.length&amp;&amp;(t?o.forEach(n=&gt;this._markSelected(n)):this._markSelected(o[0]),this._selectedToEmit.length=0)}select(...t){this._verifyValueAssignment(t),t.forEach(e=&gt;this._markSelected(e));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}deselect(...t){this._verifyValueAssignment(t),t.forEach(e=&gt;this._unmarkSelected(e));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}setSelection(...t){this._verifyValueAssignment(t);let o=this.selected,e=new Set(t);t.forEach(n=&gt;this._markSelected(n)),o.filter(n=&gt;!e.has(n)).forEach(n=&gt;this._unmarkSelected(n));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(t){return this.isSelected(t)?this.deselect(t):this.select(t)}clear(t=!0){this._unmarkAll();let o=this._hasQueuedChanges();return t&amp;&amp;this._emitChangeEvent(),o}isSelected(t){return this._selection.has(this._getConcreteValue(t))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(t){this._multiple&amp;&amp;this.selected&amp;&amp;this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&amp;&amp;(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){t=this._getConcreteValue(t),this.isSelected(t)||(this._multiple||this._unmarkAll(),this.isSelected(t)||this._selection.add(t),this._emitChanges&amp;&amp;this._selectedToEmit.push(t))}_unmarkSelected(t){t=this._getConcreteValue(t),this.isSelected(t)&amp;&amp;(this._selection.delete(t),this._emitChanges&amp;&amp;this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=&gt;this._unmarkSelected(t))}_verifyValueAssignment(t){t.length&gt;1&amp;&amp;this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(t){if(this.compareWith){for(let o of this._selection)if(this.compareWith(t,o))return o;return t}else return t}};var oE=(()=&gt;{let t=class t{constructor(){this._listeners=[]}notify(e,i){for(let n of this._listeners)n(e,i)}listen(e){return this._listeners.push(e),()=&gt;{this._listeners=this._listeners.filter(i=&gt;e!==i)}}ngOnDestroy(){this._listeners=[]}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),nE=new y("_ViewRepeater");var Fh=20,Is=(()=&gt;{let t=class t{constructor(e,i,n){this._ngZone=e,this._platform=i,this._scrolled=new H,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=&gt;this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&amp;&amp;(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Fh){return this._platform.isBrowser?new Ie(i=&gt;{this._globalSubscription||this._addGlobalListener();let n=e&gt;0?this._scrolled.pipe(ls(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=&gt;{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Wt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=&gt;this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let n=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(yt(a=&gt;!a||n.indexOf(a)&gt;-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((n,a)=&gt;{this._scrollableContainsElement(a,e)&amp;&amp;i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let n=vo(i),a=e.getElementRef().nativeElement;do if(n==a)return!0;while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=&gt;{let e=this._getWindow();return mo(e.document,"scroll").subscribe(()=&gt;this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&amp;&amp;(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};t.\u0275fac=function(i){return new(i||t)(w(st),w(ie),w(vt,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Lh=20,Un=(()=&gt;{let t=class t{constructor(e,i,n){this._platform=e,this._change=new H,this._changeListener=a=&gt;{this._change.next(a)},this._document=n,i.runOutsideAngular(()=&gt;{if(e.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=&gt;this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:n}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+n,right:e.left+i,height:n,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),n=e.documentElement,a=n.getBoundingClientRect(),s=-a.top||e.body.scrollTop||i.scrollY||n.scrollTop||0,l=-a.left||e.body.scrollLeft||i.scrollX||n.scrollLeft||0;return{top:s,left:l}}change(e=Lh){return e&gt;0?this._change.pipe(ls(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}};t.\u0275fac=function(i){return new(i||t)(w(ie),w(st),w(vt,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var ad=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({});let r=t;return r})(),Es=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[xo,ad,xo,ad]});let r=t;return r})();var Co=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&amp;&amp;(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},$e=class extends Co{constructor(t,o,e,i,n){super(),this.component=t,this.viewContainerRef=o,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=n}},pi=class extends Co{constructor(t,o,e,i){super(),this.templateRef=t,this.viewContainerRef=o,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,o=this.context){return this.context=o,super.attach(t)}detach(){return this.context=void 0,super.detach()}},Ds=class extends Co{constructor(t){super(),this.element=t instanceof X?t.nativeElement:t}},ki=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof $e)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof pi)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&amp;&amp;t instanceof Ds)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&amp;&amp;(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&amp;&amp;this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&amp;&amp;(this._disposeFn(),this._disposeFn=null)}};var Rr=class extends ki{constructor(t,o,e,i,n){super(),this.outletElement=t,this._componentFactoryResolver=o,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=a=&gt;{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=&gt;{l.parentNode&amp;&amp;l.parentNode.replaceChild(s,l)})},this._document=n}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=&gt;i.destroy())):(i=e.create(t.injector||this._defaultInjector||Qt.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=&gt;{this._appRef.viewCount&gt;0&amp;&amp;this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let o=t.viewContainerRef,e=o.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=&gt;this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=&gt;{let i=o.indexOf(e);i!==-1&amp;&amp;o.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var ii=(()=&gt;{let t=class t extends ki{constructor(e,i,n){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Bt,this.attachDomPortal=a=&gt;{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=&gt;{l.parentNode&amp;&amp;l.parentNode.replaceChild(s,l)})},this._document=n}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&amp;&amp;!e&amp;&amp;!this._isInitialized||(this.hasAttached()&amp;&amp;super.detach(),e&amp;&amp;super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,a=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(a,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&amp;&amp;this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=&gt;s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=&gt;this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}};t.\u0275fac=function(i){return new(i||t)(p(vr),p(di),p(vt))},t.\u0275dir=V({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[G.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[J]});let r=t;return r})();var Me=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({});let r=t;return r})(),sd=class{constructor(t,o){this._parentInjector=t,this._customTokens=o}get(t,o){let e=this._customTokens.get(t);return typeof e&lt;"u"?e:this._parentInjector.get(t,o)}};var ld=jc(),Ss=class{constructor(t,o){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=o}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Xt(-this._previousScrollPosition.left),t.style.top=Xt(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,o=this._document.body,e=t.style,i=o.style,n=e.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),ld&amp;&amp;(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ld&amp;&amp;(e.scrollBehavior=n,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let o=this._document.body,e=this._viewportRuler.getViewportSize();return o.scrollHeight&gt;e.height||o.scrollWidth&gt;e.width}};var As=class{constructor(t,o,e,i){this._scrollDispatcher=t,this._ngZone=o,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=&gt;{this.disable(),this._overlayRef.hasAttached()&amp;&amp;this._ngZone.run(()=&gt;this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(yt(o=&gt;!o||!this._overlayRef.overlayElement.contains(o.getElementRef().nativeElement)));this._config&amp;&amp;this._config.threshold&amp;&amp;this._config.threshold&gt;1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=&gt;{let o=this._viewportRuler.getViewportScrollPosition().top;Math.abs(o-this._initialScrollPosition)&gt;this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&amp;&amp;(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},$n=class{enable(){}disable(){}attach(){}};function Ts(r,t){return t.some(o=&gt;{let e=r.bottom&lt;o.top,i=r.top&gt;o.bottom,n=r.right&lt;o.left,a=r.left&gt;o.right;return e||i||n||a})}function cd(r,t){return t.some(o=&gt;{let e=r.top&lt;o.top,i=r.bottom&gt;o.bottom,n=r.left&lt;o.left,a=r.right&gt;o.right;return e||i||n||a})}var Rs=class{constructor(t,o,e,i){this._scrollDispatcher=t,this._viewportRuler=o,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=&gt;{if(this._overlayRef.updatePosition(),this._config&amp;&amp;this._config.autoClose){let o=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();Ts(o,[{width:e,height:i,bottom:i,right:e,top:0,left:0}])&amp;&amp;(this.disable(),this._ngZone.run(()=&gt;this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&amp;&amp;(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},jh=(()=&gt;{let t=class t{constructor(e,i,n,a){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=n,this.noop=()=&gt;new $n,this.close=s=&gt;new As(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=&gt;new Ss(this._viewportRuler,this._document),this.reposition=s=&gt;new Rs(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};t.\u0275fac=function(i){return new(i||t)(w(Is),w(Un),w(st),w(vt))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Si=class{constructor(t){if(this.scrollStrategy=new $n,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let o=Object.keys(t);for(let e of o)t[e]!==void 0&amp;&amp;(this[e]=t[e])}}};var Os=class{constructor(t,o){this.connectionPair=t,this.scrollableViewProperties=o}};var hd=(()=&gt;{let t=class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i&gt;-1&amp;&amp;this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&amp;&amp;this.detach()}};t.\u0275fac=function(i){return new(i||t)(w(vt))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Bh=(()=&gt;{let t=class t extends hd{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=n=&gt;{let a=this._attachedOverlays;for(let s=a.length-1;s&gt;-1;s--)if(a[s]._keydownEvents.observers.length&gt;0){let l=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=&gt;l.next(n)):l.next(n);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=&gt;this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&amp;&amp;(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};t.\u0275fac=function(i){return new(i||t)(w(vt),w(st,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Uh=(()=&gt;{let t=class t extends hd{constructor(e,i,n){super(e),this._platform=i,this._ngZone=n,this._cursorStyleIsSet=!1,this._pointerDownListener=a=&gt;{this._pointerDownEventTarget=bs(a)},this._clickListener=a=&gt;{let s=bs(a),l=a.type==="click"&amp;&amp;this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d&gt;-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length&lt;1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(l))break;let x=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=&gt;x.next(a)):x.next(a)}}}add(e){if(super.add(e),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=&gt;this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&amp;&amp;!this._cursorStyleIsSet&amp;&amp;(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&amp;&amp;this._cursorStyleIsSet&amp;&amp;(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}};t.\u0275fac=function(i){return new(i||t)(w(vt),w(ie),w(st,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Zi=(()=&gt;{let t=class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||_s()){let n=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let a=0;a&lt;n.length;a++)n[a].remove()}let i=this._document.createElement("div");i.classList.add(e),_s()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}};t.\u0275fac=function(i){return new(i||t)(w(vt),w(ie))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Ve=class{constructor(t,o,e,i,n,a,s,l,c,d=!1){this._portalOutlet=t,this._host=o,this._pane=e,this._config=i,this._ngZone=n,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new H,this._attachments=new H,this._detachments=new H,this._locationChanges=Ke.EMPTY,this._backdropClickHandler=u=&gt;this._backdropClick.next(u),this._backdropTransitionendHandler=u=&gt;{this._disposeBackdrop(u.target)},this._keydownEvents=new H,this._outsidePointerEvents=new H,i.scrollStrategy&amp;&amp;(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&amp;&amp;this._previousHostParent&amp;&amp;this._previousHostParent.appendChild(this._host);let o=this._portalOutlet.attach(t);return this._positionStrategy&amp;&amp;this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&amp;&amp;this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Tt(1)).subscribe(()=&gt;{this.hasAttached()&amp;&amp;this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&amp;&amp;this._attachBackdrop(),this._config.panelClass&amp;&amp;this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&amp;&amp;(this._locationChanges=this._location.subscribe(()=&gt;this.dispose())),this._outsideClickDispatcher.add(this),typeof o?.onDestroy=="function"&amp;&amp;o.onDestroy(()=&gt;{this.hasAttached()&amp;&amp;this._ngZone.runOutsideAngular(()=&gt;Promise.resolve().then(()=&gt;this.detach()))}),o}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&amp;&amp;this._positionStrategy.detach&amp;&amp;this._positionStrategy.detach(),this._scrollStrategy&amp;&amp;this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&amp;&amp;this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&amp;&amp;this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&amp;&amp;this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&amp;&amp;(this._positionStrategy&amp;&amp;this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&amp;&amp;(t.attach(this),this.updatePosition()))}updateSize(t){this._config=m(m({},this._config),t),this._updateElementSize()}setDirection(t){this._config=C(m({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&amp;&amp;this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&amp;&amp;this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&amp;&amp;(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&amp;&amp;(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=Xt(this._config.width),t.height=Xt(this._config.height),t.minWidth=Xt(this._config.minWidth),t.minHeight=Xt(this._config.minHeight),t.maxWidth=Xt(this._config.maxWidth),t.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&amp;&amp;this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&amp;&amp;this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&amp;&amp;typeof requestAnimationFrame&lt;"u"?this._ngZone.runOutsideAngular(()=&gt;{requestAnimationFrame(()=&gt;{this._backdropElement&amp;&amp;this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&amp;&amp;this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=&gt;{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=&gt;setTimeout(()=&gt;{this._disposeBackdrop(t)},500))}}_toggleClasses(t,o,e){let i=vs(o||[]).filter(n=&gt;!!n);i.length&amp;&amp;(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=&gt;{let t=this._ngZone.onStable.pipe(de(Ze(this._attachments,this._detachments))).subscribe(()=&gt;{(!this._pane||!this._host||this._pane.children.length===0)&amp;&amp;(this._pane&amp;&amp;this._config.panelClass&amp;&amp;this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&amp;&amp;this._host.parentElement&amp;&amp;(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&amp;&amp;(t.disable(),t.detach&amp;&amp;t.detach())}_disposeBackdrop(t){t&amp;&amp;(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&amp;&amp;(this._backdropElement=null)),this._backdropTimeout&amp;&amp;(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},dd="cdk-overlay-connected-position-bounding-box",$h=/([A-Za-z%]+)$/,Ms=class{get positions(){return this._preferredPositions}constructor(t,o,e,i,n){this._viewportRuler=o,this._document=e,this._platform=i,this._overlayContainer=n,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new H,this._resizeSubscription=Ke.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&amp;&amp;this._overlayRef,this._validatePositions(),t.hostElement.classList.add(dd),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=&gt;{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&amp;&amp;this._positionLocked&amp;&amp;this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,o=this._overlayRect,e=this._viewportRect,i=this._containerRect,n=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(t,i,s),c=this._getOverlayPoint(l,o,s),d=this._getOverlayFit(c,o,e,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,e)){n.push({position:s,origin:l,overlayRect:o,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea&lt;d.visibleArea)&amp;&amp;(a={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:o})}if(n.length){let s=null,l=-1;for(let c of n){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d&gt;l&amp;&amp;(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&amp;&amp;Ki(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&amp;&amp;this._resetOverlayElementStyles(),this._overlayRef&amp;&amp;this._overlayRef.hostElement.classList.remove(dd),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let o=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,o)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&amp;&amp;(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,o,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let a=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;i=e.originX=="start"?a:s}o.left&lt;0&amp;&amp;(i-=o.left);let n;return e.originY=="center"?n=t.top+t.height/2:n=e.originY=="top"?t.top:t.bottom,o.top&lt;0&amp;&amp;(n-=o.top),{x:i,y:n}}_getOverlayPoint(t,o,e){let i;e.overlayX=="center"?i=-o.width/2:e.overlayX==="start"?i=this._isRtl()?-o.width:0:i=this._isRtl()?0:-o.width;let n;return e.overlayY=="center"?n=-o.height/2:n=e.overlayY=="top"?0:-o.height,{x:t.x+i,y:t.y+n}}_getOverlayFit(t,o,e,i){let n=md(o),{x:a,y:s}=t,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&amp;&amp;(a+=l),c&amp;&amp;(s+=c);let d=0-a,u=a+n.width-e.width,x=0-s,k=s+n.height-e.height,D=this._subtractOverflows(n.width,d,u),U=this._subtractOverflows(n.height,x,k),W=D*U;return{visibleArea:W,isCompletelyWithinViewport:n.width*n.height===W,fitsInViewportVertically:U===n.height,fitsInViewportHorizontally:D==n.width}}_canFitWithFlexibleDimensions(t,o,e){if(this._hasFlexibleDimensions){let i=e.bottom-o.y,n=e.right-o.x,a=ud(this._overlayRef.getConfig().minHeight),s=ud(this._overlayRef.getConfig().minWidth),l=t.fitsInViewportVertically||a!=null&amp;&amp;a&lt;=i,c=t.fitsInViewportHorizontally||s!=null&amp;&amp;s&lt;=n;return l&amp;&amp;c}return!1}_pushOverlayOnScreen(t,o,e){if(this._previousPushAmount&amp;&amp;this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=md(o),n=this._viewportRect,a=Math.max(t.x+i.width-n.width,0),s=Math.max(t.y+i.height-n.height,0),l=Math.max(n.top-e.top-t.y,0),c=Math.max(n.left-e.left-t.x,0),d=0,u=0;return i.width&lt;=n.width?d=c||-a:d=t.x&lt;this._viewportMargin?n.left-e.left-t.x:0,i.height&lt;=n.height?u=l||-s:u=t.y&lt;this._viewportMargin?n.top-e.top-t.y:0,this._previousPushAmount={x:d,y:u},{x:t.x+d,y:t.y+u}}_applyPosition(t,o){if(this._setTransformOrigin(t),this._setOverlayElementStyles(o,t),this._setBoundingBoxStyles(o,t),t.panelClass&amp;&amp;this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){let e=this._getScrollVisibility(),i=new Os(t,e);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let o=this._boundingBox.querySelectorAll(this._transformOriginSelector),e,i=t.overlayY;t.overlayX==="center"?e="center":this._isRtl()?e=t.overlayX==="start"?"right":"left":e=t.overlayX==="start"?"left":"right";for(let n=0;n&lt;o.length;n++)o[n].style.transformOrigin=`${e} ${i}`}_calculateBoundingBoxRect(t,o){let e=this._viewportRect,i=this._isRtl(),n,a,s;if(o.overlayY==="top")a=t.y,n=e.height-a+this._viewportMargin;else if(o.overlayY==="bottom")s=e.height-t.y+this._viewportMargin*2,n=e.height-s+this._viewportMargin;else{let k=Math.min(e.bottom-t.y+e.top,t.y),D=this._lastBoundingBoxSize.height;n=k*2,a=t.y-k,n&gt;D&amp;&amp;!this._isInitialRender&amp;&amp;!this._growAfterOpen&amp;&amp;(a=t.y-D/2)}let l=o.overlayX==="start"&amp;&amp;!i||o.overlayX==="end"&amp;&amp;i,c=o.overlayX==="end"&amp;&amp;!i||o.overlayX==="start"&amp;&amp;i,d,u,x;if(c)x=e.width-t.x+this._viewportMargin,d=t.x-this._viewportMargin;else if(l)u=t.x,d=e.right-t.x;else{let k=Math.min(e.right-t.x+e.left,t.x),D=this._lastBoundingBoxSize.width;d=k*2,u=t.x-k,d&gt;D&amp;&amp;!this._isInitialRender&amp;&amp;!this._growAfterOpen&amp;&amp;(u=t.x-D/2)}return{top:a,left:u,bottom:s,right:x,width:d,height:n}}_setBoundingBoxStyles(t,o){let e=this._calculateBoundingBoxRect(t,o);!this._isInitialRender&amp;&amp;!this._growAfterOpen&amp;&amp;(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Xt(e.height),i.top=Xt(e.top),i.bottom=Xt(e.bottom),i.width=Xt(e.width),i.left=Xt(e.left),i.right=Xt(e.right),o.overlayX==="center"?i.alignItems="center":i.alignItems=o.overlayX==="end"?"flex-end":"flex-start",o.overlayY==="center"?i.justifyContent="center":i.justifyContent=o.overlayY==="bottom"?"flex-end":"flex-start",n&amp;&amp;(i.maxHeight=Xt(n)),a&amp;&amp;(i.maxWidth=Xt(a))}this._lastBoundingBoxSize=e,Ki(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Ki(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ki(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,o){let e={},i=this._hasExactPosition(),n=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();Ki(e,this._getExactOverlayY(o,t,d)),Ki(e,this._getExactOverlayX(o,t,d))}else e.position="static";let s="",l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&amp;&amp;(s+=`translateX(${l}px) `),c&amp;&amp;(s+=`translateY(${c}px)`),e.transform=s.trim(),a.maxHeight&amp;&amp;(i?e.maxHeight=Xt(a.maxHeight):n&amp;&amp;(e.maxHeight="")),a.maxWidth&amp;&amp;(i?e.maxWidth=Xt(a.maxWidth):n&amp;&amp;(e.maxWidth="")),Ki(this._pane.style,e)}_getExactOverlayY(t,o,e){let i={top:"",bottom:""},n=this._getOverlayPoint(o,this._overlayRect,t);if(this._isPushed&amp;&amp;(n=this._pushOverlayOnScreen(n,this._overlayRect,e)),t.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(n.y+this._overlayRect.height)}px`}else i.top=Xt(n.y);return i}_getExactOverlayX(t,o,e){let i={left:"",right:""},n=this._getOverlayPoint(o,this._overlayRect,t);this._isPushed&amp;&amp;(n=this._pushOverlayOnScreen(n,this._overlayRect,e));let a;if(this._isRtl()?a=t.overlayX==="end"?"left":"right":a=t.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(n.x+this._overlayRect.width)}px`}else i.left=Xt(n.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),o=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=&gt;i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:cd(t,e),isOriginOutsideView:Ts(t,e),isOverlayClipped:cd(o,e),isOverlayOutsideView:Ts(o,e)}}_subtractOverflows(t,...o){return o.reduce((e,i)=&gt;e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,o=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+o-this._viewportMargin,width:t-2*this._viewportMargin,height:o-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,o){return o==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&amp;&amp;vs(t).forEach(o=&gt;{o!==""&amp;&amp;this._appliedPanelClasses.indexOf(o)===-1&amp;&amp;(this._appliedPanelClasses.push(o),this._pane.classList.add(o))})}_clearPanelClasses(){this._pane&amp;&amp;(this._appliedPanelClasses.forEach(t=&gt;{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof X)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let o=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+o,height:e,width:o}}};function Ki(r,t){for(let o in t)t.hasOwnProperty(o)&amp;&amp;(r[o]=t[o]);return r}function ud(r){if(typeof r!="number"&amp;&amp;r!=null){let[t,o]=r.split($h);return!o||o==="px"?parseFloat(t):null}return r||null}function md(r){return{top:Math.floor(r.top),right:Math.floor(r.right),bottom:Math.floor(r.bottom),left:Math.floor(r.left),width:Math.floor(r.width),height:Math.floor(r.height)}}var UE=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}],$E=[{originX:"end",originY:"top",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom"},{originX:"start",originY:"top",overlayX:"end",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom"}],pd="cdk-global-overlay-wrapper",Ps=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let o=t.getConfig();this._overlayRef=t,this._width&amp;&amp;!o.width&amp;&amp;t.updateSize({width:this._width}),this._height&amp;&amp;!o.height&amp;&amp;t.updateSize({height:this._height}),t.hostElement.classList.add(pd),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:n,maxWidth:a,maxHeight:s}=e,l=(i==="100%"||i==="100vw")&amp;&amp;(!a||a==="100%"||a==="100vw"),c=(n==="100%"||n==="100vh")&amp;&amp;(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,x=this._overlayRef.getConfig().direction==="rtl",k="",D="",U="";l?U="flex-start":d==="center"?(U="center",x?D=u:k=u):x?d==="left"||d==="end"?(U="flex-end",k=u):(d==="right"||d==="start")&amp;&amp;(U="flex-start",D=u):d==="left"||d==="start"?(U="flex-start",k=u):(d==="right"||d==="end")&amp;&amp;(U="flex-end",D=u),t.position=this._cssPosition,t.marginLeft=l?"0":k,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":D,o.justifyContent=U,o.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,o=this._overlayRef.hostElement,e=o.style;o.classList.remove(pd),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Vh=(()=&gt;{let t=class t{constructor(e,i,n,a){this._viewportRuler=e,this._document=i,this._platform=n,this._overlayContainer=a}global(){return new Ps}flexibleConnectedTo(e){return new Ms(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};t.\u0275fac=function(i){return new(i||t)(w(Un),w(vt),w(ie),w(Zi))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),zh=0,fe=(()=&gt;{let t=class t{constructor(e,i,n,a,s,l,c,d,u,x,k,D){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=n,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=x,this._outsideClickDispatcher=k,this._animationsModuleType=D}create(e){let i=this._createHostElement(),n=this._createPaneElement(i),a=this._createPortalOutlet(n),s=new Si(e);return s.direction=s.direction||this._directionality.value,new Ve(a,i,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${zh++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(wn)),new Rr(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};t.\u0275fac=function(i){return new(i||t)(w(jh),w(Zi),w(vr),w(Vh),w(Bh),w(Qt),w(st),w(vt),w(Re),w(Cn),w(Uh),w(be,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})(),Hh=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],gd=new y("cdk-connected-overlay-scroll-strategy"),Gh=(()=&gt;{let t=class t{constructor(e){this.elementRef=e}};t.\u0275fac=function(i){return new(i||t)(p(X))},t.\u0275dir=V({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let r=t;return r})(),VE=(()=&gt;{let t=class t{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&amp;&amp;this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&amp;&amp;this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=oe(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=oe(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=oe(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=oe(e)}get push(){return this._push}set push(e){this._push=oe(e)}constructor(e,i,n,a,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Ke.EMPTY,this._attachSubscription=Ke.EMPTY,this._detachSubscription=Ke.EMPTY,this._positionSubscription=Ke.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Bt,this.positionChange=new Bt,this.attach=new Bt,this.detach=new Bt,this.overlayKeydown=new Bt,this.overlayOutsideClick=new Bt,this._templatePortal=new pi(i,n),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&amp;&amp;this._overlayRef.dispose()}ngOnChanges(e){this._position&amp;&amp;(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&amp;&amp;this.open&amp;&amp;this._position.apply()),e.open&amp;&amp;(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&amp;&amp;(this.positions=Hh);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=&gt;this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=&gt;this.detach.emit()),e.keydownEvents().subscribe(i=&gt;{this.overlayKeydown.next(i),i.keyCode===27&amp;&amp;!this.disableClose&amp;&amp;!Ir(i)&amp;&amp;(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=&gt;{this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Si({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||this.width===0)&amp;&amp;(i.width=this.width),(this.height||this.height===0)&amp;&amp;(i.height=this.height),(this.minWidth||this.minWidth===0)&amp;&amp;(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&amp;&amp;(i.minHeight=this.minHeight),this.backdropClass&amp;&amp;(i.backdropClass=this.backdropClass),this.panelClass&amp;&amp;(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(n=&gt;({originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||this.offsetX,offsetY:n.offsetY||this.offsetY,panelClass:n.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Gh?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=&gt;{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length&gt;0&amp;&amp;(this._positionSubscription=this._position.positionChanges.pipe(hc(()=&gt;this.positionChange.observers.length&gt;0)).subscribe(e=&gt;{this.positionChange.emit(e),this.positionChange.observers.length===0&amp;&amp;this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&amp;&amp;this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};t.\u0275fac=function(i){return new(i||t)(p(fe),p(Te),p(di),p(gd),p(Re,8))},t.\u0275dir=V({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[G.None,"cdkConnectedOverlayOrigin","origin"],positions:[G.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[G.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[G.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[G.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[G.None,"cdkConnectedOverlayWidth","width"],height:[G.None,"cdkConnectedOverlayHeight","height"],minWidth:[G.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[G.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[G.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[G.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[G.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[G.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[G.None,"cdkConnectedOverlayOpen","open"],disableClose:[G.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[G.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[G.None,"cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:[G.None,"cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:[G.None,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:[G.None,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:[G.None,"cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ne]});let r=t;return r})();function Wh(r){return()=&gt;r.scrollStrategies.reposition()}var Yh={provide:gd,deps:[fe],useFactory:Wh},Qi=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({providers:[fe,Yh],imports:[xo,Me,Es,Es]});let r=t;return r})();function Kh(r,t){}var Xi=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Ls=(()=&gt;{let t=class t extends ki{constructor(e,i,n,a,s,l,c,d){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=u=&gt;{this._portalOutlet.hasAttached();let x=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),x},this._document=n,this._config.ariaLabelledBy&amp;&amp;this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=&gt;{let n=()=&gt;{e.removeEventListener("blur",n),e.removeEventListener("mousedown",n),e.removeAttribute("tabindex")};e.addEventListener("blur",n),e.addEventListener("mousedown",n)})),e.focus(i)}_focusByCssSelector(e,i){let n=this._elementRef.nativeElement.querySelector(e);n&amp;&amp;this._forceFocus(n,i)}_trapFocus(){let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=&gt;{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let e=this._config.restoreFocus,i=null;if(typeof e=="string"?i=this._document.querySelector(e):typeof e=="boolean"?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&amp;&amp;(i=e),this._config.restoreFocus&amp;&amp;i&amp;&amp;typeof i.focus=="function"){let n=An(),a=this._elementRef.nativeElement;(!n||n===this._document.body||n===a||a.contains(n))&amp;&amp;(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&amp;&amp;this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&amp;&amp;this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,i=An();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&amp;&amp;(this._elementFocusedBeforeDialogWasOpened=An())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=&gt;{this._config.disableClose&amp;&amp;this._recaptureFocus()})}};t.\u0275fac=function(i){return new(i||t)(p(X),p(kr),p(vt,8),p(Xi),p(Dr),p(st),p(Ve),p(Ue))},t.\u0275cmp=Ct({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(i,n){if(i&amp;1&amp;&amp;re(ii,7),i&amp;2){let a;lt(a=ct())&amp;&amp;(n._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,n){i&amp;2&amp;&amp;tt("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[J],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&amp;1&amp;&amp;z(0,Kh,0,0,"ng-template",0)},dependencies:[ii],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let r=t;return r})(),Do=class{constructor(t,o){this.overlayRef=t,this.config=o,this.closed=new H,this.disableClose=o.disableClose,this.backdropClick=t.backdropClick(),this.keydownEvents=t.keydownEvents(),this.outsidePointerEvents=t.outsidePointerEvents(),this.id=o.id,this.keydownEvents.subscribe(e=&gt;{e.keyCode===27&amp;&amp;!this.disableClose&amp;&amp;!Ir(e)&amp;&amp;(e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=&gt;{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=t.detachments().subscribe(()=&gt;{o.closeOnOverlayDetachments!==!1&amp;&amp;this.close()})}close(t,o){if(this.containerInstance){let e=this.closed;this.containerInstance._closeInteractionType=o?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),e.next(t),e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(t="",o=""){return this.overlayRef.updateSize({width:t,height:o}),this}addPanelClass(t){return this.overlayRef.addPanelClass(t),this}removePanelClass(t){return this.overlayRef.removePanelClass(t),this}},bd=new y("DialogScrollStrategy"),qh=new y("DialogData"),Zh=new y("DefaultDialogConfig");function Qh(r){return()=&gt;r.scrollStrategies.block()}var Xh={provide:bd,deps:[fe],useFactory:Qh},Jh=0,Ns=(()=&gt;{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,n,a,s,l){this._overlay=e,this._injector=i,this._defaultOptions=n,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new H,this._afterOpenedAtThisLevel=new H,this._ariaHiddenElements=new Map,this.afterAllClosed=gn(()=&gt;this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ci(void 0))),this._scrollStrategy=l}open(e,i){let n=this._defaultOptions||new Xi;i=m(m({},n),i),i.id=i.id||`cdk-dialog-${Jh++}`,i.id&amp;&amp;this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),l=new Do(s,i),c=this._attachContainer(s,l,i);return l.containerInstance=c,this._attachDialogContent(e,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=&gt;this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Fs(this.openDialogs,e=&gt;e.close())}getDialogById(e){return this.openDialogs.find(i=&gt;i.id===e)}ngOnDestroy(){Fs(this._openDialogsAtThisLevel,e=&gt;{e.config.closeOnDestroy===!1&amp;&amp;this._removeOpenDialog(e,!1)}),Fs(this._openDialogsAtThisLevel,e=&gt;e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let i=new Si({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&amp;&amp;(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,n){let a=n.injector||n.viewContainerRef?.injector,s=[{provide:Xi,useValue:n},{provide:Do,useValue:i},{provide:Ve,useValue:e}],l;n.container?typeof n.container=="function"?l=n.container:(l=n.container.type,s.push(...n.container.providers(n))):l=Ls;let c=new $e(l,n.viewContainerRef,Qt.create({parent:a||this._injector,providers:s}),n.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,i,n,a){if(e instanceof Te){let s=this._createInjector(a,i,n,void 0),l={$implicit:a.data,dialogRef:i};a.templateContext&amp;&amp;(l=m(m({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),n.attachTemplatePortal(new pi(e,null,l,s))}else{let s=this._createInjector(a,i,n,this._injector),l=n.attachComponentPortal(new $e(e,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(e,i,n,a){let s=e.injector||e.viewContainerRef?.injector,l=[{provide:qh,useValue:e.data},{provide:Do,useValue:i}];return e.providers&amp;&amp;(typeof e.providers=="function"?l.push(...e.providers(i,e,n)):l.push(...e.providers)),e.direction&amp;&amp;(!s||!s.get(Re,null,{optional:!0}))&amp;&amp;l.push({provide:Re,useValue:{value:e.direction,change:Wt()}}),Qt.create({parent:s||a,providers:l})}_removeOpenDialog(e,i){let n=this.openDialogs.indexOf(e);n&gt;-1&amp;&amp;(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=&gt;{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&amp;&amp;this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let i=e.parentElement.children;for(let n=i.length-1;n&gt;-1;n--){let a=i[n];a!==e&amp;&amp;a.nodeName!=="SCRIPT"&amp;&amp;a.nodeName!=="STYLE"&amp;&amp;!a.hasAttribute("aria-live")&amp;&amp;(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.\u0275fac=function(i){return new(i||t)(w(fe),w(Qt),w(Zh,8),w(t,12),w(Zi),w(bd))},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();function Fs(r,t){let o=r.length;for(;o--;)t(r[o])}var js=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({providers:[Ns,Xh],imports:[Qi,Me,$c,Me]});let r=t;return r})();var Ji=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}};var _d=(()=&gt;{let t=class t extends Ls{constructor(e,i,n,a,s,l,c,d){super(e,i,n,a,s,l,c,d),this._animationStateChanged=new Bt}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&amp;&amp;this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}};t.\u0275fac=function(i){return new(i||t)(p(X),p(kr),p(vt,8),p(Ji),p(Dr),p(st),p(Ve),p(Ue))},t.\u0275cmp=Ct({type:t,selectors:[["ng-component"]],features:[J],decls:0,vars:0,template:function(i,n){},encapsulation:2});let r=t;return r})();var Vn=class{constructor(t,o,e){this._ref=t,this._containerInstance=e,this._afterOpened=new H,this._beforeClosed=new H,this._state=0,this.disableClose=o.disableClose,this.id=t.id,e._animationStateChanged.pipe(yt(i=&gt;i.state==="opened"),Tt(1)).subscribe(()=&gt;{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(yt(i=&gt;i.state==="closed"),Tt(1)).subscribe(()=&gt;{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.overlayRef.detachments().subscribe(()=&gt;{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ze(this.backdropClick(),this.keydownEvents().pipe(yt(i=&gt;i.keyCode===27&amp;&amp;!this.disableClose&amp;&amp;!Ir(i)))).subscribe(i=&gt;{this.disableClose||(i.preventDefault(),Bs(this,i.type==="keydown"?"keyboard":"mouse"))})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(yt(o=&gt;o.state==="closing"),Tt(1)).subscribe(o=&gt;{this._beforeClosed.next(t),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=&gt;this._finishDialogClose(),o.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(t){let o=this._ref.config.positionStrategy;return t&amp;&amp;(t.left||t.right)?t.left?o.left(t.left):o.right(t.right):o.centerHorizontally(),t&amp;&amp;(t.top||t.bottom)?t.top?o.top(t.top):o.bottom(t.bottom):o.centerVertically(),this._ref.updatePosition(),this}updateSize(t="",o=""){return this._ref.updateSize(t,o),this}addPanelClass(t){return this._ref.addPanelClass(t),this}removePanelClass(t){return this._ref.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function Bs(r,t,o){return r._closeInteractionType=t,r.close(o)}var tg=0,vd=(()=&gt;{let t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,n,a,s,l,c,d,u,x){this._overlay=e,this._defaultOptions=n,this._parentDialog=a,this._dialogRefConstructor=c,this._dialogContainerType=d,this._dialogDataToken=u,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new H,this._afterOpenedAtThisLevel=new H,this._idPrefix="mat-dialog-",this.dialogConfigClass=Ji,this.afterAllClosed=gn(()=&gt;this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ci(void 0))),this._scrollStrategy=l,this._dialog=i.get(Ns)}open(e,i){let n;i=m(m({},this._defaultOptions||new Ji),i),i.id=i.id||`${this._idPrefix}${tg++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(e,C(m({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=&gt;[{provide:this.dialogConfigClass,useValue:i},{provide:Xi,useValue:i}]},templateContext:()=&gt;({dialogRef:n}),providers:(s,l,c)=&gt;(n=new this._dialogRefConstructor(s,i,c),n.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentRef=a.componentRef,n.componentInstance=a.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=&gt;{let s=this.openDialogs.indexOf(n);s&gt;-1&amp;&amp;(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=&gt;i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}};t.\u0275fac=function(i){vn()},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();var So={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},xd={dialogContainer:Sr("dialogContainer",[Ei("void, exit",Oe({opacity:0,transform:"scale(0.7)"})),Ei("enter",Oe({transform:"none"})),Di("* =&gt; enter",xs([Ii("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Oe({transform:"none",opacity:1})),ws("@*",ys(),{optional:!0})]),So),Di("* =&gt; void, * =&gt; exit",xs([Ii("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Oe({opacity:0})),ws("@*",ys(),{optional:!0})]),So)])};function eg(r,t){}var yd={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},zn=class extends Ji{constructor(){super(...arguments),this.enterAnimationDuration=So.params.enterAnimationDuration,this.exitAnimationDuration=So.params.exitAnimationDuration}},ig=(()=&gt;{let t=class t extends _d{_onAnimationDone({toState:e,totalTime:i}){e==="enter"?this._openAnimationDone(i):e==="exit"&amp;&amp;this._animationStateChanged.next({state:"closed",totalTime:i})}_onAnimationStart({toState:e,totalTime:i}){e==="enter"?this._animationStateChanged.next({state:"opening",totalTime:i}):(e==="exit"||e==="void")&amp;&amp;this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(e,i,n,a,s,l,c,d,u){super(e,i,n,a,s,l,c,u),this._changeDetectorRef=d,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||yd.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||yd.params.exitAnimationDuration}}}};t.\u0275fac=function(i){return new(i||t)(p(X),p(kr),p(vt,8),p(zn),p(Dr),p(st),p(Ve),p(ye),p(Ue))},t.\u0275cmp=Ct({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(i,n){i&amp;1&amp;&amp;_o("@dialogContainer.start",function(s){return n._onAnimationStart(s)})("@dialogContainer.done",function(s){return n._onAnimationDone(s)}),i&amp;2&amp;&amp;(wi("id",n._config.id),tt("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledByQueue[0])("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),bo("@dialogContainer",n._getAnimationState()))},features:[J],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,n){i&amp;1&amp;&amp;z(0,eg,0,0,"ng-template",0)},dependencies:[ii],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[xd.dialogContainer]}});let r=t;return r})(),Ao=class extends Vn{},rg=new y("MatDialogData"),og=new y("mat-dialog-default-options"),wd=new y("mat-dialog-scroll-strategy");function ng(r){return()=&gt;r.scrollStrategies.block()}var ag={provide:wd,deps:[fe],useFactory:ng},Us=(()=&gt;{let t=class t extends vd{constructor(e,i,n,a,s,l,c,d){super(e,i,a,l,c,s,Ao,ig,rg,d),this.dialogConfigClass=zn}};t.\u0275fac=function(i){return new(i||t)(w(fe),w(Qt),w(Cn,8),w(og,8),w(wd),w(t,12),w(Zi),w(be,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})(),sg=0,qD=(()=&gt;{let t=class t{constructor(e,i,n){this.dialogRef=e,this._elementRef=i,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Cd(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let i=e._matDialogClose||e._matDialogCloseResult;i&amp;&amp;(this.dialogResult=i.currentValue)}_onButtonClick(e){Bs(this.dialogRef,e.screenX===0&amp;&amp;e.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.\u0275fac=function(i){return new(i||t)(p(Ao,8),p(X),p(Us))},t.\u0275dir=V({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,n){i&amp;1&amp;&amp;Rt("click",function(s){return n._onButtonClick(s)}),i&amp;2&amp;&amp;tt("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{ariaLabel:[G.None,"aria-label","ariaLabel"],type:"type",dialogResult:[G.None,"mat-dialog-close","dialogResult"],_matDialogClose:[G.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[ne]});let r=t;return r})(),ZD=(()=&gt;{let t=class t{constructor(e,i,n){this._dialogRef=e,this._elementRef=i,this._dialog=n,this.id=`mat-dialog-title-${sg++}`}ngOnInit(){this._dialogRef||(this._dialogRef=Cd(this._elementRef,this._dialog.openDialogs)),this._dialogRef&amp;&amp;Promise.resolve().then(()=&gt;{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){let e=this._dialogRef?._containerInstance?._ariaLabelledByQueue;e&amp;&amp;Promise.resolve().then(()=&gt;{let i=e.indexOf(this.id);i&gt;-1&amp;&amp;e.splice(i,1)})}};t.\u0275fac=function(i){return new(i||t)(p(Ao,8),p(X),p(Us))},t.\u0275dir=V({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(i,n){i&amp;2&amp;&amp;wi("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});let r=t;return r})(),QD=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});let r=t;return r})(),XD=(()=&gt;{let t=class t{constructor(){this.align="start"}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("mat-dialog-actions-align-center",n.align==="center")("mat-dialog-actions-align-end",n.align==="end")},inputs:{align:"align"}});let r=t;return r})();function Cd(r,t){let o=r.nativeElement.parentElement;for(;o&amp;&amp;!o.classList.contains("mat-dialog-container");)o=o.parentElement;return o?t.find(e=&gt;e.id===o.id):null}var JD=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({providers:[Us,ag],imports:[js,Qi,Me,Gt,Gt]});let r=t;return r})();var To={Tiny:"(max-width: 599px)",XSmall:"(min-width: 600px) and (max-width: 958px)",Small:"(min-width: 959px) and (max-width: 1025px)",Medium:"(min-width: 1026px) and (max-width: 1280px)",Large:"(min-width: 1281px) and (max-width: 1727px)",XLarge:"(min-width: 1728px)",Handset:"(max-width: 599px) and (orientation: portrait), (max-width: 959px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 958px) and (orientation: portrait), (min-width: 959px) and (max-width: 1024px) and (orientation: landscape)",Web:"(min-width: 959px) and (orientation: portrait), (min-width: 1025px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 958px) and (orientation: portrait)",WebPortrait:"(min-width: 959px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1024px) and (orientation: landscape)",WebLandscape:"(min-width: 1025px) and (orientation: landscape)"};var Id=["mat-button",""],Ed=["*"],cg=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper&gt;*,.mat-flat-button .mat-button-wrapper&gt;*,.mat-stroked-button .mat-button-wrapper&gt;*,.mat-raised-button .mat-button-wrapper&gt;*,.mat-icon-button .mat-button-wrapper&gt;*,.mat-fab .mat-button-wrapper&gt;*,.mat-mini-fab .mat-button-wrapper&gt;*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}",dg="accent",ug=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],mg=Ar(On(Mn(class{constructor(r){this._elementRef=r}}))),Ro=(()=&gt;{let t=class t extends mg{constructor(e,i,n){super(e),this._focusMonitor=i,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(let a of ug)this._hasHostAttributes(a)&amp;&amp;this._getHostElement().classList.add(a);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&amp;&amp;(this.color=dg)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=&gt;this._getHostElement().hasAttribute(i))}};t.\u0275fac=function(i){return new(i||t)(p(X),p(Ue),p(be,8))},t.\u0275cmp=Ct({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(i,n){if(i&amp;1&amp;&amp;re(yo,5),i&amp;2){let a;lt(a=ct())&amp;&amp;(n.ripple=a.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(i,n){i&amp;2&amp;&amp;(tt("disabled",n.disabled||null),ft("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[J],attrs:Id,ngContentSelectors:Ed,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,n){i&amp;1&amp;&amp;(me(),L(0,"span",0),ht(1),N(),nt(2,"span",1)(3,"span",2)),i&amp;2&amp;&amp;(E(2),ft("mat-button-ripple-round",n.isRoundButton||n.isIconButton),I("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},dependencies:[yo],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper&gt;*,.mat-flat-button .mat-button-wrapper&gt;*,.mat-stroked-button .mat-button-wrapper&gt;*,.mat-raised-button .mat-button-wrapper&gt;*,.mat-icon-button .mat-button-wrapper&gt;*,.mat-fab .mat-button-wrapper&gt;*,.mat-mini-fab .mat-button-wrapper&gt;*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0});let r=t;return r})(),ok=(()=&gt;{let t=class t extends Ro{constructor(e,i,n,a){super(i,e,n),this._ngZone=a,this._haltDisabledEvents=s=&gt;{this.disabled&amp;&amp;(s.preventDefault(),s.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=&gt;{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}};t.\u0275fac=function(i){return new(i||t)(p(Ue),p(X),p(be,8),p(st,8))},t.\u0275cmp=Ct({type:t,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(i,n){i&amp;2&amp;&amp;(tt("tabindex",n.disabled?-1:n.tabIndex)("disabled",n.disabled||null)("aria-disabled",n.disabled.toString()),ft("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-button-disabled",n.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[J],attrs:Id,ngContentSelectors:Ed,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,n){i&amp;1&amp;&amp;(me(),L(0,"span",0),ht(1),N(),nt(2,"span",1)(3,"span",2)),i&amp;2&amp;&amp;(E(2),ft("mat-button-ripple-round",n.isRoundButton||n.isIconButton),I("matRippleDisabled",n._isRippleDisabled())("matRippleCentered",n.isIconButton)("matRippleTrigger",n._getHostElement()))},dependencies:[yo],styles:[cg],encapsulation:2,changeDetection:0});let r=t;return r})(),Hn=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[Fn,Gt,Gt]});let r=t;return r})();var $s=class{constructor(t){this._box=t,this._destroyed=new H,this._resizeSubject=new H,this._elementObservables=new Map,typeof ResizeObserver&lt;"u"&amp;&amp;(this._resizeObserver=new ResizeObserver(o=&gt;this._resizeSubject.next(o)))}observe(t){return this._elementObservables.has(t)||this._elementObservables.set(t,new Ie(o=&gt;{let e=this._resizeSubject.subscribe(o);return this._resizeObserver?.observe(t,{box:this._box}),()=&gt;{this._resizeObserver?.unobserve(t),e.unsubscribe(),this._elementObservables.delete(t)}}).pipe(yt(o=&gt;o.some(e=&gt;e.target===t)),Qe({bufferSize:1,refCount:!0}),de(this._destroyed))),this._elementObservables.get(t)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},kd=(()=&gt;{let t=class t{constructor(){this._observers=new Map,this._ngZone=h(st),typeof ResizeObserver&lt;"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver&lt;"u"}observe(e,i){let n=i?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new $s(n)),this._observers.get(n).observe(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var pg=["notch"],fg=["matFormFieldNotchedOutline",""],hg=["*"],gg=["textField"],bg=["iconPrefixContainer"],_g=["textPrefixContainer"];function vg(r,t){r&amp;1&amp;&amp;nt(0,"span",19)}function xg(r,t){if(r&amp;1&amp;&amp;(L(0,"label",17),ht(1,1),z(2,vg,1,0,"span",18),N()),r&amp;2){let o=K(2);I("floating",o._shouldLabelFloat())("monitorResize",o._hasOutline())("id",o._labelId),tt("for",o._control.id),E(2),I("ngIf",!o.hideRequiredMarker&amp;&amp;o._control.required)}}function yg(r,t){if(r&amp;1&amp;&amp;z(0,xg,3,5,"label",16),r&amp;2){let o=K();I("ngIf",o._hasFloatingLabel())}}function wg(r,t){r&amp;1&amp;&amp;nt(0,"div",20)}function Cg(r,t){}function Ig(r,t){if(r&amp;1&amp;&amp;z(0,Cg,0,0,"ng-template",22),r&amp;2){K(2);let o=us(1);I("ngTemplateOutlet",o)}}function Eg(r,t){if(r&amp;1&amp;&amp;(L(0,"div",21),z(1,Ig,1,1,"ng-template",9),N()),r&amp;2){let o=K();I("matFormFieldNotchedOutlineOpen",o._shouldLabelFloat()),E(),I("ngIf",!o._forceDisplayInfixLabel())}}function Dg(r,t){r&amp;1&amp;&amp;(L(0,"div",23,24),ht(2,2),N())}function kg(r,t){r&amp;1&amp;&amp;(L(0,"div",25,26),ht(2,3),N())}function Sg(r,t){}function Ag(r,t){if(r&amp;1&amp;&amp;z(0,Sg,0,0,"ng-template",22),r&amp;2){K();let o=us(1);I("ngTemplateOutlet",o)}}function Tg(r,t){r&amp;1&amp;&amp;(L(0,"div",27),ht(1,4),N())}function Rg(r,t){r&amp;1&amp;&amp;(L(0,"div",28),ht(1,5),N())}function Og(r,t){r&amp;1&amp;&amp;nt(0,"div",29)}function Mg(r,t){if(r&amp;1&amp;&amp;(L(0,"div",30),ht(1,6),N()),r&amp;2){let o=K();I("@transitionMessages",o._subscriptAnimationState)}}function Pg(r,t){if(r&amp;1&amp;&amp;(L(0,"mat-hint",34),ee(1),N()),r&amp;2){let o=K(2);I("id",o._hintLabelId),E(),pe(o.hintLabel)}}function Fg(r,t){if(r&amp;1&amp;&amp;(L(0,"div",31),z(1,Pg,2,2,"mat-hint",32),ht(2,7),nt(3,"div",33),ht(4,8),N()),r&amp;2){let o=K();I("@transitionMessages",o._subscriptAnimationState),E(),I("ngIf",o.hintLabel)}}var Lg=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ng=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],Sd=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["mat-label"]]});let r=t;return r})();var Oo=new y("MatError");var jg=0,Ad=(()=&gt;{let t=class t{constructor(){this.align="start",this.id=`mat-mdc-hint-${jg++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,n){i&amp;2&amp;&amp;(wi("id",n.id),tt("align",null),ft("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}});let r=t;return r})(),Mo=new y("MatPrefix");var Po=new y("MatSuffix");var Nd=new y("FloatingLabelParent"),Td=(()=&gt;{let t=class t{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&amp;&amp;this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=h(kd),this._ngZone=h(st),this._parent=h(Nd),this._resizeSubscription=new Ke}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Bg(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=&gt;this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=&gt;{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=&gt;this._handleResize())})}};t.\u0275fac=function(i){return new(i||t)(p(X))},t.\u0275dir=V({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}});let r=t;return r})();function Bg(r){let t=r;if(t.offsetParent!==null)return t.scrollWidth;let o=t.cloneNode(!0);o.style.setProperty("position","absolute"),o.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(o);let e=o.scrollWidth;return o.remove(),e}var Rd="mdc-line-ripple--active",Gn="mdc-line-ripple--deactivating",Od=(()=&gt;{let t=class t{constructor(e,i){this._elementRef=e,this._handleTransitionEnd=n=&gt;{let a=this._elementRef.nativeElement.classList,s=a.contains(Gn);n.propertyName==="opacity"&amp;&amp;s&amp;&amp;a.remove(Rd,Gn)},i.runOutsideAngular(()=&gt;{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Gn),e.add(Rd)}deactivate(){this._elementRef.nativeElement.classList.add(Gn)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};t.\u0275fac=function(i){return new(i||t)(p(X),p(st))},t.\u0275dir=V({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});let r=t;return r})(),Md=(()=&gt;{let t=class t{constructor(e,i){this._elementRef=e,this._ngZone=i,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&amp;&amp;(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=&gt;{requestAnimationFrame(()=&gt;e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};t.\u0275fac=function(i){return new(i||t)(p(X),p(st))},t.\u0275cmp=Ct({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,n){if(i&amp;1&amp;&amp;re(pg,5),i&amp;2){let a;lt(a=ct())&amp;&amp;(n._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("mdc-notched-outline--notched",n.open)},inputs:{open:[G.None,"matFormFieldNotchedOutlineOpen","open"]},attrs:fg,ngContentSelectors:hg,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,n){i&amp;1&amp;&amp;(me(),nt(0,"div",0),L(1,"div",1,2),ht(3),N(),nt(4,"div",3))},encapsulation:2,changeDetection:0});let r=t;return r})(),Wn={transitionMessages:Sr("transitionMessages",[Ei("enter",Oe({opacity:1,transform:"translateY(0%)"})),Di("void =&gt; enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Ii("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},fi=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t});let r=t;return r})();var Ai=new y("MatFormField"),Ug=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Pd=0,Fd="fill",$g="auto",Ld="fixed",Vg="translateY(-50%)",Mk=(()=&gt;{let t=class t{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=oe(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||$g}set floatLabel(e){e!==this._floatLabel&amp;&amp;(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let i=this._appearance,n=e||this._defaults?.appearance||Fd;this._appearance=n,this._appearance==="outline"&amp;&amp;this._appearance!==i&amp;&amp;(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ld}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ld}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,n,a,s,l,c,d){this._elementRef=e,this._changeDetectorRef=i,this._ngZone=n,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Fd,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Pd++}`,this._hintLabelId=`mat-mdc-hint-${Pd++}`,this._subscriptAnimationState="",this._destroyed=new H,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&amp;&amp;(l.appearance&amp;&amp;(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&amp;&amp;(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&amp;&amp;(this.floatLabel="always")}_initializeControl(){let e=this._control;e.controlType&amp;&amp;this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=&gt;{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&amp;&amp;e.ngControl.valueChanges&amp;&amp;e.ngControl.valueChanges.pipe(de(this._destroyed)).subscribe(()=&gt;this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=&gt;!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=&gt;e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=&gt;!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=&gt;e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Ze(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=&gt;{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=&gt;{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=&gt;{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&amp;&amp;!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&amp;&amp;(this._isFocused||this._isFocused===null)&amp;&amp;(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=&gt;this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=&gt;{this._ngZone.onStable.pipe(de(this._destroyed)).subscribe(()=&gt;{this._needsOutlineLabelOffsetUpdateOnStable&amp;&amp;(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(de(this._destroyed)).subscribe(()=&gt;this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&amp;&amp;this._prefixChildren.length&amp;&amp;!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&amp;&amp;i[e]}_getDisplayedMessages(){return this._errorChildren&amp;&amp;this._errorChildren.length&gt;0&amp;&amp;this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&amp;&amp;typeof this._control.userAriaDescribedBy=="string"&amp;&amp;e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=&gt;a.align==="start"):null,n=this._hintChildren?this._hintChildren.find(a=&gt;a.align==="end"):null;i?e.push(i.id):this._hintLabel&amp;&amp;e.push(this._hintLabelId),n&amp;&amp;e.push(n.id)}else this._errorChildren&amp;&amp;e.push(...this._errorChildren.map(i=&gt;i.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,n=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=n?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${a+s}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(
        --mat-mdc-form-field-label-transform,
        ${Vg} translateX(${u})
    )`}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&amp;&amp;i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(p(X),p(ye),p(st),p(Re),p(ie),p(Ug,8),p(be,8),p(vt))},t.\u0275cmp=Ct({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,n,a){if(i&amp;1&amp;&amp;(te(a,Sd,5),te(a,Sd,7),te(a,fi,5),te(a,Mo,5),te(a,Po,5),te(a,Oo,5),te(a,Ad,5)),i&amp;2){let s;lt(s=ct())&amp;&amp;(n._labelChildNonStatic=s.first),lt(s=ct())&amp;&amp;(n._labelChildStatic=s.first),lt(s=ct())&amp;&amp;(n._formFieldControl=s.first),lt(s=ct())&amp;&amp;(n._prefixChildren=s),lt(s=ct())&amp;&amp;(n._suffixChildren=s),lt(s=ct())&amp;&amp;(n._errorChildren=s),lt(s=ct())&amp;&amp;(n._hintChildren=s)}},viewQuery:function(i,n){if(i&amp;1&amp;&amp;(re(gg,5),re(bg,5),re(_g,5),re(Td,5),re(Md,5),re(Od,5)),i&amp;2){let a;lt(a=ct())&amp;&amp;(n._textField=a.first),lt(a=ct())&amp;&amp;(n._iconPrefixContainer=a.first),lt(a=ct())&amp;&amp;(n._textPrefixContainer=a.first),lt(a=ct())&amp;&amp;(n._floatingLabel=a.first),lt(a=ct())&amp;&amp;(n._notchedOutline=a.first),lt(a=ct())&amp;&amp;(n._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-no-animations",n._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&amp;&amp;!n._shouldLabelFloat())("mat-focused",n._control.focused)("mat-primary",n.color!=="accent"&amp;&amp;n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Vt([{provide:Ai,useExisting:t},{provide:Nd,useExisting:t}])],ngContentSelectors:Ng,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(i,n){i&amp;1&amp;&amp;(me(Lg),z(0,yg,1,1,"ng-template",null,0,Ac),L(2,"div",1,2),Rt("click",function(s){return n._control.onContainerClick(s)}),z(4,wg,1,0,"div",3),L(5,"div",4),z(6,Eg,2,2,"div",5)(7,Dg,3,0,"div",6)(8,kg,3,0,"div",7),L(9,"div",8),z(10,Ag,1,1,"ng-template",9),ht(11),N(),z(12,Tg,2,0,"div",10)(13,Rg,2,0,"div",11),N(),z(14,Og,1,0,"div",12),N(),L(15,"div",13),z(16,Mg,2,1,"div",14)(17,Fg,5,2,"div",15),N()),i&amp;2&amp;&amp;(E(2),ft("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),E(2),I("ngIf",!n._hasOutline()&amp;&amp;!n._control.disabled),E(2),I("ngIf",n._hasOutline()),E(),I("ngIf",n._hasIconPrefix),E(),I("ngIf",n._hasTextPrefix),E(2),I("ngIf",!n._hasOutline()||n._forceDisplayInfixLabel()),E(2),I("ngIf",n._hasTextSuffix),E(),I("ngIf",n._hasIconSuffix),E(),I("ngIf",!n._hasOutline()),E(),ft("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic"),I("ngSwitch",n._getDisplayedMessages()),E(),I("ngSwitchCase","error"),E(),I("ngSwitchCase","hint"))},dependencies:[Ci,Dn,In,En,Ad,Td,Md,Od],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field&gt;.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height:1px;--mdc-filled-text-field-focus-active-indicator-height:2px;--mdc-filled-text-field-container-shape:4px;border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined{--mdc-outlined-text-field-outline-width:1px;--mdc-outlined-text-field-focus-outline-width:2px;--mdc-outlined-text-field-container-shape:4px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix&gt;.mat-icon,.mat-mdc-form-field-icon-suffix&gt;.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Wn.transitionMessages]},changeDetection:0});let r=t;return r})(),Vs=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[Gt,De,Tn,Gt]});let r=t;return r})();var zg=["connectionContainer"],Hg=["inputContainer"],Gg=["label"];function Wg(r,t){r&amp;1&amp;&amp;(zi(0),L(1,"div",14),nt(2,"div",15)(3,"div",16)(4,"div",17),N(),L(5,"div",18),nt(6,"div",15)(7,"div",16)(8,"div",17),N(),Hi())}function Yg(r,t){if(r&amp;1){let o=ei();L(0,"div",19),Rt("cdkObserveContent",function(){Xe(o);let i=K();return Je(i.updateOutlineGap())}),ht(1,1),N()}if(r&amp;2){let o=K();I("cdkObserveContentDisabled",o.appearance!="outline")}}function Kg(r,t){if(r&amp;1&amp;&amp;(zi(0),ht(1,2),L(2,"span"),ee(3),N(),Hi()),r&amp;2){let o=K(2);E(3),pe(o._control.placeholder)}}function qg(r,t){r&amp;1&amp;&amp;ht(0,3,["*ngSwitchCase","true"])}function Zg(r,t){r&amp;1&amp;&amp;(L(0,"span",23),ee(1," *"),N())}function Qg(r,t){if(r&amp;1){let o=ei();L(0,"label",20,21),Rt("cdkObserveContent",function(){Xe(o);let i=K();return Je(i.updateOutlineGap())}),z(2,Kg,4,1,"ng-container",12)(3,qg,1,0,"ng-content",12)(4,Zg,2,0,"span",22),N()}if(r&amp;2){let o=K();ft("mat-empty",o._control.empty&amp;&amp;!o._shouldAlwaysFloat())("mat-form-field-empty",o._control.empty&amp;&amp;!o._shouldAlwaysFloat())("mat-accent",o.color=="accent")("mat-warn",o.color=="warn"),I("cdkObserveContentDisabled",o.appearance!="outline")("id",o._labelId)("ngSwitch",o._hasLabel()),tt("for",o._control.id)("aria-owns",o._control.id),E(2),I("ngSwitchCase",!1),E(),I("ngSwitchCase",!0),E(),I("ngIf",!o.hideRequiredMarker&amp;&amp;o._control.required&amp;&amp;!o._control.disabled)}}function Xg(r,t){r&amp;1&amp;&amp;(L(0,"div",24),ht(1,4),N())}function Jg(r,t){if(r&amp;1&amp;&amp;(L(0,"div",25),nt(1,"span",26),N()),r&amp;2){let o=K();E(),ft("mat-accent",o.color=="accent")("mat-warn",o.color=="warn")}}function tb(r,t){if(r&amp;1&amp;&amp;(L(0,"div"),ht(1,5),N()),r&amp;2){let o=K();I("@transitionMessages",o._subscriptAnimationState)}}function eb(r,t){if(r&amp;1&amp;&amp;(L(0,"div",30),ee(1),N()),r&amp;2){let o=K(2);I("id",o._hintLabelId),E(),pe(o.hintLabel)}}function ib(r,t){if(r&amp;1&amp;&amp;(L(0,"div",27),z(1,eb,2,2,"div",28),ht(2,6),nt(3,"div",29),ht(4,7),N()),r&amp;2){let o=K();I("@transitionMessages",o._subscriptAnimationState),E(),I("ngIf",o.hintLabel)}}var rb=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ob=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],nb=0,cS=(()=&gt;{let t=class t{constructor(e,i){this.id=`mat-error-${nb++}`,e||i.nativeElement.setAttribute("aria-live","polite")}};t.\u0275fac=function(i){return new(i||t)(cs("aria-live"),p(X))},t.\u0275dir=V({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(i,n){i&amp;2&amp;&amp;tt("id",n.id)},inputs:{id:"id"},features:[Vt([{provide:Oo,useExisting:t}])]});let r=t;return r})(),ab=0,$d=new y("MatHint"),dS=(()=&gt;{let t=class t{constructor(){this.align="start",this.id=`mat-hint-${ab++}`}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(i,n){i&amp;2&amp;&amp;(tt("id",n.id)("align",null),ft("mat-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"},features:[Vt([{provide:$d,useExisting:t}])]});let r=t;return r})(),jd=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["mat-label"]]});let r=t;return r})(),sb=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["mat-placeholder"]]});let r=t;return r})(),Bd=0,lb=.75,Ud=5,cb=Ar(class{constructor(r){this._elementRef=r}},"primary"),db=new y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),uS=(()=&gt;{let t=class t extends cb{get appearance(){return this._appearance}set appearance(e){let i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy",this._appearance==="outline"&amp;&amp;i!==e&amp;&amp;(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=oe(e)}_shouldAlwaysFloat(){return this.floatLabel==="always"&amp;&amp;!this._showAlwaysAnimate}_canLabelFloat(){return this.floatLabel!=="never"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return this.appearance!=="legacy"&amp;&amp;this._floatLabel==="never"?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&amp;&amp;(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,i,n,a,s,l,c){super(e),this._changeDetectorRef=i,this._dir=n,this._defaults=a,this._platform=s,this._ngZone=l,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new H,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Bd++}`,this._labelId=`mat-form-field-label-${Bd++}`,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=c!=="NoopAnimations",this.appearance=a?.appearance||"legacy",a&amp;&amp;(this._hideRequiredMarker=!!a.hideRequiredMarker,a.color&amp;&amp;(this.color=this.defaultColor=a.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();let e=this._control;e.controlType&amp;&amp;this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(ci(null)).subscribe(()=&gt;{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&amp;&amp;e.ngControl.valueChanges&amp;&amp;e.ngControl.valueChanges.pipe(de(this._destroyed)).subscribe(()=&gt;this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=&gt;{this._ngZone.onStable.pipe(de(this._destroyed)).subscribe(()=&gt;{this._outlineGapCalculationNeededOnStable&amp;&amp;this.updateOutlineGap()})}),Ze(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=&gt;{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ci(null)).subscribe(()=&gt;{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ci(null)).subscribe(()=&gt;{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&amp;&amp;this._dir.change.pipe(de(this._destroyed)).subscribe(()=&gt;{typeof requestAnimationFrame=="function"?this._ngZone.runOutsideAngular(()=&gt;{requestAnimationFrame(()=&gt;this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&amp;&amp;this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){let i=this._control?this._control.ngControl:null;return i&amp;&amp;i[e]}_hasPlaceholder(){return!!(this._control&amp;&amp;this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!(this._labelChildNonStatic||this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&amp;&amp;(this._control&amp;&amp;this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return this.appearance==="legacy"&amp;&amp;!this._hasLabel()||this._hasLabel()&amp;&amp;!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||this.appearance==="legacy"&amp;&amp;this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&amp;&amp;this._errorChildren.length&gt;0&amp;&amp;this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&amp;&amp;this._canLabelFloat()&amp;&amp;(this._animationsEnabled&amp;&amp;this._label&amp;&amp;(this._showAlwaysAnimate=!0,mo(this._label.nativeElement,"transitionend").pipe(Tt(1)).subscribe(()=&gt;{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){this._control.placeholder&amp;&amp;this._placeholderChild}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_getDefaultFloatLabelState(){return this._defaults&amp;&amp;this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&amp;&amp;typeof this._control.userAriaDescribedBy=="string"&amp;&amp;e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=&gt;a.align==="start"):null,n=this._hintChildren?this._hintChildren.find(a=&gt;a.align==="end"):null;i?e.push(i.id):this._hintLabel&amp;&amp;e.push(this._hintLabelId),n&amp;&amp;e.push(n.id)}else this._errorChildren&amp;&amp;e.push(...this._errorChildren.map(i=&gt;i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){this._control}updateOutlineGap(){let e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,n=".mat-form-field-outline-start",a=".mat-form-field-outline-gap";if(this.appearance!=="outline"||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){let u=i.querySelectorAll(`${n}, ${a}`);for(let x=0;x&lt;u.length;x++)u[x].style.width="0";return}if(!this._isAttachedToDOM()){this._outlineGapCalculationNeededImmediately=!0;return}let s=0,l=0,c=i.querySelectorAll(n),d=i.querySelectorAll(a);if(this._label&amp;&amp;this._label.nativeElement.children.length){let u=i.getBoundingClientRect();if(u.width===0&amp;&amp;u.height===0){this._outlineGapCalculationNeededOnStable=!0,this._outlineGapCalculationNeededImmediately=!1;return}let x=this._getStartEnd(u),k=e.children,D=this._getStartEnd(k[0].getBoundingClientRect()),U=0;for(let W=0;W&lt;k.length;W++)U+=k[W].offsetWidth;s=Math.abs(D-x)-Ud,l=U&gt;0?U*lb+Ud*2:0}for(let u=0;u&lt;c.length;u++)c[u].style.width=`${s}px`;for(let u=0;u&lt;d.length;u++)d[u].style.width=`${l}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&amp;&amp;this._dir.value==="rtl"?e.right:e.left}_isAttachedToDOM(){let e=this._elementRef.nativeElement;if(e.getRootNode){let i=e.getRootNode();return i&amp;&amp;i!==e}return document.documentElement.contains(e)}};t.\u0275fac=function(i){return new(i||t)(p(X),p(ye),p(Re,8),p(db,8),p(ie),p(st),p(be,8))},t.\u0275cmp=Ct({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,n,a){if(i&amp;1&amp;&amp;(te(a,fi,5),te(a,fi,7),te(a,jd,5),te(a,jd,7),te(a,sb,5),te(a,Oo,5),te(a,$d,5),te(a,Mo,5),te(a,Po,5)),i&amp;2){let s;lt(s=ct())&amp;&amp;(n._controlNonStatic=s.first),lt(s=ct())&amp;&amp;(n._controlStatic=s.first),lt(s=ct())&amp;&amp;(n._labelChildNonStatic=s.first),lt(s=ct())&amp;&amp;(n._labelChildStatic=s.first),lt(s=ct())&amp;&amp;(n._placeholderChild=s.first),lt(s=ct())&amp;&amp;(n._errorChildren=s),lt(s=ct())&amp;&amp;(n._hintChildren=s),lt(s=ct())&amp;&amp;(n._prefixChildren=s),lt(s=ct())&amp;&amp;(n._suffixChildren=s)}},viewQuery:function(i,n){if(i&amp;1&amp;&amp;(re(zg,7),re(Hg,5),re(Gg,5)),i&amp;2){let a;lt(a=ct())&amp;&amp;(n._connectionContainerRef=a.first),lt(a=ct())&amp;&amp;(n._inputContainerRef=a.first),lt(a=ct())&amp;&amp;(n._label=a.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("mat-form-field-appearance-standard",n.appearance=="standard")("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-appearance-legacy",n.appearance=="legacy")("mat-form-field-invalid",n._control.errorState)("mat-form-field-can-float",n._canLabelFloat())("mat-form-field-should-float",n._shouldLabelFloat())("mat-form-field-has-label",n._hasFloatingLabel())("mat-form-field-hide-placeholder",n._hideControlPlaceholder())("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-focused",n._control.focused)("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))("_mat-animation-noopable",!n._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Vt([{provide:Ai,useExisting:t}]),J],ngContentSelectors:ob,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(i,n){i&amp;1&amp;&amp;(me(rb),L(0,"div",0)(1,"div",1,2),Rt("click",function(s){return n._control.onContainerClick(s)}),z(3,Wg,9,0,"ng-container",3)(4,Yg,2,1,"div",4),L(5,"div",5,6),ht(7),L(8,"span",7),z(9,Qg,5,16,"label",8),N()(),z(10,Xg,2,0,"div",9),N(),z(11,Jg,2,4,"div",10),L(12,"div",11),z(13,tb,2,1,"div",12)(14,ib,5,2,"div",13),N()()),i&amp;2&amp;&amp;(E(3),I("ngIf",n.appearance=="outline"),E(),I("ngIf",n._prefixChildren.length),E(5),I("ngIf",n._hasFloatingLabel()),E(),I("ngIf",n._suffixChildren.length),E(),I("ngIf",n.appearance!="outline"),E(),I("ngSwitch",n._getDisplayedMessages()),E(),I("ngSwitchCase","error"),E(),I("ngSwitchCase","hint"))},dependencies:[Ci,In,En,Bc],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[Wn.transitionMessages]},changeDetection:0});let r=t;return r})(),mS=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["","matPrefix",""]],features:[Vt([{provide:Mo,useExisting:t}])]});let r=t;return r})(),pS=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["","matSuffix",""]],features:[Vt([{provide:Po,useExisting:t}])]});let r=t;return r})(),zs=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[De,Gt,Tn,Gt]});let r=t;return r})();var qd=(()=&gt;{let t=class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=n=&gt;{},this.onTouched=()=&gt;{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}};t.\u0275fac=function(i){return new(i||t)(p(go),p(X))},t.\u0275dir=V({type:t});let r=t;return r})(),Zd=(()=&gt;{let t=class t extends qd{};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275dir=V({type:t,features:[J]});let r=t;return r})(),Bo=new y("");var ub={provide:Bo,useExisting:ti(()=&gt;Qd),multi:!0};function mb(){let r=hs()?hs().getUserAgent():"";return/android (\d+)/.test(r.toLowerCase())}var pb=new y(""),Qd=(()=&gt;{let t=class t extends qd{constructor(e,i,n){super(e,i),this._compositionMode=n,this._composing=!1,this._compositionMode==null&amp;&amp;(this._compositionMode=!mb())}writeValue(e){let i=e??"";this.setProperty("value",i)}_handleInput(e){(!this._compositionMode||this._compositionMode&amp;&amp;!this._composing)&amp;&amp;this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&amp;&amp;this.onChange(e)}};t.\u0275fac=function(i){return new(i||t)(p(go),p(X),p(pb,8))},t.\u0275dir=V({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,n){i&amp;1&amp;&amp;Rt("input",function(s){return n._handleInput(s.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(s){return n._compositionEnd(s.target.value)})},features:[Vt([ub]),J]});let r=t;return r})();function Ti(r){return r==null||(typeof r=="string"||Array.isArray(r))&amp;&amp;r.length===0}function Xd(r){return r!=null&amp;&amp;typeof r.length=="number"}var tr=new y(""),Uo=new y(""),fb=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&amp;'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&amp;'*+/=?^_`{|}~-]+)*@[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])?)*$/,Kn=class{static min(t){return Jd(t)}static max(t){return hb(t)}static required(t){return gb(t)}static requiredTrue(t){return bb(t)}static email(t){return _b(t)}static minLength(t){return vb(t)}static maxLength(t){return tu(t)}static pattern(t){return xb(t)}static nullValidator(t){return qn(t)}static compose(t){return au(t)}static composeAsync(t){return su(t)}};function Jd(r){return t=&gt;{if(Ti(t.value)||Ti(r))return null;let o=parseFloat(t.value);return!isNaN(o)&amp;&amp;o&lt;r?{min:{min:r,actual:t.value}}:null}}function hb(r){return t=&gt;{if(Ti(t.value)||Ti(r))return null;let o=parseFloat(t.value);return!isNaN(o)&amp;&amp;o&gt;r?{max:{max:r,actual:t.value}}:null}}function gb(r){return Ti(r.value)?{required:!0}:null}function bb(r){return r.value===!0?null:{required:!0}}function _b(r){return Ti(r.value)||fb.test(r.value)?null:{email:!0}}function vb(r){return t=&gt;Ti(t.value)||!Xd(t.value)?null:t.value.length&lt;r?{minlength:{requiredLength:r,actualLength:t.value.length}}:null}function tu(r){return t=&gt;Xd(t.value)&amp;&amp;t.value.length&gt;r?{maxlength:{requiredLength:r,actualLength:t.value.length}}:null}function xb(r){if(!r)return qn;let t,o;return typeof r=="string"?(o="",r.charAt(0)!=="^"&amp;&amp;(o+="^"),o+=r,r.charAt(r.length-1)!=="$"&amp;&amp;(o+="$"),t=new RegExp(o)):(o=r.toString(),t=r),e=&gt;{if(Ti(e.value))return null;let i=e.value;return t.test(i)?null:{pattern:{requiredPattern:o,actualValue:i}}}}function qn(r){return null}function eu(r){return r!=null}function iu(r){return Tc(r)?li(r):r}function ru(r){let t={};return r.forEach(o=&gt;{t=o!=null?m(m({},t),o):t}),Object.keys(t).length===0?null:t}function ou(r,t){return t.map(o=&gt;o(r))}function yb(r){return!r.validate}function nu(r){return r.map(t=&gt;yb(t)?t:o=&gt;t.validate(o))}function au(r){if(!r)return null;let t=r.filter(eu);return t.length==0?null:function(o){return ru(ou(o,t))}}function Ys(r){return r!=null?au(nu(r)):null}function su(r){if(!r)return null;let t=r.filter(eu);return t.length==0?null:function(o){let e=ou(o,t).map(iu);return Ee(e).pipe(O(ru))}}function Ks(r){return r!=null?su(nu(r)):null}function Vd(r,t){return r===null?[t]:Array.isArray(r)?[...r,t]:[r,t]}function lu(r){return r._rawValidators}function cu(r){return r._rawAsyncValidators}function Hs(r){return r?Array.isArray(r)?r:[r]:[]}function Zn(r,t){return Array.isArray(r)?r.includes(t):r===t}function zd(r,t){let o=Hs(t);return Hs(r).forEach(i=&gt;{Zn(o,i)||o.push(i)}),o}function Hd(r,t){return Hs(t).filter(o=&gt;!Zn(r,o))}var Qn=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(t){this._rawValidators=t||[],this._composedValidatorFn=Ys(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ks(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=&gt;t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&amp;&amp;this.control.reset(t)}hasError(t,o){return this.control?this.control.hasError(t,o):!1}getError(t,o){return this.control?this.control.getError(t,o):null}},hi=class extends Qn{get formDirective(){return null}get path(){return null}},ze=class extends Qn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Xn=class{constructor(t){this._cd=t}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}},wb={"[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"},MS=C(m({},wb),{"[class.ng-submitted]":"isSubmitted"}),PS=(()=&gt;{let t=class t extends Xn{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(p(ze,2))},t.\u0275dir=V({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[J]});let r=t;return r})(),FS=(()=&gt;{let t=class t extends Xn{constructor(e){super(e)}};t.\u0275fac=function(i){return new(i||t)(p(hi,10))},t.\u0275dir=V({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,n){i&amp;2&amp;&amp;ft("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},features:[J]});let r=t;return r})();var Fo="VALID",Yn="INVALID",Or="PENDING",Lo="DISABLED";function qs(r){return(ia(r)?r.validators:r)||null}function Cb(r){return Array.isArray(r)?Ys(r):r||null}function Zs(r,t){return(ia(t)?t.asyncValidators:r)||null}function Ib(r){return Array.isArray(r)?Ks(r):r||null}function ia(r){return r!=null&amp;&amp;!Array.isArray(r)&amp;&amp;typeof r=="object"}function du(r,t,o){let e=r.controls;if(!(t?Object.keys(e):e).length)throw new br(1e3,"");if(!e[o])throw new br(1001,"")}function uu(r,t,o){r._forEachChild((e,i)=&gt;{if(o[i]===void 0)throw new br(1002,"")})}var Pr=class{constructor(t,o){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=&gt;{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(o)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Fo}get invalid(){return this.status===Yn}get pending(){return this.status==Or}get disabled(){return this.status===Lo}get enabled(){return this.status!==Lo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(zd(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(zd(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Hd(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Hd(t,this._rawAsyncValidators))}hasValidator(t){return Zn(this._rawValidators,t)}hasAsyncValidator(t){return Zn(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=&gt;t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(o=&gt;{o.markAsUntouched({onlySelf:!0})}),this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(o=&gt;{o.markAsPristine({onlySelf:!0})}),this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent._updatePristine(t)}markAsPending(t={}){this.status=Or,t.emitEvent!==!1&amp;&amp;this.statusChanges.emit(this.status),this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent.markAsPending(t)}disable(t={}){let o=this._parentMarkedDirty(t.onlySelf);this.status=Lo,this.errors=null,this._forEachChild(e=&gt;{e.disable(C(m({},t),{onlySelf:!0}))}),this._updateValue(),t.emitEvent!==!1&amp;&amp;(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(C(m({},t),{skipPristineCheck:o})),this._onDisabledChange.forEach(e=&gt;e(!0))}enable(t={}){let o=this._parentMarkedDirty(t.onlySelf);this.status=Fo,this._forEachChild(e=&gt;{e.enable(C(m({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(C(m({},t),{skipPristineCheck:o})),this._onDisabledChange.forEach(e=&gt;e(!1))}_updateAncestors(t){this._parent&amp;&amp;!t.onlySelf&amp;&amp;(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&amp;&amp;(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Fo||this.status===Or)&amp;&amp;this._runAsyncValidator(t.emitEvent)),t.emitEvent!==!1&amp;&amp;(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(o=&gt;o._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Lo:Fo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Or,this._hasOwnPendingAsyncValidator=!0;let o=iu(this.asyncValidator(this));this._asyncValidationSubscription=o.subscribe(e=&gt;{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&amp;&amp;(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,o={}){this.errors=t,this._updateControlsErrors(o.emitEvent!==!1)}get(t){let o=t;return o==null||(Array.isArray(o)||(o=o.split(".")),o.length===0)?null:o.reduce((e,i)=&gt;e&amp;&amp;e._find(i),this)}getError(t,o){let e=o?this.get(o):this;return e&amp;&amp;e.errors?e.errors[t]:null}hasError(t,o){return!!this.getError(t,o)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&amp;&amp;this.statusChanges.emit(this.status),this._parent&amp;&amp;this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Bt,this.statusChanges=new Bt}_calculateStatus(){return this._allControlsDisabled()?Lo:this.errors?Yn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Or)?Or:this._anyControlsHaveStatus(Yn)?Yn:Fo}_anyControlsHaveStatus(t){return this._anyControls(o=&gt;o.status===t)}_anyControlsDirty(){return this._anyControls(t=&gt;t.dirty)}_anyControlsTouched(){return this._anyControls(t=&gt;t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&amp;&amp;!t.onlySelf&amp;&amp;this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ia(t)&amp;&amp;t.updateOn!=null&amp;&amp;(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let o=this._parent&amp;&amp;this._parent.dirty;return!t&amp;&amp;!!o&amp;&amp;!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=Cb(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=Ib(this._rawAsyncValidators)}},Fr=class extends Pr{constructor(t,o,e){super(qs(o),Zs(e,o)),this.controls=t,this._initObservables(),this._setUpdateStrategy(o),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,o){return this.controls[t]?this.controls[t]:(this.controls[t]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}addControl(t,o,e={}){this.registerControl(t,o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}removeControl(t,o={}){this.controls[t]&amp;&amp;this.controls[t]._registerOnCollectionChange(()=&gt;{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}setControl(t,o,e={}){this.controls[t]&amp;&amp;this.controls[t]._registerOnCollectionChange(()=&gt;{}),delete this.controls[t],o&amp;&amp;this.registerControl(t,o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&amp;&amp;this.controls[t].enabled}setValue(t,o={}){uu(this,!0,t),Object.keys(t).forEach(e=&gt;{du(this,!0,e),this.controls[e].setValue(t[e],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o)}patchValue(t,o={}){t!=null&amp;&amp;(Object.keys(t).forEach(e=&gt;{let i=this.controls[e];i&amp;&amp;i.patchValue(t[e],{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o))}reset(t={},o={}){this._forEachChild((e,i)=&gt;{e.reset(t?t[i]:null,{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}getRawValue(){return this._reduceChildren({},(t,o,e)=&gt;(t[e]=o.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(o,e)=&gt;e._syncPendingControls()?!0:o);return t&amp;&amp;this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(o=&gt;{let e=this.controls[o];e&amp;&amp;t(e,o)})}_setUpControls(){this._forEachChild(t=&gt;{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[o,e]of Object.entries(this.controls))if(this.contains(o)&amp;&amp;t(e))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(o,e,i)=&gt;((e.enabled||this.disabled)&amp;&amp;(o[i]=e.value),o))}_reduceChildren(t,o){let e=t;return this._forEachChild((i,n)=&gt;{e=o(e,i,n)}),e}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length&gt;0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var Gs=class extends Fr{};var Lr=new y("CallSetDisabledState",{providedIn:"root",factory:()=&gt;ra}),ra="always";function mu(r,t){return[...t.path,r]}function jo(r,t,o=ra){Qs(r,t),t.valueAccessor.writeValue(r.value),(r.disabled||o==="always")&amp;&amp;t.valueAccessor.setDisabledState?.(r.disabled),Db(r,t),Sb(r,t),kb(r,t),Eb(r,t)}function Jn(r,t,o=!0){let e=()=&gt;{};t.valueAccessor&amp;&amp;(t.valueAccessor.registerOnChange(e),t.valueAccessor.registerOnTouched(e)),ea(r,t),r&amp;&amp;(t._invokeOnDestroyCallbacks(),r._registerOnCollectionChange(()=&gt;{}))}function ta(r,t){r.forEach(o=&gt;{o.registerOnValidatorChange&amp;&amp;o.registerOnValidatorChange(t)})}function Eb(r,t){if(t.valueAccessor.setDisabledState){let o=e=&gt;{t.valueAccessor.setDisabledState(e)};r.registerOnDisabledChange(o),t._registerOnDestroy(()=&gt;{r._unregisterOnDisabledChange(o)})}}function Qs(r,t){let o=lu(r);t.validator!==null?r.setValidators(Vd(o,t.validator)):typeof o=="function"&amp;&amp;r.setValidators([o]);let e=cu(r);t.asyncValidator!==null?r.setAsyncValidators(Vd(e,t.asyncValidator)):typeof e=="function"&amp;&amp;r.setAsyncValidators([e]);let i=()=&gt;r.updateValueAndValidity();ta(t._rawValidators,i),ta(t._rawAsyncValidators,i)}function ea(r,t){let o=!1;if(r!==null){if(t.validator!==null){let i=lu(r);if(Array.isArray(i)&amp;&amp;i.length&gt;0){let n=i.filter(a=&gt;a!==t.validator);n.length!==i.length&amp;&amp;(o=!0,r.setValidators(n))}}if(t.asyncValidator!==null){let i=cu(r);if(Array.isArray(i)&amp;&amp;i.length&gt;0){let n=i.filter(a=&gt;a!==t.asyncValidator);n.length!==i.length&amp;&amp;(o=!0,r.setAsyncValidators(n))}}}let e=()=&gt;{};return ta(t._rawValidators,e),ta(t._rawAsyncValidators,e),o}function Db(r,t){t.valueAccessor.registerOnChange(o=&gt;{r._pendingValue=o,r._pendingChange=!0,r._pendingDirty=!0,r.updateOn==="change"&amp;&amp;pu(r,t)})}function kb(r,t){t.valueAccessor.registerOnTouched(()=&gt;{r._pendingTouched=!0,r.updateOn==="blur"&amp;&amp;r._pendingChange&amp;&amp;pu(r,t),r.updateOn!=="submit"&amp;&amp;r.markAsTouched()})}function pu(r,t){r._pendingDirty&amp;&amp;r.markAsDirty(),r.setValue(r._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1}function Sb(r,t){let o=(e,i)=&gt;{t.valueAccessor.writeValue(e),i&amp;&amp;t.viewToModelUpdate(e)};r.registerOnChange(o),t._registerOnDestroy(()=&gt;{r._unregisterOnChange(o)})}function fu(r,t){r==null,Qs(r,t)}function Ab(r,t){return ea(r,t)}function Xs(r,t){if(!r.hasOwnProperty("model"))return!1;let o=r.model;return o.isFirstChange()?!0:!Object.is(t,o.currentValue)}function Tb(r){return Object.getPrototypeOf(r.constructor)===Zd}function hu(r,t){r._syncPendingControls(),t.forEach(o=&gt;{let e=o.control;e.updateOn==="submit"&amp;&amp;e._pendingChange&amp;&amp;(o.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function Js(r,t){if(!t)return null;Array.isArray(t);let o,e,i;return t.forEach(n=&gt;{n.constructor===Qd?o=n:Tb(n)?e=n:i=n}),i||e||o||null}function Rb(r,t){let o=r.indexOf(t);o&gt;-1&amp;&amp;r.splice(o,1)}var Ob={provide:hi,useExisting:ti(()=&gt;tl)},No=Promise.resolve(),tl=(()=&gt;{let t=class t extends hi{constructor(e,i,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Bt,this.form=new Fr({},Ys(e),Ks(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){No.then(()=&gt;{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),jo(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){No.then(()=&gt;{let i=this._findContainer(e.path);i&amp;&amp;i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){No.then(()=&gt;{let i=this._findContainer(e.path),n=new Fr({});fu(n,e),i.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){No.then(()=&gt;{let i=this._findContainer(e.path);i&amp;&amp;i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){No.then(()=&gt;{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,hu(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&amp;&amp;this.options.updateOn!=null&amp;&amp;(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}};t.\u0275fac=function(i){return new(i||t)(p(tr,10),p(Uo,10),p(Lr,8))},t.\u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,n){i&amp;1&amp;&amp;Rt("submit",function(s){return n.onSubmit(s)})("reset",function(){return n.onReset()})},inputs:{options:[G.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vt([Ob]),J]});let r=t;return r})();function Gd(r,t){let o=r.indexOf(t);o&gt;-1&amp;&amp;r.splice(o,1)}function Wd(r){return typeof r=="object"&amp;&amp;r!==null&amp;&amp;Object.keys(r).length===2&amp;&amp;"value"in r&amp;&amp;"disabled"in r}var Mr=class extends Pr{constructor(t=null,o,e){super(qs(o),Zs(e,o)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(o),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ia(o)&amp;&amp;(o.nonNullable||o.initialValueIsDefault)&amp;&amp;(Wd(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,o={}){this.value=this._pendingValue=t,this._onChange.length&amp;&amp;o.emitModelToViewChange!==!1&amp;&amp;this._onChange.forEach(e=&gt;e(this.value,o.emitViewToModelChange!==!1)),this.updateValueAndValidity(o)}patchValue(t,o={}){this.setValue(t,o)}reset(t=this.defaultValue,o={}){this._applyFormState(t),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Gd(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Gd(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&amp;&amp;(this._pendingDirty&amp;&amp;this.markAsDirty(),this._pendingTouched&amp;&amp;this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){Wd(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},NS=Mr,Mb=r=&gt;r instanceof Mr;var Pb={provide:ze,useExisting:ti(()=&gt;Fb)},Yd=Promise.resolve(),Fb=(()=&gt;{let t=class t extends ze{constructor(e,i,n,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new Mr,this._registered=!1,this.name="",this.update=new Bt,this._parent=e,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=Js(this,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&amp;&amp;(this._checkName(),this.formDirective)){let i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&amp;&amp;this._updateDisabled(e),Xs(e,this.viewModel)&amp;&amp;(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&amp;&amp;this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&amp;&amp;this.options.updateOn!=null&amp;&amp;(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&amp;&amp;this.options.standalone)}_setUpStandalone(){jo(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&amp;&amp;this.options.name&amp;&amp;(this.name=this.options.name),!this._isStandalone()&amp;&amp;this.name}_updateValue(e){Yd.then(()=&gt;{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let i=e.isDisabled.currentValue,n=i!==0&amp;&amp;Rc(i);Yd.then(()=&gt;{n&amp;&amp;!this.control.disabled?this.control.disable():!n&amp;&amp;this.control.disabled&amp;&amp;this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?mu(e,this._parent):[e]}};t.\u0275fac=function(i){return new(i||t)(p(hi,9),p(tr,10),p(Uo,10),p(Bo,10),p(ye,8),p(Lr,8))},t.\u0275dir=V({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[G.None,"disabled","isDisabled"],model:[G.None,"ngModel","model"],options:[G.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Vt([Pb]),J,ne]});let r=t;return r})(),jS=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let r=t;return r})(),Lb={provide:Bo,useExisting:ti(()=&gt;Nb),multi:!0},Nb=(()=&gt;{let t=class t extends Zd{writeValue(e){let i=e??"";this.setProperty("value",i)}registerOnChange(e){this.onChange=i=&gt;{e(i==""?null:parseFloat(i))}}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275dir=V({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,n){i&amp;1&amp;&amp;Rt("input",function(s){return n.onChange(s.target.value)})("blur",function(){return n.onTouched()})},features:[Vt([Lb]),J]});let r=t;return r})();var el=new y(""),jb={provide:ze,useExisting:ti(()=&gt;Bb)},Bb=(()=&gt;{let t=class t extends ze{set isDisabled(e){}constructor(e,i,n,a,s){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=s,this.update=new Bt,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(i),this.valueAccessor=Js(this,n)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&amp;&amp;Jn(i,this,!1),jo(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xs(e,this.viewModel)&amp;&amp;(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&amp;&amp;Jn(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(p(tr,10),p(Uo,10),p(Bo,10),p(el,8),p(Lr,8))},t.\u0275dir=V({type:t,selectors:[["","formControl",""]],inputs:{form:[G.None,"formControl","form"],isDisabled:[G.None,"disabled","isDisabled"],model:[G.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Vt([jb]),J,ne]});let r=t;return r})(),Ub={provide:hi,useExisting:ti(()=&gt;il)},il=(()=&gt;{let t=class t extends hi{constructor(e,i,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=&gt;this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Bt,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&amp;&amp;(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&amp;&amp;(ea(this.form,this),this.form._onCollectionChange===this._onCollectionChange&amp;&amp;this.form._registerOnCollectionChange(()=&gt;{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let i=this.form.get(e.path);return jo(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Jn(e.control||null,e,!1),Rb(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,hu(this.form,this.directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=&gt;{let i=e.control,n=this.form.get(e.path);i!==n&amp;&amp;(Jn(i||null,e),Mb(n)&amp;&amp;(jo(n,e,this.callSetDisabledState),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);fu(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&amp;&amp;Ab(i,e)&amp;&amp;i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&amp;&amp;this._oldForm._registerOnCollectionChange(()=&gt;{})}_updateValidators(){Qs(this.form,this),this._oldForm&amp;&amp;ea(this._oldForm,this)}_checkFormPresent(){this.form}};t.\u0275fac=function(i){return new(i||t)(p(tr,10),p(Uo,10),p(Lr,8))},t.\u0275dir=V({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,n){i&amp;1&amp;&amp;Rt("submit",function(s){return n.onSubmit(s)})("reset",function(){return n.onReset()})},inputs:{form:[G.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vt([Ub]),J,ne]});let r=t;return r})();var $b={provide:ze,useExisting:ti(()=&gt;Vb)},Vb=(()=&gt;{let t=class t extends ze{set isDisabled(e){}constructor(e,i,n,a,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Bt,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(n),this.valueAccessor=Js(this,a)}ngOnChanges(e){this._added||this._setUpControl(),Xs(e,this.viewModel)&amp;&amp;(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&amp;&amp;this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return mu(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}};t._ngModelWarningSentOnce=!1,t.\u0275fac=function(i){return new(i||t)(p(hi,13),p(tr,10),p(Uo,10),p(Bo,10),p(el,8))},t.\u0275dir=V({type:t,selectors:[["","formControlName",""]],inputs:{name:[G.None,"formControlName","name"],isDisabled:[G.None,"disabled","isDisabled"],model:[G.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Vt([$b]),J,ne]});let r=t;return r})();function zb(r){return typeof r=="number"?r:parseInt(r,10)}function Hb(r){return typeof r=="number"?r:parseFloat(r)}var gu=(()=&gt;{let t=class t{constructor(){this._validator=qn}ngOnChanges(e){if(this.inputName in e){let i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):qn,this._onChange&amp;&amp;this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t,features:[ne]});let r=t;return r})();var Gb={provide:tr,useExisting:ti(()=&gt;Wb),multi:!0},Wb=(()=&gt;{let t=class t extends gu{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=&gt;Hb(e),this.createValidator=e=&gt;Jd(e)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275dir=V({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&amp;2&amp;&amp;tt("min",n._enabled?n.min:null)},inputs:{min:"min"},features:[Vt([Gb]),J]});let r=t;return r})();var Yb={provide:tr,useExisting:ti(()=&gt;Kb),multi:!0},Kb=(()=&gt;{let t=class t extends gu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=&gt;zb(e),this.createValidator=e=&gt;tu(e)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275dir=V({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(i,n){i&amp;2&amp;&amp;tt("maxlength",n._enabled?n.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Vt([Yb]),J]});let r=t;return r})();var bu=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({});let r=t;return r})(),Ws=class extends Pr{constructor(t,o,e){super(qs(o),Zs(e,o)),this.controls=t,this._initObservables(),this._setUpdateStrategy(o),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,o={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}insert(t,o,e={}){this.controls.splice(t,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent})}removeAt(t,o={}){let e=this._adjustIndex(t);e&lt;0&amp;&amp;(e=0),this.controls[e]&amp;&amp;this.controls[e]._registerOnCollectionChange(()=&gt;{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}setControl(t,o,e={}){let i=this._adjustIndex(t);i&lt;0&amp;&amp;(i=0),this.controls[i]&amp;&amp;this.controls[i]._registerOnCollectionChange(()=&gt;{}),this.controls.splice(i,1),o&amp;&amp;(this.controls.splice(i,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,o={}){uu(this,!1,t),t.forEach((e,i)=&gt;{du(this,!1,i),this.at(i).setValue(e,{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o)}patchValue(t,o={}){t!=null&amp;&amp;(t.forEach((e,i)=&gt;{this.at(i)&amp;&amp;this.at(i).patchValue(e,{onlySelf:!0,emitEvent:o.emitEvent})}),this.updateValueAndValidity(o))}reset(t=[],o={}){this._forEachChild((e,i)=&gt;{e.reset(t[i],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}getRawValue(){return this.controls.map(t=&gt;t.getRawValue())}clear(t={}){this.controls.length&lt;1||(this._forEachChild(o=&gt;o._registerOnCollectionChange(()=&gt;{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t&lt;0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((o,e)=&gt;e._syncPendingControls()?!0:o,!1);return t&amp;&amp;this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((o,e)=&gt;{t(o,e)})}_updateValue(){this.value=this.controls.filter(t=&gt;t.enabled||this.disabled).map(t=&gt;t.value)}_anyControls(t){return this.controls.some(o=&gt;o.enabled&amp;&amp;t(o))}_setUpControls(){this._forEachChild(t=&gt;this._registerControl(t))}_allControlsDisabled(){for(let t of this.controls)if(t.enabled)return!1;return this.controls.length&gt;0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}};function Kd(r){return!!r&amp;&amp;(r.asyncValidators!==void 0||r.validators!==void 0||r.updateOn!==void 0)}var qb=(()=&gt;{let t=class t{constructor(){this.useNonNullable=!1}get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,i=null){let n=this._reduceControls(e),a={};return Kd(i)?a=i:i!==null&amp;&amp;(a.validators=i.validator,a.asyncValidators=i.asyncValidator),new Fr(n,a)}record(e,i=null){let n=this._reduceControls(e);return new Gs(n,i)}control(e,i,n){let a={};return this.useNonNullable?(Kd(i)?a=i:(a.validators=i,a.asyncValidators=n),new Mr(e,C(m({},a),{nonNullable:!0}))):new Mr(e,i,n)}array(e,i,n){let a=e.map(s=&gt;this._createControl(s));return new Ws(a,i,n)}_reduceControls(e){let i={};return Object.keys(e).forEach(n=&gt;{i[n]=this._createControl(e[n])}),i}_createControl(e){if(e instanceof Mr)return e;if(e instanceof Pr)return e;if(Array.isArray(e)){let i=e[0],n=e.length&gt;1?e[1]:null,a=e.length&gt;2?e[2]:null;return this.control(i,n,a)}else return this.control(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var BS=(()=&gt;{let t=class t extends qb{group(e,i=null){return super.group(e,i)}control(e,i,n){return super.control(e,i,n)}array(e,i,n){return super.array(e,i,n)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var US=(()=&gt;{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:Lr,useValue:e.callSetDisabledState??ra}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[bu]});let r=t;return r})(),$S=(()=&gt;{let t=class t{static withConfig(e){return{ngModule:t,providers:[{provide:el,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Lr,useValue:e.callSetDisabledState??ra}]}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[bu]});let r=t;return r})();var Qb=["mat-button",""],Xb=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Jb=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var t_=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var e_=["mat-icon-button",""],i_=["*"];var r_=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],o_=Ar(On(Mn(class{constructor(r){this._elementRef=r}}))),_u=(()=&gt;{let t=class t extends o_{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=oe(e),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=oe(e),this._updateRippleDisabled()}constructor(e,i,n,a){super(e),this._platform=i,this._ngZone=n,this._animationMode=a,this._focusMonitor=h(Ue),this._rippleLoader=h(zc),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});let s=e.nativeElement.classList;for(let l of r_)this._hasHostAttributes(l.selector)&amp;&amp;l.mdcClasses.forEach(c=&gt;{s.add(c)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=&gt;this._elementRef.nativeElement.hasAttribute(i))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};t.\u0275fac=function(i){vn()},t.\u0275dir=V({type:t,features:[J]});let r=t;return r})(),n_=["disabled","disableRipple","color","tabIndex"];var eA=(()=&gt;{let t=class t extends _u{constructor(e,i,n,a){super(e,i,n,a)}};t.\u0275fac=function(i){return new(i||t)(p(X),p(ie),p(st),p(be,8))},t.\u0275cmp=Ct({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(i,n){i&amp;2&amp;&amp;(tt("disabled",n.disabled||null),ft("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[J],attrs:Qb,ngContentSelectors:Jb,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&amp;1&amp;&amp;(me(Xb),nt(0,"span",0),ht(1),L(2,"span",1),ht(3,1),N(),ht(4,2),nt(5,"span",2)(6,"span",3)),i&amp;2&amp;&amp;ft("mdc-button__ripple",!n._isFab)("mdc-fab__ripple",n._isFab)},styles:[`.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(
      100% + 4px
    );width:calc(
      100% + 4px
    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button&gt;.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button&gt;.mat-icon,.mat-mdc-button&gt;.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button&gt;.mat-icon,.mat-mdc-raised-button&gt;.mat-icon,.mat-mdc-outlined-button&gt;.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button&gt;.mat-icon,[dir=rtl] .mat-mdc-raised-button&gt;.mat-icon,[dir=rtl] .mat-mdc-outlined-button&gt;.mat-icon,.mat-mdc-unelevated-button&gt;.mat-icon[dir=rtl],.mat-mdc-raised-button&gt;.mat-icon[dir=rtl],.mat-mdc-outlined-button&gt;.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button&gt;.mat-icon,[dir=rtl] .mat-mdc-raised-button&gt;.mat-icon,[dir=rtl] .mat-mdc-outlined-button&gt;.mat-icon,.mat-mdc-unelevated-button&gt;.mat-icon[dir=rtl],.mat-mdc-raised-button&gt;.mat-icon[dir=rtl],.mat-mdc-outlined-button&gt;.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}`,".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let r=t;return r})();var iA=[...n_,"extended"];var rA=(()=&gt;{let t=class t extends _u{constructor(e,i,n,a){super(e,i,n,a),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};t.\u0275fac=function(i){return new(i||t)(p(X),p(ie),p(st),p(be,8))},t.\u0275cmp=Ct({type:t,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(i,n){i&amp;2&amp;&amp;(tt("disabled",n.disabled||null),ft("_mat-animation-noopable",n._animationMode==="NoopAnimations")("mat-unthemed",!n.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[J],attrs:e_,ngContentSelectors:i_,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,n){i&amp;1&amp;&amp;(me(),nt(0,"span",0),ht(1),nt(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',t_],encapsulation:2,changeDetection:0});let r=t;return r})();var oA=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[Gt,Fn,Gt]});let r=t;return r})();var s_=Math.pow(2,31)-1,gi=class{constructor(t,o){this._overlayRef=o,this._afterDismissed=new H,this._afterOpened=new H,this._onAction=new H,this._dismissedByAction=!1,this.containerInstance=t,t._onExit.subscribe(()=&gt;this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=&gt;this.dismiss(),Math.min(t,s_))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Nr=new y("MatSnackBarData"),er=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}};var rl={snackBarState:Sr("state",[Ei("void, hidden",Oe({transform:"scale(0.8)",opacity:0})),Ei("visible",Oe({transform:"scale(1)",opacity:1})),Di("* =&gt; visible",Ii("150ms cubic-bezier(0, 0, 0.2, 1)")),Di("* =&gt; void, * =&gt; hidden",Ii("75ms cubic-bezier(0.4, 0.0, 1, 1)",Oe({opacity:0})))])},l_=0,ol=(()=&gt;{let t=class t extends ki{constructor(e,i,n,a,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=n,this._platform=a,this.snackBarConfig=s,this._document=h(vt),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new H,this._onExit=new H,this._onEnter=new H,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${l_++}`,this.attachDomPortal=l=&gt;{this._assertNotAttached();let c=this._portalOutlet.attachDomPortal(l);return this._afterPortalAttached(),c},s.politeness==="assertive"&amp;&amp;!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&amp;&amp;(this._live==="polite"&amp;&amp;(this._role="status"),this._live==="assertive"&amp;&amp;(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:n}=e;if((n==="void"&amp;&amp;i!=="void"||n==="hidden")&amp;&amp;this._completeExit(),n==="visible"){let a=this._onEnter;this._ngZone.run(()=&gt;{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=&gt;{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(Tt(1)).subscribe(()=&gt;{this._ngZone.run(()=&gt;{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&amp;&amp;(Array.isArray(i)?i.forEach(n=&gt;e.classList.add(n)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body &gt; .cdk-overlay-container [aria-modal="true"]');for(let n=0;n&lt;i.length;n++){let a=i[n],s=a.getAttribute("aria-owns");this._trackedModals.add(a),s?s.indexOf(e)===-1&amp;&amp;a.setAttribute("aria-owns",s+" "+e):a.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=&gt;{let i=e.getAttribute("aria-owns");if(i){let n=i.replace(this._liveElementId,"").trim();n.length&gt;0?e.setAttribute("aria-owns",n):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=&gt;{this._announceTimeoutId=setTimeout(()=&gt;{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&amp;&amp;i){let n=null;this._platform.isBrowser&amp;&amp;document.activeElement instanceof HTMLElement&amp;&amp;e.contains(document.activeElement)&amp;&amp;(n=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};t.\u0275fac=function(i){return new(i||t)(p(st),p(X),p(ye),p(ie),p(er))},t.\u0275dir=V({type:t,viewQuery:function(i,n){if(i&amp;1&amp;&amp;re(ii,7),i&amp;2){let a;lt(a=ct())&amp;&amp;(n._portalOutlet=a.first)}},features:[J]});let r=t;return r})();function vu(){return new er}var oa=new y("mat-snack-bar-default-options",{providedIn:"root",factory:vu}),nl=(()=&gt;{let t=class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,n,a,s,l){this._overlay=e,this._live=i,this._injector=n,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",n){let a=m(m({},this._defaultConfig),n);return a.data={message:e,action:i},a.announcementMessage===e&amp;&amp;(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&amp;&amp;this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&amp;&amp;this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let n=i&amp;&amp;i.viewContainerRef&amp;&amp;i.viewContainerRef.injector,a=Qt.create({parent:n||this._injector,providers:[{provide:er,useValue:i}]}),s=new $e(this.snackBarContainerComponent,i.viewContainerRef,a),l=e.attach(s);return l.instance.snackBarConfig=i,l.instance}_attach(e,i){let n=m(m(m({},new er),this._defaultConfig),i),a=this._createOverlay(n),s=this._attachSnackBarContainer(a,n),l=new gi(s,a);if(e instanceof Te){let c=new pi(e,null,{$implicit:n.data,snackBarRef:l});l.instance=s.attachTemplatePortal(c)}else{let c=this._createInjector(n,l),d=new $e(e,void 0,c),u=s.attachComponentPortal(d);l.instance=u.instance}return this._breakpointObserver.observe(Uc.HandsetPortrait).pipe(de(a.detachments())).subscribe(c=&gt;{a.overlayElement.classList.toggle(this.handsetCssClass,c.matches)}),n.announcementMessage&amp;&amp;s._onAnnounce.subscribe(()=&gt;{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(l,n),this._openedSnackBarRef=l,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=&gt;{this._openedSnackBarRef==e&amp;&amp;(this._openedSnackBarRef=null),i.announcementMessage&amp;&amp;this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=&gt;{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&amp;&amp;i.duration&gt;0&amp;&amp;e.afterOpened().subscribe(()=&gt;e._dismissAfter(i.duration))}_createOverlay(e){let i=new Si;i.direction=e.direction;let n=this._overlay.position().global(),a=e.direction==="rtl",s=e.horizontalPosition==="left"||e.horizontalPosition==="start"&amp;&amp;!a||e.horizontalPosition==="end"&amp;&amp;a,l=!s&amp;&amp;e.horizontalPosition!=="center";return s?n.left("0"):l?n.right("0"):n.centerHorizontally(),e.verticalPosition==="top"?n.top("0"):n.bottom("0"),i.positionStrategy=n,this._overlay.create(i)}_createInjector(e,i){let n=e&amp;&amp;e.viewContainerRef&amp;&amp;e.viewContainerRef.injector;return Qt.create({parent:n||this._injector,providers:[{provide:gi,useValue:i},{provide:Nr,useValue:e.data}]})}};t.\u0275fac=function(i){return new(i||t)(w(fe),w(Rn),w(Qt),w(Er),w(t,12),w(oa))},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();function d_(r,t){if(r&amp;1){let o=ei();L(0,"div",2)(1,"button",3),Rt("click",function(){Xe(o);let i=K();return Je(i.action())}),ee(2),N()()}if(r&amp;2){let o=K();E(2),pe(o.data.action)}}function u_(r,t){}var m_=(()=&gt;{let t=class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};t.\u0275fac=function(i){return new(i||t)(p(gi),p(Nr))},t.\u0275cmp=Ct({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(i,n){i&amp;1&amp;&amp;(L(0,"span",0),ee(1),N(),z(2,d_,3,1,"div",1)),i&amp;2&amp;&amp;(E(),pe(n.data.message),E(),I("ngIf",n.hasAction))},dependencies:[Ci,Ro],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0});let r=t;return r})(),p_=(()=&gt;{let t=class t extends ol{_afterPortalAttached(){super._afterPortalAttached(),this.snackBarConfig.horizontalPosition==="center"&amp;&amp;this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),this.snackBarConfig.verticalPosition==="top"&amp;&amp;this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275cmp=Ct({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(i,n){i&amp;1&amp;&amp;_o("@state.done",function(s){return n.onAnimationEnd(s)}),i&amp;2&amp;&amp;bo("@state",n._animationState)},features:[J],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,n){i&amp;1&amp;&amp;(L(0,"div",0),z(1,u_,0,0,"ng-template",1),N(),nt(2,"div")),i&amp;2&amp;&amp;(E(2),tt("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[ii],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[rl.snackBarState]}});let r=t;return r})(),al=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[Qi,Me,De,Hn,Gt,Gt]});let r=t;return r})(),jr=(()=&gt;{let t=class t extends nl{constructor(e,i,n,a,s,l){super(e,i,n,a,s,l),this.simpleSnackBarComponent=m_,this.snackBarContainerComponent=p_,this.handsetCssClass="mat-snack-bar-handset"}};t.\u0275fac=function(i){return new(i||t)(w(fe),w(Rn),w(Qt),w(Er),w(t,12),w(oa))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:al});let r=t;return r})();var xu=Nc({passive:!0}),yu=(()=&gt;{let t=class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Ae;let i=vo(e),n=this._monitoredElements.get(i);if(n)return n.subject;let a=new H,s="cdk-text-field-autofilled",l=c=&gt;{c.animationName==="cdk-text-field-autofill-start"&amp;&amp;!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=&gt;a.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&amp;&amp;i.classList.contains(s)&amp;&amp;(i.classList.remove(s),this._ngZone.run(()=&gt;a.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=&gt;{i.addEventListener("animationstart",l,xu),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=&gt;{i.removeEventListener("animationstart",l,xu)}}),a}stopMonitoring(e){let i=vo(e),n=this._monitoredElements.get(i);n&amp;&amp;(n.unlisten(),n.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=&gt;this.stopMonitoring(i))}};t.\u0275fac=function(i){return new(i||t)(w(ie),w(st))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var $o=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({});let r=t;return r})();var h_=new y("MAT_INPUT_VALUE_ACCESSOR"),g_=["button","checkbox","file","hidden","image","radio","range","reset","submit"],b_=0,__=Vc(class{constructor(r,t,o,e){this._defaultErrorStateMatcher=r,this._parentForm=t,this._parentFormGroup=o,this.ngControl=e,this.stateChanges=new H}}),wu=(()=&gt;{let t=class t extends __{get disabled(){return this._disabled}set disabled(e){this._disabled=oe(e),this.focused&amp;&amp;(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Kn.required)??!1}set required(e){this._required=oe(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&amp;&amp;gs().has(this._type)&amp;&amp;(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&amp;&amp;(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=oe(e)}constructor(e,i,n,a,s,l,c,d,u,x){super(l,a,s,n),this._elementRef=e,this._platform=i,this._autofillMonitor=d,this._formField=x,this._uid=`mat-input-${b_++}`,this.focused=!1,this.stateChanges=new H,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(U=&gt;gs().has(U)),this._iOSKeyupListener=U=&gt;{let W=U.target;!W.value&amp;&amp;W.selectionStart===0&amp;&amp;W.selectionEnd===0&amp;&amp;(W.setSelectionRange(1,1),W.setSelectionRange(0,0))};let k=this._elementRef.nativeElement,D=k.nodeName.toLowerCase();this._inputValueAccessor=c||k,this._previousNativeValue=this.value,this.id=this.id,i.IOS&amp;&amp;u.runOutsideAngular(()=&gt;{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=D==="select",this._isTextarea=D==="textarea",this._isInFormField=!!x,this._isNativeSelect&amp;&amp;(this.controlType=k.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&amp;&amp;this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=&gt;{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&amp;&amp;this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&amp;&amp;this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&amp;&amp;(this.updateErrorState(),this.ngControl.disabled!==null&amp;&amp;this.ngControl.disabled!==this.disabled&amp;&amp;(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&amp;&amp;(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&amp;&amp;(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=e,e?i.setAttribute("placeholder",e):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){g_.indexOf(this._type)&gt;-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)&gt;-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&amp;&amp;e.badInput}get empty(){return!this._isNeverEmpty()&amp;&amp;!this._elementRef.nativeElement.value&amp;&amp;!this._isBadInput()&amp;&amp;!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex&gt;-1&amp;&amp;i&amp;&amp;i.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&amp;&amp;(e.multiple||e.size&gt;1)}};t.\u0275fac=function(i){return new(i||t)(p(X),p(ie),p(ze,10),p(tl,8),p(il,8),p(Pn),p(h_,10),p(yu),p(st),p(Ai,8))},t.\u0275dir=V({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,n){i&amp;1&amp;&amp;Rt("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),i&amp;2&amp;&amp;(wi("id",n.id)("disabled",n.disabled)("required",n.required),tt("name",n.name||null)("readonly",n.readonly&amp;&amp;!n._isNativeSelect||null)("aria-invalid",n.empty&amp;&amp;n.required?null:n.errorState)("aria-required",n.required)("id",n.id),ft("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&amp;&amp;n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[G.None,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Vt([{provide:fi,useExisting:t}]),J,ne]});let r=t;return r})(),QA=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({imports:[Gt,Vs,Vs,$o,Gt]});let r=t;return r})();var sT=(()=&gt;{let t=class t extends wu{constructor(){super(...arguments),this._legacyFormField=h(Ai,{optional:!0})}_getPlaceholder(){let e=this._legacyFormField;return e&amp;&amp;e.appearance==="legacy"&amp;&amp;!e._hasLabel?.()?null:this.placeholder}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275dir=V({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:15,hostBindings:function(i,n){i&amp;2&amp;&amp;(tt("data-placeholder",n.placeholder),ft("mat-input-server",n._isServer)("mat-mdc-input-element",!1)("mat-mdc-form-field-textarea-control",!1)("mat-mdc-form-field-input-control",!1)("mdc-text-field__input",!1)("mat-mdc-native-select-inline",!1)("mat-native-select-inline",n._isInlineSelect()))},exportAs:["matInput"],features:[Vt([{provide:fi,useExisting:t}]),J]});let r=t;return r})(),lT=(()=&gt;{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=it({type:t}),t.\u0275inj=rt({providers:[Pn],imports:[$o,zs,Gt,$o,zs]});let r=t;return r})();var v_=new Wi(()=&gt;!1),x_=new Wi(()=&gt;!1),sl=(r=!0)=&gt;new Cr().set(x_,r),ll=new Wi(()=&gt;!1),Vo=(r=!0)=&gt;new Cr().set(ll,r),y_=new Wi(()=&gt;null),Cu=(r,t)=&gt;new Cr().set(y_,{action:r,mapper:t}),Iu=(...r)=&gt;r.reduce((t,o)=&gt;{for(let e of o.keys())t=t.set(e,o.get(e));return t},new Cr);var Eu=new y("An Injection token for application name");var na=new y("ENVIRONMENT");var Ut=(()=&gt;{var t,o,e;let i=class i{constructor(){A(this,t,void 0);A(this,o,void 0);A(this,e,void 0);at(this,t,h(Eu,{optional:!0})),at(this,o,h(na)),at(this,e,h(ue)),this._config={},this._defaultConfigUrl="/assets/config/config.json",this._initialized$=new qe(!1),console.log(`Application ${f(this,t)}: ${f(this,o).version}`)}get initialized$(){return this._initialized$.asObservable()}load(a,s){if(!this._configuration$){let l=a||`${s??""}${this._defaultConfigUrl}`;this._configuration$=f(this,e).get(l,{headers:new Sn({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})}).pipe(Qe(1))}return this._configuration$.pipe(Ht(l=&gt;{this._config=l,this._initialized$.next(!0)}))}has(a){return a in this._config}hasFeatureFlag(a){return!!this.get(`NG_FEATURE_${a}`)||!1}get(a){if(this.has(a)){let s=this._config[a];return Array.isArray(s)?s[0]:s}return null}getAll(a){if(this.has(a)){let s=this._config[a];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this._config)}};t=new WeakMap,o=new WeakMap,e=new WeakMap,i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();var Lt=class{constructor(){this._http=h(ue),this._env=h(Ut);let t=this._env.get("apiBaseUrl"),o=this._env.get("api2Path");this._apiRoot=`${t}${o}`}};var PT=(()=&gt;{let t=class t extends Lt{addDigitisationRequest(e){return this._http.post(`${this._apiRoot}/digitisations/requests`,e)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Du=(()=&gt;{let t=class t extends Lt{getFile(e){return this._http.get(`${e}`,{observe:"response",responseType:"blob"})}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var ku=(()=&gt;{let t=class t extends Lt{getUserRoles(){return this._http.get(`${this._apiRoot}/roles?expand=privileges,flags&amp;relations=privileges,flags`)}getListUsers(e){return this._http.get(`${this._apiRoot}/lists/${e}/users?add_fields=inherited&amp;expand=list_roles,lists&amp;relations=list_roles.lists
      `)}handleRoleAssignment(e){return e.isDeleteAction?this._http.delete(`${this._apiRoot}/lists/${e.listId}/users/${e.userId}/roles/${e.roleId}/assign`):this._http.put(`${this._apiRoot}/lists/${e.listId}/users/${e.userId}/roles/${e.roleId}/assign`,null)}searchUsers(e){return this._http.get(`${this._apiRoot}/users?excluded_types=${e.excludedType}&amp;search=${e.search}
      `)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function UT(){return r=&gt;r.value?new RegExp("^\\d{4}$","g").test(r.value)?null:{invalidYearFormat:{value:r.value}}:null}function $T(){return r=&gt;{if(r.value)if(r.value.length===10){let t=r.value.split("");t[9].toUpperCase()==="X"&amp;&amp;(t[9]="10");let o=0;for(let e=0;e&lt;t.length;e++)o+=(10-e)*parseInt(t[e],10);return o%11===0?null:{invalidIsbnFormat:{value:r.value}}}else if(r.value.length===13){let t=r.value.split(""),o=0;for(let e=0;e&lt;t.length;e++)e%2===0?o+=parseInt(t[e],10):o+=parseInt(t[e],10)*3;return o%10===0?null:{invalidIsbnFormat:{value:r.value}}}else return{invalidIsbnFormat:{value:r.value}};return null}}function VT(){return r=&gt;{if(r.value){if(r.value.length!==8)return{invalidIssnFormat:{value:r.value}};let t=r.value.split("");t[7].toUpperCase()==="X"&amp;&amp;(t[7]="10");let o=0;for(let e=0;e&lt;t.length;e++)o+=(8-e)*parseInt(t[e],10);return o%11===0?null:{invalidIssnFormat:{value:r.value}}}return null}}var w_=["format-list-bulleted-square","file-tree","counter","close-circle-outline","file-send-outline","calendar-account","calendar-sync","loading","tooltip","bookshelf","link-variant","dots-horizontal","heart-outline","comment-outline","file-import","file-export","keylinks-account-edit","alternatives","bookmark-box-multiple","text-box-edit","comments","book-plus-outline","book-plus-filled","book-clock-outline","book-clock-filled","book-check-outline","book-cancel-outline","image","doc","video","archive","book-information-variant","format-quote-open","link-box-variant","book-open","file-move","file-replace","calendar-month","file-settings","list","file-image","chat-question","newspaper","user-cancel","notification-change","notification_list-publish","four-points-circle"],HT=w_.reduce((r,t)=&gt;C(m({},r),{[t]:{path:`/assets/icons/${t}.svg`}}),{});var ir=function(r){return r[r.NUMERIC=1]="NUMERIC",r[r.ROMAN=2]="ROMAN",r[r.CHAPTER=3]="CHAPTER",r}(ir||{}),C_=new RegExp("^[0-9]*$"),I_=new RegExp("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$"),E_=new RegExp("^[0-9]{1,5}[A-Za-z]{1,2}$");function Su(r,t){let o=0,e=t.trim(),i=function(n){return!isNaN(parseFloat(n))&amp;&amp;isFinite(n)};if(e==="")return null;if(r===ir.NUMERIC)return parseInt(e,10);if(r===ir.ROMAN){let n=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],a=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"];for(let s=0;s&lt;=n.length;s++)for(;e.indexOf(a[s])===0;)o+=n[s],e=e.replace(a[s],"");return o}else if(r===ir.CHAPTER){let n="";for(let a=0;a&lt;e.length;a++)i(e.charAt(a))?n+=e.charAt(a):n+=(e.charCodeAt(a)-64)*Math.pow(26,e.length-a-1);return parseInt(n,10)}return null}function KT(){return r=&gt;{if(r.value&amp;&amp;typeof r.value=="string"){let t=r.value.split(",");for(let o=0;o&lt;t.length;o++){let e=t[o].split("-"),i=e[0].trim(),n=0;C_.test(i)?n=ir.NUMERIC:I_.test(i)?n=ir.ROMAN:E_.test(i)&amp;&amp;(n=ir.CHAPTER);let a=Su(n,i),s=e.length===1?null:Su(n,e[1]);if(a===null)return s===null?{pageNotValid:!0}:{invalidPageRange:!0};if(e.length===2&amp;&amp;(isNaN(s??0)||s!==null&amp;&amp;a&gt;=s))return{romanInvalid:!0,start:a,end:s}}return null}return null}}function ZT(...r){return r.map(t=&gt;`!${t}`)}var tR=new y("stream of property from route params");function eR(r){return t=&gt;t.paramMap.pipe(O(o=&gt;o.get(r)),xe())}var iR=new y("stream of property from query params");function rR(r){return t=&gt;t.queryParamMap.pipe(O(o=&gt;o.get(r)),xe())}function he(r){"@babel/helpers - typeof";return he=typeof Symbol=="function"&amp;&amp;typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&amp;&amp;typeof Symbol=="function"&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?"symbol":typeof t},he(r)}function gt(r){if(r===null||r===!0||r===!1)return NaN;var t=Number(r);return isNaN(t)?t:t&lt;0?Math.ceil(t):Math.floor(t)}function B(r,t){if(t.length&lt;r)throw new TypeError(r+" argument"+(r&gt;1?"s":"")+" required, but only "+t.length+" present")}function Y(r){B(1,arguments);var t=Object.prototype.toString.call(r);return r instanceof Date||he(r)==="object"&amp;&amp;t==="[object Date]"?new Date(r.getTime()):typeof r=="number"||t==="[object Number]"?new Date(r):((typeof r=="string"||t==="[object String]")&amp;&amp;typeof console&lt;"u"&amp;&amp;(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Au(r,t){B(2,arguments);var o=Y(r),e=gt(t);return isNaN(e)?new Date(NaN):(e&amp;&amp;o.setDate(o.getDate()+e),o)}function aa(r,t){B(2,arguments);var o=Y(r),e=gt(t);if(isNaN(e))return new Date(NaN);if(!e)return o;var i=o.getDate(),n=new Date(o.getTime());n.setMonth(o.getMonth()+e+1,0);var a=n.getDate();return i&gt;=a?n:(o.setFullYear(n.getFullYear(),n.getMonth(),i),o)}function cl(r,t){B(2,arguments);var o=Y(r).getTime(),e=gt(t);return new Date(o+e)}var D_={};function Pe(){return D_}function Ho(r){var t=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return t.setUTCFullYear(r.getFullYear()),r.getTime()-t.getTime()}function Tu(r,t){B(2,arguments);var o=gt(t);return aa(r,o*12)}var k_=365.2425,S_=Math.pow(10,8)*24*60*60*1e3,Go=6e4,Wo=36e5,Ru=1e3,RR=-S_;var A_=3600;var Ou=A_*24,OR=Ou*7,T_=Ou*k_,R_=T_/12,MR=R_*3;function sa(r){return B(1,arguments),r instanceof Date||he(r)==="object"&amp;&amp;Object.prototype.toString.call(r)==="[object Date]"}function la(r){if(B(1,arguments),!sa(r)&amp;&amp;typeof r!="number")return!1;var t=Y(r);return!isNaN(Number(t))}function Yo(r,t){B(2,arguments);var o=gt(t);return cl(r,-o)}var O_=864e5;function dl(r){B(1,arguments);var t=Y(r),o=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var e=t.getTime(),i=o-e;return Math.floor(i/O_)+1}function Fe(r){B(1,arguments);var t=1,o=Y(r),e=o.getUTCDay(),i=(e&lt;t?7:0)+e-t;return o.setUTCDate(o.getUTCDate()-i),o.setUTCHours(0,0,0,0),o}function Ko(r){B(1,arguments);var t=Y(r),o=t.getUTCFullYear(),e=new Date(0);e.setUTCFullYear(o+1,0,4),e.setUTCHours(0,0,0,0);var i=Fe(e),n=new Date(0);n.setUTCFullYear(o,0,4),n.setUTCHours(0,0,0,0);var a=Fe(n);return t.getTime()&gt;=i.getTime()?o+1:t.getTime()&gt;=a.getTime()?o:o-1}function ul(r){B(1,arguments);var t=Ko(r),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var e=Fe(o);return e}var M_=6048e5;function qo(r){B(1,arguments);var t=Y(r),o=Fe(t).getTime()-ul(t).getTime();return Math.round(o/M_)+1}function ke(r,t){var o,e,i,n,a,s,l,c;B(1,arguments);var d=Pe(),u=gt((o=(e=(i=(n=t?.weekStartsOn)!==null&amp;&amp;n!==void 0?n:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&amp;&amp;i!==void 0?i:d.weekStartsOn)!==null&amp;&amp;e!==void 0?e:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&amp;&amp;o!==void 0?o:0);if(!(u&gt;=0&amp;&amp;u&lt;=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var x=Y(r),k=x.getUTCDay(),D=(k&lt;u?7:0)+k-u;return x.setUTCDate(x.getUTCDate()-D),x.setUTCHours(0,0,0,0),x}function rr(r,t){var o,e,i,n,a,s,l,c;B(1,arguments);var d=Y(r),u=d.getUTCFullYear(),x=Pe(),k=gt((o=(e=(i=(n=t?.firstWeekContainsDate)!==null&amp;&amp;n!==void 0?n:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&amp;&amp;i!==void 0?i:x.firstWeekContainsDate)!==null&amp;&amp;e!==void 0?e:(l=x.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&amp;&amp;o!==void 0?o:1);if(!(k&gt;=1&amp;&amp;k&lt;=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var D=new Date(0);D.setUTCFullYear(u+1,0,k),D.setUTCHours(0,0,0,0);var U=ke(D,t),W=new Date(0);W.setUTCFullYear(u,0,k),W.setUTCHours(0,0,0,0);var dt=ke(W,t);return d.getTime()&gt;=U.getTime()?u+1:d.getTime()&gt;=dt.getTime()?u:u-1}function ml(r,t){var o,e,i,n,a,s,l,c;B(1,arguments);var d=Pe(),u=gt((o=(e=(i=(n=t?.firstWeekContainsDate)!==null&amp;&amp;n!==void 0?n:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&amp;&amp;i!==void 0?i:d.firstWeekContainsDate)!==null&amp;&amp;e!==void 0?e:(l=d.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&amp;&amp;o!==void 0?o:1),x=rr(r,t),k=new Date(0);k.setUTCFullYear(x,0,u),k.setUTCHours(0,0,0,0);var D=ke(k,t);return D}var P_=6048e5;function Zo(r,t){B(1,arguments);var o=Y(r),e=ke(o,t).getTime()-ml(o,t).getTime();return Math.round(e/P_)+1}function et(r,t){for(var o=r&lt;0?"-":"",e=Math.abs(r).toString();e.length&lt;t;)e="0"+e;return o+e}var F_={y:function(t,o){var e=t.getUTCFullYear(),i=e&gt;0?e:1-e;return et(o==="yy"?i%100:i,o.length)},M:function(t,o){var e=t.getUTCMonth();return o==="M"?String(e+1):et(e+1,2)},d:function(t,o){return et(t.getUTCDate(),o.length)},a:function(t,o){var e=t.getUTCHours()/12&gt;=1?"pm":"am";switch(o){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h:function(t,o){return et(t.getUTCHours()%12||12,o.length)},H:function(t,o){return et(t.getUTCHours(),o.length)},m:function(t,o){return et(t.getUTCMinutes(),o.length)},s:function(t,o){return et(t.getUTCSeconds(),o.length)},S:function(t,o){var e=o.length,i=t.getUTCMilliseconds(),n=Math.floor(i*Math.pow(10,e-3));return et(n,o.length)}},bi=F_;var Br={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},L_={G:function(t,o,e){var i=t.getUTCFullYear()&gt;0?1:0;switch(o){case"G":case"GG":case"GGG":return e.era(i,{width:"abbreviated"});case"GGGGG":return e.era(i,{width:"narrow"});case"GGGG":default:return e.era(i,{width:"wide"})}},y:function(t,o,e){if(o==="yo"){var i=t.getUTCFullYear(),n=i&gt;0?i:1-i;return e.ordinalNumber(n,{unit:"year"})}return bi.y(t,o)},Y:function(t,o,e,i){var n=rr(t,i),a=n&gt;0?n:1-n;if(o==="YY"){var s=a%100;return et(s,2)}return o==="Yo"?e.ordinalNumber(a,{unit:"year"}):et(a,o.length)},R:function(t,o){var e=Ko(t);return et(e,o.length)},u:function(t,o){var e=t.getUTCFullYear();return et(e,o.length)},Q:function(t,o,e){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"Q":return String(i);case"QQ":return et(i,2);case"Qo":return e.ordinalNumber(i,{unit:"quarter"});case"QQQ":return e.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,o,e){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"q":return String(i);case"qq":return et(i,2);case"qo":return e.ordinalNumber(i,{unit:"quarter"});case"qqq":return e.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,o,e){var i=t.getUTCMonth();switch(o){case"M":case"MM":return bi.M(t,o);case"Mo":return e.ordinalNumber(i+1,{unit:"month"});case"MMM":return e.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(i,{width:"wide",context:"formatting"})}},L:function(t,o,e){var i=t.getUTCMonth();switch(o){case"L":return String(i+1);case"LL":return et(i+1,2);case"Lo":return e.ordinalNumber(i+1,{unit:"month"});case"LLL":return e.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(i,{width:"wide",context:"standalone"})}},w:function(t,o,e,i){var n=Zo(t,i);return o==="wo"?e.ordinalNumber(n,{unit:"week"}):et(n,o.length)},I:function(t,o,e){var i=qo(t);return o==="Io"?e.ordinalNumber(i,{unit:"week"}):et(i,o.length)},d:function(t,o,e){return o==="do"?e.ordinalNumber(t.getUTCDate(),{unit:"date"}):bi.d(t,o)},D:function(t,o,e){var i=dl(t);return o==="Do"?e.ordinalNumber(i,{unit:"dayOfYear"}):et(i,o.length)},E:function(t,o,e){var i=t.getUTCDay();switch(o){case"E":case"EE":case"EEE":return e.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(i,{width:"short",context:"formatting"});case"EEEE":default:return e.day(i,{width:"wide",context:"formatting"})}},e:function(t,o,e,i){var n=t.getUTCDay(),a=(n-i.weekStartsOn+8)%7||7;switch(o){case"e":return String(a);case"ee":return et(a,2);case"eo":return e.ordinalNumber(a,{unit:"day"});case"eee":return e.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(n,{width:"short",context:"formatting"});case"eeee":default:return e.day(n,{width:"wide",context:"formatting"})}},c:function(t,o,e,i){var n=t.getUTCDay(),a=(n-i.weekStartsOn+8)%7||7;switch(o){case"c":return String(a);case"cc":return et(a,o.length);case"co":return e.ordinalNumber(a,{unit:"day"});case"ccc":return e.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(n,{width:"narrow",context:"standalone"});case"cccccc":return e.day(n,{width:"short",context:"standalone"});case"cccc":default:return e.day(n,{width:"wide",context:"standalone"})}},i:function(t,o,e){var i=t.getUTCDay(),n=i===0?7:i;switch(o){case"i":return String(n);case"ii":return et(n,o.length);case"io":return e.ordinalNumber(n,{unit:"day"});case"iii":return e.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(i,{width:"short",context:"formatting"});case"iiii":default:return e.day(i,{width:"wide",context:"formatting"})}},a:function(t,o,e){var i=t.getUTCHours(),n=i/12&gt;=1?"pm":"am";switch(o){case"a":case"aa":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,o,e){var i=t.getUTCHours(),n;switch(i===12?n=Br.noon:i===0?n=Br.midnight:n=i/12&gt;=1?"pm":"am",o){case"b":case"bb":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,o,e){var i=t.getUTCHours(),n;switch(i&gt;=17?n=Br.evening:i&gt;=12?n=Br.afternoon:i&gt;=4?n=Br.morning:n=Br.night,o){case"B":case"BB":case"BBB":return e.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,o,e){if(o==="ho"){var i=t.getUTCHours()%12;return i===0&amp;&amp;(i=12),e.ordinalNumber(i,{unit:"hour"})}return bi.h(t,o)},H:function(t,o,e){return o==="Ho"?e.ordinalNumber(t.getUTCHours(),{unit:"hour"}):bi.H(t,o)},K:function(t,o,e){var i=t.getUTCHours()%12;return o==="Ko"?e.ordinalNumber(i,{unit:"hour"}):et(i,o.length)},k:function(t,o,e){var i=t.getUTCHours();return i===0&amp;&amp;(i=24),o==="ko"?e.ordinalNumber(i,{unit:"hour"}):et(i,o.length)},m:function(t,o,e){return o==="mo"?e.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):bi.m(t,o)},s:function(t,o,e){return o==="so"?e.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):bi.s(t,o)},S:function(t,o){return bi.S(t,o)},X:function(t,o,e,i){var n=i._originalDate||t,a=n.getTimezoneOffset();if(a===0)return"Z";switch(o){case"X":return Pu(a);case"XXXX":case"XX":return or(a);case"XXXXX":case"XXX":default:return or(a,":")}},x:function(t,o,e,i){var n=i._originalDate||t,a=n.getTimezoneOffset();switch(o){case"x":return Pu(a);case"xxxx":case"xx":return or(a);case"xxxxx":case"xxx":default:return or(a,":")}},O:function(t,o,e,i){var n=i._originalDate||t,a=n.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+Mu(a,":");case"OOOO":default:return"GMT"+or(a,":")}},z:function(t,o,e,i){var n=i._originalDate||t,a=n.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+Mu(a,":");case"zzzz":default:return"GMT"+or(a,":")}},t:function(t,o,e,i){var n=i._originalDate||t,a=Math.floor(n.getTime()/1e3);return et(a,o.length)},T:function(t,o,e,i){var n=i._originalDate||t,a=n.getTime();return et(a,o.length)}};function Mu(r,t){var o=r&gt;0?"-":"+",e=Math.abs(r),i=Math.floor(e/60),n=e%60;if(n===0)return o+String(i);var a=t||"";return o+String(i)+a+et(n,2)}function Pu(r,t){if(r%60===0){var o=r&gt;0?"-":"+";return o+et(Math.abs(r)/60,2)}return or(r,t)}function or(r,t){var o=t||"",e=r&gt;0?"-":"+",i=Math.abs(r),n=et(Math.floor(i/60),2),a=et(i%60,2);return e+n+o+a}var Fu=L_;var Lu=function(t,o){switch(t){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},Nu=function(t,o){switch(t){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},N_=function(t,o){var e=t.match(/(P+)(p+)?/)||[],i=e[1],n=e[2];if(!n)return Lu(t,o);var a;switch(i){case"P":a=o.dateTime({width:"short"});break;case"PP":a=o.dateTime({width:"medium"});break;case"PPP":a=o.dateTime({width:"long"});break;case"PPPP":default:a=o.dateTime({width:"full"});break}return a.replace("{{date}}",Lu(i,o)).replace("{{time}}",Nu(n,o))},j_={p:Nu,P:N_},Qo=j_;var B_=["D","DD"],U_=["YY","YYYY"];function ca(r){return B_.indexOf(r)!==-1}function da(r){return U_.indexOf(r)!==-1}function Ur(r,t,o){if(r==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(r==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var $_={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},V_=function(t,o,e){var i,n=$_[t];return typeof n=="string"?i=n:o===1?i=n.one:i=n.other.replace("{{count}}",o.toString()),e!=null&amp;&amp;e.addSuffix?e.comparison&amp;&amp;e.comparison&gt;0?"in "+i:i+" ago":i},ju=V_;function Xo(r){return function(){var t=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):r.defaultWidth,e=r.formats[o]||r.formats[r.defaultWidth];return e}}var z_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},H_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},W_={date:Xo({formats:z_,defaultWidth:"full"}),time:Xo({formats:H_,defaultWidth:"full"}),dateTime:Xo({formats:G_,defaultWidth:"full"})},Bu=W_;var Y_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},K_=function(t,o,e,i){return Y_[t]},Uu=K_;function nr(r){return function(t,o){var e=o!=null&amp;&amp;o.context?String(o.context):"standalone",i;if(e==="formatting"&amp;&amp;r.formattingValues){var n=r.defaultFormattingWidth||r.defaultWidth,a=o!=null&amp;&amp;o.width?String(o.width):n;i=r.formattingValues[a]||r.formattingValues[n]}else{var s=r.defaultWidth,l=o!=null&amp;&amp;o.width?String(o.width):r.defaultWidth;i=r.values[l]||r.values[s]}var c=r.argumentCallback?r.argumentCallback(t):t;return i[c]}}var q_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Z_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Q_={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},X_={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},J_={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},t0={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},e0=function(t,o){var e=Number(t),i=e%100;if(i&gt;20||i&lt;10)switch(i%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},i0={ordinalNumber:e0,era:nr({values:q_,defaultWidth:"wide"}),quarter:nr({values:Z_,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:nr({values:Q_,defaultWidth:"wide"}),day:nr({values:X_,defaultWidth:"wide"}),dayPeriod:nr({values:J_,defaultWidth:"wide",formattingValues:t0,defaultFormattingWidth:"wide"})},$u=i0;function ar(r){return function(t){var o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{},e=o.width,i=e&amp;&amp;r.matchPatterns[e]||r.matchPatterns[r.defaultMatchWidth],n=t.match(i);if(!n)return null;var a=n[0],s=e&amp;&amp;r.parsePatterns[e]||r.parsePatterns[r.defaultParseWidth],l=Array.isArray(s)?o0(s,function(u){return u.test(a)}):r0(s,function(u){return u.test(a)}),c;c=r.valueCallback?r.valueCallback(l):l,c=o.valueCallback?o.valueCallback(c):c;var d=t.slice(a.length);return{value:c,rest:d}}}function r0(r,t){for(var o in r)if(r.hasOwnProperty(o)&amp;&amp;t(r[o]))return o}function o0(r,t){for(var o=0;o&lt;r.length;o++)if(t(r[o]))return o}function pl(r){return function(t){var o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{},e=t.match(r.matchPattern);if(!e)return null;var i=e[0],n=t.match(r.parsePattern);if(!n)return null;var a=r.valueCallback?r.valueCallback(n[0]):n[0];a=o.valueCallback?o.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var n0=/^(\d+)(th|st|nd|rd)?/i,a0=/\d+/i,s0={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},l0={any:[/^b/i,/^(a|c)/i]},c0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},d0={any:[/1/i,/2/i,/3/i,/4/i]},u0={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},m0={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},p0={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},f0={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},h0={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},g0={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},b0={ordinalNumber:pl({matchPattern:n0,parsePattern:a0,valueCallback:function(t){return parseInt(t,10)}}),era:ar({matchPatterns:s0,defaultMatchWidth:"wide",parsePatterns:l0,defaultParseWidth:"any"}),quarter:ar({matchPatterns:c0,defaultMatchWidth:"wide",parsePatterns:d0,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ar({matchPatterns:u0,defaultMatchWidth:"wide",parsePatterns:m0,defaultParseWidth:"any"}),day:ar({matchPatterns:p0,defaultMatchWidth:"wide",parsePatterns:f0,defaultParseWidth:"any"}),dayPeriod:ar({matchPatterns:h0,defaultMatchWidth:"any",parsePatterns:g0,defaultParseWidth:"any"})},Vu=b0;var _0={code:"en-US",formatDistance:ju,formatLong:Bu,formatRelative:Uu,localize:$u,match:Vu,options:{weekStartsOn:0,firstWeekContainsDate:1}},zu=_0;var ua=zu;var v0=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x0=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,y0=/^'([^]*?)'?$/,w0=/''/g,C0=/[a-zA-Z]/;function ma(r,t,o){var e,i,n,a,s,l,c,d,u,x,k,D,U,W,dt,Kt,ge,se;B(2,arguments);var It=String(t),b=Pe(),S=(e=(i=o?.locale)!==null&amp;&amp;i!==void 0?i:b.locale)!==null&amp;&amp;e!==void 0?e:ua,Q=gt((n=(a=(s=(l=o?.firstWeekContainsDate)!==null&amp;&amp;l!==void 0?l:o==null||(c=o.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&amp;&amp;s!==void 0?s:b.firstWeekContainsDate)!==null&amp;&amp;a!==void 0?a:(u=b.locale)===null||u===void 0||(x=u.options)===null||x===void 0?void 0:x.firstWeekContainsDate)!==null&amp;&amp;n!==void 0?n:1);if(!(Q&gt;=1&amp;&amp;Q&lt;=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var wt=gt((k=(D=(U=(W=o?.weekStartsOn)!==null&amp;&amp;W!==void 0?W:o==null||(dt=o.locale)===null||dt===void 0||(Kt=dt.options)===null||Kt===void 0?void 0:Kt.weekStartsOn)!==null&amp;&amp;U!==void 0?U:b.weekStartsOn)!==null&amp;&amp;D!==void 0?D:(ge=b.locale)===null||ge===void 0||(se=ge.options)===null||se===void 0?void 0:se.weekStartsOn)!==null&amp;&amp;k!==void 0?k:0);if(!(wt&gt;=0&amp;&amp;wt&lt;=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!S.localize)throw new RangeError("locale must contain localize property");if(!S.formatLong)throw new RangeError("locale must contain formatLong property");var le=Y(r);if(!la(le))throw new RangeError("Invalid time value");var Ce=Ho(le),oi=Yo(le,Ce),ni={firstWeekContainsDate:Q,weekStartsOn:wt,locale:S,_originalDate:le},hr=It.match(x0).map(function(qt){var ce=qt[0];if(ce==="p"||ce==="P"){var ai=Qo[ce];return ai(qt,S.formatLong)}return qt}).join("").match(v0).map(function(qt){if(qt==="''")return"'";var ce=qt[0];if(ce==="'")return I0(qt);var ai=Fu[ce];if(ai)return!(o!=null&amp;&amp;o.useAdditionalWeekYearTokens)&amp;&amp;da(qt)&amp;&amp;Ur(qt,t,String(r)),!(o!=null&amp;&amp;o.useAdditionalDayOfYearTokens)&amp;&amp;ca(qt)&amp;&amp;Ur(qt,t,String(r)),ai(oi,qt,S.localize,ni);if(ce.match(C0))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ce+"`");return qt}).join("");return hr}function I0(r){var t=r.match(y0);return t?t[1].replace(w0,"'"):r}function fl(r,t){if(r==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&amp;&amp;(r[o]=t[o]);return r}function Hu(r,t){var o,e;B(1,arguments);var i=Y(r);if(isNaN(i.getTime()))throw new RangeError("Invalid time value");var n=String((o=t?.format)!==null&amp;&amp;o!==void 0?o:"extended"),a=String((e=t?.representation)!==null&amp;&amp;e!==void 0?e:"complete");if(n!=="extended"&amp;&amp;n!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(a!=="date"&amp;&amp;a!=="time"&amp;&amp;a!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var s="",l="",c=n==="extended"?"-":"",d=n==="extended"?":":"";if(a!=="time"){var u=et(i.getDate(),2),x=et(i.getMonth()+1,2),k=et(i.getFullYear(),4);s="".concat(k).concat(c).concat(x).concat(c).concat(u)}if(a!=="date"){var D=i.getTimezoneOffset();if(D!==0){var U=Math.abs(D),W=et(Math.floor(U/60),2),dt=et(U%60,2),Kt=D&lt;0?"+":"-";l="".concat(Kt).concat(W,":").concat(dt)}else l="Z";var ge=et(i.getHours(),2),se=et(i.getMinutes(),2),It=et(i.getSeconds(),2),b=s===""?"":"T",S=[ge,se,It].join(d);s="".concat(s).concat(b).concat(S).concat(l)}return s}function Gu(r){B(1,arguments);var t=Y(r),o=t.getDate();return o}function Wu(r){B(1,arguments);var t=Y(r),o=t.getDay();return o}function Yu(r){B(1,arguments);var t=Y(r),o=t.getFullYear(),e=t.getMonth(),i=new Date(0);return i.setFullYear(o,e+1,0),i.setHours(0,0,0,0),i.getDate()}function Ku(r){B(1,arguments);var t=Y(r),o=t.getMonth();return o}function qu(r){return B(1,arguments),Y(r).getFullYear()}function pa(r,t){(t==null||t&gt;r.length)&amp;&amp;(t=r.length);for(var o=0,e=new Array(t);o&lt;t;o++)e[o]=r[o];return e}function hl(r,t){if(r){if(typeof r=="string")return pa(r,t);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&amp;&amp;r.constructor&amp;&amp;(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return pa(r,t)}}function fa(r,t){var o=typeof Symbol&lt;"u"&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!o){if(Array.isArray(r)||(o=hl(r))||t&amp;&amp;r&amp;&amp;typeof r.length=="number"){o&amp;&amp;(r=o);var e=0,i=function(){};return{s:i,n:function(){return e&gt;=r.length?{done:!0}:{done:!1,value:r[e++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n=!0,a=!1,s;return{s:function(){o=o.call(r)},n:function(){var c=o.next();return n=c.done,c},e:function(c){a=!0,s=c},f:function(){try{!n&amp;&amp;o.return!=null&amp;&amp;o.return()}finally{if(a)throw s}}}}function v(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Jo(r,t){return Jo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,i){return e.__proto__=i,e},Jo(r,t)}function P(r,t){if(typeof t!="function"&amp;&amp;t!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&amp;&amp;t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&amp;&amp;Jo(r,t)}function $r(r){return $r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)},$r(r)}function ha(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ha=function(){return!!r})()}function gl(r,t){if(t&amp;&amp;(he(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(r)}function F(r){var t=ha();return function(){var e=$r(r),i;if(t){var n=$r(this).constructor;i=Reflect.construct(e,arguments,n)}else i=e.apply(this,arguments);return gl(this,i)}}function T(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(r,t){if(he(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var e=o.call(r,t||"default");if(he(e)!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}function tn(r){var t=bl(r,"string");return he(t)=="symbol"?t:String(t)}function Zu(r,t){for(var o=0;o&lt;t.length;o++){var e=t[o];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&amp;&amp;(e.writable=!0),Object.defineProperty(r,tn(e.key),e)}}function R(r,t,o){return t&amp;&amp;Zu(r.prototype,t),o&amp;&amp;Zu(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}function _(r,t,o){return t=tn(t),t in r?Object.defineProperty(r,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[t]=o,r}var E0=10,Qu=function(){function r(){T(this,r),_(this,"priority",void 0),_(this,"subPriority",0)}return R(r,[{key:"validate",value:function(o,e){return!0}}]),r}(),Xu=function(r){P(o,r);var t=F(o);function o(e,i,n,a,s){var l;return T(this,o),l=t.call(this),l.value=e,l.validateValue=i,l.setValue=n,l.priority=a,s&amp;&amp;(l.subPriority=s),l}return R(o,[{key:"validate",value:function(i,n){return this.validateValue(i,this.value,n)}},{key:"set",value:function(i,n,a){return this.setValue(i,n,this.value,a)}}]),o}(Qu),Ju=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",E0),_(v(e),"subPriority",-1),e}return R(o,[{key:"set",value:function(i,n){if(n.timestampIsSet)return i;var a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}}]),o}(Qu);var j=function(){function r(){T(this,r),_(this,"incompatibleTokens",void 0),_(this,"priority",void 0),_(this,"subPriority",void 0)}return R(r,[{key:"run",value:function(o,e,i,n){var a=this.parse(o,e,i,n);return a?{setter:new Xu(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}},{key:"validate",value:function(o,e,i){return!0}}]),r}();var tm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",140),_(v(e),"incompatibleTokens",["R","u","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"G":case"GG":case"GGG":return a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"});case"GGGGG":return a.era(i,{width:"narrow"});case"GGGG":default:return a.era(i,{width:"wide"})||a.era(i,{width:"abbreviated"})||a.era(i,{width:"narrow"})}}},{key:"set",value:function(i,n,a){return n.era=a,i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);var bt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Le={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function kt(r,t){return r&amp;&amp;{value:t(r.value),rest:r.rest}}function mt(r,t){var o=t.match(r);return o?{value:parseInt(o[0],10),rest:t.slice(o[0].length)}:null}function Ne(r,t){var o=t.match(r);if(!o)return null;if(o[0]==="Z")return{value:0,rest:t.slice(1)};var e=o[1]==="+"?1:-1,i=o[2]?parseInt(o[2],10):0,n=o[3]?parseInt(o[3],10):0,a=o[5]?parseInt(o[5],10):0;return{value:e*(i*Wo+n*Go+a*Ru),rest:t.slice(o[0].length)}}function ga(r){return mt(bt.anyDigitsSigned,r)}function Z(r,t){switch(r){case 1:return mt(bt.singleDigit,t);case 2:return mt(bt.twoDigits,t);case 3:return mt(bt.threeDigits,t);case 4:return mt(bt.fourDigits,t);default:return mt(new RegExp("^\\d{1,"+r+"}"),t)}}function Vr(r,t){switch(r){case 1:return mt(bt.singleDigitSigned,t);case 2:return mt(bt.twoDigitsSigned,t);case 3:return mt(bt.threeDigitsSigned,t);case 4:return mt(bt.fourDigitsSigned,t);default:return mt(new RegExp("^-?\\d{1,"+r+"}"),t)}}function zr(r){switch(r){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ba(r,t){var o=t&gt;0,e=o?t:1-t,i;if(e&lt;=50)i=r||100;else{var n=e+50,a=Math.floor(n/100)*100,s=r&gt;=n%100;i=r+a-(s?100:0)}return o?i:1-i}function _a(r){return r%400===0||r%4===0&amp;&amp;r%100!==0}var em=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",130),_(v(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){var s=function(c){return{year:c,isTwoDigitYear:n==="yy"}};switch(n){case"y":return kt(Z(4,i),s);case"yo":return kt(a.ordinalNumber(i,{unit:"year"}),s);default:return kt(Z(n.length,i),s)}}},{key:"validate",value:function(i,n){return n.isTwoDigitYear||n.year&gt;0}},{key:"set",value:function(i,n,a){var s=i.getUTCFullYear();if(a.isTwoDigitYear){var l=ba(a.year,s);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var c=!("era"in n)||n.era===1?a.year:1-a.year;return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);var im=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",130),_(v(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){var s=function(c){return{year:c,isTwoDigitYear:n==="YY"}};switch(n){case"Y":return kt(Z(4,i),s);case"Yo":return kt(a.ordinalNumber(i,{unit:"year"}),s);default:return kt(Z(n.length,i),s)}}},{key:"validate",value:function(i,n){return n.isTwoDigitYear||n.year&gt;0}},{key:"set",value:function(i,n,a,s){var l=rr(i,s);if(a.isTwoDigitYear){var c=ba(a.year,l);return i.setUTCFullYear(c,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),ke(i,s)}var d=!("era"in n)||n.era===1?a.year:1-a.year;return i.setUTCFullYear(d,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),ke(i,s)}}]),o}(j);var rm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",130),_(v(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n){return n==="R"?Vr(4,i):Vr(n.length,i)}},{key:"set",value:function(i,n,a){var s=new Date(0);return s.setUTCFullYear(a,0,4),s.setUTCHours(0,0,0,0),Fe(s)}}]),o}(j);var om=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",130),_(v(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n){return n==="u"?Vr(4,i):Vr(n.length,i)}},{key:"set",value:function(i,n,a){return i.setUTCFullYear(a,0,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);var nm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",120),_(v(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"Q":case"QQ":return Z(n.length,i);case"Qo":return a.ordinalNumber(i,{unit:"quarter"});case"QQQ":return a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(i,{width:"wide",context:"formatting"})||a.quarter(i,{width:"abbreviated",context:"formatting"})||a.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=4}},{key:"set",value:function(i,n,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);var am=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",120),_(v(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"q":case"qq":return Z(n.length,i);case"qo":return a.ordinalNumber(i,{unit:"quarter"});case"qqq":return a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(i,{width:"wide",context:"standalone"})||a.quarter(i,{width:"abbreviated",context:"standalone"})||a.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=4}},{key:"set",value:function(i,n,a){return i.setUTCMonth((a-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);var sm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),_(v(e),"priority",110),e}return R(o,[{key:"parse",value:function(i,n,a){var s=function(c){return c-1};switch(n){case"M":return kt(mt(bt.month,i),s);case"MM":return kt(Z(2,i),s);case"Mo":return kt(a.ordinalNumber(i,{unit:"month"}),s);case"MMM":return a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(i,{width:"wide",context:"formatting"})||a.month(i,{width:"abbreviated",context:"formatting"})||a.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=11}},{key:"set",value:function(i,n,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);var lm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",110),_(v(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){var s=function(c){return c-1};switch(n){case"L":return kt(mt(bt.month,i),s);case"LL":return kt(Z(2,i),s);case"Lo":return kt(a.ordinalNumber(i,{unit:"month"}),s);case"LLL":return a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(i,{width:"wide",context:"standalone"})||a.month(i,{width:"abbreviated",context:"standalone"})||a.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=11}},{key:"set",value:function(i,n,a){return i.setUTCMonth(a,1),i.setUTCHours(0,0,0,0),i}}]),o}(j);function _l(r,t,o){B(2,arguments);var e=Y(r),i=gt(t),n=Zo(e,o)-i;return e.setUTCDate(e.getUTCDate()-n*7),e}var cm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",100),_(v(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"w":return mt(bt.week,i);case"wo":return a.ordinalNumber(i,{unit:"week"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=53}},{key:"set",value:function(i,n,a,s){return ke(_l(i,a,s),s)}}]),o}(j);function vl(r,t){B(2,arguments);var o=Y(r),e=gt(t),i=qo(o)-e;return o.setUTCDate(o.getUTCDate()-i*7),o}var dm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",100),_(v(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"I":return mt(bt.week,i);case"Io":return a.ordinalNumber(i,{unit:"week"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=53}},{key:"set",value:function(i,n,a){return Fe(vl(i,a))}}]),o}(j);var D0=[31,28,31,30,31,30,31,31,30,31,30,31],k0=[31,29,31,30,31,30,31,31,30,31,30,31],um=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",90),_(v(e),"subPriority",1),_(v(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"d":return mt(bt.date,i);case"do":return a.ordinalNumber(i,{unit:"date"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){var a=i.getUTCFullYear(),s=_a(a),l=i.getUTCMonth();return s?n&gt;=1&amp;&amp;n&lt;=k0[l]:n&gt;=1&amp;&amp;n&lt;=D0[l]}},{key:"set",value:function(i,n,a){return i.setUTCDate(a),i.setUTCHours(0,0,0,0),i}}]),o}(j);var mm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",90),_(v(e),"subpriority",1),_(v(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"D":case"DD":return mt(bt.dayOfYear,i);case"Do":return a.ordinalNumber(i,{unit:"date"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){var a=i.getUTCFullYear(),s=_a(a);return s?n&gt;=1&amp;&amp;n&lt;=366:n&gt;=1&amp;&amp;n&lt;=365}},{key:"set",value:function(i,n,a){return i.setUTCMonth(0,a),i.setUTCHours(0,0,0,0),i}}]),o}(j);function sr(r,t,o){var e,i,n,a,s,l,c,d;B(2,arguments);var u=Pe(),x=gt((e=(i=(n=(a=o?.weekStartsOn)!==null&amp;&amp;a!==void 0?a:o==null||(s=o.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&amp;&amp;n!==void 0?n:u.weekStartsOn)!==null&amp;&amp;i!==void 0?i:(c=u.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&amp;&amp;e!==void 0?e:0);if(!(x&gt;=0&amp;&amp;x&lt;=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var k=Y(r),D=gt(t),U=k.getUTCDay(),W=D%7,dt=(W+7)%7,Kt=(dt&lt;x?7:0)+D-U;return k.setUTCDate(k.getUTCDate()+Kt),k}var pm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",90),_(v(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"E":case"EE":case"EEE":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=6}},{key:"set",value:function(i,n,a,s){return i=sr(i,a,s),i.setUTCHours(0,0,0,0),i}}]),o}(j);var fm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",90),_(v(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a,s){var l=function(d){var u=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+u};switch(n){case"e":case"ee":return kt(Z(n.length,i),l);case"eo":return kt(a.ordinalNumber(i,{unit:"day"}),l);case"eee":return a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeeee":return a.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=6}},{key:"set",value:function(i,n,a,s){return i=sr(i,a,s),i.setUTCHours(0,0,0,0),i}}]),o}(j);var hm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",90),_(v(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a,s){var l=function(d){var u=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+u};switch(n){case"c":case"cc":return kt(Z(n.length,i),l);case"co":return kt(a.ordinalNumber(i,{unit:"day"}),l);case"ccc":return a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"ccccc":return a.day(i,{width:"narrow",context:"standalone"});case"cccccc":return a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(i,{width:"wide",context:"standalone"})||a.day(i,{width:"abbreviated",context:"standalone"})||a.day(i,{width:"short",context:"standalone"})||a.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=6}},{key:"set",value:function(i,n,a,s){return i=sr(i,a,s),i.setUTCHours(0,0,0,0),i}}]),o}(j);function xl(r,t){B(2,arguments);var o=gt(t);o%7===0&amp;&amp;(o=o-7);var e=1,i=Y(r),n=i.getUTCDay(),a=o%7,s=(a+7)%7,l=(s&lt;e?7:0)+o-n;return i.setUTCDate(i.getUTCDate()+l),i}var gm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",90),_(v(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){var s=function(c){return c===0?7:c};switch(n){case"i":case"ii":return Z(n.length,i);case"io":return a.ordinalNumber(i,{unit:"day"});case"iii":return kt(a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiii":return kt(a.day(i,{width:"narrow",context:"formatting"}),s);case"iiiiii":return kt(a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s);case"iiii":default:return kt(a.day(i,{width:"wide",context:"formatting"})||a.day(i,{width:"abbreviated",context:"formatting"})||a.day(i,{width:"short",context:"formatting"})||a.day(i,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=7}},{key:"set",value:function(i,n,a){return i=xl(i,a),i.setUTCHours(0,0,0,0),i}}]),o}(j);var bm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",80),_(v(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"a":case"aa":case"aaa":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,n,a){return i.setUTCHours(zr(a),0,0,0),i}}]),o}(j);var _m=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",80),_(v(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"b":case"bb":case"bbb":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,n,a){return i.setUTCHours(zr(a),0,0,0),i}}]),o}(j);var vm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",80),_(v(e),"incompatibleTokens",["a","b","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"B":case"BB":case"BBB":return a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(i,{width:"wide",context:"formatting"})||a.dayPeriod(i,{width:"abbreviated",context:"formatting"})||a.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,n,a){return i.setUTCHours(zr(a),0,0,0),i}}]),o}(j);var xm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",70),_(v(e),"incompatibleTokens",["H","K","k","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"h":return mt(bt.hour12h,i);case"ho":return a.ordinalNumber(i,{unit:"hour"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=12}},{key:"set",value:function(i,n,a){var s=i.getUTCHours()&gt;=12;return s&amp;&amp;a&lt;12?i.setUTCHours(a+12,0,0,0):!s&amp;&amp;a===12?i.setUTCHours(0,0,0,0):i.setUTCHours(a,0,0,0),i}}]),o}(j);var ym=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",70),_(v(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"H":return mt(bt.hour23h,i);case"Ho":return a.ordinalNumber(i,{unit:"hour"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=23}},{key:"set",value:function(i,n,a){return i.setUTCHours(a,0,0,0),i}}]),o}(j);var wm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",70),_(v(e),"incompatibleTokens",["h","H","k","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"K":return mt(bt.hour11h,i);case"Ko":return a.ordinalNumber(i,{unit:"hour"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=11}},{key:"set",value:function(i,n,a){var s=i.getUTCHours()&gt;=12;return s&amp;&amp;a&lt;12?i.setUTCHours(a+12,0,0,0):i.setUTCHours(a,0,0,0),i}}]),o}(j);var Cm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",70),_(v(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"k":return mt(bt.hour24h,i);case"ko":return a.ordinalNumber(i,{unit:"hour"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=1&amp;&amp;n&lt;=24}},{key:"set",value:function(i,n,a){var s=a&lt;=24?a%24:a;return i.setUTCHours(s,0,0,0),i}}]),o}(j);var Im=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",60),_(v(e),"incompatibleTokens",["t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"m":return mt(bt.minute,i);case"mo":return a.ordinalNumber(i,{unit:"minute"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=59}},{key:"set",value:function(i,n,a){return i.setUTCMinutes(a,0,0),i}}]),o}(j);var Em=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",50),_(v(e),"incompatibleTokens",["t","T"]),e}return R(o,[{key:"parse",value:function(i,n,a){switch(n){case"s":return mt(bt.second,i);case"so":return a.ordinalNumber(i,{unit:"second"});default:return Z(n.length,i)}}},{key:"validate",value:function(i,n){return n&gt;=0&amp;&amp;n&lt;=59}},{key:"set",value:function(i,n,a){return i.setUTCSeconds(a,0),i}}]),o}(j);var Dm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",30),_(v(e),"incompatibleTokens",["t","T"]),e}return R(o,[{key:"parse",value:function(i,n){var a=function(l){return Math.floor(l*Math.pow(10,-n.length+3))};return kt(Z(n.length,i),a)}},{key:"set",value:function(i,n,a){return i.setUTCMilliseconds(a),i}}]),o}(j);var km=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",10),_(v(e),"incompatibleTokens",["t","T","x"]),e}return R(o,[{key:"parse",value:function(i,n){switch(n){case"X":return Ne(Le.basicOptionalMinutes,i);case"XX":return Ne(Le.basic,i);case"XXXX":return Ne(Le.basicOptionalSeconds,i);case"XXXXX":return Ne(Le.extendedOptionalSeconds,i);case"XXX":default:return Ne(Le.extended,i)}}},{key:"set",value:function(i,n,a){return n.timestampIsSet?i:new Date(i.getTime()-a)}}]),o}(j);var Sm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",10),_(v(e),"incompatibleTokens",["t","T","X"]),e}return R(o,[{key:"parse",value:function(i,n){switch(n){case"x":return Ne(Le.basicOptionalMinutes,i);case"xx":return Ne(Le.basic,i);case"xxxx":return Ne(Le.basicOptionalSeconds,i);case"xxxxx":return Ne(Le.extendedOptionalSeconds,i);case"xxx":default:return Ne(Le.extended,i)}}},{key:"set",value:function(i,n,a){return n.timestampIsSet?i:new Date(i.getTime()-a)}}]),o}(j);var Am=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",40),_(v(e),"incompatibleTokens","*"),e}return R(o,[{key:"parse",value:function(i){return ga(i)}},{key:"set",value:function(i,n,a){return[new Date(a*1e3),{timestampIsSet:!0}]}}]),o}(j);var Tm=function(r){P(o,r);var t=F(o);function o(){var e;T(this,o);for(var i=arguments.length,n=new Array(i),a=0;a&lt;i;a++)n[a]=arguments[a];return e=t.call.apply(t,[this].concat(n)),_(v(e),"priority",20),_(v(e),"incompatibleTokens","*"),e}return R(o,[{key:"parse",value:function(i){return ga(i)}},{key:"set",value:function(i,n,a){return[new Date(a),{timestampIsSet:!0}]}}]),o}(j);var Rm={G:new tm,y:new em,Y:new im,R:new rm,u:new om,Q:new nm,q:new am,M:new sm,L:new lm,w:new cm,I:new dm,d:new um,D:new mm,E:new pm,e:new fm,c:new hm,i:new gm,a:new bm,b:new _m,B:new vm,h:new xm,H:new ym,K:new wm,k:new Cm,m:new Im,s:new Em,S:new Dm,X:new km,x:new Sm,t:new Am,T:new Tm};var S0=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,A0=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T0=/^'([^]*?)'?$/,R0=/''/g,O0=/\S/,M0=/[a-zA-Z]/;function yl(r,t,o,e){var i,n,a,s,l,c,d,u,x,k,D,U,W,dt,Kt,ge,se,It;B(3,arguments);var b=String(r),S=String(t),Q=Pe(),wt=(i=(n=e?.locale)!==null&amp;&amp;n!==void 0?n:Q.locale)!==null&amp;&amp;i!==void 0?i:ua;if(!wt.match)throw new RangeError("locale must contain match property");var le=gt((a=(s=(l=(c=e?.firstWeekContainsDate)!==null&amp;&amp;c!==void 0?c:e==null||(d=e.locale)===null||d===void 0||(u=d.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&amp;&amp;l!==void 0?l:Q.firstWeekContainsDate)!==null&amp;&amp;s!==void 0?s:(x=Q.locale)===null||x===void 0||(k=x.options)===null||k===void 0?void 0:k.firstWeekContainsDate)!==null&amp;&amp;a!==void 0?a:1);if(!(le&gt;=1&amp;&amp;le&lt;=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Ce=gt((D=(U=(W=(dt=e?.weekStartsOn)!==null&amp;&amp;dt!==void 0?dt:e==null||(Kt=e.locale)===null||Kt===void 0||(ge=Kt.options)===null||ge===void 0?void 0:ge.weekStartsOn)!==null&amp;&amp;W!==void 0?W:Q.weekStartsOn)!==null&amp;&amp;U!==void 0?U:(se=Q.locale)===null||se===void 0||(It=se.options)===null||It===void 0?void 0:It.weekStartsOn)!==null&amp;&amp;D!==void 0?D:0);if(!(Ce&gt;=0&amp;&amp;Ce&lt;=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(S==="")return b===""?Y(o):new Date(NaN);var oi={firstWeekContainsDate:le,weekStartsOn:Ce,locale:wt},ni=[new Ju],hr=S.match(A0).map(function(jt){var ut=jt[0];if(ut in Qo){var ve=Qo[ut];return ve(jt,wt.formatLong)}return jt}).join("").match(S0),qt=[],ce=fa(hr),ai;try{var os=function(){var ut=ai.value;!(e!=null&amp;&amp;e.useAdditionalWeekYearTokens)&amp;&amp;da(ut)&amp;&amp;Ur(ut,S,r),!(e!=null&amp;&amp;e.useAdditionalDayOfYearTokens)&amp;&amp;ca(ut)&amp;&amp;Ur(ut,S,r);var ve=ut[0],gr=Rm[ve];if(gr){var sc=gr.incompatibleTokens;if(Array.isArray(sc)){var lc=qt.find(function(cc){return sc.includes(cc.token)||cc.token===ve});if(lc)throw new RangeError("The format string mustn't contain `".concat(lc.fullToken,"` and `").concat(ut,"` at the same time"))}else if(gr.incompatibleTokens==="*"&amp;&amp;qt.length&gt;0)throw new RangeError("The format string mustn't contain `".concat(ut,"` and any other token at the same time"));qt.push({token:ve,fullToken:ut});var ns=gr.run(b,ut,wt.match,oi);if(!ns)return{v:new Date(NaN)};ni.push(ns.setter),b=ns.rest}else{if(ve.match(M0))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ve+"`");if(ut==="''"?ut="'":ve==="'"&amp;&amp;(ut=P0(ut)),b.indexOf(ut)===0)b=b.slice(ut.length);else return{v:new Date(NaN)}}};for(ce.s();!(ai=ce.n()).done;){var uo=os();if(he(uo)==="object")return uo.v}}catch(jt){ce.e(jt)}finally{ce.f()}if(b.length&gt;0&amp;&amp;O0.test(b))return new Date(NaN);var q=ni.map(function(jt){return jt.priority}).sort(function(jt,ut){return ut-jt}).filter(function(jt,ut,ve){return ve.indexOf(jt)===ut}).map(function(jt){return ni.filter(function(ut){return ut.priority===jt}).sort(function(ut,ve){return ve.subPriority-ut.subPriority})}).map(function(jt){return jt[0]}),_t=Y(o);if(isNaN(_t.getTime()))return new Date(NaN);var xt=Yo(_t,Ho(_t)),pt={},At=fa(q),Se;try{for(At.s();!(Se=At.n()).done;){var Et=Se.value;if(!Et.validate(xt,oi))return new Date(NaN);var Zt=Et.set(xt,pt,oi);Array.isArray(Zt)?(xt=Zt[0],fl(pt,Zt[1])):xt=Zt}}catch(jt){At.e(jt)}finally{At.f()}return xt}function P0(r){return r.match(T0)[1].replace(R0,"'")}function Om(r,t){var o;B(1,arguments);var e=gt((o=t?.additionalDigits)!==null&amp;&amp;o!==void 0?o:2);if(e!==2&amp;&amp;e!==1&amp;&amp;e!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof r=="string"||Object.prototype.toString.call(r)==="[object String]"))return new Date(NaN);var i=j0(r),n;if(i.date){var a=B0(i.date,e);n=U0(a.restDateString,a.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);var s=n.getTime(),l=0,c;if(i.time&amp;&amp;(l=$0(i.time),isNaN(l)))return new Date(NaN);if(i.timezone){if(c=V0(i.timezone),isNaN(c))return new Date(NaN)}else{var d=new Date(s+l),u=new Date(0);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return new Date(s+l+c)}var va={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},F0=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,L0=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,N0=/^([+-])(\d{2})(?::?(\d{2}))?$/;function j0(r){var t={},o=r.split(va.dateTimeDelimiter),e;if(o.length&gt;2)return t;if(/:/.test(o[0])?e=o[0]:(t.date=o[0],e=o[1],va.timeZoneDelimiter.test(t.date)&amp;&amp;(t.date=r.split(va.timeZoneDelimiter)[0],e=r.substr(t.date.length,r.length))),e){var i=va.timezone.exec(e);i?(t.time=e.replace(i[1],""),t.timezone=i[1]):t.time=e}return t}function B0(r,t){var o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),e=r.match(o);if(!e)return{year:NaN,restDateString:""};var i=e[1]?parseInt(e[1]):null,n=e[2]?parseInt(e[2]):null;return{year:n===null?i:n*100,restDateString:r.slice((e[1]||e[2]).length)}}function U0(r,t){if(t===null)return new Date(NaN);var o=r.match(F0);if(!o)return new Date(NaN);var e=!!o[4],i=en(o[1]),n=en(o[2])-1,a=en(o[3]),s=en(o[4]),l=en(o[5])-1;if(e)return Y0(t,s,l)?z0(t,s,l):new Date(NaN);var c=new Date(0);return!G0(t,n,a)||!W0(t,i)?new Date(NaN):(c.setUTCFullYear(t,n,Math.max(i,a)),c)}function en(r){return r?parseInt(r):1}function $0(r){var t=r.match(L0);if(!t)return NaN;var o=wl(t[1]),e=wl(t[2]),i=wl(t[3]);return K0(o,e,i)?o*Wo+e*Go+i*1e3:NaN}function wl(r){return r&amp;&amp;parseFloat(r.replace(",","."))||0}function V0(r){if(r==="Z")return 0;var t=r.match(N0);if(!t)return 0;var o=t[1]==="+"?-1:1,e=parseInt(t[2]),i=t[3]&amp;&amp;parseInt(t[3])||0;return q0(e,i)?o*(e*Wo+i*Go):NaN}function z0(r,t,o){var e=new Date(0);e.setUTCFullYear(r,0,4);var i=e.getUTCDay()||7,n=(t-1)*7+o+1-i;return e.setUTCDate(e.getUTCDate()+n),e}var H0=[31,null,31,30,31,30,31,31,30,31,30,31];function Mm(r){return r%400===0||r%4===0&amp;&amp;r%100!==0}function G0(r,t,o){return t&gt;=0&amp;&amp;t&lt;=11&amp;&amp;o&gt;=1&amp;&amp;o&lt;=(H0[t]||(Mm(r)?29:28))}function W0(r,t){return t&gt;=1&amp;&amp;t&lt;=(Mm(r)?366:365)}function Y0(r,t,o){return t&gt;=1&amp;&amp;t&lt;=53&amp;&amp;o&gt;=0&amp;&amp;o&lt;=6}function K0(r,t,o){return r===24?t===0&amp;&amp;o===0:o&gt;=0&amp;&amp;o&lt;60&amp;&amp;t&gt;=0&amp;&amp;t&lt;60&amp;&amp;r&gt;=0&amp;&amp;r&lt;25}function q0(r,t){return t&gt;=0&amp;&amp;t&lt;=59}function rn(...r){return ma(...r)}var Cl=(()=&gt;{let t=class t{constructor(){this._dateFnsLocale$=new qe(null)}get dateFnsLocale$(){return this._dateFnsLocale$.asObservable()}get dateFnsLocale(){return this._dateFnsLocale$.value}setDateFnsLocale(e){this._dateFnsLocale$.next(e)}getShortDateFormat(e){return rn(new Date(e),"P",{locale:this.dateFnsLocale})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var lr=(r,t)=&gt;`((?&lt;${r}&gt;-?\\d*[\\.,]?\\d+)${t})?`,o$=new RegExp(["(?&lt;negative&gt;-)?P",lr("years","Y"),lr("months","M"),lr("weeks","W"),lr("days","D"),"(T",lr("hours","H"),lr("minutes","M"),lr("seconds","S"),")?"].join(""));var Il=function(r){return r.Visible="Visible",r.NotVisible="NotVisible",r}(Il||{}),u$=(r,t,o=0)=&gt;new Ie(e=&gt;{let i=new IntersectionObserver(n=&gt;{n.forEach(a=&gt;{let s=Z0(a)?Il.Visible:Il.NotVisible;e.next(s)})},t);return i.observe(r),()=&gt;{i.disconnect()}}).pipe(fo(o));function Z0(r){return r.isIntersecting||r.intersectionRatio&gt;0}var g$=new y("SCREEN_FULL_TOKEN",{providedIn:"root",factory:()=&gt;import("./chunk-ZJF5PUWC.js").then(r=&gt;r.default)});function v$(r){let t=r.getBaseHrefFromDOM();return t[t.length-1]==="/"&amp;&amp;(t=t.substring(0,t.length-1)),t}function on(r){if(r==null||r==="")return null;let t=r.split(".");if(t.length!==3)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");let o=Q0(t[1]);if(!o)throw new Error("Cannot decode the token.");try{return JSON.parse(o)}catch{throw new Error("Unable to parse decoded token as JSON.")}}function Q0(r){let t=r.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:{t+="==";break}case 3:{t+="=";break}default:throw new Error("Illegal base64url string!")}return X0(t)}function X0(r){return decodeURIComponent(Array.prototype.map.call(J0(r),t=&gt;`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`).join(""))}function J0(r){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="";if(r=String(r).replace(/=+$/,""),r.length%4===1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let e=0,i,n,a=0;n=r.charAt(a++);~n&amp;&amp;(i=e%4?i*64+n:n,e++%4)?o+=String.fromCharCode(255&amp;i&gt;&gt;(-2*e&amp;6)):0)n=t.indexOf(n);return o}var E$=pn(Fm());var tv=["input","textarea","select"],ev="mousetrap",ya=class{constructor(){this._mousetrap=new Mousetrap,this.reset()}reset(){this._mousetrap.reset()}bind(t,o,e,i=[]){this._mousetrap.bind(t,(n,a)=&gt;this._allowed(n,i)?o(n,a):!0,e)}unbind(t,o){this._mousetrap.unbind(t,o)}trigger(t,o){this._mousetrap.trigger(t,o)}_allowed(t,o){let e=t.target,i=e.nodeName.toLowerCase();return o=Array.isArray(o)?o:[o],e.className.includes(ev)||!tv.some(n=&gt;n===i)||o.map(n=&gt;n.toLowerCase()).some(n=&gt;n===i)}};var iv={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,repeat:!1,locale:"",detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0},A$=(()=&gt;{let t=class t{constructor(){this._scope="all",this._mouseTrapBindings={},this._events$=new H,this.events$=this._events$.asObservable(),this._mousetrap=new ya,this._keyboardEventType=this._getKeyboardEventType()}get scope(){return this._scope||"all"}set scope(e){this._scope=e||"all"}on(e,i="all"){return this._createMouseTrapBinding(e),this.events$.pipe(yt(n=&gt;n.event.defaultPrevented?!1:e.indexOf(n.key)&gt;-1&amp;&amp;(this.scope===i||i==="all")),bn(()=&gt;{this._removeMouseTrapBinding(e)}))}dispatch(e,i){if(i.cancelBubble||i.defaultPrevented||typeof i.returnValue&lt;"u"&amp;&amp;!i.returnValue)return;let n=i.srcElement||i.target;if(n){let s=n;for(;s;){let l=s.nodeName;if(l==="input"||l==="textarea")return;if(s.getAttribute){let c=s.getAttribute("contenteditable");if(c==="true"||c==="contenteditable")return}if(s.classList&amp;&amp;s.classList.contains("keyboard-input"))return;s=s.parentNode}}let a=this._crossBrowserInitKeyboardEvent(i.type,{bubbles:!0,cancelable:!1,keyCode:i.keyCode,charCode:i.charCode,which:i.which,ctrlKey:i.ctrlKey,shiftKey:i.shiftKey,altKey:i.altKey,metaKey:i.metaKey,char:i.char?i.char:String.fromCharCode(i.charCode),key:i.key?i.key:i.keyCode});e.dispatchEvent(a)}_createMouseTrapBinding(e){e=typeof e=="string"?[e]:e;for(let i=0,n=e.length;i&lt;n;i++)this._mouseTrapBindings[e[i]]?this._mouseTrapBindings=C(m({},this._mouseTrapBindings),{[e[i]]:++this._mouseTrapBindings[e[i]]}):(this._mouseTrapBindings=C(m({},this._mouseTrapBindings),{[e[i]]:1}),this._mousetrap.bind(e,(a,s)=&gt;{this._events$.next({event:a,key:s})}))}_removeMouseTrapBinding(e){var i;e=typeof e=="string"?[e]:e;for(let a=0,s=e.length;a&lt;s;a++)if(this._mouseTrapBindings[e[a]]===1){let n=this._mouseTrapBindings,{[i=e[a]]:l}=n,c=si(n,[dc(i)]);this._mouseTrapBindings=c,this._mousetrap.unbind(e[a])}else this._mouseTrapBindings[e[a]]&gt;1&amp;&amp;(this._mouseTrapBindings=C(m({},this._mouseTrapBindings),{[e[a]]:--this._mouseTrapBindings[e[a]]}))}_crossBrowserInitKeyboardEvent(e,i){let n;return i=m(m({},iv),i),i=C(m({},i),{key:`${i.key}`,char:`${i.charCode}`,keyCode:i.keyCode||i.key.charCodeAt(0)||0,charCode:i.charCode||i.char.charCodeAt(0)||0,which:i.which||i.keyCode,view:window,modifiersListArg:this._keyboardEventType&gt;4?((i.ctrlKey?"Control":"")+(i.shiftKey?" Shift":"")+(i.altKey?" Alt":"")+(i.metaKey?" Meta":"")+(i.altGraphKey?" AltGraph":"")).trim():null}),this._keyboardEventType===1?n=new KeyboardEvent(e,{key:i.key,code:i.key,location:i.location,ctrlKey:i.ctrlKey,shiftKey:i.shared,altKey:i.altKey,metaKey:i.metaKey,repeat:i.repeat,charCode:i.charCode,keyCode:i.keyCode,which:i.which,bubbles:i.bubbles,cancelable:i.cancelable}):(n=document.createEvent("KeyboardEvent"),this._keyboardEventType===2?n.initKeyboardEvent(e,i.bubbles,i.cancelable,i.view,i.key,i.location,i.ctrlKey,i.shiftKey,i.altKey,i.metaKey,i.altGraphKey):this._keyboardEventType===3?n.initKeyboardEvent(e,i.bubbles,i.cancelable,i.view,i.ctrlKey,i.altKey,i.shiftKey,i.metaKey,i.keyCode,i.charCode):this._keyboardEventType===4?n.initKeyboardEvent(e,i.bubbles,i.cancelable,i.view,i.key,i.location,i.ctrlKey,i.altKey,i.shiftKey,i.metaKey,i.altGraphKey):this._keyboardEventType===5?n.initKeyboardEvent(e,i.bubbles,i.cancelable,i.view,i.key,i.location,i.modifiersListArg,i.repeat,i.locale):n.initKeyboardEvent(e,i.bubbles,i.cancelable,i.view,i.char,i.key,i.location,i.modifiersListArg,i.repeat,i.locale)),n}_getKeyboardEventType(){let e=document.createEvent("KeyboardEvent");if(typeof window.KeyboardEvent=="function")return 1;try{return e.initKeyboardEvent("keyup",!1,!1,window,"+",3,!0,!1,!0),(e.keyIdentifier||e.key)==="+"&amp;&amp;(e.keyLocation||e.location)===3&amp;&amp;(e.ctrlKey?e.altKey?2:4:e.shiftKey?3:5)||9}catch{return 0}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var cr=(()=&gt;{let t=class t{constructor(){this.localStorageEnabled=!1;try{localStorage&amp;&amp;(localStorage.setItem("_localStorageEnabled","?"),localStorage.removeItem("_localStorageEnabled"),this.localStorageEnabled=!0)}catch{}}getItem(e){if(!this.localStorageEnabled)return null;let i=localStorage.getItem(e);return i||null}setItem(e,i){this.localStorageEnabled&amp;&amp;localStorage.setItem(e,i)}removeItem(e){this.localStorageEnabled&amp;&amp;localStorage.removeItem(e)}clearLocalStorage(){this.localStorageEnabled&amp;&amp;localStorage.clear()}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var L$=new y("window.navigator object",{providedIn:"root",factory:()=&gt;window.navigator});var j$=new RegExp("\\p{M}+","gu");var Nm="-",rv=/^xn--/,ov=/[^\0-\x7F]/,nv=/[\x2E\u3002\uFF0E\uFF61]/g,av={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input &gt;= 0x80 (not a basic code point)","invalid-input":"Invalid input"},El=35,ri=Math.floor,Dl=String.fromCharCode;function Ri(r){throw new RangeError(av[r])}function sv(r,t){let o=[],e=r.length;for(;e--;)o[e]=t(r[e]);return o}function jm(r,t){let o=r.split("@"),e="";o.length&gt;1&amp;&amp;(e=o[0]+"@",r=o[1]),r=r.replace(nv,".");let i=r.split("."),n=sv(i,t).join(".");return e+n}function lv(r){let t=[],o=0,e=r.length;for(;o&lt;e;){let i=r.charCodeAt(o++);if(i&gt;=55296&amp;&amp;i&lt;=56319&amp;&amp;o&lt;e){let n=r.charCodeAt(o++);(n&amp;64512)==56320?t.push(((i&amp;1023)&lt;&lt;10)+(n&amp;1023)+65536):(t.push(i),o--)}else t.push(i)}return t}var cv=function(r){return r&gt;=48&amp;&amp;r&lt;58?26+(r-48):r&gt;=65&amp;&amp;r&lt;91?r-65:r&gt;=97&amp;&amp;r&lt;123?r-97:36},Lm=function(r,t){return r+22+75*(r&lt;26)-((t!=0)&lt;&lt;5)},Bm=function(r,t,o){let e=0;for(r=o?ri(r/700):r&gt;&gt;1,r+=ri(r/t);r&gt;El*26&gt;&gt;1;e+=36)r=ri(r/El);return ri(e+(El+1)*r/(r+38))},dv=function(r){let t=[],o=r.length,e=0,i=128,n=72,a=r.lastIndexOf(Nm);a&lt;0&amp;&amp;(a=0);for(let s=0;s&lt;a;++s)r.charCodeAt(s)&gt;=128&amp;&amp;Ri("not-basic"),t.push(r.charCodeAt(s));for(let s=a&gt;0?a+1:0;s&lt;o;){let l=e;for(let d=1,u=36;;u+=36){s&gt;=o&amp;&amp;Ri("invalid-input");let x=cv(r.charCodeAt(s++));x&gt;=36&amp;&amp;Ri("invalid-input"),x&gt;ri((2147483647-e)/d)&amp;&amp;Ri("overflow"),e+=x*d;let k=u&lt;=n?1:u&gt;=n+26?26:u-n;if(x&lt;k)break;let D=36-k;d&gt;ri(2147483647/D)&amp;&amp;Ri("overflow"),d*=D}let c=t.length+1;n=Bm(e-l,c,l==0),ri(e/c)&gt;2147483647-i&amp;&amp;Ri("overflow"),i+=ri(e/c),e%=c,t.splice(e++,0,i)}return String.fromCodePoint(...t)},uv=function(r){let t=[];r=lv(r);let o=r.length,e=128,i=0,n=72;for(let l of r)l&lt;128&amp;&amp;t.push(Dl(l));let a=t.length,s=a;for(a&amp;&amp;t.push(Nm);s&lt;o;){let l=2147483647;for(let d of r)d&gt;=e&amp;&amp;d&lt;l&amp;&amp;(l=d);let c=s+1;l-e&gt;ri((2147483647-i)/c)&amp;&amp;Ri("overflow"),i+=(l-e)*c,e=l;for(let d of r)if(d&lt;e&amp;&amp;++i&gt;2147483647&amp;&amp;Ri("overflow"),d===e){let u=i;for(let x=36;;x+=36){let k=x&lt;=n?1:x&gt;=n+26?26:x-n;if(u&lt;k)break;let D=u-k,U=36-k;t.push(Dl(Lm(k+D%U,0))),u=ri(D/U)}t.push(Dl(Lm(u,0))),n=Bm(i,c,s===a),i=0,++s}++i,++e}return t.join("")},Um=function(r){return jm(r,function(t){return rv.test(t)?dv(t.slice(4).toLowerCase()):t})},$m=function(r){return jm(r,function(t){return ov.test(t)?"xn--"+uv(t):t})};function kl(){let r=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let o=(r+Math.random()*16)%16|0;return r=Math.floor(r/16),(t==="x"?o:o&amp;3|8).toString(16)})}function mv(r){return!!r&amp;&amp;typeof r.then=="function"}function dr(r){return Vi(r)?r:mv(r)?li(r):Wt(r)}function z$(r){return r&amp;&amp;($m(r)===r?Um(r):r)}function wa(r){return t=&gt;t.pipe(fo(r.debounceTime),yt(o=&gt;o!==null||o!==void 0),yt(o=&gt;typeof o=="string"),yt(o=&gt;o===""?r.allowEmptyString??!0:o.length&gt;=r.minLength),O(o=&gt;o.toLowerCase()),xe())}function Vm(r){if(!r)return!1;try{let t=on(r);if(!t)return!1;let o=new Date;o.setSeconds(o.getSeconds()+30);let e=o.getTime()/1e3;return t.exp&gt;=e}catch{return!1}}var zm=r=&gt;({listCreationDate:r.created,listId:r.id,listName:r.name,rootUnitId:r.parentId,rootUnitName:r.parentId?r.parents.find(t=&gt;t.id.toString()===r.parentId?.toString())?.name:null});var Hr=(()=&gt;{let t=class t extends Lt{getList(e,i=!1){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}`,{context:Iu(sl(i),Cu("View list",zm))})}getListMaterials(e){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}/materials`)}getMaterialAlternatives(e,i,n){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}/sections/${i}/materials/${n}/alternatives`)}getMaterialEquivalents(e,i){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}/materials/${i}/equivalents`)}getListSections(e){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}/sections`)}suppressList(e){return this._http.put(`${this._apiRoot}/lists/${e}/suppress`,null)}unsuppressList(e){return this._http.delete(`${this._apiRoot}/lists/${e}/suppress`)}deleteList(e){return this._http.delete(`${this._apiRoot}/lists/${e}`)}search(e){let i=new wr().append("search",e).append("page_size",1e6).append("search_in","listName").append("search_in","listCourseIdentifier").append("search_in","userName");return this._http.get(`${this._apiRoot}/lists`,{params:i})}getListSectionMaterials(e,i,n){let a=`${this._apiRoot}${this._env.get("listPath")}/${e}/sections/${n??i}`,s=n?`/subsections/${i}`:"";return this._http.get(`${a}${s}/materials`)}getMaterialDetails(e,i,n,a=!1){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}/sections/${i}/materials/${n}/details`,{context:sl(a)})}getMaterialMetadata(e){return this._http.get(`${this._apiRoot}${this._env.get("materialPath")}/${e}/metadata`)}exportList(e,i){return this._http.get(`${this._apiRoot}/download/lists/${e}?format=${i}`,{observe:"response",responseType:"blob"})}importList(e,i){let n=new FormData;return n.append("file",i,i.name),this._http.post(`${this._apiRoot}/lists/${e}/import`,n)}getListMetadata(e){return this._http.get(`${this._apiRoot}${this._env.get("listPath")}/${e}/metadata`)}updateListMetadata(e){return this._http.put(`${this._apiRoot}/lists/${e.id}`,e)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var r3=(()=&gt;{let t=class t extends Lt{saveComment(e){return this._http.post(`${this._apiRoot}/lists/${e.listId}/section/${e.sectionId}/material/${e.materialId}/note`,{note:e.note},{context:Vo()})}getComments(e){let i=new wr().append("page_number",e.pageNumber).append("page_size",e.pageSize);return this._http.get(`${this._apiRoot}/lists/${e.listId}/section/${e.sectionId}/material/${e.materialId}/notes`,{params:i})}deleteComment(e){return this._http.delete(`${this._apiRoot}/lists/${e.listId}/section/${e.sectionId}/material/${e.materialId}/note/${e.id}`)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Hm=(()=&gt;{let t=class t extends Lt{getMaterialTypes(e){return this._http.get(`${this._apiRoot}/settings/${e}`)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Gm=(()=&gt;{let t=class t extends Lt{getNotifications(e){let i=new wr;return e.type&amp;&amp;(i=i.set("type",e.type)),e.count&amp;&amp;(i=i.set("count",e.count)),e.last_id&amp;&amp;(i=i.set("last_id",e.last_id)),this._http.get(`${this._apiRoot}/notifications`,{params:i}).pipe(O(n=&gt;n.notifications))}markAllAsSeen(e){return this._http.put(`${this._apiRoot}/notifications/seen`,e)}markAsSeen(e){return this._http.put(`${this._apiRoot}/notifications/${e.id}/seen`,e)}markRemoved(e,i){return this._http.put(`${this._apiRoot}/notifications/${e.id}/remove`,{id:e.id,removed:i})}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Ca=(()=&gt;{let t=class t extends Lt{getPreference(e,i=!1){return this._http.get(`${this._apiRoot}/preferences/${e}?addFields=${i?"Schema,Form":""}`).pipe(Qe(1))}getPreferences(e){let i={codes:e.join(",")};return this._http.get(`${this._apiRoot}/preferences/`,{params:i}).pipe(O(n=&gt;{let a={};return n.forEach(s=&gt;{a[s.preference]=s.value}),a}),Qe(1))}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var h3=(()=&gt;{let t=class t extends Lt{createPurchaseRequest(e){return this._http.post(`${this._apiRoot}/requests/purchase`,e)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Wm=(()=&gt;{let t=class t extends Lt{getStudentPersonalizationSettings(){return this._http.get(`${this._apiRoot}/settings/StudentPersonalizationSetting
    `)}setLikeOption(e){return this._http.post(`${this._apiRoot}/personalisations/like-option`,{likeOption:e.likeOption,listId:e.listId,materialId:e.materialId,sectionId:e.sectionId},{context:Vo()})}setReadingIntention(e){return this._http.post(`${this._apiRoot}/personalisations/reading-intention`,{readingIntention:e.readingIntention,listId:e.listId,materialId:e.materialId,sectionId:e.sectionId},{context:Vo()})}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var w3=(()=&gt;{let t=class t extends Lt{getTableOfContent(e){let i=`${this._apiRoot}/toc/${e}`;return this._http.get(i,{responseType:"text"}).pipe(O(a=&gt;this._parseTocXml(a)))}_parseTocXml(e){let i=new DOMParser().parseFromString(e,"text/xml");i.querySelector("parsererror")&amp;&amp;console.log("Error while Xml table-of-content parsing.");let a=i.getElementsByTagName("channel")[0],s=i.getElementsByTagName("item"),l=[];for(let u=0;u&lt;s.length;u++){let x=s[u].getElementsByTagName("title")[0].textContent,k=s[u].getElementsByTagName("link")[0].textContent,D=s[u].getElementsByTagName("description")[0].textContent;l.push({title:x,link:k,description:D})}let c=a.getElementsByTagName("title")[0].textContent,d=a.getElementsByTagName("description")[0].textContent;return{title:c,description:d,tocItems:l}}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Ym=(()=&gt;{let t=class t extends Lt{captureAction(e){return this._http.post(`${this._env.get("apiBaseUrl")}/datastore/api/capture/action`,e)}};t.\u0275fac=(()=&gt;{let e;return function(n){return(e||(e=ot(t)))(n||t)}})(),t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var H3=(()=&gt;{var t;let o=class o{constructor(){A(this,t,void 0);at(this,t,h(vt)),this._api=h(Du)}downloadFile(i,n){this._api.getFile(i).pipe(Tt(1)).subscribe(a=&gt;{let s=[];s.push(a.body);let l=f(this,t).createElement("a");l.style.display="none",l.href=window.URL.createObjectURL(new Blob(s,{type:"blob"})),l.setAttribute("download",n),document.body.appendChild(l),l.click(),f(this,t).body.removeChild(l)})}};t=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275prov=g({token:o,factory:o.\u0275fac});let r=o;return r})();var Q3=(()=&gt;{var t,o;let e=class e{constructor(){A(this,t,h(Ut));A(this,o,h(ue));this._apiRoot=`${f(this,t).get("apiBaseUrl")}${f(this,t).get("api2Path")}`}downloadFile(n,a,s){return f(this,o).get(`${this._apiRoot}/download/${n}/${a}`,{params:{format:s},responseType:"blob",observe:"response"}).subscribe(l=&gt;{let c=l.headers.get("x-filename"),d=l.headers.get("content-type"),u=typeof l.body=="object"?l.body:new Blob([l.data?l.data:l.body],{type:d}),x=document.createElement("a");x.href=window.URL.createObjectURL(u),c&amp;&amp;x.setAttribute("download",c),document.body.appendChild(x),x.click()})}};t=new WeakMap,o=new WeakMap,e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=g({token:e,factory:e.\u0275fac});let r=e;return r})();var Km=(()=&gt;{var t,o,e;let i=class i{constructor(){A(this,t,void 0);A(this,o,void 0);A(this,e,void 0);at(this,t,h(vt)),at(this,o,h(Ut)),at(this,e,h(ue)),this.logoMapper={ARU:"aru.png","ARU-SANDBOX":"aru.png",BCU:"bcu.svg","BCU-SANDBOX":"bcu.svg",BUCKS:"bucks-new.png","BUCKS-SANDBOX":"bucks-new.png",BUV:"buv.png","BUV-SANDBOX":"buv.png",HULL:"hull.png","HULL-SANDBOX":"hull.png",LEEDS:"lm.png","LM-SANDBOX":"lm.png",MAA:"maastrichtuniversity.jpg","MAASTRICHTUNIVERSITY-SANDBOX":"maastrichtuniversity.jpg",MARJON:"marjon.png","MARJON-SANDBOX":"marjon.png",MDX:"mdx.png","MDX-SANDBOX":"mdx.png",OFSE:"ofse.png","OFSE-SANDBOX":"ofse.png",STAFFS:"staffs.png","STAFFS-SANDBOX":"staffs.png",ULSTER:"ulster.png","ULSTER-SANDBOX":"ulster.png",MARINO:"mie.png","MARINO-SANDBOX":"mie.png",MARIBOR:"maribor.png","MARIBOR-SANDBOX":"maribor.png"},this.favicoMapper={MARIBOR:"favicon-maribor.ico","MARIBOR-SANDBOX":"favicon-maribor.ico"},this._config={},this._year_formatSubject=new qe("yyyy"),this.year_format$=this._year_formatSubject.asObservable(),this._loaded=new qe(!1),this.loaded$=this._loaded.asObservable()}get logo(){return this.logoMapper[this._config.code]?`assets/images/${this.logoMapper[this._config.code]}`:getComputedStyle(document.documentElement).getPropertyValue("--color-secondary-contrast")==="#000000"?this.isAustrianCode?"assets/images/flex-dark.png":"assets/keyLinksLogoDark.png":this.isAustrianCode?"assets/images/flex.png":"assets/keyLinksLogo.png"}get favicon(){return this.favicoMapper[this._config.code]?`assets/favicons/${this.favicoMapper[this._config.code]}`:"favicon.ico"}get logoAuth(){return this.isAustrianCode?"assets/images/flex-dark.png":"assets/keyLinksLogo2.png"}get logoHeight(){switch(this._config.code){case"MARIBOR":case"MARIBOR-SANDBOX":return"h-9";default:return"h-6"}}get isAustrianCode(){return this._config.region==="AUS"}load(){return f(this,o).initialized$.pipe(yt(Boolean),Dt(()=&gt;{let a=`${this._get("apiBaseUrl")}${this._get("api2Path")}/configs`;return f(this,e).get(a,{headers:new Sn({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"})})}),Ht(a=&gt;{this._config=a,this._setCssVars(),this._loaded.next(!0)}))}isWhiteTheme(){let s=document.querySelector(":root").style.getPropertyValue("--color-secondary").replace("var(","").replace(")","");return["--keylinks-colors-mono-1","--keylinks-colors-mono-2","--keylinks-colors-mono-3"].includes(s)}has(a){return a in this._config}get(a){if(this.has(a)){let s=this._config[a];return Array.isArray(s)?s[0]:s}return null}getAll(a){if(this.has(a)){let s=this._config[a];return Array.isArray(s)?s:[s]}return[]}get keys(){return Object.keys(this._config)}_get(a){return f(this,o).get(a)}_setCssVars(){let a=this._config.themeConfig?.primary??"violet-17",s=this._config.themeConfig?.secondary??"violet-17";localStorage.setItem("KEYLINKS_PRIMARY_COLOR",a),localStorage.setItem("KEYLINKS_SECONDARY_COLOR",s);let l=document.querySelector(":root");l.style.setProperty("--color-primary",`var(--keylinks-colors-${s})`),l.style.setProperty("--color-primary-contrast",`var(--keylinks-colors-${s}-contrast)`),l.style.setProperty("--color-secondary",`var(--keylinks-colors-${a})`),l.style.setProperty("--color-secondary-contrast",`var(--keylinks-colors-${a}-contrast)`)}_readDefinedThemes(){let a=[],s=document.styleSheets;for(let l=0;l&lt;s.length;l++)try{for(let c=0;c&lt;s[l].cssRules.length;c++)try{for(let d=0;d&lt;s[l].cssRules[c].style.length;d++){let u=s[l].cssRules[c].style[d];u.startsWith("--keylinks-colors-")&amp;&amp;a.indexOf(u)===-1&amp;&amp;a.push(u)}}catch{}}catch{}console.log(a)}};t=new WeakMap,o=new WeakMap,e=new WeakMap,i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();var je=function(r){return r.DisplayCitation="display_citation",r.PurchaseRequest="purchase_request",r.Acquisitions="acquisitions",r.ScanRequest="scan_requests",r.LinkResolver="link_resolver",r.YearFormat="year_format",r.TitleTag="title_tag",r.CustomerName="customer_name",r}(je||{});var qm=class{constructor(t){this._listDetails=t,this.id=this._listDetails.id,this.type=this._listDetails.type,this.name=this._listDetails.name,this.summary=this._listDetails.summary,this.publicNote=this._listDetails.publicNote,this.courseIdentifier=this._listDetails.courseIdentifier,this.noStudents=this._listDetails.noStudents,this.year=this._listDetails.year,this.materialsCount=this._listDetails.materialsCount,this.courseStart=this._listDetails.courseStart,this.courseEnd=this._listDetails.courseEnd,this.parentId=this._listDetails.parentId,this.privateNote=this._listDetails.privateNote,this.public=this._listDetails.public,this.suppressed=this._listDetails.suppressed,this.status=this._listDetails.status,this.validityStart=this._listDetails.validityStart,this.validityEnd=this._listDetails.validityEnd,this.created=this._listDetails.created,this.updated=this._listDetails.updated,this.leaders=this._listDetails.leaders,this.owners=this._listDetails.owners,this.sublistsCount=this._listDetails.sublistsCount,this.parents=this._listDetails.parents,this.subLists=this._listDetails.subLists,this.siblings=this._listDetails.siblings,this.listUserPrivileges=this._listDetails.listUserPrivileges}get formValues(){return{courseCode:this._courseCode,courseName:this._courseName,studentNumber:this._studentNumber}}get _courseCode(){return this?.courseIdentifier??null}get _courseName(){return this?.name??null}get _studentNumber(){return this?.noStudents??null}};var u4=["article","article-magazine","article-journal","article-newspaper","figure","interview","legal_case","review","review-book","thesis","treaty"],Zm=class{constructor(t){this._materialDetailed=t,this._bookFormTypes=["book","map","webpage","speech","song","post-weblog","post","personal_communication","musical_score","bill","chapter","paper-conference","treaty","thesis","pamphlet","manuscript","legislation","legal_case","interview","graphic","report","patent","review","audio-recording"],this._journalArticleFormTypes=["journal","article-newspaper","article-magazine","article-journal","article","review-book","figure"],this.listId=this._materialDetailed.listId,this.sectionId=this._materialDetailed.sectionId,this.subsectionId=this._materialDetailed.subsectionId,this.id=this._materialDetailed.id,this.title=this._materialDetailed.title,this.owner=this._materialDetailed.owner,this.ownerUuid=this._materialDetailed.ownerUuid,this.authors=this._materialDetailed.authors,this.publisher=this._materialDetailed.publisher,this.issuedYear=this._materialDetailed.issuedYear,this.edition=this._materialDetailed.edition,this.doi=this._materialDetailed.doi,this.type=this._materialDetailed.type,this.isbnList=this._materialDetailed.isbnList,this.isElectronic=this._materialDetailed.isElectronic,this.sectionName=this._materialDetailed.sectionName,this.directors=this._materialDetailed.directors,this.composers=this._materialDetailed.composers,this.editors=this._materialDetailed.editors,this.fullTextLink=this._materialDetailed.fullTextLink,this.lmsLink=this._materialDetailed.lmsLink,this.webLink=this._materialDetailed.webLink,this.studentNote=this._materialDetailed.studentNote,this.attachmentLink=this._materialDetailed.attachmentLink,this.attachmentName=this._materialDetailed.attachmentName,this.delayedLink=this._materialDetailed.delayedLink,this.commentsCount=this._materialDetailed.commentsCount,this.likesCount=this._materialDetailed.likesCount,this.readingIntention=this._materialDetailed.readingIntention,this.equivalents=this._materialDetailed.equivalents,this.alternatives=this._materialDetailed.alternatives,this.likeOption=this._materialDetailed.likeOption,this.priority=this._materialDetailed.priority,this.globalTags=this._materialDetailed.globalTags,this.localTags=this._materialDetailed.localTags,this.digitisationRequests=this._materialDetailed.digitisationRequests,this.issnList=this._materialDetailed.issnList,this.volume=this._materialDetailed.volume,this.numberOfPages=this._materialDetailed.numberOfPages,this.chapterNumber=this._materialDetailed.chapterNumber,this.chapterName=this._materialDetailed.chapterName,this.issue=this._materialDetailed.issue,this.containerTitle=this._materialDetailed.containerTitle,this.language=this._materialDetailed.language,this.metadata=this._materialDetailed.metadata}get formValues(){return{isbn:this._isbn,issn:this._issn,title:this._title,authors:this._authors,chapterNumber:this._chapterNumber,numberOfPages:this._numberOfPages,issuedYear:this._issuedYear,edition:this._edition,issue:this._issue,volume:this._volume,publisher:this._publisher,doi:this._doi,isBook:this._isBook,isJournalArticle:this._isJournalArticle,isChapter:this._isChapter,type:this._type,journalTitle:this._journalTitle,containerTitle:this.containerTitle}}get _isbn(){let t=this?.isbnList||this?.metadata?.ISBN||[];return t.length&gt;0?t[0].replace(/[^\dX]/gi,""):null}get _issn(){let t=this?.issnList||this?.metadata?.ISSN||[];return t.length&gt;0?t[0].replace(/[^\dX]/gi,""):null}get _title(){return this?.title||this?.metadata?.title||this?.containerTitle||null}get _authors(){return this?.authors??null}get _chapterNumber(){return this?.chapterNumber||this?.metadata?.chapterNumber||null}get _numberOfPages(){return this?.numberOfPages||this?.metadata?.numberOfPages||null}get _issuedYear(){return this?.issuedYear||Number(this?.metadata?.issued?.raw)||null}get _edition(){return this?.edition||this?.metadata?.edition||null}get _issue(){return this?.issue||this?.metadata?.issue||null}get _volume(){return this?.volume||this?.metadata?.volume||null}get _publisher(){return this?.publisher||this?.metadata?.publisher||null}get _doi(){return this?.doi||this?.metadata?.DOI||null}get _isBook(){return this&amp;&amp;this._bookFormTypes.includes(this.type)}get _isJournalArticle(){return this&amp;&amp;this._journalArticleFormTypes.includes(this.type)}get _journalTitle(){return this?.containerTitle}get _isChapter(){return this?.type==="chapter"}get _type(){return this._isChapter?"chapter":this._isBook?"book":this._isJournalArticle?"journal-article":"other"}};var Oi=function(r){return r.Like="Like",r.Dislike="Dislike",r}(Oi||{}),hv=function(r){return r.WillRead="Will read",r.HaveRead="Have read",r.WillNotRead="Will not read",r}(hv||{});var U4=(()=&gt;{let t=class t{constructor(){this._preferenceService=h(Ca)}getTitle(){return this._preferenceService.getPreferences([je.TitleTag,je.CustomerName]).pipe(O(e=&gt;{let i=atob(e[je.TitleTag]);if(!i)return i;let n=e[je.CustomerName];return i=i.replace("[customer_name]",n),i}))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Y4=(()=&gt;{let t=class t{constructor(){this.isMobile$=h(Er).observe([To.Tiny,To.XSmall,To.Small]).pipe(O(e=&gt;e.matches))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();function bv(...r){let t={config:{},state:{}};for(let{config:o,props:e}of r)Object.assign(t.config,o),Object.assign(t.state,e);return t}var Xm=new qe(!1),_v=Xm.asObservable().pipe(yt(r=&gt;!r),Tt(1));var Gr={},Sl=class{registerPreStoreUpdate(t){Gr.preStoreUpdate=t}registerPreStateInit(t){Gr.preStateInit=t}},r5=new Sl,Tl=new Map,Rl=new H,o5=Rl.asObservable();function vv(r){Tl.set(r.name,r),Rl.next({type:"add",store:r})}function xv(r){Tl.delete(r.name),Rl.next({type:"remove",store:r})}function Jm(){return Tl}var Ia=[];function yv(r){Ia.push(r)}function Qm(r){Ia.length&amp;&amp;Ia.forEach(t=&gt;r.next(t)),Ia=[]}var Al=class extends qe{constructor(t){super(t.state),this.storeDef=t,this.initialState=void 0,this.state=void 0,this.batchInProgress=!1,this.events=new H,this.context={config:this.getConfig(),setEvent:o=&gt;{yv(o)}},this.events$=this.events.asObservable(),this.state=this.getInitialState(t.state),this.initialState=this.getValue(),vv(this)}get name(){return this.storeDef.name}getInitialState(t){return Gr.preStateInit?Gr.preStateInit(t,this.name):t}getConfig(){return this.storeDef.config}query(t){return t(this.getValue())}update(...t){let o=this.getValue(),e=t.reduce((i,n)=&gt;(i=n(i,this.context),i),o);Gr.preStoreUpdate&amp;&amp;(e=Gr.preStoreUpdate(o,e,this.name)),e!==o&amp;&amp;(this.state=e,Xm.getValue()?this.batchInProgress||(this.batchInProgress=!0,_v.subscribe(()=&gt;{super.next(this.state),Qm(this.events),this.batchInProgress=!1})):(super.next(this.state),Qm(this.events)))}getValue(){return this.state}reset(){this.update(()=&gt;this.initialState)}combine(t){let o=!0,e={};return new Ie(i=&gt;{for(let[n,a]of Object.entries(t))i.add(a.subscribe(s=&gt;{e[n]=s,o=!0}));return this.subscribe({next(){o&amp;&amp;(i.next(m({},e)),o=!1)},error(n){i.error(n)},complete(){i.complete()}})})}destroy(){xv(this),this.reset()}next(t){this.update(()=&gt;t)}error(){}complete(){}};function Ot(r,...t){let{state:o,config:e}=bv(...t),{name:i}=r;return new Al({name:i,state:o,config:e})}function ur(r){return Array.isArray(r)?r:[r]}function nn(r){return typeof r=="function"}function an(r){return r.charAt(0).toUpperCase()+r.slice(1)}function wv(r){return typeof r=="object"&amp;&amp;!Array.isArray(r)&amp;&amp;r!==null}function Mi(r,t){return function(o){return C(m({},o),{[r]:nn(t)?t(o[r]):t})}}function $(r){return yi(O(r),xe())}function Wr(){return xe((r,t)=&gt;r===t?!0:r.length!==t.length?!1:!t.some((e,i)=&gt;r[i]!==e))}function Ol(r,{initialValue:t,config:o}){let e=t,i=an(r);return{[`with${i}`](n=e){return{props:{[r]:n},config:o}},[`set${i}InitialValue`](n){e=n},[`set${i}`](n){return function(a){let s=nn(n)?n(a):n;return s===a[r]?a:C(m({},a),{[r]:s})}},[`update${i}`](n){return function(a){let s=nn(n)?n(a):n;return s===a[r]?a:C(m({},a),{[r]:wv(s)?m(m({},a[r]),s):s})}},[`reset${i}`](){return function(n){return C(m({},n),{[r]:e})}},[`select${i}`](){return $(n=&gt;n[r])},[`get${i}`](n){return n[r]}}}function tp(r,t){let o=an(r),e=Ol(r,t);return C(m({},e),{[`add${o}`](i){return function(n){return C(m({},n),{[r]:Cv(n[r],i)})}},[`remove${o}`](i){return function(n){return C(m({},n),{[r]:Iv(n[r],i)})}},[`toggle${o}`](i){return function(n){return C(m({},n),{[r]:Ev(n[r],i)})}},[`update${o}`](i,n){return function(a){return C(m({},a),{[r]:kv(a[r],i,n)})}},[`in${o}`](i){return n=&gt;Dv(n[r],i)}})}function Cv(r,t){return[...r,...ur(t)]}function Iv(r,t){let o=ur(t);return r.filter(e=&gt;!o.includes(e))}function Ev(r,t){let o=ur(t),e=[...r];return o.forEach(i=&gt;{let n=e.indexOf(i);n&gt;-1?e.splice(n,1):e.push(i)}),e}function Dv(r,t){return r.includes(t)}function kv(r,t,o){return r.map(e=&gt;e===t?o:e)}function Mt(r){return{props:r,config:void 0}}var Sv=!0;function ep(){return Sv}var Av=typeof global=="object"&amp;&amp;global&amp;&amp;global.Object===Object&amp;&amp;global,Ea=Av;var Tv=typeof self=="object"&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,Rv=Ea||Tv||Function("return this")(),ae=Rv;var Ov=ae.Symbol,Be=Ov;var ip=Object.prototype,Mv=ip.hasOwnProperty,Pv=ip.toString,sn=Be?Be.toStringTag:void 0;function Fv(r){var t=Mv.call(r,sn),o=r[sn];try{r[sn]=void 0;var e=!0}catch{}var i=Pv.call(r);return e&amp;&amp;(t?r[sn]=o:delete r[sn]),i}var rp=Fv;var Lv=Object.prototype,Nv=Lv.toString;function jv(r){return Nv.call(r)}var op=jv;var Bv="[object Null]",Uv="[object Undefined]",np=Be?Be.toStringTag:void 0;function $v(r){return r==null?r===void 0?Uv:Bv:np&amp;&amp;np in Object(r)?rp(r):op(r)}var He=$v;function Vv(r){return r!=null&amp;&amp;typeof r=="object"}var Ge=Vv;var zv="[object Symbol]";function Hv(r){return typeof r=="symbol"||Ge(r)&amp;&amp;He(r)==zv}var _i=Hv;function Gv(r,t){for(var o=-1,e=r==null?0:r.length,i=Array(e);++o&lt;e;)i[o]=t(r[o],o,r);return i}var Yr=Gv;var Wv=Array.isArray,zt=Wv;var Yv=1/0,ap=Be?Be.prototype:void 0,sp=ap?ap.toString:void 0;function lp(r){if(typeof r=="string")return r;if(zt(r))return Yr(r,lp)+"";if(_i(r))return sp?sp.call(r):"";var t=r+"";return t=="0"&amp;&amp;1/r==-Yv?"-0":t}var cp=lp;function Kv(r){var t=typeof r;return r!=null&amp;&amp;(t=="object"||t=="function")}var Kr=Kv;function qv(r){return r}var Da=qv;var Zv="[object AsyncFunction]",Qv="[object Function]",Xv="[object GeneratorFunction]",Jv="[object Proxy]";function tx(r){if(!Kr(r))return!1;var t=He(r);return t==Qv||t==Xv||t==Zv||t==Jv}var ka=tx;var ex=ae["__core-js_shared__"],Sa=ex;var dp=function(){var r=/[^.]+$/.exec(Sa&amp;&amp;Sa.keys&amp;&amp;Sa.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function ix(r){return!!dp&amp;&amp;dp in r}var up=ix;var rx=Function.prototype,ox=rx.toString;function nx(r){if(r!=null){try{return ox.call(r)}catch{}try{return r+""}catch{}}return""}var vi=nx;var ax=/[\\^$.*+?()[\]{}|]/g,sx=/^\[object .+?Constructor\]$/,lx=Function.prototype,cx=Object.prototype,dx=lx.toString,ux=cx.hasOwnProperty,mx=RegExp("^"+dx.call(ux).replace(ax,"\\$&amp;").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function px(r){if(!Kr(r)||up(r))return!1;var t=ka(r)?mx:sx;return t.test(vi(r))}var mp=px;function fx(r,t){return r?.[t]}var pp=fx;function hx(r,t){var o=pp(r,t);return mp(o)?o:void 0}var we=hx;var gx=we(ae,"WeakMap"),Aa=gx;var bx=function(){try{var r=we(Object,"defineProperty");return r({},"",{}),r}catch{}}(),Ml=bx;var _x=9007199254740991,vx=/^(?:0|[1-9]\d*)$/;function xx(r,t){var o=typeof r;return t=t??_x,!!t&amp;&amp;(o=="number"||o!="symbol"&amp;&amp;vx.test(r))&amp;&amp;r&gt;-1&amp;&amp;r%1==0&amp;&amp;r&lt;t}var Ta=xx;function yx(r,t,o){t=="__proto__"&amp;&amp;Ml?Ml(r,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):r[t]=o}var fp=yx;function wx(r,t){return r===t||r!==r&amp;&amp;t!==t}var Ra=wx;var Cx=9007199254740991;function Ix(r){return typeof r=="number"&amp;&amp;r&gt;-1&amp;&amp;r%1==0&amp;&amp;r&lt;=Cx}var qr=Ix;function Ex(r){return r!=null&amp;&amp;qr(r.length)&amp;&amp;!ka(r)}var Zr=Ex;var Dx=Object.prototype;function kx(r){var t=r&amp;&amp;r.constructor,o=typeof t=="function"&amp;&amp;t.prototype||Dx;return r===o}var hp=kx;function Sx(r,t){for(var o=-1,e=Array(r);++o&lt;r;)e[o]=t(o);return e}var gp=Sx;var Ax="[object Arguments]";function Tx(r){return Ge(r)&amp;&amp;He(r)==Ax}var Pl=Tx;var bp=Object.prototype,Rx=bp.hasOwnProperty,Ox=bp.propertyIsEnumerable,Mx=Pl(function(){return arguments}())?Pl:function(r){return Ge(r)&amp;&amp;Rx.call(r,"callee")&amp;&amp;!Ox.call(r,"callee")},Oa=Mx;function Px(){return!1}var _p=Px;var yp=typeof exports=="object"&amp;&amp;exports&amp;&amp;!exports.nodeType&amp;&amp;exports,vp=yp&amp;&amp;typeof module=="object"&amp;&amp;module&amp;&amp;!module.nodeType&amp;&amp;module,Fx=vp&amp;&amp;vp.exports===yp,xp=Fx?ae.Buffer:void 0,Lx=xp?xp.isBuffer:void 0,Nx=Lx||_p,ln=Nx;var jx="[object Arguments]",Bx="[object Array]",Ux="[object Boolean]",$x="[object Date]",Vx="[object Error]",zx="[object Function]",Hx="[object Map]",Gx="[object Number]",Wx="[object Object]",Yx="[object RegExp]",Kx="[object Set]",qx="[object String]",Zx="[object WeakMap]",Qx="[object ArrayBuffer]",Xx="[object DataView]",Jx="[object Float32Array]",ty="[object Float64Array]",ey="[object Int8Array]",iy="[object Int16Array]",ry="[object Int32Array]",oy="[object Uint8Array]",ny="[object Uint8ClampedArray]",ay="[object Uint16Array]",sy="[object Uint32Array]",$t={};$t[Jx]=$t[ty]=$t[ey]=$t[iy]=$t[ry]=$t[oy]=$t[ny]=$t[ay]=$t[sy]=!0;$t[jx]=$t[Bx]=$t[Qx]=$t[Ux]=$t[Xx]=$t[$x]=$t[Vx]=$t[zx]=$t[Hx]=$t[Gx]=$t[Wx]=$t[Yx]=$t[Kx]=$t[qx]=$t[Zx]=!1;function ly(r){return Ge(r)&amp;&amp;qr(r.length)&amp;&amp;!!$t[He(r)]}var wp=ly;function cy(r){return function(t){return r(t)}}var Ma=cy;var Cp=typeof exports=="object"&amp;&amp;exports&amp;&amp;!exports.nodeType&amp;&amp;exports,cn=Cp&amp;&amp;typeof module=="object"&amp;&amp;module&amp;&amp;!module.nodeType&amp;&amp;module,dy=cn&amp;&amp;cn.exports===Cp,Fl=dy&amp;&amp;Ea.process,uy=function(){try{var r=cn&amp;&amp;cn.require&amp;&amp;cn.require("util").types;return r||Fl&amp;&amp;Fl.binding&amp;&amp;Fl.binding("util")}catch{}}(),Ll=uy;var Ip=Ll&amp;&amp;Ll.isTypedArray,my=Ip?Ma(Ip):wp,Pa=my;var py=Object.prototype,fy=py.hasOwnProperty;function hy(r,t){var o=zt(r),e=!o&amp;&amp;Oa(r),i=!o&amp;&amp;!e&amp;&amp;ln(r),n=!o&amp;&amp;!e&amp;&amp;!i&amp;&amp;Pa(r),a=o||e||i||n,s=a?gp(r.length,String):[],l=s.length;for(var c in r)(t||fy.call(r,c))&amp;&amp;!(a&amp;&amp;(c=="length"||i&amp;&amp;(c=="offset"||c=="parent")||n&amp;&amp;(c=="buffer"||c=="byteLength"||c=="byteOffset")||Ta(c,l)))&amp;&amp;s.push(c);return s}var Ep=hy;function gy(r,t){return function(o){return r(t(o))}}var Dp=gy;var by=Dp(Object.keys,Object),kp=by;var _y=Object.prototype,vy=_y.hasOwnProperty;function xy(r){if(!hp(r))return kp(r);var t=[];for(var o in Object(r))vy.call(r,o)&amp;&amp;o!="constructor"&amp;&amp;t.push(o);return t}var Sp=xy;function yy(r){return Zr(r)?Ep(r):Sp(r)}var Qr=yy;var wy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cy=/^\w*$/;function Iy(r,t){if(zt(r))return!1;var o=typeof r;return o=="number"||o=="symbol"||o=="boolean"||r==null||_i(r)?!0:Cy.test(r)||!wy.test(r)||t!=null&amp;&amp;r in Object(t)}var Xr=Iy;var Ey=we(Object,"create"),xi=Ey;function Dy(){this.__data__=xi?xi(null):{},this.size=0}var Ap=Dy;function ky(r){var t=this.has(r)&amp;&amp;delete this.__data__[r];return this.size-=t?1:0,t}var Tp=ky;var Sy="__lodash_hash_undefined__",Ay=Object.prototype,Ty=Ay.hasOwnProperty;function Ry(r){var t=this.__data__;if(xi){var o=t[r];return o===Sy?void 0:o}return Ty.call(t,r)?t[r]:void 0}var Rp=Ry;var Oy=Object.prototype,My=Oy.hasOwnProperty;function Py(r){var t=this.__data__;return xi?t[r]!==void 0:My.call(t,r)}var Op=Py;var Fy="__lodash_hash_undefined__";function Ly(r,t){var o=this.__data__;return this.size+=this.has(r)?0:1,o[r]=xi&amp;&amp;t===void 0?Fy:t,this}var Mp=Ly;function Jr(r){var t=-1,o=r==null?0:r.length;for(this.clear();++t&lt;o;){var e=r[t];this.set(e[0],e[1])}}Jr.prototype.clear=Ap;Jr.prototype.delete=Tp;Jr.prototype.get=Rp;Jr.prototype.has=Op;Jr.prototype.set=Mp;var Nl=Jr;function Ny(){this.__data__=[],this.size=0}var Pp=Ny;function jy(r,t){for(var o=r.length;o--;)if(Ra(r[o][0],t))return o;return-1}var Pi=jy;var By=Array.prototype,Uy=By.splice;function $y(r){var t=this.__data__,o=Pi(t,r);if(o&lt;0)return!1;var e=t.length-1;return o==e?t.pop():Uy.call(t,o,1),--this.size,!0}var Fp=$y;function Vy(r){var t=this.__data__,o=Pi(t,r);return o&lt;0?void 0:t[o][1]}var Lp=Vy;function zy(r){return Pi(this.__data__,r)&gt;-1}var Np=zy;function Hy(r,t){var o=this.__data__,e=Pi(o,r);return e&lt;0?(++this.size,o.push([r,t])):o[e][1]=t,this}var jp=Hy;function to(r){var t=-1,o=r==null?0:r.length;for(this.clear();++t&lt;o;){var e=r[t];this.set(e[0],e[1])}}to.prototype.clear=Pp;to.prototype.delete=Fp;to.prototype.get=Lp;to.prototype.has=Np;to.prototype.set=jp;var Fi=to;var Gy=we(ae,"Map"),Li=Gy;function Wy(){this.size=0,this.__data__={hash:new Nl,map:new(Li||Fi),string:new Nl}}var Bp=Wy;function Yy(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}var Up=Yy;function Ky(r,t){var o=r.__data__;return Up(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ni=Ky;function qy(r){var t=Ni(this,r).delete(r);return this.size-=t?1:0,t}var $p=qy;function Zy(r){return Ni(this,r).get(r)}var Vp=Zy;function Qy(r){return Ni(this,r).has(r)}var zp=Qy;function Xy(r,t){var o=Ni(this,r),e=o.size;return o.set(r,t),this.size+=o.size==e?0:1,this}var Hp=Xy;function eo(r){var t=-1,o=r==null?0:r.length;for(this.clear();++t&lt;o;){var e=r[t];this.set(e[0],e[1])}}eo.prototype.clear=Bp;eo.prototype.delete=$p;eo.prototype.get=Vp;eo.prototype.has=zp;eo.prototype.set=Hp;var mr=eo;var Jy="Expected a function";function jl(r,t){if(typeof r!="function"||t!=null&amp;&amp;typeof t!="function")throw new TypeError(Jy);var o=function(){var e=arguments,i=t?t.apply(this,e):e[0],n=o.cache;if(n.has(i))return n.get(i);var a=r.apply(this,e);return o.cache=n.set(i,a)||n,a};return o.cache=new(jl.Cache||mr),o}jl.Cache=mr;var Gp=jl;var tw=500;function ew(r){var t=Gp(r,function(e){return o.size===tw&amp;&amp;o.clear(),e}),o=t.cache;return t}var Wp=ew;var iw=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rw=/\\(\\)?/g,ow=Wp(function(r){var t=[];return r.charCodeAt(0)===46&amp;&amp;t.push(""),r.replace(iw,function(o,e,i,n){t.push(i?n.replace(rw,"$1"):e||o)}),t}),Yp=ow;function nw(r){return r==null?"":cp(r)}var Kp=nw;function aw(r,t){return zt(r)?r:Xr(r,t)?[r]:Yp(Kp(r))}var Fa=aw;var sw=1/0;function lw(r){if(typeof r=="string"||_i(r))return r;var t=r+"";return t=="0"&amp;&amp;1/r==-sw?"-0":t}var ji=lw;function cw(r,t){t=Fa(t,r);for(var o=0,e=t.length;r!=null&amp;&amp;o&lt;e;)r=r[ji(t[o++])];return o&amp;&amp;o==e?r:void 0}var io=cw;function dw(r,t,o){var e=r==null?void 0:io(r,t);return e===void 0?o:e}var qp=dw;function uw(r,t){for(var o=-1,e=t.length,i=r.length;++o&lt;e;)r[i+o]=t[o];return r}var Zp=uw;function mw(){this.__data__=new Fi,this.size=0}var Qp=mw;function pw(r){var t=this.__data__,o=t.delete(r);return this.size=t.size,o}var Xp=pw;function fw(r){return this.__data__.get(r)}var Jp=fw;function hw(r){return this.__data__.has(r)}var tf=hw;var gw=200;function bw(r,t){var o=this.__data__;if(o instanceof Fi){var e=o.__data__;if(!Li||e.length&lt;gw-1)return e.push([r,t]),this.size=++o.size,this;o=this.__data__=new mr(e)}return o.set(r,t),this.size=o.size,this}var ef=bw;function ro(r){var t=this.__data__=new Fi(r);this.size=t.size}ro.prototype.clear=Qp;ro.prototype.delete=Xp;ro.prototype.get=Jp;ro.prototype.has=tf;ro.prototype.set=ef;var oo=ro;function _w(r,t){for(var o=-1,e=r==null?0:r.length,i=0,n=[];++o&lt;e;){var a=r[o];t(a,o,r)&amp;&amp;(n[i++]=a)}return n}var rf=_w;function vw(){return[]}var of=vw;var xw=Object.prototype,yw=xw.propertyIsEnumerable,nf=Object.getOwnPropertySymbols,ww=nf?function(r){return r==null?[]:(r=Object(r),rf(nf(r),function(t){return yw.call(r,t)}))}:of,af=ww;function Cw(r,t,o){var e=t(r);return zt(r)?e:Zp(e,o(r))}var sf=Cw;function Iw(r){return sf(r,Qr,af)}var Bl=Iw;var Ew=we(ae,"DataView"),La=Ew;var Dw=we(ae,"Promise"),Na=Dw;var kw=we(ae,"Set"),ja=kw;var lf="[object Map]",Sw="[object Object]",cf="[object Promise]",df="[object Set]",uf="[object WeakMap]",mf="[object DataView]",Aw=vi(La),Tw=vi(Li),Rw=vi(Na),Ow=vi(ja),Mw=vi(Aa),pr=He;(La&amp;&amp;pr(new La(new ArrayBuffer(1)))!=mf||Li&amp;&amp;pr(new Li)!=lf||Na&amp;&amp;pr(Na.resolve())!=cf||ja&amp;&amp;pr(new ja)!=df||Aa&amp;&amp;pr(new Aa)!=uf)&amp;&amp;(pr=function(r){var t=He(r),o=t==Sw?r.constructor:void 0,e=o?vi(o):"";if(e)switch(e){case Aw:return mf;case Tw:return lf;case Rw:return cf;case Ow:return df;case Mw:return uf}return t});var Ul=pr;var Pw=ae.Uint8Array,$l=Pw;var Fw="__lodash_hash_undefined__";function Lw(r){return this.__data__.set(r,Fw),this}var pf=Lw;function Nw(r){return this.__data__.has(r)}var ff=Nw;function Ba(r){var t=-1,o=r==null?0:r.length;for(this.__data__=new mr;++t&lt;o;)this.add(r[t])}Ba.prototype.add=Ba.prototype.push=pf;Ba.prototype.has=ff;var hf=Ba;function jw(r,t){for(var o=-1,e=r==null?0:r.length;++o&lt;e;)if(t(r[o],o,r))return!0;return!1}var gf=jw;function Bw(r,t){return r.has(t)}var bf=Bw;var Uw=1,$w=2;function Vw(r,t,o,e,i,n){var a=o&amp;Uw,s=r.length,l=t.length;if(s!=l&amp;&amp;!(a&amp;&amp;l&gt;s))return!1;var c=n.get(r),d=n.get(t);if(c&amp;&amp;d)return c==t&amp;&amp;d==r;var u=-1,x=!0,k=o&amp;$w?new hf:void 0;for(n.set(r,t),n.set(t,r);++u&lt;s;){var D=r[u],U=t[u];if(e)var W=a?e(U,D,u,t,r,n):e(D,U,u,r,t,n);if(W!==void 0){if(W)continue;x=!1;break}if(k){if(!gf(t,function(dt,Kt){if(!bf(k,Kt)&amp;&amp;(D===dt||i(D,dt,o,e,n)))return k.push(Kt)})){x=!1;break}}else if(!(D===U||i(D,U,o,e,n))){x=!1;break}}return n.delete(r),n.delete(t),x}var Ua=Vw;function zw(r){var t=-1,o=Array(r.size);return r.forEach(function(e,i){o[++t]=[i,e]}),o}var _f=zw;function Hw(r){var t=-1,o=Array(r.size);return r.forEach(function(e){o[++t]=e}),o}var vf=Hw;var Gw=1,Ww=2,Yw="[object Boolean]",Kw="[object Date]",qw="[object Error]",Zw="[object Map]",Qw="[object Number]",Xw="[object RegExp]",Jw="[object Set]",tC="[object String]",eC="[object Symbol]",iC="[object ArrayBuffer]",rC="[object DataView]",xf=Be?Be.prototype:void 0,Vl=xf?xf.valueOf:void 0;function oC(r,t,o,e,i,n,a){switch(o){case rC:if(r.byteLength!=t.byteLength||r.byteOffset!=t.byteOffset)return!1;r=r.buffer,t=t.buffer;case iC:return!(r.byteLength!=t.byteLength||!n(new $l(r),new $l(t)));case Yw:case Kw:case Qw:return Ra(+r,+t);case qw:return r.name==t.name&amp;&amp;r.message==t.message;case Xw:case tC:return r==t+"";case Zw:var s=_f;case Jw:var l=e&amp;Gw;if(s||(s=vf),r.size!=t.size&amp;&amp;!l)return!1;var c=a.get(r);if(c)return c==t;e|=Ww,a.set(r,t);var d=Ua(s(r),s(t),e,i,n,a);return a.delete(r),d;case eC:if(Vl)return Vl.call(r)==Vl.call(t)}return!1}var yf=oC;var nC=1,aC=Object.prototype,sC=aC.hasOwnProperty;function lC(r,t,o,e,i,n){var a=o&amp;nC,s=Bl(r),l=s.length,c=Bl(t),d=c.length;if(l!=d&amp;&amp;!a)return!1;for(var u=l;u--;){var x=s[u];if(!(a?x in t:sC.call(t,x)))return!1}var k=n.get(r),D=n.get(t);if(k&amp;&amp;D)return k==t&amp;&amp;D==r;var U=!0;n.set(r,t),n.set(t,r);for(var W=a;++u&lt;l;){x=s[u];var dt=r[x],Kt=t[x];if(e)var ge=a?e(Kt,dt,x,t,r,n):e(dt,Kt,x,r,t,n);if(!(ge===void 0?dt===Kt||i(dt,Kt,o,e,n):ge)){U=!1;break}W||(W=x=="constructor")}if(U&amp;&amp;!W){var se=r.constructor,It=t.constructor;se!=It&amp;&amp;"constructor"in r&amp;&amp;"constructor"in t&amp;&amp;!(typeof se=="function"&amp;&amp;se instanceof se&amp;&amp;typeof It=="function"&amp;&amp;It instanceof It)&amp;&amp;(U=!1)}return n.delete(r),n.delete(t),U}var wf=lC;var cC=1,Cf="[object Arguments]",If="[object Array]",$a="[object Object]",dC=Object.prototype,Ef=dC.hasOwnProperty;function uC(r,t,o,e,i,n){var a=zt(r),s=zt(t),l=a?If:Ul(r),c=s?If:Ul(t);l=l==Cf?$a:l,c=c==Cf?$a:c;var d=l==$a,u=c==$a,x=l==c;if(x&amp;&amp;ln(r)){if(!ln(t))return!1;a=!0,d=!1}if(x&amp;&amp;!d)return n||(n=new oo),a||Pa(r)?Ua(r,t,o,e,i,n):yf(r,t,l,o,e,i,n);if(!(o&amp;cC)){var k=d&amp;&amp;Ef.call(r,"__wrapped__"),D=u&amp;&amp;Ef.call(t,"__wrapped__");if(k||D){var U=k?r.value():r,W=D?t.value():t;return n||(n=new oo),i(U,W,o,e,n)}}return x?(n||(n=new oo),wf(r,t,o,e,i,n)):!1}var Df=uC;function kf(r,t,o,e,i){return r===t?!0:r==null||t==null||!Ge(r)&amp;&amp;!Ge(t)?r!==r&amp;&amp;t!==t:Df(r,t,o,e,kf,i)}var no=kf;var mC=1,pC=2;function fC(r,t,o,e){var i=o.length,n=i,a=!e;if(r==null)return!n;for(r=Object(r);i--;){var s=o[i];if(a&amp;&amp;s[2]?s[1]!==r[s[0]]:!(s[0]in r))return!1}for(;++i&lt;n;){s=o[i];var l=s[0],c=r[l],d=s[1];if(a&amp;&amp;s[2]){if(c===void 0&amp;&amp;!(l in r))return!1}else{var u=new oo;if(e)var x=e(c,d,l,r,t,u);if(!(x===void 0?no(d,c,mC|pC,e,u):x))return!1}}return!0}var Sf=fC;function hC(r){return r===r&amp;&amp;!Kr(r)}var Va=hC;function gC(r){for(var t=Qr(r),o=t.length;o--;){var e=t[o],i=r[e];t[o]=[e,i,Va(i)]}return t}var Af=gC;function bC(r,t){return function(o){return o==null?!1:o[r]===t&amp;&amp;(t!==void 0||r in Object(o))}}var za=bC;function _C(r){var t=Af(r);return t.length==1&amp;&amp;t[0][2]?za(t[0][0],t[0][1]):function(o){return o===r||Sf(o,r,t)}}var Tf=_C;function vC(r,t){return r!=null&amp;&amp;t in Object(r)}var Rf=vC;function xC(r,t,o){t=Fa(t,r);for(var e=-1,i=t.length,n=!1;++e&lt;i;){var a=ji(t[e]);if(!(n=r!=null&amp;&amp;o(r,a)))break;r=r[a]}return n||++e!=i?n:(i=r==null?0:r.length,!!i&amp;&amp;qr(i)&amp;&amp;Ta(a,i)&amp;&amp;(zt(r)||Oa(r)))}var Of=xC;function yC(r,t){return r!=null&amp;&amp;Of(r,t,Rf)}var Mf=yC;var wC=1,CC=2;function IC(r,t){return Xr(r)&amp;&amp;Va(t)?za(ji(r),t):function(o){var e=qp(o,r);return e===void 0&amp;&amp;e===t?Mf(o,r):no(t,e,wC|CC)}}var Pf=IC;function EC(r){return function(t){return t?.[r]}}var Ff=EC;function DC(r){return function(t){return io(t,r)}}var Lf=DC;function kC(r){return Xr(r)?Ff(ji(r)):Lf(r)}var Nf=kC;function SC(r){return typeof r=="function"?r:r==null?Da:typeof r=="object"?zt(r)?Pf(r[0],r[1]):Tf(r):Nf(r)}var Ha=SC;function AC(r,t,o,e){for(var i=-1,n=r==null?0:r.length;++i&lt;n;){var a=r[i];t(e,a,o(a),r)}return e}var jf=AC;function TC(r){return function(t,o,e){for(var i=-1,n=Object(t),a=e(t),s=a.length;s--;){var l=a[r?s:++i];if(o(n[l],l,n)===!1)break}return t}}var Bf=TC;var RC=Bf(),Uf=RC;function OC(r,t){return r&amp;&amp;Uf(r,t,Qr)}var $f=OC;function MC(r,t){return function(o,e){if(o==null)return o;if(!Zr(o))return r(o,e);for(var i=o.length,n=t?i:-1,a=Object(o);(t?n--:++n&lt;i)&amp;&amp;e(a[n],n,a)!==!1;);return o}}var Vf=MC;var PC=Vf($f),Ga=PC;function FC(r,t,o,e){return Ga(r,function(i,n,a){t(e,i,o(i),a)}),e}var zf=FC;function LC(r,t){return function(o,e){var i=zt(o)?jf:zf,n=t?t():{};return i(o,r,Ha(e,2),n)}}var Hf=LC;function NC(r,t){var o=-1,e=Zr(r)?Array(r.length):[];return Ga(r,function(i,n,a){e[++o]=t(i,n,a)}),e}var Gf=NC;var jC=Object.prototype,BC=jC.hasOwnProperty,UC=Hf(function(r,t,o){BC.call(r,o)?r[o].push(t):fp(r,o,[t])}),$C=UC;function VC(r,t){return no(r,t)}var zl=VC;function zC(r,t){var o=r.length;for(r.sort(t);o--;)r[o]=r[o].value;return r}var Wf=zC;function HC(r,t){if(r!==t){var o=r!==void 0,e=r===null,i=r===r,n=_i(r),a=t!==void 0,s=t===null,l=t===t,c=_i(t);if(!s&amp;&amp;!c&amp;&amp;!n&amp;&amp;r&gt;t||n&amp;&amp;a&amp;&amp;l&amp;&amp;!s&amp;&amp;!c||e&amp;&amp;a&amp;&amp;l||!o&amp;&amp;l||!i)return 1;if(!e&amp;&amp;!n&amp;&amp;!c&amp;&amp;r&lt;t||c&amp;&amp;o&amp;&amp;i&amp;&amp;!e&amp;&amp;!n||s&amp;&amp;o&amp;&amp;i||!a&amp;&amp;i||!l)return-1}return 0}var Yf=HC;function GC(r,t,o){for(var e=-1,i=r.criteria,n=t.criteria,a=i.length,s=o.length;++e&lt;a;){var l=Yf(i[e],n[e]);if(l){if(e&gt;=s)return l;var c=o[e];return l*(c=="desc"?-1:1)}}return r.index-t.index}var Kf=GC;function WC(r,t,o){t.length?t=Yr(t,function(n){return zt(n)?function(a){return io(a,n.length===1?n[0]:n)}:n}):t=[Da];var e=-1;t=Yr(t,Ma(Ha));var i=Gf(r,function(n,a,s){var l=Yr(t,function(c){return c(n)});return{criteria:l,index:++e,value:n}});return Wf(i,function(n,a){return Kf(n,a,o)})}var qf=WC;function YC(r,t,o,e){return r==null?[]:(zt(t)||(t=t==null?[]:[t]),o=e?void 0:o,zt(o)||(o=o==null?[]:[o]),qf(r,t,o))}var Wa=YC;var KC={sections:[],citationEnabled:!1,purchaseRequestEnabled:!1,searchResult:[],searching:!1},Nt=Ot({name:"lists"},Mt(KC)),Ya=(()=&gt;{let t=class t{constructor(){this.listId$=Nt.pipe($(e=&gt;e.details.id)),this.searching$=Nt.pipe($(e=&gt;e.searching)),this.searchKey$=Nt.pipe($(e=&gt;e.searchKey)),this.searchResult$=Nt.pipe($(e=&gt;e.searchResult)),this.searchResultCount$=Nt.pipe($(e=&gt;e.searchResult?.length??0)),this.isSuppressed$=Nt.pipe($(e=&gt;e?.details?.suppressed)),this.listUserPrivileges$=Nt.pipe($(e=&gt;e?.details?.listUserPrivileges)),this.listIsFiltered$=Nt.pipe($(e=&gt;e.filters),O(e=&gt;e?Object.values(e).some(i=&gt;Array.isArray(i)&amp;&amp;i.length||!Array.isArray(i)&amp;&amp;!!i)||!!e.search:!1)),this.sections$=Nt.pipe($(e=&gt;{let i=[];for(let n of e.sections){let a=C(m({},n),{materials:n.materials.filter(this._filterPredicate(e)),subsections:n.subsections.map(s=&gt;C(m({},s),{materials:s.materials.filter(this._filterPredicate(e))}))});i.push(a)}if(e.filters?.sort||e.filters?.sort===0){let n=e.filters?.sort===0?1:-1;i=i.map(a=&gt;C(m({},a),{materials:a.materials.sort(this._sortPredicate(n)),subsections:a.subsections.map(s=&gt;C(m({},s),{materials:s.materials.sort(this._sortPredicate(n))}))}))}return i})).pipe(xe(zl)),this.isFilteredAndNotMatched$=hn([this.listIsFiltered$,this.sections$]).pipe(O(([e,i])=&gt;e?i.every(n=&gt;n.materials.length===0&amp;&amp;n.subsections.every(a=&gt;a.materials.length===0)):!1)),this.quickViewSections$=this.sections$.pipe(O(e=&gt;e.map(i=&gt;({sectionId:i.id,sectionName:i.name,subsections:i.subsections.map(n=&gt;({sectionId:n.id,sectionName:n.name}))})))),this.sectionsIsFiltered$=Nt.pipe($(e=&gt;e.filters),O(e=&gt;e?Object.values(e).some(i=&gt;Array.isArray(i)&amp;&amp;i.length||!Array.isArray(i)&amp;&amp;!!i):!1)),this.listFilters$=Nt.pipe($(e=&gt;e.filters)),this.detail$=Nt.pipe($(e=&gt;e.details)),this.detailIsList$=this.detail$.pipe(O(e=&gt;e?.type==="list"||e?.type==="sublist")),this.studentPersonalizationSetting$=Nt.pipe($(e=&gt;e.studentPersonalizationSetting)),this.userRoles$=Nt.pipe($(e=&gt;e.userRoles)),this.citationEnabled$=Nt.pipe($(e=&gt;e.citationEnabled)),this.purchaseRequestEnabled$=Nt.pipe($(e=&gt;e.purchaseRequestEnabled)),this.digitisationRequestMaterialTypes$=Nt.pipe($(e=&gt;e.digitisationRequestMaterialTypes)),this.tableOfContentEnabled$=Nt.pipe($(e=&gt;e.tableOfContentEnabled)),this.materialsPriorityTags$=Nt.pipe($(e=&gt;e.sections.reduce((i,n)=&gt;{let a=n.materials,s=n.subsections?.reduce((l,c)=&gt;[...l,...c.materials],[]);return[...i,...a,...s||[]]},[])),O(e=&gt;e.map(i=&gt;i.priority)),Wr(),O(e=&gt;{let i=e.map(n=&gt;n.id);return e.filter(({id:n},a)=&gt;!i.includes(n,a+1)&amp;&amp;n!==0)})),this.materialsLocalTags$=Nt.pipe($(e=&gt;e.sections.reduce((i,n)=&gt;{let a=n.materials,s=n.subsections?.reduce((l,c)=&gt;[...l,...c.materials],[]);return[...i,...a,...s||[]]},[])),O(e=&gt;e.map(i=&gt;i.localTags).reduce((i,n)=&gt;[...i,...n],[])),O(e=&gt;{let i=e.map(n=&gt;n.id);return e.filter(({id:n},a)=&gt;!i.includes(n,a+1))})),this.materials$=Nt.pipe($(e=&gt;e.sections.reduce((i,n)=&gt;{let a=n.materials;if(n.subsections&amp;&amp;n.subsections.length&gt;0){let s=n.subsections.reduce((l,c)=&gt;[...l,...c.materials],[]);return[...i,...a,...s]}return[...i,...a]},[])),Wr()),this.detailsMaterialNavigatorItems$=Nt.pipe($(e=&gt;e.sections),O(e=&gt;e.reduce((i,n)=&gt;[...i,...n.materials.map(a=&gt;({listId:a.listId,sectionId:a.sectionId,id:a.id,title:a.title,owner:a.owner,ownerUuid:a.ownerUuid})),...n.subsections.reduce((a,s)=&gt;[...a,...s.materials.map(l=&gt;({listId:l.listId,sectionId:l.sectionId,subsectionId:l.subsectionId,id:l.id,title:l.title,owner:l.owner,ownerUuid:l.ownerUuid}))],[])],[]))),this._filterPredicate=e=&gt;i=&gt;(!e?.filters?.materialTypes?.length||e.filters.materialTypes.includes(i.type)&amp;&amp;!i.isElectronic||e.filters.materialTypes.includes(`e-${i.type}`)&amp;&amp;i.isElectronic)&amp;&amp;(!e?.filters?.priorityTags?.length||e.filters.priorityTags.includes(i.priority.id))&amp;&amp;(!e?.filters?.tags?.length||e.filters.tags.every(n=&gt;i.localTags.map(a=&gt;a.id).includes(n)))&amp;&amp;(!e.filters?.search||i.title&amp;&amp;i.title.toLocaleLowerCase().indexOf(e.filters.search.toLocaleLowerCase())&gt;-1||i.containerTitle&amp;&amp;i.containerTitle.toLocaleLowerCase().indexOf(e.filters.search.toLocaleLowerCase())&gt;-1||i.chapterNumber&amp;&amp;i.chapterNumber.toLocaleLowerCase().indexOf(e.filters.search.toLocaleLowerCase())&gt;-1||i.studentNote&amp;&amp;(i.studentNote?.toLocaleLowerCase().indexOf(e.filters.search.toLocaleLowerCase())??-1)&gt;-1||[...i.authors??[],...i.editors??[],...i.directors??[]].some(n=&gt;n.toLocaleLowerCase().indexOf(e.filters.search.toLocaleLowerCase())&gt;-1)||i.owner&amp;&amp;i.owner.toLocaleLowerCase().indexOf(e.filters.search.toLocaleLowerCase())&gt;-1||i.alternatives?.some(n=&gt;n.title.toLowerCase().indexOf(e.filters.search.toLowerCase())&gt;-1)||i.equivalents?.some(n=&gt;n.title.toLowerCase().indexOf(e.filters.search.toLowerCase())&gt;-1)),this._sortPredicate=e=&gt;(i,n)=&gt;i.title.toLocaleLowerCase()&gt;n.title.toLocaleLowerCase()?1*e:-1*e}setListSearchKey(e){this._shallowUpdate({searchKey:e})}updateSearchResult(e){this._shallowUpdate({searchResult:e})}updateSearching(e){this._shallowUpdate({searching:e})}setFilters(e){this._shallowUpdate({filters:e})}updateListDetails(e,i=!1){i?this._shallowUpdate({details:e,searchResult:[]}):this._shallowUpdate({details:e})}updateSuppressed(e){let i="Active";!e.suppressed&amp;&amp;e.inherited_suppressed?i="PartlyActive":e.suppressed&amp;&amp;(i="Inactive");let n=C(m({},Nt.state.details),{suppressed:e.suppressed,status:i});this._shallowUpdate({details:n})}updateListSections(e){e=e??[],this._shallowUpdate({sections:e})}updateStudentPersonalizationSetting(e){this._shallowUpdate({studentPersonalizationSetting:e})}updateCitationButtonVisibility(e){this._shallowUpdate({citationEnabled:e})}updatePurchaseRequestButtonVisibility(e){this._shallowUpdate({purchaseRequestEnabled:e})}updateDigitisationRequstMaterialTypes(e){this._shallowUpdate({digitisationRequestMaterialTypes:e})}updateLikesCount(e,i,n){let a=[...Nt.state.sections],s=a.reduce((l,c)=&gt;[...l,...c.materials,...c.subsections.reduce((d,u)=&gt;[...d,...u.materials],[])],[]).find(l=&gt;l.id===i);s&amp;&amp;(s.likesCount=n),this.updateListSections(a)}updateListSectionsAndMaterials(e,i){let n=i.reduce((s,l)=&gt;(s[l.sectionId]||(s[l.sectionId]=[]),s[l.sectionId].push(l),s),{}),a=[...e];for(let s of Object.keys(n)){let l=a.find(c=&gt;c.id===Number(s));if(l&amp;&amp;(l.materials||(l.materials=[...n[s].filter(c=&gt;!c.subsectionId).map(c=&gt;C(m({},c),{sectionName:l.name}))]),l.subsections.length))for(let c of l.subsections)c.materials=i.filter(d=&gt;d.subsectionId===c.id).map(d=&gt;C(m({},d),{sectionName:c.name}))}this._shallowUpdate({sections:a})}updateUserRoles(e){this._shallowUpdate({userRoles:e})}updateCommentsCount(e,i,n){let a=[...Nt.state.sections],s=a.reduce((l,c)=&gt;[...l,...c.materials,...c.subsections.reduce((d,u)=&gt;[...d,...u.materials],[])],[]).find(l=&gt;l.id===i);s&amp;&amp;(s.commentsCount=n),this.updateListSections(a)}_shallowUpdate(e){Nt.update(i=&gt;m(m({},i),e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var HW=new y("premium-banner-provider"),GW=new y("beta-banner-provider");function Gl(r,t){let o={},e=[];for(let i of r){let n=i[t];e.push(n),o[n]=i}return{ids:e,asObject:o}}function ZC(r,t,o){let{idsKey:e,entitiesKey:i}=t,n=r[i];return r[e].filter(a=&gt;o(n[a]))}function Zf(r,t){return r.config[t.idKeyRef]}var Hl=class{constructor(t){this.entitiesKey=void 0,this.idsKey=void 0,this.idKeyRef="idKey",this.entitiesKey=t.entitiesKey,this.idsKey=t.idsKey,this.idKeyRef=t.idKeyRef}};function Ka(r){let t=r?`idKey${an(r)}`:"idKey",o=new Hl({entitiesKey:r?`${r}Entities`:"entities",idsKey:r?`${r}Ids`:"ids",idKeyRef:t});function e(i){let n={},a=[],s=i?.idKey||"id";return i?.initialValue&amp;&amp;({ids:a,asObject:n}=Gl(i.initialValue,s)),{props:{[o.entitiesKey]:n,[o.idsKey]:a},config:{[t]:s}}}return{[`${r}EntitiesRef`]:o,[`with${an(r)}Entities`]:e}}var{withEntities:ao,EntitiesRef:We}=Ka(""),{UIEntitiesRef:QW,withUIEntities:XW}=Ka("UI");function Qf(r,t={}){return function(o,e){let{ref:{idsKey:i,entitiesKey:n}=We}=t,a=ur(r),s=m({},o[n]),l=o[i].filter(c=&gt;!a.includes(c));for(let c of a)Reflect.deleteProperty(s,c);return e.setEvent({type:"delete",ids:a}),C(m({},o),{[n]:s,[i]:l})}}function Xf(r,t={}){return function(o,e){let{prepend:i=!1,ref:n=We}=t,{entitiesKey:a,idsKey:s}=n,l=Zf(e,n),c=ur(r);if(!c.length)return o;ep()&amp;&amp;(QC(c,l,o,a),XC(c,l));let{ids:d,asObject:u}=Gl(c,l);return e.setEvent({type:"add",ids:d}),C(m({},o),{[a]:m(m({},o[a]),u),[s]:i?[...d,...o[s]]:[...o[s],...d]})}}function QC(r,t,o,e){r.forEach(i=&gt;{let n=i[t];if(o[e][n])throw Error(`Entity already exists. ${t} ${n}`)})}function XC(r,t){let o=new Set;r.forEach(e=&gt;{let i=e[t];if(o.has(i))throw Error(`Duplicate entity id provided. ${t} ${i}`);o.add(i)})}function Wl(r,t={}){return function(o,e){let{ref:i=We}=t,{entitiesKey:n,idsKey:a}=i,{ids:s,asObject:l}=Gl(r,Zf(e,i));return e.setEvent({type:"set",ids:s}),C(m({},o),{[n]:l,[a]:s})}}function Jf(r={}){let{ref:{entitiesKey:t,idsKey:o}=We}=r;return function(e){return e[o].map(i=&gt;e[t][i])}}function JC(r,t={}){return function(o){let{ref:{entitiesKey:e}=We}=t;return o[e][r]}}function t1(r,t={}){return function(o){let{ref:{entitiesKey:e}=We}=t;return Reflect.has(o[e],r)}}function e1(r,t){return nn(r)?r(t):m(m({},t),r)}function Yl(r,t,o={}){return function(e,i){let n=ur(r);if(!n.length)return e;let{ref:{entitiesKey:a}=We}=o,s={};for(let l of n)t1(l,o)(e)&amp;&amp;(s[l]=e1(t,JC(l,o)(e)));return i.setEvent({type:"update",ids:n}),C(m({},e),{[a]:m(m({},e[a]),s)})}}function th(r,t={}){return function(o,e){let{ref:{idsKey:i}=We}=t;return Yl(o[i],r,t)(o,e)}}function Kl(r){return xe((t,o)=&gt;t[r]===o[r])}function eh(r={}){let{ref:{entitiesKey:t,idsKey:o}=We}=r;return yi(Kl(t),O(e=&gt;e[o].map(i=&gt;e[t][i])))}function dn(r){let{ref:{entitiesKey:t,idsKey:o}=We,filterEntity:e=()=&gt;!0,mapEntity:i=n=&gt;n}=r;return yi(Kl(t),O(n=&gt;{let a=[];for(let s of n[o]){let l=n[t][s];e(l)&amp;&amp;a.push(i(l))}return a}))}function qa(r,t={}){let o=t.ref||We;return yi(Kl(o.entitiesKey),O(e=&gt;ZC(e,o,r).length),xe())}var{selectActiveId:JW,setActiveId:tY,withActiveId:Za,resetActiveId:eY,getActiveId:iY}=Ol("activeId",{initialValue:void 0});var{setActiveIds:rY,resetActiveIds:oY,withActiveIds:nY,selectActiveIds:aY,toggleActiveIds:sY,removeActiveIds:lY,addActiveIds:cY,getActiveIds:dY}=tp("activeIds",{initialValue:[]});var ih;(function(r){let t;(function(e){e[e.FOLDER=0]="FOLDER",e[e.WORKBOOK=1]="WORKBOOK"})(t=r.WorkbookType||(r.WorkbookType={}));let o;(function(e){e[e.TrueFalse=0]="TrueFalse",e[e.MultipleChoice=1]="MultipleChoice"})(o=r.QuestionType||(r.QuestionType={}))})(ih||(ih={}));var rh=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="cdk-overlay-transparent-backdrop",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}};var i1=function(r){return r[r.OFF=0]="OFF",r[r.ON=1]="ON",r[r.PAUSED=2]="PAUSED",r}(i1||{}),r1=function(r){return r[r.COMPLETE=0]="COMPLETE",r[r.REINITIALIZE=1]="REINITIALIZE",r[r.NAVIGATION=2]="NAVIGATION",r[r.CANCELLED=3]="CANCELLED",r}(r1||{}),o1=function(r){return r[r.popover=0]="popover",r[r.modal=1]="modal",r}(o1||{}),n1=function(r){return r[r.Next=0]="Next",r[r.End=1]="End",r[r.Skip=2]="Skip",r}(n1||{});function so(r,t){let o={source:l=&gt;l,preStoreInit:l=&gt;l,key:t.key??`${r.name}@store`,runGuard(){return typeof window&lt;"u"}},e=m(m({},o),t);if(!e.runGuard?.())return{initialized$:Wt(!1),unsubscribe(){}};let{storage:i}=t,n=new ss(1),a=li(i.getItem(e.key)).subscribe(l=&gt;{l&amp;&amp;r.update(c=&gt;e.preStoreInit(m(m({},c),l))),n.next(!0),n.complete()}),s=e.source(r).pipe(fc(1),Dt(l=&gt;{let c=e.preStorageUpdate?e.preStorageUpdate(r.name,l):l;return i.setItem(e.key,c)})).subscribe();return{initialized$:n.asObservable(),unsubscribe(){s.unsubscribe(),a.unsubscribe()}}}function oh(r){if(r)return{getItem(t){let o=r.getItem(t);return Wt(o&amp;&amp;JSON.parse(o))},setItem(t,o){return r.setItem(t,JSON.stringify(o)),Wt(!0)},removeItem(t){return r.removeItem(t),Wt(!0)}}}var a1=()=&gt;{try{if(typeof localStorage&lt;"u")return localStorage}catch{}},nh=oh(a1()),s1=()=&gt;{try{if(typeof sessionStorage&lt;"u")return sessionStorage}catch{}},lo=oh(s1());function Qa(r){return yi(O(t=&gt;Object.keys(t).reduce((o,e)=&gt;(r.includes(e)||(o[e]=t[e]),o),{})))}var ql=Ot({name:"shared/auth"},Mt({accessCode:void 0,redeemed:!1,institutions:[],accessCodeBooks:[],providers:[]}));lo&amp;&amp;so(ql,{key:"auth",source:()=&gt;ql.pipe(Qa(["institutions","lastUsedProviderType","lastUsedProvider"])),storage:lo});var l1=new y("Injection Token For Auth Store",{providedIn:"root",factory:()=&gt;ql});var u1=pn(Xl());var ah=pn(Xl()),f1=new y("file-save",{factory:()=&gt;ah.default});var Jl=(()=&gt;{class r extends Xc{pathId;ngOnInit(){this.pathId="url(#"+Ln()+")"}static \u0275fac=(()=&gt;{let o;return function(i){return(o||(o=ot(r)))(i||r)}})();static \u0275cmp=Ct({type:r,selectors:[["SpinnerIcon"]],standalone:!0,features:[J,Gi],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(e,i){e&amp;1&amp;&amp;(bc(),L(0,"svg",0)(1,"g"),nt(2,"path",1),N(),L(3,"defs")(4,"clipPath",2),nt(5,"rect",3),N()()()),e&amp;2&amp;&amp;(xr(i.getClassNames()),tt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role),E(),tt("clip-path",i.pathId),E(3),I("id",i.pathId))},encapsulation:2})}return r})();function g1(r,t){r&amp;1&amp;&amp;Dc(0)}function b1(r,t){if(r&amp;1&amp;&amp;nt(0,"span",8),r&amp;2){let o=K(3);xr("p-button-loading-icon pi-spin "+o.loadingIcon),I("ngClass",o.iconClass()),tt("aria-hidden",!0)("data-pc-section","loadingicon")}}function _1(r,t){if(r&amp;1&amp;&amp;nt(0,"SpinnerIcon",9),r&amp;2){let o=K(3);I("styleClass",o.spinnerIconClass())("spin",!0),tt("aria-hidden",!0)("data-pc-section","loadingicon")}}function v1(r,t){if(r&amp;1&amp;&amp;(zi(0),z(1,b1,1,5,"span",6)(2,_1,1,4,"SpinnerIcon",7),Hi()),r&amp;2){let o=K(2);E(),I("ngIf",o.loadingIcon),E(),I("ngIf",!o.loadingIcon)}}function x1(r,t){}function y1(r,t){r&amp;1&amp;&amp;z(0,x1,0,0,"ng-template")}function w1(r,t){if(r&amp;1&amp;&amp;(L(0,"span",10),z(1,y1,1,0,null,1),N()),r&amp;2){let o=K(2);I("ngClass",o.iconClass()),tt("aria-hidden",!0)("data-pc-section","loadingicon"),E(),I("ngTemplateOutlet",o.loadingIconTemplate)}}function C1(r,t){if(r&amp;1&amp;&amp;(zi(0),z(1,v1,3,2,"ng-container",2)(2,w1,2,4,"span",5),Hi()),r&amp;2){let o=K();E(),I("ngIf",!o.loadingIconTemplate),E(),I("ngIf",o.loadingIconTemplate)}}function I1(r,t){if(r&amp;1&amp;&amp;nt(0,"span",8),r&amp;2){let o=K(2);xr(o.icon),I("ngClass",o.iconClass()),tt("data-pc-section","icon")}}function E1(r,t){}function D1(r,t){if(r&amp;1&amp;&amp;z(0,E1,0,0,"ng-template",12),r&amp;2){let o=K(3);I("ngIf",!o.icon)}}function k1(r,t){if(r&amp;1&amp;&amp;(L(0,"span",8),z(1,D1,1,1,null,1),N()),r&amp;2){let o=K(2);I("ngClass",o.iconClass()),tt("data-pc-section","icon"),E(),I("ngTemplateOutlet",o.iconTemplate)}}function S1(r,t){if(r&amp;1&amp;&amp;(zi(0),z(1,I1,1,4,"span",6)(2,k1,2,3,"span",11),Hi()),r&amp;2){let o=K();E(),I("ngIf",o.icon&amp;&amp;!o.iconTemplate),E(),I("ngIf",!o.icon&amp;&amp;o.iconTemplate)}}function A1(r,t){if(r&amp;1&amp;&amp;(L(0,"span",13),ee(1),N()),r&amp;2){let o=K();tt("aria-hidden",o.icon&amp;&amp;!o.label)("data-pc-section","label"),E(),pe(o.label)}}function T1(r,t){if(r&amp;1&amp;&amp;(L(0,"span",8),ee(1),N()),r&amp;2){let o=K();xr(o.badgeClass),I("ngClass",o.badgeStyleClass()),tt("data-pc-section","badge"),E(),pe(o.badge)}}var R1=["*"];var lh=(()=&gt;{class r{el;type="button";iconPos="left";icon;badge;label;disabled;loading=!1;loadingIcon;raised=!1;rounded=!1;text=!1;plain=!1;severity;outlined=!1;link=!1;size;style;styleClass;badgeClass;ariaLabel;onClick=new Bt;onFocus=new Bt;onBlur=new Bt;contentTemplate;loadingIconTemplate;iconTemplate;templates;constructor(o){this.el=o}spinnerIconClass(){return Object.entries(this.iconClass()).filter(([,o])=&gt;!!o).reduce((o,[e])=&gt;o+` ${e}`,"p-button-loading-icon")}iconClass(){return{"p-button-icon":!0,"p-button-icon-left":this.iconPos==="left"&amp;&amp;this.label,"p-button-icon-right":this.iconPos==="right"&amp;&amp;this.label,"p-button-icon-top":this.iconPos==="top"&amp;&amp;this.label,"p-button-icon-bottom":this.iconPos==="bottom"&amp;&amp;this.label}}get buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":(this.icon||this.iconTemplate||this.loadingIcon||this.loadingIconTemplate)&amp;&amp;!this.label,"p-button-vertical":(this.iconPos==="top"||this.iconPos==="bottom")&amp;&amp;this.label,"p-disabled":this.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&amp;&amp;!this.icon&amp;&amp;this.label&amp;&amp;!this.loadingIcon&amp;&amp;this.iconPos==="left","p-button-link":this.link,[`p-button-${this.severity}`]:this.severity,"p-button-raised":this.raised,"p-button-rounded":this.rounded,"p-button-text":this.text,"p-button-outlined":this.outlined,"p-button-sm":this.size==="small","p-button-lg":this.size==="large","p-button-plain":this.plain,[`${this.styleClass}`]:this.styleClass}}ngAfterContentInit(){this.templates?.forEach(o=&gt;{switch(o.getType()){case"content":this.contentTemplate=o.template;break;case"icon":this.iconTemplate=o.template;break;case"loadingicon":this.loadingIconTemplate=o.template;break;default:this.contentTemplate=o.template;break}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&amp;&amp;String(this.badge).length===1}}static \u0275fac=function(e){return new(e||r)(p(X))};static \u0275cmp=Ct({type:r,selectors:[["p-button"]],contentQueries:function(e,i,n){if(e&amp;1&amp;&amp;te(n,Bn,4),e&amp;2){let a;lt(a=ct())&amp;&amp;(i.templates=a)}},hostAttrs:[1,"p-element"],hostVars:2,hostBindings:function(e,i){e&amp;2&amp;&amp;ft("p-disabled",i.disabled)},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",raised:"raised",rounded:"rounded",text:"text",plain:"plain",severity:"severity",outlined:"outlined",link:"link",size:"size",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:R1,decls:7,vars:12,consts:[["pRipple","",3,"ngStyle","disabled","ngClass","click","focus","blur"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",3,"ngClass",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon",3,"ngClass"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(e,i){e&amp;1&amp;&amp;(me(),L(0,"button",0),Rt("click",function(a){return i.onClick.emit(a)})("focus",function(a){return i.onFocus.emit(a)})("blur",function(a){return i.onBlur.emit(a)}),ht(1),z(2,g1,1,0,"ng-container",1)(3,C1,3,2,"ng-container",2)(4,S1,3,2,"ng-container",2)(5,A1,2,3,"span",3)(6,T1,2,5,"span",4),N()),e&amp;2&amp;&amp;(I("ngStyle",i.style)("disabled",i.disabled||i.loading)("ngClass",i.buttonClass),tt("type",i.type)("aria-label",i.ariaLabel)("data-pc-name","button")("data-pc-section","root"),E(2),I("ngTemplateOutlet",i.contentTemplate),E(),I("ngIf",i.loading),E(),I("ngIf",!i.loading),E(),I("ngIf",!i.contentTemplate&amp;&amp;i.label),E(),I("ngIf",!i.contentTemplate&amp;&amp;i.badge))},dependencies:()=&gt;[yr,Ci,Dn,Pc,Jc,Jl],encapsulation:2,changeDetection:0})}return r})(),ch=(()=&gt;{class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=it({type:r});static \u0275inj=rt({imports:[De,td,Cs,Jl,Cs]})}return r})();var tc=(()=&gt;{let t=class t{constructor(){this._componentDestroyed$=new H}ngOnDestroy(){this._componentDestroyed$.next(),this._componentDestroyed$.complete()}};t.\u0275fac=function(i){return new(i||t)},t.\u0275dir=V({type:t});let r=t;return r})();var W9=new y("PAGE_TITLE");var M1={long:"LLLL",short:"LLL",narrow:"LLLLL"},P1={long:"EEEE",short:"EEE",narrow:"EEEEE"},Xa=class{constructor(t){this.locale=t}getLocalization(){let t=this.getShortDateFormat(),o=this.getMonthNames("long"),e=this.getMonthNames("short"),i=this.getDayOfWeekNames("long"),n=this.getDayOfWeekNames("short"),a=this.getDayOfWeekNames("narrow"),s=this.getFirstDayOfWeek();return{dateFormat:t,monthNames:o,monthNamesShort:e,dayNames:i,dayNamesShort:n,dayNamesMin:a,firstDayOfWeek:s}}getShortDateFormat(){return this.locale?.formatLong?.date({width:"short"})?.toLowerCase()?.replace(/y+/g,"yy")||"dd/mm/yy"}getMonthNames(t){let o=M1[t];return dh(12,e=&gt;rn(new Date(2017,e,1),o,{locale:this.locale}))}getDayOfWeekNames(t){let o=P1[t];return dh(7,e=&gt;rn(new Date(2017,0,e+1),o,{locale:this.locale}))}getFirstDayOfWeek(){return this.locale.options?.weekStartsOn??0}};function dh(r,t){let o=Array(r);for(let e=0;e&lt;r;e++)o[e]=t(e);return o}function cZ(){return[{provide:yn,multi:!0,useFactory:()=&gt;{let r=h(mi),t=h(jn),o=h(Cl);return t.ripple=!0,t.translationObserver=o.dateFnsLocale$.pipe(pc(50)),r.events$.pipe(yt(i=&gt;i.type==="translationLoadSuccess"&amp;&amp;!i.payload?.scope)).pipe(Dt(()=&gt;r.selectTranslate("PRIMENG.startsWith",{},{scope:"shared/ui"})),gc(o.dateFnsLocale$.pipe(yt(Boolean)))).subscribe(([i,n])=&gt;{let a=r.translateObject("sharedUi.PRIMENG"),s=new Xa(n).getLocalization();t.setTranslation(m(m({},a),s))}),()=&gt;Promise.resolve()}}]}var un=(()=&gt;{let t=class t{constructor(){this._messageService=h(Tr),this._translocoService=h(mi)}open(e,i,n,a={}){let{translation:{detailParams:s,detailScope:l,summaryParams:c,summaryScope:d}={}}=a,u,x;u=Wt(e),x=Wt(i),a.skipTranslation||(u=this._translocoService.selectTranslate(e,s,l).pipe(Tt(1)),x=this._translocoService.selectTranslate(i,c,d).pipe(Tt(1))),Ee([x,u]).pipe(Tt(1)).subscribe(([k,D])=&gt;{this._messageService.add(C(m({key:wo,styleClass:i?"":"no-summary",severity:n},a),{summary:k,detail:D}))})}clear(e=wo){return this._messageService.clear(e)}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();var uh=(()=&gt;{let t=class t{constructor(){this._injector=h(_n),this._document=h(vt),this._portalOutlet=new Rr(this._document.body,h(vr),h(wn),this._injector,this._document)}init(){import("./chunk-BICZ4V3H.js").then(e=&gt;e.ToastWrapperComponent).then(e=&gt;{this._componentPortal=new $e(e,null,this._injector),this._portalOutlet.attach(this._componentPortal)})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();function DZ(){return Jt([uh,Tr,un,{provide:vc,useValue:()=&gt;h(uh).init(),multi:!0},xc(Me)])}function F1(r,t){if(r&amp;1&amp;&amp;nt(0,"hr",6)(1,"span",7),r&amp;2){let o=K(2);E(),I("textContent",o.data.detail)}}var L1=(r,t)=&gt;({"items-center":r,"items-start":t});function N1(r,t){if(r&amp;1&amp;&amp;(L(0,"div",2)(1,"mat-icon",3),ee(2),N(),L(3,"div",4),nt(4,"span",5),z(5,F1,2,1),N()()),r&amp;2){let o=K();I("ngClass",kc(5,L1,!o.data.detail,o.data.detail)),E(),I("ngClass",o.iconColor),E(),pe(o.iconName),E(2),I("innerHTML",o.data.summary,wc),E(),ui(5,o.data.detail?5:-1)}}function j1(r,t){if(r&amp;1&amp;&amp;nt(0,"hr",6)(1,"span",11),r&amp;2){let o=K(2);E(),I("textContent",o.data.detail)}}function B1(r,t){if(r&amp;1){let o=ei();L(0,"div",8)(1,"div",9)(2,"mat-icon",10),ee(3),N(),L(4,"div",4),nt(5,"span",11),z(6,j1,2,1),N()(),L(7,"button",12),Rt("click",function(){Xe(o);let i=K();return Je(i.close())}),L(8,"mat-icon"),ee(9,"close"),N()()()}if(r&amp;2){let o=K();I("ngClass",o.bgColor),E(3),pe(o.iconName),E(2),I("textContent",o.data.summary),E(),ui(6,o.data.detail?6:-1)}}var mh=(()=&gt;{var t;let o=class o{constructor(){A(this,t,void 0);at(this,t,h(gi)),this.data=h(Nr)}get iconName(){switch(this.data.type){case"error":return"error";case"success":return"check_circle";case"warning":return"warning";default:return"info"}}get iconColor(){switch(this.data.type){case"error":return"text-error-500";case"success":return"text-green-500";case"warning":return"text-deep-orange-700";default:return"text-info-600"}}get bgColor(){switch(this.data.type){case"error":return"bg-error-700";case"success":return"bg-green-500";case"warning":return"bg-deep-orange-700";default:return"bg-info-600"}}close(){f(this,t).dismiss()}};t=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=Ct({type:o,selectors:[["ktx-ui-toastr"]],standalone:!0,features:[Gi],decls:2,vars:2,consts:[["class","m-8 flex w-auto flex-row items-start justify-start rounded bg-white px-6 py-3.5 shadow-xl md:w-[512px]",3,"ngClass"],["class","flex w-auto flex-row items-center justify-between rounded px-4 py-3.5 shadow-xl md:w-[512px]",3,"ngClass"],[1,"m-8","flex","w-auto","flex-row","items-start","justify-start","rounded","bg-white","px-6","py-3.5","shadow-xl","md:w-[512px]",3,"ngClass"],[1,"mr-3.5",3,"ngClass"],[1,"flex","flex-col","items-stretch","justify-start","gap-3"],[1,"font-semibold","leading-5","text-gray-900",3,"innerHTML"],[1,"h-0.5","bg-gray-200"],[1,"font-semibold","leading-5","text-gray-900",3,"textContent"],[1,"flex","w-auto","flex-row","items-center","justify-between","rounded","px-4","py-3.5","shadow-xl","md:w-[512px]",3,"ngClass"],[1,"flex","items-start"],[1,"mr-2.5","text-white"],[3,"textContent"],["mat-icon-button","",1,"ml-2","h-8","w-8","leading-8",3,"click"]],template:function(n,a){n&amp;1&amp;&amp;z(0,N1,6,8,"div",0)(1,B1,10,4,"div",1),n&amp;2&amp;&amp;(ui(0,a.data.fill?-1:0),E(),ui(1,a.data.fill?1:-1))},dependencies:[De,yr,al,rd,id,Hn,Ro],styles:[".ktx-ui-toastr{background:transparent!important;box-shadow:none!important;padding:0!important;min-height:auto!important;min-width:auto!important;max-width:fit-content!important}"],changeDetection:0});let r=o;return r})();var ec=(()=&gt;{var t;let o=class o{constructor(){A(this,t,void 0);at(this,t,h(jr)),this._defaultConfig={horizontalPosition:"center",verticalPosition:"bottom",duration:3e3,panelClass:[]}}error(i,n,a){dr(i).pipe(ho()).subscribe(s=&gt;{this._open({summary:s,detail:n,type:"error"},a)})}warning(i,n,a){dr(i).pipe(ho()).subscribe(s=&gt;{this._open({summary:s,detail:n,type:"warning"},a)})}success(i,n,a={}){dr(i).pipe(ho()).subscribe(s=&gt;{this._open({summary:s,detail:n,type:"success"},a)})}information(i,n,a){this._open({summary:i,detail:n,type:"information"},a)}default(i,n,a){dr(i).pipe(ho()).subscribe(s=&gt;{f(this,t).open(s,n,a)})}_open(i,n){let a=m(m({},this._defaultConfig),n);f(this,t).openFromComponent(mh,C(m({},a),{panelClass:["ktx-ui-toastr","m-auto",...a.panelClass??[]],data:{type:i.type,summary:i.summary,detail:i.detail,fill:!!a.fill}}))}};t=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275prov=g({token:o,factory:o.\u0275fac,providedIn:"root"});let r=o;return r})();function qZ(){return Jt([ec,jr])}var V1=pn(ph());var z1=Ot({name:"admin/consumers"},ao(),Za(),Mt({organisations:[],loading:!1,pagination:{pageSize:15,pageNo:1}})),H1=new y("Injection Token For Admin Consumers Store",{providedIn:"root",factory:()=&gt;z1});var co=new y("AVAILABLE_LANGS"),fh=new y("DEFAULT_LANG",{providedIn:"root",factory(){let r=h(mi),t=h(co),e=h(cr).getItem("reader-lang"),i=Zc(),n=r.getDefaultLang()??t[0].code;return e&amp;&amp;r.isLang(e)?e:i&amp;&amp;r.isLang(i)?i:n}});var es=(()=&gt;{var t,o,e;let i=class i{constructor(){A(this,t,void 0);A(this,o,void 0);A(this,e,void 0);at(this,t,h(fh)),at(this,o,h(mi)),at(this,e,h(cr)),this.availableLangs=h(co),f(this,o).setDefaultLang(f(this,t)),f(this,o).setActiveLang(f(this,t)),this.activeLang$=f(this,o).langChanges$}getActiveLang(){return f(this,o).getActiveLang()}setActiveLang(a){a&amp;&amp;(f(this,o).isLang(a)||(a=f(this,t)),a!==this.getActiveLang()&amp;&amp;(f(this,e).setItem("reader-lang",a),f(this,o).setActiveLang(a)))}};t=new WeakMap,o=new WeakMap,e=new WeakMap,i.\u0275fac=function(s){return new(s||i)},i.\u0275prov=g({token:i,factory:i.\u0275fac,providedIn:"root"});let r=i;return r})();var G1=()=&gt;{let r=h(co),t=h(es),o=h(Re),e=h(vt).documentElement;return()=&gt;{t.activeLang$.subscribe(i=&gt;{let{dir:n}=r.find(({code:a})=&gt;i===a);e.setAttribute("dir",n),e.setAttribute("lang",i),o.value=n,o.change.next(n)})}},is=[{code:"ca",name:"Catal\xE0",dir:"ltr",locale:"ca-ES"},{code:"cy",name:"Cymraeg",dir:"ltr",locale:"cy-GB"},{code:"de",name:"Deutsch",dir:"ltr",locale:"de-DE"},{code:"en",name:"English (UK)",dir:"ltr",locale:"en-GB"},{code:"es",name:"Espa\xF1ol (Espa\xF1a)",dir:"ltr",locale:"es-ES"},{code:"fr",name:"Fran\xE7ais",dir:"ltr",locale:"fr-FR"},{code:"vi",name:"Ti\u1EBFng Vi\u1EC7t",dir:"ltr",locale:"vi-VN"},{code:"tr",name:"T\xFCrk\xE7e",dir:"ltr",locale:"tr-TR"},{code:"he",name:"\u05E2\u05B4\u05D1\u05E8\u05B4\u05D9\u05EA",dir:"rtl",locale:"he-IL"},{code:"ar",name:"\u0639\u0631\u0628\u064A",dir:"rtl",locale:"ar-AR-u-nu-latn"}],rs=is,_tt=[{provide:co,useValue:is},{provide:yn,multi:!0,useFactory:G1}];function W1(r,t,o){let e=Gc(r);return e!==null?new Intl.NumberFormat(t,o).format(e):""}function Y1(r,t,o){return K1(r)?new Intl.DateTimeFormat(t,o).format(r):""}function K1(r){return r instanceof Date&amp;&amp;!isNaN(r)}var q1={"aa-DJ":"DJF","aa-ER":"ERN","aa-ET":"ETB","ab-GE":"ETB","ab-TR":"ETB","af-BW":"ETB","af-NA":"ETB","af-ZA":"ZAR","ak-GH":"ZAR","am-ET":"ETB","am-IL":"ETB","ar-AE":"AED","ar-AR":"AED","ar-BH":"BHD","ar-CM":"BHD","ar-CY":"BHD","ar-DJ":"BHD","ar-DZ":"DZD","ar-EG":"EGP","ar-EH":"EGP","ar-ER":"EGP","ar-IL":"EGP","ar-IQ":"IQD","ar-IR":"IQD","ar-JO":"JOD","ar-KE":"JOD","ar-KM":"JOD","ar-KW":"KWD","ar-LB":"LBP","ar-LY":"LYD","ar-MA":"MAD","ar-ML":"MAD","ar-MR":"MAD","ar-NE":"MAD","ar-NG":"MAD","ar-OM":"OMR","ar-PS":"OMR","ar-QA":"QAR","ar-SA":"SAR","ar-SD":"SDD","ar-SS":"SDD","ar-SY":"SYP","ar-TD":"SYP","ar-TJ":"SYP","ar-TN":"TND","ar-TR":"TND","ar-YE":"YER","as-IN":"INR","av-RU":"INR","ay-BO":"INR","ay-PE":"INR","az-AZ":"AZM","ba-RU":"AZM","be-BY":"BYR","be-PL":"BYR","be-UA":"BYR","bg-BG":"BGN","bg-GR":"BGN","bg-MD":"BGN","bg-RO":"BGN","bg-TR":"BGN","bg-UA":"BGN","bi-VU":"BGN","bm-ML":"BGN","bn-BD":"BDT","bn-GB":"BDT","bn-IN":"INR","bn-NP":"INR","bo-CN":"CNY","bo-IN":"INR","bo-NP":"INR","br-FR":"EUR","bs-BA":"BAM","ca-AD":"EUR","ca-ES":"EUR","ca-FR":"EUR","ca-IT":"EUR","ce-RU":"EUR","ch-GU":"EUR","ch-MP":"EUR","co-FR":"EUR","cs-CZ":"CZK","cv-RU":"RUB","cy-AR":"RUB","cy-GB":"GBP","da-DE":"GBP","da-DK":"DKK","da-GL":"DKK","da-IS":"DKK","de-AT":"EUR","de-BE":"EUR","de-BR":"EUR","de-CA":"EUR","de-CH":"CHF","de-CZ":"CHF","de-DE":"EUR","de-DK":"EUR","de-HU":"EUR","de-IT":"EUR","de-KZ":"EUR","de-LI":"EUR","de-LU":"EUR","de-NA":"EUR","de-PL":"EUR","de-PY":"EUR","de-RO":"EUR","de-SK":"EUR","de-US":"EUR","dv-IN":"EUR","dv-MV":"MVR","dz-BT":"BTN","dz-IN":"BTN","ee-GH":"BTN","ee-TG":"BTN","el-AL":"BTN","el-CY":"EUR","el-DE":"EUR","el-EG":"EUR","el-GB":"EUR","el-GR":"EUR","el-IT":"EUR","el-RO":"EUR","el-TR":"EUR","el-UA":"EUR","en-AC":"EUR","en-AG":"XCD","en-AI":"XCD","en-AS":"XCD","en-AU":"AUD","en-AW":"AUD","en-BB":"AUD","en-BE":"AUD","en-BM":"AUD","en-BN":"AUD","en-BS":"AUD","en-BW":"BWP","en-BZ":"BWP","en-CA":"CAD","en-CC":"CAD","en-CK":"CAD","en-CM":"CAD","en-CN":"CAD","en-CX":"CAD","en-DE":"CAD","en-DG":"CAD","en-DM":"CAD","en-DO":"CAD","en-ES":"CAD","en-ET":"CAD","en-FI":"CAD","en-FJ":"CAD","en-FK":"CAD","en-FM":"CAD","en-FR":"CAD","en-GB":"GBP","en-GD":"GBP","en-GG":"GBP","en-GH":"GBP","en-GI":"GBP","en-GM":"GBP","en-GU":"GBP","en-GY":"GBP","en-HK":"HKD","en-HN":"HKD","en-IE":"EUR","en-IL":"EUR","en-IM":"EUR","en-IN":"INR","en-IO":"INR","en-IT":"INR","en-JE":"INR","en-JM":"INR","en-KE":"INR","en-KI":"INR","en-KN":"INR","en-KY":"INR","en-LB":"INR","en-LC":"INR","en-LK":"INR","en-LR":"INR","en-LS":"INR","en-MG":"INR","en-MH":"INR","en-MP":"INR","en-MS":"INR","en-MT":"INR","en-MU":"INR","en-MW":"INR","en-MY":"INR","en-NA":"INR","en-NF":"INR","en-NG":"NGN","en-NL":"NGN","en-NR":"NGN","en-NU":"NGN","en-NZ":"NZD","en-PA":"NZD","en-PG":"NZD","en-PH":"PHP","en-PI":"PHP","en-PK":"PHP","en-PM":"PHP","en-PN":"PHP","en-PR":"PHP","en-PW":"PHP","en-RW":"PHP","en-SB":"PHP","en-SC":"PHP","en-SG":"SGD","en-SH":"SGD","en-SL":"SGD","en-SS":"SGD","en-SZ":"SGD","en-TA":"SGD","en-TC":"SGD","en-TK":"SGD","en-TO":"SGD","en-TT":"SGD","en-TV":"SGD","en-TZ":"SGD","en-UD":"SGD","en-UG":"SGD","en-UM":"SGD","en-US":"USD","en-VC":"USD","en-VG":"USD","en-VI":"USD","en-VU":"USD","en-WS":"USD","en-ZA":"ZAR","en-ZM":"ZAR","en-ZW":"ZWD","eo-EO":"ZWD","eo-SM":"ZWD","es-AD":"ZWD","es-AR":"ARS","es-BO":"BOB","es-BZ":"BOB","es-CL":"CLP","es-CO":"COP","es-CR":"CRC","es-CU":"CRC","es-DE":"CRC","es-DO":"DOP","es-EA":"DOP","es-EC":"USD","es-ES":"EUR","es-GQ":"EUR","es-GT":"GTQ","es-HN":"HNL","es-IC":"HNL","es-LA":"HNL","es-MA":"HNL","es-MX":"MXN","es-NI":"NIO","es-PA":"PAB","es-PE":"PEN","es-PH":"PEN","es-PR":"USD","es-PY":"PYG","es-SV":"SVC","es-TT":"SVC","es-US":"USD","es-UY":"UYU","es-VE":"VEB","et-EE":"EEK","et-FI":"EEK","eu-ES":"EUR","eu-FR":"EUR","fa-AE":"EUR","fa-AF":"EUR","fa-IQ":"EUR","fa-IR":"IRR","fa-OM":"IRR","fa-PK":"IRR","fa-QA":"IRR","fa-TJ":"IRR","fb-LT":"IRR","ff-GN":"IRR","ff-MR":"IRR","ff-SN":"IRR","fi-FI":"EUR","fi-RU":"EUR","fi-SE":"EUR","fj-FJ":"EUR","fo-FO":"DKK","fr-AD":"DKK","fr-BE":"EUR","fr-BF":"EUR","fr-BI":"EUR","fr-BJ":"EUR","fr-BL":"EUR","fr-CA":"CAD","fr-CD":"CAD","fr-CF":"CAD","fr-CG":"CAD","fr-CH":"CHF","fr-CI":"CHF","fr-CM":"CHF","fr-CP":"CHF","fr-DJ":"CHF","fr-DZ":"CHF","fr-FR":"EUR","fr-GA":"EUR","fr-GB":"EUR","fr-GF":"EUR","fr-GN":"EUR","fr-GP":"EUR","fr-GQ":"EUR","fr-HT":"EUR","fr-IT":"EUR","fr-KM":"EUR","fr-LB":"EUR","fr-LU":"EUR","fr-MA":"EUR","fr-MC":"EUR","fr-MF":"EUR","fr-MG":"EUR","fr-ML":"EUR","fr-MQ":"EUR","fr-MR":"EUR","fr-MU":"EUR","fr-NC":"EUR","fr-NE":"EUR","fr-PF":"EUR","fr-PM":"EUR","fr-RE":"EUR","fr-RW":"EUR","fr-SC":"EUR","fr-SN":"EUR","fr-SY":"EUR","fr-TD":"EUR","fr-TF":"EUR","fr-TG":"EUR","fr-TN":"EUR","fr-US":"EUR","fr-VU":"EUR","fr-WF":"EUR","fr-YT":"EUR","fy-NL":"EUR","ga-GB":"EUR","ga-IE":"EUR","gd-GB":"GBP","gl-ES":"EUR","gl-PT":"EUR","gn-AR":"EUR","gn-BO":"EUR","gn-PY":"EUR","gu-IN":"INR","gu-KE":"INR","gv-IM":"INR","he-IL":"ILS","hi-FJ":"ILS","hi-IN":"INR","hi-NP":"INR","hi-UG":"INR","hi-ZA":"INR","ho-PG":"INR","hr-AT":"INR","hr-BA":"INR","hr-DE":"INR","hr-HR":"HRK","hr-HU":"HRK","hr-IT":"HRK","ht-HT":"HTG","hu-AT":"HTG","hu-HU":"HUF","hu-IL":"HUF","hu-RO":"HUF","hu-RS":"HUF","hu-SI":"HUF","hu-SK":"HUF","hu-UA":"HUF","hy-AM":"AMD","hy-CY":"AMD","hy-GE":"AMD","hy-IR":"AMD","hy-LB":"AMD","hy-SY":"AMD","hy-TR":"AMD","ia-SE":"AMD","id-ID":"IDR","id-NL":"IDR","ig-NG":"NGN","ii-CN":"NGN","ik-US":"NGN","is-IS":"ISK","it-AU":"ISK","it-BR":"ISK","it-CA":"ISK","it-CH":"CHF","it-DE":"CHF","it-FR":"CHF","it-GB":"CHF","it-HR":"CHF","it-IT":"EUR","it-SI":"EUR","it-SM":"EUR","it-US":"EUR","it-VA":"EUR","iu-GL":"EUR","ja-BR":"EUR","ja-JP":"JPY","jv-ID":"JPY","jv-MY":"JPY","ka-GE":"GEL","ka-IR":"GEL","ka-TR":"GEL","kg-CD":"GEL","ki-KE":"GEL","kj-NA":"GEL","kl-DK":"GEL","kl-GL":"DKK","km-KH":"KHR","kn-IN":"INR","ko-BR":"INR","ko-CN":"INR","ko-JP":"INR","ko-KP":"INR","ko-KR":"KRW","ko-US":"KRW","ks-GB":"KRW","ks-IN":"INR","ks-PK":"INR","ku-TR":"TRY","kw-GB":"GBP","la-VA":"GBP","lb-LU":"GBP","lg-UG":"UGX","li-NL":"EUR","ln-CD":"EUR","ln-CG":"EUR","lo-LA":"LAK","lt-LT":"LTL","lu-CD":"LTL","lv-LV":"LVL","mg-MG":"MGA","mh-MH":"MGA","mi-NZ":"NZD","mk-AL":"NZD","mk-GR":"NZD","mk-MK":"MKD","ml-AE":"MKD","ml-BH":"MKD","ml-GB":"MKD","ml-IL":"MKD","ml-IN":"INR","ml-MY":"INR","ml-QA":"INR","ml-SG":"INR","mr-IN":"INR","ms-BN":"INR","ms-CC":"INR","ms-ID":"INR","ms-MY":"MYR","ms-SG":"MYR","mt-MT":"EUR","my-BD":"EUR","my-MM":"MMK","na-NR":"MMK","nb-NO":"NOK","nb-SJ":"NOK","nd-ZW":"NOK","ne-BT":"NOK","ne-IN":"NOK","ne-NP":"INR","ng-NA":"INR","nl-AW":"AWG","nl-BE":"EUR","nl-DE":"EUR","nl-FR":"EUR","nl-NL":"EUR","nl-SR":"EUR","nn-NO":"NOK","nr-ZA":"ZAR","nv-US":"ZAR","ny-MW":"ZAR","ny-MZ":"ZAR","ny-ZM":"ZAR","ny-ZW":"ZAR","oc-FR":"EUR","om-ET":"ETB","om-KE":"KES","om-SO":"KES","or-IN":"INR","os-GE":"INR","pa-IN":"INR","pl-CZ":"INR","pl-DE":"INR","pl-IL":"INR","pl-PL":"PLN","pl-RO":"PLN","pl-SK":"PLN","pl-UA":"PLN","ps-AE":"PLN","ps-AF":"AFN","ps-IR":"AFN","ps-PK":"AFN","pt-AG":"AFN","pt-AO":"AFN","pt-BR":"BRL","pt-CV":"BRL","pt-FR":"BRL","pt-GW":"BRL","pt-MO":"BRL","pt-MZ":"BRL","pt-PT":"EUR","pt-ST":"EUR","pt-TL":"EUR","qu-BO":"EUR","qu-PE":"EUR","rm-CH":"EUR","rn-BI":"EUR","ro-HU":"EUR","ro-IL":"EUR","ro-MD":"EUR","ro-RO":"RON","ro-RS":"RON","ro-UA":"RON","ru-BY":"RON","ru-CN":"RON","ru-DE":"RON","ru-EE":"RON","ru-FI":"RON","ru-GE":"RON","ru-IL":"RON","ru-KG":"RON","ru-KZ":"RON","ru-LT":"RON","ru-LV":"RON","ru-MD":"RON","ru-MN":"RON","ru-RU":"RUB","ru-SJ":"RUB","ru-TM":"RUB","ru-UA":"UAH","ru-US":"UAH","ru-UZ":"UAH","rw-CD":"UAH","rw-RW":"RWF","rw-UG":"RWF","sa-IN":"INR","se-FI":"INR","se-NO":"NOK","se-SE":"NOK","sg-CF":"NOK","si-LK":"LKR","sk-HU":"LKR","sk-RS":"LKR","sk-SK":"EUR","sl-AT":"EUR","sl-HU":"EUR","sl-IT":"EUR","sl-SI":"EUR","sm-AS":"EUR","sm-WS":"EUR","sn-ZW":"EUR","so-DJ":"DJF","so-ET":"ETB","so-KE":"ETB","so-SO":"SOS","sq-AL":"ALL","sq-GR":"ALL","sq-ME":"ALL","sq-MK":"MKD","sq-RS":"MKD","sq-TR":"MKD","sr-RS":"RSD","ss-LS":"RSD","ss-SZ":"RSD","ss-ZA":"ZAR","st-LS":"ZAR","st-ZA":"ZAR","su-ID":"ZAR","sv-AX":"ZAR","sv-FI":"EUR","sv-SE":"SEK","sw-BI":"SEK","sw-CD":"SEK","sw-KE":"SEK","sw-MZ":"SEK","sw-SO":"SEK","sw-TZ":"SEK","sw-UG":"SEK","sw-YT":"SEK","sw-ZA":"SEK","ta-IN":"INR","ta-LK":"INR","ta-MU":"INR","ta-MY":"INR","ta-RE":"INR","ta-SG":"INR","te-IN":"INR","th-TH":"THB","ti-ER":"ERN","ti-ET":"ETB","ti-IL":"ETB","tk-AF":"ETB","tk-IR":"ETB","tk-TM":"TMM","tl-PH":"PHP","tl-US":"PHP","tn-BW":"PHP","tn-NA":"PHP","tn-ZA":"ZAR","tn-ZW":"ZAR","to-TO":"ZAR","tr-BG":"ZAR","tr-CY":"TRY","tr-DE":"TRY","tr-GR":"TRY","tr-MK":"TRY","tr-NL":"TRY","tr-RO":"TRY","tr-TR":"TRY","tr-UA":"TRY","tr-UZ":"TRY","ts-MZ":"TRY","ts-SZ":"TRY","ts-ZA":"ZAR","tt-RU":"RUB","ty-PF":"RUB","uk-PL":"RUB","uk-SK":"RUB","uk-UA":"UAH","ur-IN":"UAH","ur-MU":"UAH","ur-PK":"PKR","ve-ZA":"ZAR","ve-ZW":"ZAR","vi-CN":"ZAR","vi-US":"ZAR","vi-VN":"VND","wa-BE":"EUR","xh-LS":"EUR","xh-ZA":"ZAR","yi-UA":"ZAR","yo-BJ":"ZAR","yo-NG":"NGN","za-CN":"NGN","zh-CN":"CNY","zh-HK":"HKD","zh-TW":"TWD","zu-LS":"TWD","zu-MW":"TWD","zu-MZ":"TWD","zu-SZ":"TWD","zu-ZA":"ZAR"},Z1={localeConfig:{global:{},localeBased:{}},defaultLocale:"en-US",defaultCurrency:"USD",localeToCurrencyMapping:q1,langToLocaleMapping:{}},Q1=new y("TRANSLOCO_LOCALE_DEFAULT_LOCALE"),X1=new y("TRANSLOCO_LOCALE_DEFAULT_CURRENCY"),J1=new y("TRANSLOCO_LOCALE_LANG_MAPPING"),tI=new y("TRANSLOCO_LOCALE_CONFIG"),eI=new y("TRANSLOCO_LOCALE_CURRENCY_MAPPING"),iI=new y("TRANSLOCO_DATE_TRANSFORMER"),rI=new y("TRANSLOCO_NUMBER_TRANSFORMER"),ic=class{transform(t,o,e){return Y1(t,o,e)}},rc=class{transform(t,o,e,i){return W1(t,e,C(m({},i),{style:o}))}};var ktt=(()=&gt;{class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=it({type:r});static \u0275inj=rt({})}return r})();function hh(r){let t=m(m({},Z1),r);return[oI(t.localeConfig),sI(t.defaultLocale),lI(t.defaultCurrency),nI(t.langToLocaleMapping),aI(t.localeToCurrencyMapping),cI(ic),dI(rc)]}function oI(r){return Jt([{provide:tI,useValue:r}])}function nI(r){return Jt([{provide:J1,useValue:r}])}function aI(r){return Jt([{provide:eI,useValue:r}])}function sI(r){return Jt([{provide:Q1,useValue:r}])}function lI(r){return Jt([{provide:X1,useValue:r}])}function cI(r){return Jt([{provide:iI,useClass:r}])}function dI(r){return Jt([{provide:rI,useClass:r}])}var uI=(()=&gt;{var t,o;let e=class e{constructor(){A(this,t,h(Tr,{optional:!0}));A(this,o,h(jr,{optional:!0}))}handle(n,a){if(a.missingHandler?.logMissingKey&amp;&amp;!a.prodMode){let s=`Missing translation for '${n}', please raise this with the wider group.`;f(this,t)?f(this,t).add({key:wo,styleClass:"no-summary",severity:"warn",summary:"",detail:s}):f(this,o)&amp;&amp;f(this,o).open(s),console.warn(`%c ${s}`,"font-size: 12px; color: red")}return n}};t=new WeakMap,o=new WeakMap,e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=g({token:e,factory:e.\u0275fac});let r=e;return r})(),gh={provide:Wc,useClass:uI};var Ktt=new y("Translation path for transloco loader"),bh=new y("Translation path fn for transloco loader"),pI=(()=&gt;{let t=class t{constructor(e,i,n,a){this._http=e,this._environment=i,this._baseHref=n,this._translationPathFn=a,this._appVersion=this._environment.version}getTranslation(e){return this._http.get(this._getTranslationPath(e))}_getTranslationPath(e){return(this._translationPathFn?this._translationPathFn({lang:e,baseHref:this._baseHref,appVersion:this._appVersion}):`/assets/i18n/${e}.json?v=${this._appVersion}`).trim().replace("//","/")}};t.\u0275fac=function(i){return new(i||t)(w(ue),w(na),w(Mc),w(bh,8))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();function qtt(r){return Jt([...qc({config:m({availableLangs:rs.map(t=&gt;t.code),defaultLang:"en",fallbackLang:"en",missingHandler:{logMissingKey:!0,useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!fs(),flatten:{aot:!fs()}},r?.translocoConfig),loader:r?.loader??pI}),...hh(m({langToLocaleMapping:rs.reduce((t,o)=&gt;C(m({},t),{[o.code]:o.locale}),{}),localeToCurrencyMapping:rs.reduce((t,o)=&gt;C(m({},t),{[o.locale]:"GBP"}),{}),defaultCurrency:"GBP"},r?.translocoLocaleConfig)),gh,{provide:bh,useValue:r?.getTranslationPath}])}var oc=Ot({name:"shared/ui"},Mt({loading:!1,teamsSession:!1,sidenavCollapsed:!1,extractsEnabled:!1,appNav:[],adminLinks:[],lang:"en",availableLangs:is}));lo&amp;&amp;so(oc,{key:"shared/ui",storage:lo,source:()=&gt;oc.pipe(Qa(["loading","teamsSession","sidenavCollapsed","extractsEnabled","appNav","lang","availableLangs"]))});var _h=new y("Injection Token For Shared UI Store",{providedIn:"root",factory:()=&gt;oc});var nc=(()=&gt;{var t,o;let e=class e{constructor(){A(this,t,void 0);A(this,o,void 0);at(this,t,h(_h)),at(this,o,h(es)),this.loading$=f(this,t).pipe($(n=&gt;n.loading)),this.teamsSession$=f(this,t).pipe($(n=&gt;n.teamsSession)),this.sidenavCollapsed$=f(this,t).pipe($(n=&gt;n.sidenavCollapsed)),this.extractsEnabled$=f(this,t).pipe($(n=&gt;n.extractsEnabled)),this.appNav$=f(this,t).pipe($(n=&gt;n.appNav)),this.adminLinks$=f(this,t).pipe($(n=&gt;n.adminLinks)),this.activeLang$=f(this,o).activeLang$,this.sidenavToggle=new H}setLoading(n=!0){f(this,t).update(Mi("loading",n))}setTeamsSession(n=!0){f(this,t).update(Mi("teamsSession",n))}setExtractsEnabled(n=!0){f(this,t).update(Mi("extractsEnabled",n))}toggleSidenavCollapsed(n){f(this,t).update(a=&gt;C(m({},a),{sidenavCollapsed:n!==void 0?n:!a.sidenavCollapsed}))}toggleSidenavOpen(n){this.sidenavToggle.next(n)}setAppNav(n){f(this,t).update(Mi("appNav",n))}setAdminLinks(n){f(this,t).update(Mi("adminLinks",n))}changeLang(n){f(this,o).setActiveLang(n)}reset(){}isTeamsSession(){return f(this,t).getValue().teamsSession}get availableLangs(){return f(this,o).availableLangs}setAvailableLangs(n){f(this,o).availableLangs=n;let a=f(this,o).getActiveLang();f(this,o).setActiveLang(a)}};t=new WeakMap,o=new WeakMap,e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();var Det=1e3*60*60*10;var vh=(()=&gt;{class r{platformId;el;zone;config;renderer;viewContainer;tooltipPosition;tooltipEvent="hover";appendTo;positionStyle;tooltipStyleClass;tooltipZIndex;escape=!0;showDelay;hideDelay;life;positionTop;positionLeft;autoHide=!0;fitContent=!0;hideOnEscape=!0;content;get disabled(){return this._disabled}set disabled(o){this._disabled=o,this.deactivate()}tooltipOptions;_tooltipOptions={tooltipLabel:null,tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",positionStyle:null,tooltipStyleClass:null,tooltipZIndex:"auto",escape:!0,disabled:null,showDelay:null,hideDelay:null,positionTop:null,positionLeft:null,life:null,autoHide:!0,hideOnEscape:!0,id:Ln()+"_tooltip"};_disabled;container;styleClass;tooltipText;showTimeout;hideTimeout;active;mouseEnterListener;mouseLeaveListener;containerMouseleaveListener;clickListener;focusListener;blurListener;scrollHandler;resizeListener;constructor(o,e,i,n,a,s){this.platformId=o,this.el=e,this.zone=i,this.config=n,this.renderer=a,this.viewContainer=s}ngAfterViewInit(){Fc(this.platformId)&amp;&amp;this.zone.runOutsideAngular(()=&gt;{if(this.getOption("tooltipEvent")==="hover")this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if(this.getOption("tooltipEvent")==="focus"){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let o=this.getTarget(this.el.nativeElement);o.addEventListener("focus",this.focusListener),o.addEventListener("blur",this.blurListener)}})}ngOnChanges(o){o.tooltipPosition&amp;&amp;this.setOption({tooltipPosition:o.tooltipPosition.currentValue}),o.tooltipEvent&amp;&amp;this.setOption({tooltipEvent:o.tooltipEvent.currentValue}),o.appendTo&amp;&amp;this.setOption({appendTo:o.appendTo.currentValue}),o.positionStyle&amp;&amp;this.setOption({positionStyle:o.positionStyle.currentValue}),o.tooltipStyleClass&amp;&amp;this.setOption({tooltipStyleClass:o.tooltipStyleClass.currentValue}),o.tooltipZIndex&amp;&amp;this.setOption({tooltipZIndex:o.tooltipZIndex.currentValue}),o.escape&amp;&amp;this.setOption({escape:o.escape.currentValue}),o.showDelay&amp;&amp;this.setOption({showDelay:o.showDelay.currentValue}),o.hideDelay&amp;&amp;this.setOption({hideDelay:o.hideDelay.currentValue}),o.life&amp;&amp;this.setOption({life:o.life.currentValue}),o.positionTop&amp;&amp;this.setOption({positionTop:o.positionTop.currentValue}),o.positionLeft&amp;&amp;this.setOption({positionLeft:o.positionLeft.currentValue}),o.disabled&amp;&amp;this.setOption({disabled:o.disabled.currentValue}),o.content&amp;&amp;(this.setOption({tooltipLabel:o.content.currentValue}),this.active&amp;&amp;(o.content.currentValue?this.container&amp;&amp;this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),o.autoHide&amp;&amp;this.setOption({autoHide:o.autoHide.currentValue}),o.id&amp;&amp;this.setOption({id:o.id.currentValue}),o.tooltipOptions&amp;&amp;(this._tooltipOptions=m(m({},this._tooltipOptions),o.tooltipOptions.currentValue),this.deactivate(),this.active&amp;&amp;(this.getOption("tooltipLabel")?this.container&amp;&amp;this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(o){!this.container&amp;&amp;!this.showTimeout&amp;&amp;this.activate()}onMouseLeave(o){this.isAutoHide()?this.deactivate():!(Pt.hasClass(o.relatedTarget,"p-tooltip")||Pt.hasClass(o.relatedTarget,"p-tooltip-text")||Pt.hasClass(o.relatedTarget,"p-tooltip-arrow"))&amp;&amp;this.deactivate()}onFocus(o){this.activate()}onBlur(o){this.deactivate()}onInputClick(o){this.deactivate()}onPressEscape(){this.hideOnEscape&amp;&amp;this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=&gt;{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let o=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=&gt;{this.hide()},o)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=&gt;{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&amp;&amp;(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div"),this.container.setAttribute("id",this.getOption("id")),this.container.setAttribute("role","tooltip");let o=document.createElement("div");o.className="p-tooltip-arrow",this.container.appendChild(o),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&amp;&amp;(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),this.getOption("appendTo")==="body"?document.body.appendChild(this.container):this.getOption("appendTo")==="target"?Pt.appendChild(this.container,this.el.nativeElement):Pt.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&amp;&amp;(this.container.style.width="fit-content"),this.isAutoHide()?this.container.style.pointerEvents="none":(this.container.style.pointerEvents="unset",this.bindContainerMouseleaveListener())}bindContainerMouseleaveListener(){if(!this.containerMouseleaveListener){let o=this.container??this.container.nativeElement;this.containerMouseleaveListener=this.renderer.listen(o,"mouseleave",e=&gt;{this.deactivate()})}}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&amp;&amp;(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),Pt.fadeIn(this.container,250),this.getOption("tooltipZIndex")==="auto"?Nn.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){this.getOption("tooltipZIndex")==="auto"&amp;&amp;Nn.clear(this.container),this.remove()}updateText(){let o=this.getOption("tooltipLabel");if(o instanceof Te){let e=this.viewContainer.createEmbeddedView(o);e.detectChanges(),e.rootNodes.forEach(i=&gt;this.tooltipText.appendChild(i))}else this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(o))):this.tooltipText.innerHTML=o}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&amp;&amp;(this.alignBottom(),this.isOutOfBounds()&amp;&amp;(this.alignRight(),this.isOutOfBounds()&amp;&amp;this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&amp;&amp;(this.alignTop(),this.isOutOfBounds()&amp;&amp;(this.alignRight(),this.isOutOfBounds()&amp;&amp;this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&amp;&amp;(this.alignRight(),this.isOutOfBounds()&amp;&amp;(this.alignTop(),this.isOutOfBounds()&amp;&amp;this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&amp;&amp;(this.alignLeft(),this.isOutOfBounds()&amp;&amp;(this.alignTop(),this.isOutOfBounds()&amp;&amp;this.alignBottom()));break}}getHostOffset(){if(this.getOption("appendTo")==="body"||this.getOption("appendTo")==="target"){let o=this.el.nativeElement.getBoundingClientRect(),e=o.left+Pt.getWindowScrollLeft(),i=o.top+Pt.getWindowScrollTop();return{left:e,top:i}}else return{left:0,top:0}}alignRight(){this.preAlign("right");let o=this.getHostOffset(),e=o.left+Pt.getOuterWidth(this.el.nativeElement),i=o.top+(Pt.getOuterHeight(this.el.nativeElement)-Pt.getOuterHeight(this.container))/2;this.container.style.left=e+this.getOption("positionLeft")+"px",this.container.style.top=i+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let o=this.getHostOffset(),e=o.left-Pt.getOuterWidth(this.container),i=o.top+(Pt.getOuterHeight(this.el.nativeElement)-Pt.getOuterHeight(this.container))/2;this.container.style.left=e+this.getOption("positionLeft")+"px",this.container.style.top=i+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let o=this.getHostOffset(),e=o.left+(Pt.getOuterWidth(this.el.nativeElement)-Pt.getOuterWidth(this.container))/2,i=o.top-Pt.getOuterHeight(this.container);this.container.style.left=e+this.getOption("positionLeft")+"px",this.container.style.top=i+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let o=this.getHostOffset(),e=o.left+(Pt.getOuterWidth(this.el.nativeElement)-Pt.getOuterWidth(this.container))/2,i=o.top+Pt.getOuterHeight(this.el.nativeElement);this.container.style.left=e+this.getOption("positionLeft")+"px",this.container.style.top=i+this.getOption("positionTop")+"px"}setOption(o){this._tooltipOptions=m(m({},this._tooltipOptions),o)}getOption(o){return this._tooltipOptions[o]}getTarget(o){return Pt.hasClass(o,"p-inputwrapper")?Pt.findSingle(o,"input"):o}preAlign(o){this.container.style.left="-999px",this.container.style.top="-999px";let e="p-tooltip p-component p-tooltip-"+o;this.container.className=this.getOption("tooltipStyleClass")?e+" "+this.getOption("tooltipStyleClass"):e}isOutOfBounds(){let o=this.container.getBoundingClientRect(),e=o.top,i=o.left,n=Pt.getOuterWidth(this.container),a=Pt.getOuterHeight(this.container),s=Pt.getViewport();return i+n&gt;s.width||i&lt;0||e&lt;0||e+a&gt;s.height}onWindowResize(o){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=&gt;{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&amp;&amp;(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new Qc(this.el.nativeElement,()=&gt;{this.container&amp;&amp;this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&amp;&amp;this.scrollHandler.unbindScrollListener()}unbindEvents(){if(this.getOption("tooltipEvent")==="hover")this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if(this.getOption("tooltipEvent")==="focus"){let o=this.getTarget(this.el.nativeElement);o.removeEventListener("focus",this.focusListener),o.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&amp;&amp;this.container.parentElement&amp;&amp;(this.getOption("appendTo")==="body"?document.body.removeChild(this.container):this.getOption("appendTo")==="target"?this.el.nativeElement.removeChild(this.container):Pt.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&amp;&amp;(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&amp;&amp;(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&amp;&amp;Nn.clear(this.container),this.remove(),this.scrollHandler&amp;&amp;(this.scrollHandler.destroy(),this.scrollHandler=null)}static \u0275fac=function(e){return new(e||r)(p(_c),p(X),p(st),p(jn),p(go),p(di))};static \u0275dir=V({type:r,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(e,i){e&amp;1&amp;&amp;Rt("keydown.escape",function(a){return i.onPressEscape(a)},!1,Cc)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",content:[G.None,"pTooltip","content"],disabled:[G.None,"tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[ne]})}return r})(),xh=(()=&gt;{class r{static \u0275fac=function(e){return new(e||r)};static \u0275mod=it({type:r});static \u0275inj=rt({imports:[De]})}return r})();var gI=r=&gt;({"mr-2":r});function bI(r,t){if(r&amp;1&amp;&amp;nt(0,"ktx-icon",9),r&amp;2){let o=K(2);Ec("mr-2 hidden md:block ",o.iconClass,""),I("ngClass",ps(7,gI,!o.disableMobileLayoutFlip))("icon",o.icon)("svgIcon",o.svgIcon)("fontSet",o.iconFontSet)}}function _I(r,t){if(r&amp;1&amp;&amp;(L(0,"span",10),ee(1),N()),r&amp;2){let o=K(2);E(),pe(o.subtitle)}}function vI(r,t){r&amp;1&amp;&amp;nt(0,"ktx-icon",14)}var xI=r=&gt;({tooltipLabel:r,tooltipPosition:"bottom",showDelay:500});function yI(r,t){if(r&amp;1){let o=ei();L(0,"div",11)(1,"p-button",12),Rt("onClick",function(i){Xe(o);let n=K(2);return Je(n.backClick.emit(i))}),z(2,vI,1,0,"ng-template",13),N()()}if(r&amp;2){let o=K().$implicit;E(),I("rounded",!0)("text",!0)("plain",!0)("tooltipOptions",ps(5,xI,o("BACKBTN")))("ariaLabel",o("BACKBTN"))}}var wI=(r,t,o)=&gt;({"flex-row-reverse md:flex-row":r,"flex-row":t,"border-b-2 border-solid border-gray-300 md:border-none":o});function CI(r,t){if(r&amp;1&amp;&amp;(L(0,"div",1)(1,"div",2)(2,"div",3),z(3,bI,1,9,"ktx-icon",4),ht(4),N(),L(5,"div",5)(6,"span",6),ee(7),z(8,_I,2,1,"span",7),N()(),ht(9,1),N(),z(10,yI,3,7,"div",8),N()),r&amp;2){let o=K();I("ngClass",Sc(6,wI,!o.disableMobileLayoutFlip,o.disableMobileLayoutFlip,!o.disableMobileBar)),E(3),ui(3,o.icon?3:-1),E(2),I("ngClass",o.headerClass),E(2),ms(" ",o.title," "),E(),ui(8,o.subtitle?8:-1),E(2),ui(10,o.hideClose?-1:10)}}var II=[[["","dialogHeaderIcon",""]],"*"],EI=["[dialogHeaderIcon]","*"],DI=(()=&gt;{let t=class t{constructor(){this.subtitle="",this.headerClass="",this.iconClass="mat-icon-sm",this.iconFontSet="material-icons",this.svgIcon="",this.disableMobileLayoutFlip=!1,this.disableMobileBar=!1,this.hideClose=!1,this.backClick=new Bt}};t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=Ct({type:t,selectors:[["ktx-ui-dialog-header"]],inputs:{title:"title",subtitle:"subtitle",headerClass:"headerClass",icon:"icon",iconClass:"iconClass",iconFontSet:"iconFontSet",svgIcon:"svgIcon",disableMobileLayoutFlip:"disableMobileLayoutFlip",disableMobileBar:"disableMobileBar",hideClose:"hideClose"},outputs:{backClick:"backClick"},standalone:!0,features:[Gi],ngContentSelectors:EI,decls:1,vars:2,consts:[["class","ui-dialog-header flex gap-3 px-5 py-3.5 text-gray-800 dark:text-white",3,"ngClass",4,"transloco","translocoScope","translocoRead"],[1,"ui-dialog-header","flex","gap-3","px-5","py-3.5","text-gray-800","dark:text-white",3,"ngClass"],[1,"flex","flex-auto"],[1,"dialog-header-icon","flex","flex-none","items-center"],["role","img","aria-hidden","false",3,"class","ngClass","icon","svgIcon","fontSet"],[1,"dialog-header-title","flex","flex-auto","items-center","truncate","text-lg","font-bold",3,"ngClass"],["data-testid","dialogHeaderTitle",1,"truncate"],["class","pl-2 text-xs font-semibold text-gray-600"],["class","dialog-header-actions flex flex-none items-center"],["role","img","aria-hidden","false",3,"ngClass","icon","svgIcon","fontSet"],[1,"pl-2","text-xs","font-semibold","text-gray-600"],[1,"dialog-header-actions","flex","flex-none","items-center"],["type","button","pTooltip","","data-testid","dialogHeaderCloseButton",3,"rounded","text","plain","tooltipOptions","ariaLabel","onClick"],["pTemplate","icon"],["icon","close"]],template:function(i,n){i&amp;1&amp;&amp;(me(II),z(0,CI,11,10,"div",0)),i&amp;2&amp;&amp;I("translocoScope","shared/ui")("translocoRead","sharedUi.DIALOGHEADER")},dependencies:[Kc,Yc,yr,ed,xh,vh,ch,lh,Bn],encapsulation:2,changeDetection:0});let r=t;return r})();var kI=Ot({name:"admin/identity-providers"},ao(),Za(),Mt({loading:!1,pagination:{pageSize:15,pageNo:1}})),SI=new y("Injection Token For Admin Identity Provider Store",{providedIn:"root",factory:()=&gt;kI});var AI=Ot({name:"publisher/cobranding"},Mt({publisherId:void 0,logoUrl:void 0,iconUrl:void 0,color:void 0,loading:!1,isPublisherCobrandingActive:!1})),TI=new y("Injection Token For Publisher Cobranding Store",{providedIn:"root",factory:()=&gt;AI});var RI={token:null,expiry:null,issued:null,loading:!1,teamsSession:!1},OI=Ot({name:"auth"},Mt(RI)),MI=new y("Injection Token For Auth Store",{providedIn:"root",factory:()=&gt;OI});var FI=Ot({name:"account-settings"},Mt({settings:void 0})),LI=new y("Injection Token For Account Settings Store",{providedIn:"root",factory:()=&gt;FI});var NI={user:void 0,preferences:void 0,menuItems:{},modules:[],loading:!1,loaded:!1},{userInvitationsEntitiesRef:jI,withUserInvitationsEntities:BI}=Ka("userInvitations"),UI=Ot({name:"user"},Mt(NI),BI()),$I=new y("Injection Token For User Store",{providedIn:"root",factory:()=&gt;UI});var krt=new y("Injection token to determine whether it should preload menu items",{providedIn:"root",factory(){return!1}});var Zrt=new y("user-feature-redirect-route");var not=new y("user-redirect-route");var pot=new y("EMULATED_USER_REDIRECT_ROUTE");function zI(r){r||(_r(zI),r=h(xn));let t=new Ie(o=&gt;r.onDestroy(o.next.bind(o)));return o=&gt;o.pipe(de(t))}function ac(r,t){let o=!t?.manualCleanup;o&amp;&amp;!t?.injector&amp;&amp;_r(ac);let e=o?t?.injector?.get(xn)??h(xn):null,i;t?.requireSync?i=ds({kind:0}):i=ds({kind:1,value:t?.initialValue});let n=r.subscribe({next:a=&gt;i.set({kind:1,value:a}),error:a=&gt;{if(t?.rejectErrors)throw a;i.set({kind:2,error:a})}});return e?.onDestroy(n.unsubscribe.bind(n)),Ic(()=&gt;{let a=i();switch(a.kind){case 1:return a.value;case 2:throw a.error;case 0:throw new br(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}var fr=class{};var GI=new Wi(()=&gt;[]),WI=new y("Auth Config Token"),yh=(r,t)=&gt;{_r(yh);let o=h(WI),e=h(fr),i=l=&gt;l.clone({setHeaders:m({},o.additionalHeaders?.()??{})}),n=(l,c)=&gt;l.clone({setHeaders:{Authorization:`Bearer ${c}`,"X-Requested-With":"XMLHttpRequest"}}),a=()=&gt;{if(o.redirectUrl){let l=o.redirectUrl(),c=e.redirectToLogin(l);return Vi(c)?c:Ae}return Ae};r=i(r);let s;return o.shouldAppendToken?.(r)??!0?s=o.getToken().pipe(Tt(1),Dt(l=&gt;{let c=l?n(r,l):r;return t(c)})):s=t(r),s.pipe(po(l=&gt;{let c=r.context.get(GI);return(l.status===401||c&amp;&amp;c.includes(l.status))&amp;&amp;(o.shouldRedirectToLogin?.(r,l)??!0)?a():fn(()=&gt;l)}))},wh=(()=&gt;{var t;let o=class o{constructor(){A(this,t,h(_n))}intercept(i,n){return yc(f(this,t),()=&gt;yh(i,n.handle.bind(n)))}};t=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275prov=g({token:o,factory:o.\u0275fac});let r=o;return r})();function gnt(r=[]){return Jt([r,{provide:Lc,multi:!0,useClass:wh}])}var Ch=new y("PERMISSION_SERVICE_PROVIDER");var Ont=(()=&gt;{var t,o,e,i;let n=class n{constructor(){A(this,t,h(ye));A(this,o,h(Te));A(this,e,h(di));A(this,i,h(Ch,{optional:!0}))}ngOnChanges(){if(!this.ktxPermission||!f(this,i)){this._updateView(f(this,o));return}let s=f(this,i).hasPermission(this.ktxPermission);this._sub&amp;&amp;(this._sub.unsubscribe(),this._sub=void 0),s instanceof Ie?this._sub=s.subscribe(l=&gt;{if(l){this._updateView(f(this,o));return}this._updateView(this.ktxPermissionElse)}):this._updateView(s?f(this,o):this.ktxPermissionElse)}ngOnDestroy(){this._sub&amp;&amp;this._sub.unsubscribe()}_updateView(s){f(this,e).clear(),s&amp;&amp;f(this,e).createEmbeddedView(s),f(this,t).detectChanges()}};t=new WeakMap,o=new WeakMap,e=new WeakMap,i=new WeakMap,n.\u0275fac=function(l){return new(l||n)},n.\u0275dir=V({type:n,selectors:[["","ktxPermission",""]],inputs:{ktxPermission:"ktxPermission",ktxPermissionElse:"ktxPermissionElse"},standalone:!0,features:[ne]});let r=n;return r})();var YI={expiry:null,issued:null,token:null,refreshToken:null,webSocketToken:null,oldUiClientSession:kl(),oldUiUserSession:null,ltiData:{isLti:!1,ltiToken:null,userToken:null},userInfo:{permissions:[],email:null,id:null,level:null,login:null,name:null,firstName:null,lastName:null,registeredAt:null,token:null,refreshToken:null,webSocketToken:null,type:"public"}},_e=Ot({name:"auth"},Mt(YI));so(_e,{key:"auth",storage:nh});var Ui=(()=&gt;{let t=class t{constructor(){this.user$=_e.pipe($(e=&gt;e.userInfo)),this.token$=_e.pipe($(e=&gt;e.token)),this.webSocketToken$=_e.pipe($(e=&gt;e.webSocketToken)),this.isTokenExpired$=_e.pipe($(e=&gt;e.expiry?e.expiry*1e3&lt;Date.now().valueOf()+24e4:!0)),this.refreshToken$=_e.pipe($(e=&gt;e.refreshToken)),this.allTokens$=_e.pipe($(e=&gt;({token:e.token,refreshToken:e.refreshToken,webSocketToken:e.webSocketToken}))),this.ltiData$=_e.pipe($(e=&gt;e.ltiData)),this.oldUiSessions=ac(_e.pipe($(e=&gt;({clientSession:e.oldUiClientSession,userSession:e.oldUiUserSession})))),this.selectIsLoggedIn$=this.token$.pipe(O(e=&gt;Vm(e)))}get authStore(){return _e}update(e){_e.update(i=&gt;m(m({},i),e))}setIsLti(e){_e.update(i=&gt;C(m({},i),{ltiData:C(m({},i.ltiData),{isLti:e})}))}setLtiData(e){_e.update(i=&gt;C(m({},i),{ltiData:e}))}updateUser(e){_e.update(i=&gt;{let n=m(m({},i.userInfo),e),a=`${n.firstName} ${n.lastName}`;return C(m({},i),{userInfo:C(m({},n),{name:a})})})}updateOldUiUserSession(e){_e.update(i=&gt;C(m({},i),{oldUiUserSession:e}))}resetStores(){Jm().forEach(e=&gt;e.reset())}tokenAuth(e,i="",n=""){if(e===null)return;let a=e.replace("Bearer ","");n=n===""?a:n;let s=this._processToken(a,i,n);this.updateOldUiUserSession(kl()),this.update(s)}_processToken(e,i,n=""){let a=on(e);return{token:e,expiry:a.exp,refreshToken:i,webSocketToken:n,issued:a.iat,userInfo:{permissions:a.scopes||[],email:a.email,id:a.uid,level:a.userLevel,login:a.login,name:a.name,firstName:a.firstName,lastName:a.lastName,registeredAt:a.registeredAt,token:e,refreshToken:i,webSocketToken:n,type:a.type}}}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Ih=(()=&gt;{var t;let o=class o{constructor(){A(this,t,void 0);at(this,t,h(kn)),this._authRepo=h(Ui),this._environmentConfig=h(Ut)}refreshToken(i){return this._refreshTokenAPICall(i).pipe(O(n=&gt;{this._authRepo.tokenAuth(n.accessToken,n.refreshToken,n.webSocketToken)}))}_refreshTokenAPICall(i){let a=`${this._environmentConfig.get("apiBaseUrl")}/api2/auth/token/refresh`,s={refresh_token:i};return new ue(f(this,t)).post(a,s,{observe:"response"}).pipe(O(c=&gt;({accessToken:c.headers.get("Authorization")??c.body?.access_token??"",refreshToken:c.body?.refresh_token,webSocketToken:c.body?.web_socket_token})))}};t=new WeakMap,o.\u0275fac=function(n){return new(n||o)},o.\u0275prov=g({token:o,factory:o.\u0275fac,providedIn:"root"});let r=o;return r})();var Eh=(()=&gt;{let t=class t extends fr{get currentUser(){return this._authRepo.authStore.state.userInfo}get isLti(){return this._authRepo.authStore.state.ltiData?.isLti===!0}constructor(e,i,n,a,s,l,c,d,u,x,k){super(),this._authRepo=e,this._http=i,this._localStorageService=n,this._router=a,this._environmentConfig=s,this._appConfigService=l,this._location=c,this._httpBackend=d,this._refreshTokenService=u,this._listsRepository=x,this._captureApi=k,this.shortName$=this._authRepo.user$.pipe(O(D=&gt;this.getUserShortName(D))),this.userType$=this._authRepo.user$.pipe(O(D=&gt;D.type)),this._authProcessing=!1,this._isPermitted=D=&gt;U=&gt;U.pipe(O(W=&gt;{for(let dt of D){if(dt.startsWith("!")&amp;&amp;W.permissions.includes(dt.substring(1)))return!1;if(W.permissions.includes(dt))return!0}return!1})),this._isPermittedForList=D=&gt;U=&gt;U.pipe(O(W=&gt;{for(let dt of D)if(W?.includes(dt))return!0;return!1}))}getUserShortName(e){if(!e)return"";let i=e.firstName+(e.lastName?` ${e.lastName}`:"");return i==="null"?"":i.split(" ").map(n=&gt;n[0]).join("")}hasPermission(e){return this._authRepo.user$.pipe(this._isPermitted(e),Dt(i=&gt;i?Wt(i):this._listsRepository.listUserPrivileges$.pipe(this._isPermittedForList(e))))}getRelativePath(){return window.location.href.replace(window.location.origin,"").replace(this._environmentConfig.get("newUiPath"),"")}redirectToLogin(e=null,i=null,n=!1,a=!1){if(this._authProcessing)return Ae;let s=this._getLoginMode(n,i),l=e??this.getRelativePath();return a?this._coordinateRedirectToLoginPage(s,l):this._authRepo.refreshToken$.pipe(Tt(1),mc(c=&gt;this._authProcessing?Ae:c?(this._authProcessing=!0,this._coordinateRefreshToken(s,c).pipe(bn(()=&gt;{this._authProcessing=!1}),po(()=&gt;this._coordinateRedirectToLoginPage(s,l)))):this._coordinateRedirectToLoginPage(s,l)))}logout(e=!1){if(this._authRepo.resetStores(),localStorage.removeItem("ls.userInfo"),this._appConfigService.get("shibboleth")&amp;&amp;!e)return this.redirectToShib("logout");window.location.pathname=this._environmentConfig.get("newUiPath")}redirectToLoginPage(e){return this._router.navigate(["/auth/login"],{queryParams:{returnUrl:e}})}redirectToShib(e){e==="logout"&amp;&amp;this._authRepo.resetStores(),window.location.href=this._getShibUrl(e)}login(e,i,n=!1){let a=this._environmentConfig.get("apiBaseUrl");return this._authAPICall(`${a}/api2/auth`,{username:e,password:i,remember:n}).pipe(O(s=&gt;{this._authRepo.tokenAuth(s.accessToken,s.refreshToken,s.webSocketToken)}))}shibAuth(e){let i=this._environmentConfig.get("apiBaseUrl");return this._authAPICall(`${i}/api/auth`,{shibjwt:e}).pipe(O(n=&gt;(this.shibTokenAuth(n.accessToken),n)))}ltiAuth(e){return this._authRepo.user$.pipe(Tt(1),Dt(i=&gt;{if(i?.id)return this.logout(!1),Ae;let n=this._environmentConfig.get("apiBaseUrl");return this._authAPICall(`${n}/api/auth`,{jwt:e}).pipe(O(a=&gt;this.ltiTokenAuth(a.accessToken,e)))}))}createLtiUser(e){let i=this._environmentConfig.get("apiBaseUrl");return new ue(this._httpBackend).post(`${i}/api2/users/lti`,{jwt:e.ltiToken})}forgotPassword(e,i){this._authRepo.resetStores();let n=this._environmentConfig.get("apiBaseUrl");return this._http.put(`${n}/api2/v2/users/password`,{login:e,email:i})}resetPassword(e,i){let n=this._environmentConfig.get("apiBaseUrl");return this._http.put(`${n}/api2/v2/users/password?token=${e}`,{new:i})}shibTokenAuth(e){this._authRepo.tokenAuth(e)}ltiTokenAuth(e,i=""){this._authRepo.resetStores(),this._authRepo.setLtiData({isLti:!0,ltiToken:i,userToken:e}),this._authRepo.tokenAuth(e)}captureAction(e,i,n){let a=this._authRepo.oldUiSessions(),s={Action:e,Data:n,ClientSessionId:a.clientSession,UserSessionId:a.userSession,Screen:i};return this._captureApi.captureAction(s)}_getShibUrl(e){let i=e==="login"?"Login":"Logout",n=window.location.href,a=window.location.origin,s=this._appConfigService.get("shibbolethGateway");return s==null||s.length===0?`${`https://${this._appConfigService.get("base")}`}/Shibboleth.sso/${i}?target=${n}`:`${s}/Shibboleth.sso/${i}?target=${a}/shibboleth-return/keylinksredirect.php?ccode=${this._appConfigService.get("code")}`}_getLoginMode(e,i){let n="default";if(e)return n;let a=this._appConfigService.get("shibboleth"),s=/Shibboleth/.exec(i?.get("www_authenticate")??"");return this.isLti?n="lti":i?.has("shib-login-failed")?n="shib-failed":(a||s!==null)&amp;&amp;(n="shib"),n}_coordinateRedirectToLoginPage(e,i){switch(e){case"shib":return this.redirectToShib("login"),Ae;case"shib-failed":return this.redirectToShib("logout"),Ae;case"lti":return li(this._router.navigate(["/"]));default:return li(this.redirectToLoginPage(i))}}_coordinateRefreshToken(e,i){return e==="default"?this._refreshTokenService.refreshToken(i):Ae}_authAPICall(e,i){return this._authRepo.resetStores(),new ue(this._httpBackend).post(e,i,{observe:"response"}).pipe(O(a=&gt;({accessToken:a.headers.get("Authorization")??a.body?.access_token??"",refreshToken:a.body?.refresh_token,webSocketToken:a.body?.web_socket_token})),po(a=&gt;fn(()=&gt;a)))}};t.\u0275fac=function(i){return new(i||t)(w(Ui),w(ue),w(cr),w(Hc),w(Ut),w(Km),w(Oc),w(kn),w(Ih),w(Ya),w(Ym))},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var Dh=class{constructor(){this._authService=h(Eh),this._authRepo=h(Ui)}intercept(t,o){return Ee([this._authRepo.ltiData$.pipe(Tt(1)),this._authRepo.user$.pipe(Tt(1))]).pipe(Dt(([e,i])=&gt;e?.isLti===!0&amp;&amp;i?.id==null&amp;&amp;t.context.get(ll)?this._authService.createLtiUser(e).pipe(Dt(()=&gt;this._authService.ltiAuth(e.ltiToken).pipe(Dt(()=&gt;o.handle(t))))):o.handle(t)))}};var kh=(()=&gt;{let t=class t{constructor(){this._api=h(Hr),this._repo=h(Ya),this._authRepo=h(Ui),this._env=h(Ut),this._studentPersonalizationApiService=h(Wm),this._listUserRolesApiService=h(ku),this._preferenceApiService=h(Ca)}search(){return this._repo.searchKey$.pipe(wa({minLength:3,debounceTime:500,allowEmptyString:!0}),Ht(()=&gt;{this._repo.updateSearching(!0),this._repo.updateSearchResult([])}),Dt(e=&gt;e?this._api.search(e):Wt([])),Ht(e=&gt;{this._repo.updateSearching(!1),this._repo.updateSearchResult(e)}))}loadReadingList(e,i,n=!1){return hn([this.getListSummary(e,i,n),this.getListSectionsAndMaterials(e)]).pipe(O(([a,s])=&gt;({summary:a,sectionsAndMaterials:s})))}getListSummary(e,i,n=!1){return this._api.getList(e,n).pipe(Ht(a=&gt;{this._repo.updateListDetails(a,i)}))}getListSections(e){return this._api.getListSections(e).pipe(Ht(i=&gt;this._repo.updateListSections(i)))}suppressList(e){return this._api.suppressList(e)}unsuppressList(e){return this._api.unsuppressList(e)}deleteList(e){return this._api.deleteList(e)}updateLikesCount(e,i,n){return this._repo.updateLikesCount(e,i,n)}updateCommentsCount(e,i,n){return this._repo.updateCommentsCount(e,i,n)}exportList(e,i){return this._api.exportList(e,i)}importList(e,i){return this._api.importList(e,i).pipe(O(()=&gt;e))}getListSectionsAndMaterials(e){return Ee([this._api.getListSections(e),this._api.getListMaterials(e)]).pipe(O(([i,n])=&gt;({sections:i,materials:n})),Ht(({sections:i,materials:n})=&gt;this._repo.updateListSectionsAndMaterials(i,n)))}getListSectionsMaterials(e,i,n){return this._api.getListSectionMaterials(e,i,n)}getStudentPersonalizationSetting(){return this._studentPersonalizationApiService.getStudentPersonalizationSettings().pipe(Ht(e=&gt;this._repo.updateStudentPersonalizationSetting(e)))}getUserRoles(){return this._authRepo.user$.pipe(Dt(e=&gt;e.type.toLowerCase()==="public"||e.type.toLowerCase()==="student"||!e.permissions.includes("role-read")?Wt([]):this._listUserRolesApiService.getUserRoles()),Ht(e=&gt;this._repo.updateUserRoles(e)))}getCitationPreference(){return this._preferenceApiService.getPreference(je.DisplayCitation).pipe(Ht(e=&gt;{typeof e.value=="boolean"&amp;&amp;this._repo.updateCitationButtonVisibility(e.value)}))}getPurchaseRequestPreference(){return this._preferenceApiService.getPreference(je.PurchaseRequest).pipe(Ht(e=&gt;{typeof e.value=="boolean"&amp;&amp;this._repo.updatePurchaseRequestButtonVisibility(e.value)}))}getScanRequestPreference(){return this._preferenceApiService.getPreference(je.ScanRequest).pipe(Ht(e=&gt;{Array.isArray(e.value)&amp;&amp;this._repo.updateDigitisationRequstMaterialTypes(e.value)}))}getAcqusitionPrefernece(){return this._env.initialized$.pipe(yt(Boolean),Dt(()=&gt;this._preferenceApiService.getPreference(je.Acquisitions)))}getYearFormatRequestPreference(){return this._env.initialized$.pipe(yt(Boolean),Dt(()=&gt;this._preferenceApiService.getPreference(je.YearFormat)))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var ZI={sections:[]},$i=Ot({name:"materialDetails"},Mt(ZI)),Sh=(()=&gt;{let t=class t{constructor(){this.detailsMaterialNavigatorItems$=$i.pipe($(e=&gt;e.sections),O(e=&gt;e.reduce((i,n)=&gt;[...i,...n.materials.map(a=&gt;({listId:a.listId,sectionId:a.sectionId,id:a.id,title:a.title,owner:a.owner,ownerUuid:a.ownerUuid})),...n.subsections.reduce((a,s)=&gt;[...a,...s.materials.map(l=&gt;({listId:l.listId,sectionId:l.sectionId,subsectionId:l.subsectionId,id:l.id,title:l.title,owner:l.owner,ownerUuid:l.ownerUuid}))],[])],[]))),this.materialDetails$=$i.pipe($(e=&gt;e.materialDetails),yt(e=&gt;!!e),O(e=&gt;e))}updateMaterialDetails(e){let i=$i.state.sections.find(n=&gt;n.id===e.sectionId);this._shallowUpdate({materialDetails:C(m({},e),{sectionName:i?.name??""})})}updateLikesCount(e,i,n){let a=[...$i.state.sections],l=a.find(d=&gt;d.id===e)?.materials.find(d=&gt;d.id===i);l&amp;&amp;(l.likesCount=n),this.updateListSections(a);let c=$i.query(d=&gt;d.materialDetails);if(c&amp;&amp;i===c.id){let d=c.likeOption===Oi[Oi.Like]?Oi[Oi.Dislike]:Oi[Oi.Like];this.updateMaterialDetails(C(m({},c),{likeOption:d,likesCount:n}))}}updateCommentsCount(e,i,n){let a=[...$i.state.sections],l=a.find(d=&gt;d.id===e)?.materials.find(d=&gt;d.id===i);l&amp;&amp;(l.commentsCount=n),this.updateListSections(a);let c=C(m({},$i.state.materialDetails),{commentsCount:n});this.updateMaterialDetails(c)}updateListSections(e){e=e??[],this._shallowUpdate({sections:e})}clearMaterialDetails(){this._shallowUpdate({materialDetails:void 0})}_shallowUpdate(e){$i.update(i=&gt;m(m({},i),e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var rst=(()=&gt;{let t=class t{constructor(){this._api=h(Hr),this._repo=h(Sh),this._listService=h(kh)}getMaterialDetails(e,i,n,a=!1){return Ee([this._api.getMaterialDetails(e,i,n,a),this._api.getMaterialMetadata(n)]).pipe(O(([s,l])=&gt;C(m({},s),{metadata:l})),O(s=&gt;(this._repo.updateMaterialDetails(s),s)))}updateLikesCount(e,i,n){this._listService.updateLikesCount(e,i,n),this._repo.updateLikesCount(e,i,n)}updateCommentsCount(e,i,n){this._listService.updateCommentsCount(e,i,n),this._repo.updateCommentsCount(e,i,n)}updateMaterialDetails(e){this._repo.updateMaterialDetails(e)}clearMaterialDetails(){this._repo.clearMaterialDetails()}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var QI={materialTypes:[]},Ah=Ot({name:"materialTypes"},Mt(QI)),Th=(()=&gt;{let t=class t{constructor(){this.materialTypes$=Ah.pipe($(e=&gt;e?.materialTypes),Wr())}updateMaterialTypes(e){e=e??[],this._update({materialTypes:e})}_update(e){Ah.update(i=&gt;m(m({},i),e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac});let r=t;return r})();var fst=(()=&gt;{var t,o;let e=class e{constructor(){A(this,t,void 0);A(this,o,void 0);at(this,t,h(Th)),at(this,o,h(Hm)),this._allMaterialTypesKey="AllMaterialsTypes"}hasType(n){return f(this,t).materialTypes$.pipe(a=&gt;a.pipe(O(s=&gt;s.findIndex(c=&gt;c.Key===n)!==-1)))}getMaterialTypes(){return f(this,o).getMaterialTypes(this._allMaterialTypesKey).pipe(Ht(n=&gt;f(this,t).updateMaterialTypes(n)))}};t=new WeakMap,o=new WeakMap,e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=g({token:e,factory:e.\u0275fac});let r=e;return r})();var XI={searchPageResult:[],searchKey:"",searching:!0},mn=Ot({name:"search"},Mt(XI)),Rh=(()=&gt;{let t=class t{constructor(){this.searching$=mn.pipe($(e=&gt;e.searching)),this.searchKey$=mn.pipe($(e=&gt;e.searchKey)),this.searchPageResult$=mn.pipe($(e=&gt;e.searchPageResult)),this.searchResultCount$=mn.pipe($(e=&gt;e.searchPageResult?.length??0))}updateSearchResult(e){this._shallowUpdate({searchPageResult:e})}updateSearching(e){this._shallowUpdate({searching:e})}setListSearchKey(e){this._shallowUpdate({searchKey:e})}_shallowUpdate(e){mn.update(i=&gt;m(m({},i),e))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var kst=(()=&gt;{let t=class t{constructor(){this._api=h(Hr),this._repo=h(Rh)}search(){return this._repo.searchKey$.pipe(wa({minLength:3,debounceTime:500,allowEmptyString:!0}),Ht(()=&gt;{this._repo.updateSearching(!0),this._repo.updateSearchResult([])}),Dt(e=&gt;e?this._api.search(e):Wt([])),Ht(e=&gt;{this._repo.updateSearching(!1),this._repo.updateSearchResult(e)}))}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var JI={activeType:"request",loading:!0},Yt=Ot({name:"notifications"},Mt(JI),ao()),Oh=(()=&gt;{let t=class t{constructor(){this.notification$=Yt.pipe(eh()),this.loading$=Yt.pipe($(e=&gt;e.loading)),this.requestCount$=Yt.pipe(qa(e=&gt;e.type==="request"&amp;&amp;!e.seen)),this.alertsCount$=Yt.pipe(qa(e=&gt;e.type==="alert"&amp;&amp;!e.seen)),this.newsCount$=Yt.pipe(qa(e=&gt;e.type==="news"&amp;&amp;!e.seen)),this.earlierNotifications$=Yt.pipe($(e=&gt;e.activeType),Dt(e=&gt;Yt.pipe(dn({filterEntity:i=&gt;this._checkIfNotificationIsEarlier(i)&amp;&amp;e===i.type&amp;&amp;Math.abs(new Date().valueOf()-i.sentDate.valueOf())/36e5&lt;1344}))),O(e=&gt;Wa(e,["sentDate"],["desc"])),Qe(1)),this.newNotification$=Yt.pipe($(e=&gt;e.activeType),Dt(e=&gt;Yt.pipe(dn({filterEntity:i=&gt;!this._checkIfNotificationIsEarlier(i)&amp;&amp;e===i.type}))),O(e=&gt;Wa(e,["sentDate"],["desc"]))),this.haveNewNotifications$=this.newNotification$.pipe(O(e=&gt;!!e.length)),this.haveNotifications$=Yt.pipe($(e=&gt;e.activeType),yt(e=&gt;!!e),Dt(e=&gt;Yt.pipe(dn({filterEntity:i=&gt;e===i.type}))),O(e=&gt;!!e.length)),this.activeType$=Yt.pipe($(e=&gt;e.activeType))}setNotifications(e){let i=e.map(n=&gt;C(m({},n),{sentDate:new Date(n.sent)}));Yt.update(Wl(i))}setActiveNotificationType(e){Yt.update(Mi("activeType",e))}addNotifications(e){let i=e.map(n=&gt;C(m({},n),{sentDate:new Date(n.sent)}));Yt.update(Xf(i))}addNotificationsAtIndex(e,i){let n=this.getAllNotifications();n.splice(i,0,...e),Yt.update(Wl(n))}getNotificationIndex(e){return this.getAllNotifications().indexOf(e)}deleteNotification(e){Yt.update(Qf([e.id]))}getAllNotifications(){return Yt.query(Jf())}getAllUnSeenNotificationsByType(){let e=[];return Yt.pipe($(i=&gt;i.activeType),Dt(i=&gt;Yt.pipe(dn({filterEntity:n=&gt;i===n.type&amp;&amp;!n.seen}))),Tt(1)).subscribe(i=&gt;{e=i}),e}markAllAsSeen(){Yt.update(th(e=&gt;C(m({},e),{seen:!0})))}setNotificationsSeen(e,i){Yt.update(Yl(e,n=&gt;C(m({},n),{seen:i})))}getLastNotification(){let e=this.getAllNotifications();return e[e.length-1]}_checkIfNotificationIsEarlier(e){return Math.abs(new Date().valueOf()-e.sentDate.valueOf())/36e5&gt;=24}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=g({token:t,factory:t.\u0275fac,providedIn:"root"});let r=t;return r})();var $st=(()=&gt;{var t,o;let e=class e{constructor(){A(this,t,h(Oh));A(this,o,h(Gm))}loadNotificaition(){Ze(f(this,o).getNotifications({type:"request"}),f(this,o).getNotifications({type:"alert"}),f(this,o).getNotifications({type:"news"})).subscribe(n=&gt;{f(this,t).addNotifications(n)})}markAllAsSeen(){let n=f(this,t).getAllNotifications().reduce((s,l)=&gt;(Array.isArray(s[l.type])||(s[l.type]=[]),s[l.type].push(l.id),s),{}),a=Object.entries(n).map(([s,l])=&gt;({notificationsIds:l,type:s,seen:!0}));Ee(a.map(s=&gt;f(this,o).markAllAsSeen(s))).subscribe(()=&gt;{f(this,t).markAllAsSeen()})}markAllAsSeenByType(){let n=f(this,t).getAllUnSeenNotificationsByType().reduce((s,l)=&gt;(Array.isArray(s[l.type])||(s[l.type]=[]),s[l.type].push(l.id),s),{}),a=Object.entries(n).map(([s,l])=&gt;({notificationsIds:l,type:s,seen:!0}));Ee(a.map(s=&gt;f(this,o).markAllAsSeen(s))).subscribe(()=&gt;{f(this,t).setNotificationsSeen(a[0].notificationsIds,!0)})}markAsSeen(n,a){f(this,o).markAsSeen({id:n,seen:a}).subscribe(()=&gt;{f(this,t).setNotificationsSeen([n],a)})}addNotification(n){f(this,t).addNotifications([n])}removeNotification(n,a){return f(this,o).markRemoved(n,a).pipe(Ht(()=&gt;{f(this,t).deleteNotification(n)}))}undoRemoveNotificaiton(n,a){return f(this,o).markRemoved(n,!1).pipe(Ht(()=&gt;{f(this,t).addNotificationsAtIndex([n],a)}))}loadMore(n,a){let s=f(this,t).getLastNotification();f(this,o).getNotifications({type:n,count:a,last_id:s.id}).subscribe(l=&gt;{f(this,t).addNotifications(l)})}};t=new WeakMap,o=new WeakMap,e.\u0275fac=function(a){return new(a||e)},e.\u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();export{rE as a,od as b,nd as c,oE as d,nE as e,Is as f,Un as g,ad as h,Es as i,$e as j,pi as k,ki as l,ii as m,Me as n,sd as o,Si as p,Zi as q,Ve as r,Ms as s,UE as t,$E as u,fe as v,Gh as w,VE as x,Qi as y,Xi as z,Ls as A,Do as B,qh as C,Ns as D,js as E,Ao as F,rg as G,Us as H,qD as I,ZD as J,QD as K,XD as L,JD as M,Ot as N,$ as O,Mt as P,$C as Q,zl as R,rh as S,i1 as T,r1 as U,o1 as V,n1 as W,tR as X,eR as Y,iR as Z,rR as _,Au as $,aa,Tu as ba,sa as ca,la as da,ju as ea,Xo as fa,Uu as ga,$u as ha,Vu as ia,ma as ja,Hu as ka,Gu as la,Wu as ma,Yu as na,Ku as oa,qu as pa,yl as qa,Om as ra,Il as sa,u$ as ta,To as ua,v$ as va,on as wa,A$ as xa,kl as ya,z$ as za,Ro as Aa,ok as Ba,Hn as Ca,fi as Da,Ai as Ea,Mk as Fa,cS as Ga,dS as Ha,jd as Ia,uS as Ja,mS as Ka,pS as La,zs as Ma,Bo as Na,Qd as Oa,tr as Pa,Kn as Qa,hi as Ra,ze as Sa,PS as Ta,FS as Ua,tl as Va,NS as Wa,Fb as Xa,jS as Ya,Nb as Za,Bb as _a,il as $a,Vb as ab,Wb as bb,Kb as cb,qb as db,BS as eb,US as fb,$S as gb,eA as hb,rA as ib,oA as jb,Eu as kb,na as lb,Ut as mb,al as nb,tc as ob,cZ as pb,DZ as qb,ec as rb,qZ as sb,ph as tb,co as ub,es as vb,_tt as wb,ktt as xb,qtt as yb,nc as zb,h_ as Ab,wu as Bb,QA as Cb,sT as Db,lT as Eb,vh as Fb,xh as Gb,DI as Hb,zI as Ib,fr as Jb,GI as Kb,WI as Lb,gnt as Mb,Ch as Nb,Ont as Ob,v_ as Pb,x_ as Qb,y_ as Rb,PT as Sb,ku as Tb,UT as Ub,$T as Vb,VT as Wb,HT as Xb,KT as Yb,ZT as Zb,Vm as _b,zm as $b,Hr as ac,r3 as bc,Ca as cc,h3 as dc,Wm as ec,w3 as fc,je as gc,qm as hc,u4 as ic,Zm as jc,Oi as kc,hv as lc,Ui as mc,Q3 as nc,H3 as oc,Km as pc,U4 as qc,Y4 as rc,Ya as sc,Ih as tc,Eh as uc,Dh as vc,kh as wc,Sh as xc,rst as yc,Th as zc,fst as Ac,Rh as Bc,kst as Cc,Oh as Dc,$st as Ec};
</pre></body></html>