(self.webpackChunktest=self.webpackChunktest||[]).push([[179],{8255:bn=>{function Et(J){return Promise.resolve().then(()=>{var n=new Error("Cannot find module '"+J+"'");throw n.code="MODULE_NOT_FOUND",n})}Et.keys=()=>[],Et.resolve=Et,Et.id=8255,bn.exports=Et},7238:(bn,Et,J)=>{"use strict";J.d(Et,{l3:()=>V,_j:()=>n,LC:()=>c,ZN:()=>Ve,jt:()=>ie,oQ:()=>Pe,vP:()=>de,SB:()=>we,oB:()=>ge,eR:()=>xe,X$:()=>pe,_7:()=>dt,ZE:()=>ct,k1:()=>je});class n{}class c{}const V="*";function pe(Qe,ue){return{type:7,name:Qe,definitions:ue,options:{}}}function ie(Qe,ue=null){return{type:4,styles:ue,timings:Qe}}function de(Qe,ue=null){return{type:2,steps:Qe,options:ue}}function ge(Qe){return{type:6,styles:Qe,offset:null}}function we(Qe,ue,z){return{type:0,name:Qe,styles:ue,options:z}}function xe(Qe,ue,z=null){return{type:1,expr:Qe,animation:ue,options:z}}function Pe(Qe,ue=null){return{type:8,animation:Qe,options:ue}}function dt(Qe,ue=null){return{type:10,animation:Qe,options:ue}}function Ue(Qe){Promise.resolve(null).then(Qe)}class Ve{constructor(ue=0,z=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ue+z}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ue=>ue()),this._onDoneFns=[])}onStart(ue){this._onStartFns.push(ue)}onDone(ue){this._onDoneFns.push(ue)}onDestroy(ue){this._onDestroyFns.push(ue)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ue(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ue=>ue()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ue=>ue()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(ue){this._position=this.totalTime?ue*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ue){const z="start"==ue?this._onStartFns:this._onDoneFns;z.forEach(Le=>Le()),z.length=0}}class ct{constructor(ue){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ue;let z=0,Le=0,ve=0;const Ie=this.players.length;0==Ie?Ue(()=>this._onFinish()):this.players.forEach(be=>{be.onDone(()=>{++z==Ie&&this._onFinish()}),be.onDestroy(()=>{++Le==Ie&&this._onDestroy()}),be.onStart(()=>{++ve==Ie&&this._onStart()})}),this.totalTime=this.players.reduce((be,Be)=>Math.max(be,Be.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ue=>ue()),this._onDoneFns=[])}init(){this.players.forEach(ue=>ue.init())}onStart(ue){this._onStartFns.push(ue)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ue=>ue()),this._onStartFns=[])}onDone(ue){this._onDoneFns.push(ue)}onDestroy(ue){this._onDestroyFns.push(ue)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ue=>ue.play())}pause(){this.players.forEach(ue=>ue.pause())}restart(){this.players.forEach(ue=>ue.restart())}finish(){this._onFinish(),this.players.forEach(ue=>ue.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ue=>ue.destroy()),this._onDestroyFns.forEach(ue=>ue()),this._onDestroyFns=[])}reset(){this.players.forEach(ue=>ue.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ue){const z=ue*this.totalTime;this.players.forEach(Le=>{const ve=Le.totalTime?Math.min(1,z/Le.totalTime):1;Le.setPosition(ve)})}getPosition(){const ue=this.players.reduce((z,Le)=>null===z||Le.totalTime>z.totalTime?Le:z,null);return null!=ue?ue.getPosition():0}beforeDestroy(){this.players.forEach(ue=>{ue.beforeDestroy&&ue.beforeDestroy()})}triggerCallback(ue){const z="start"==ue?this._onStartFns:this._onDoneFns;z.forEach(Le=>Le()),z.length=0}}const je="!"},5604:(bn,Et,J)=>{"use strict";J.d(Et,{xd:()=>De,x0:()=>ht,N7:()=>Ye,Cl:()=>pn});var n=J(639);function V(Ce,Te=0){return function(Ce){return!isNaN(parseFloat(Ce))&&!isNaN(Number(Ce))}(Ce)?Number(Ce):Te}var we=J(7574),re=J(9796),xe=J(9105),Pe=J(8002);function dt(Ce,Te,oe,Xe){return(0,xe.m)(oe)&&(Xe=oe,oe=void 0),Xe?dt(Ce,Te,oe).pipe((0,Pe.U)(Dt=>(0,re.k)(Dt)?Xe(...Dt):Xe(Dt))):new we.y(Dt=>{st(Ce,Te,function(ln){Dt.next(arguments.length>1?Array.prototype.slice.call(arguments):ln)},Dt,oe)})}function st(Ce,Te,oe,Xe,Dt){let zt;if(function(Ce){return Ce&&"function"==typeof Ce.addEventListener&&"function"==typeof Ce.removeEventListener}(Ce)){const ln=Ce;Ce.addEventListener(Te,oe,Dt),zt=()=>ln.removeEventListener(Te,oe,Dt)}else if(function(Ce){return Ce&&"function"==typeof Ce.on&&"function"==typeof Ce.off}(Ce)){const ln=Ce;Ce.on(Te,oe),zt=()=>ln.off(Te,oe)}else if(function(Ce){return Ce&&"function"==typeof Ce.addListener&&"function"==typeof Ce.removeListener}(Ce)){const ln=Ce;Ce.addListener(Te,oe),zt=()=>ln.removeListener(Te,oe)}else{if(!Ce||!Ce.length)throw new TypeError("Invalid event target");for(let ln=0,Xn=Ce.length;ln<Xn;ln++)st(Ce[ln],Te,oe,Xe,Dt)}Xe.add(zt)}var ct=J(6465),Qe=J(6102);const z=new class extends Qe.v{flush(Te){this.active=!0,this.scheduled=void 0;const{actions:oe}=this;let Xe,Dt=-1,zt=oe.length;Te=Te||oe.shift();do{if(Xe=Te.execute(Te.state,Te.delay))break}while(++Dt<zt&&(Te=oe.shift()));if(this.active=!1,Xe){for(;++Dt<zt&&(Te=oe.shift());)Te.unsubscribe();throw Xe}}}(class extends ct.o{constructor(Te,oe){super(Te,oe),this.scheduler=Te,this.work=oe}requestAsyncId(Te,oe,Xe=0){return null!==Xe&&Xe>0?super.requestAsyncId(Te,oe,Xe):(Te.actions.push(this),Te.scheduled||(Te.scheduled=requestAnimationFrame(()=>Te.flush(null))))}recycleAsyncId(Te,oe,Xe=0){if(null!==Xe&&Xe>0||null===Xe&&this.delay>0)return super.recycleAsyncId(Te,oe,Xe);0===Te.actions.length&&(cancelAnimationFrame(oe),Te.scheduled=void 0)}});let ve=1;const Ie=Promise.resolve(),be={};function Be(Ce){return Ce in be&&(delete be[Ce],!0)}const bt={setImmediate(Ce){const Te=ve++;return be[Te]=!0,Ie.then(()=>Be(Te)&&Ce()),Te},clearImmediate(Ce){Be(Ce)}},Ut=new class extends Qe.v{flush(Te){this.active=!0,this.scheduled=void 0;const{actions:oe}=this;let Xe,Dt=-1,zt=oe.length;Te=Te||oe.shift();do{if(Xe=Te.execute(Te.state,Te.delay))break}while(++Dt<zt&&(Te=oe.shift()));if(this.active=!1,Xe){for(;++Dt<zt&&(Te=oe.shift());)Te.unsubscribe();throw Xe}}}(class extends ct.o{constructor(Te,oe){super(Te,oe),this.scheduler=Te,this.work=oe}requestAsyncId(Te,oe,Xe=0){return null!==Xe&&Xe>0?super.requestAsyncId(Te,oe,Xe):(Te.actions.push(this),Te.scheduled||(Te.scheduled=bt.setImmediate(Te.flush.bind(Te,null))))}recycleAsyncId(Te,oe,Xe=0){if(null!==Xe&&Xe>0||null===Xe&&this.delay>0)return super.recycleAsyncId(Te,oe,Xe);0===Te.actions.length&&(bt.clearImmediate(oe),Te.scheduled=void 0)}});function kt(Ce){return!!Ce&&(Ce instanceof we.y||"function"==typeof Ce.lift&&"function"==typeof Ce.subscribe)}var _n=J(9765),Ht=J(5917),sn=J(5319),tt=J(7393);class Tt{constructor(Te,oe){this.compare=Te,this.keySelector=oe}call(Te,oe){return oe.subscribe(new et(Te,this.compare,this.keySelector))}}class et extends tt.L{constructor(Te,oe,Xe){super(Te),this.keySelector=Xe,this.hasKey=!1,"function"==typeof oe&&(this.compare=oe)}compare(Te,oe){return Te===oe}_next(Te){let oe;try{const{keySelector:Dt}=this;oe=Dt?Dt(Te):Te}catch(Dt){return this.destination.error(Dt)}let Xe=!1;if(this.hasKey)try{const{compare:Dt}=this;Xe=Dt(this.key,oe)}catch(Dt){return this.destination.error(Dt)}else this.hasKey=!0;Xe||(this.key=oe,this.destination.next(Te))}}const on=new Qe.v(ct.o);var un=J(5345);class Rn{constructor(Te){this.durationSelector=Te}call(Te,oe){return oe.subscribe(new vi(Te,this.durationSelector))}}class vi extends un.Ds{constructor(Te,oe){super(Te),this.durationSelector=oe,this.hasValue=!1}_next(Te){if(this.value=Te,this.hasValue=!0,!this.throttled){let oe;try{const{durationSelector:Dt}=this;oe=Dt(Te)}catch(Dt){return this.destination.error(Dt)}const Xe=(0,un.ft)(oe,new un.IY(this));!Xe||Xe.closed?this.clearThrottle():this.add(this.throttled=Xe)}}clearThrottle(){const{value:Te,hasValue:oe,throttled:Xe}=this;Xe&&(this.remove(Xe),this.throttled=void 0,Xe.unsubscribe()),oe&&(this.value=void 0,this.hasValue=!1,this.destination.next(Te))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function Ci(Ce){return!(0,re.k)(Ce)&&Ce-parseFloat(Ce)+1>=0}var Pn=J(4869);function ai(Ce){const{index:Te,period:oe,subscriber:Xe}=Ce;if(Xe.next(Te),!Xe.closed){if(-1===oe)return Xe.complete();Ce.index=Te+1,this.schedule(Ce,oe)}}function dn(Ce,Te=on){return function(Ce){return function(oe){return oe.lift(new Rn(Ce))}}(()=>function(Ce=0,Te,oe){let Xe=-1;return Ci(Te)?Xe=Number(Te)<1?1:Number(Te):(0,Pn.K)(Te)&&(oe=Te),(0,Pn.K)(oe)||(oe=on),new we.y(Dt=>{const zt=Ci(Ce)?Ce:+Ce-oe.now();return oe.schedule(ai,zt,{index:0,period:Xe,subscriber:Dt})})}(Ce,Te))}class si{call(Te,oe){return oe.subscribe(new io(Te))}}class io extends tt.L{constructor(Te){super(Te),this.hasPrev=!1}_next(Te){let oe;this.hasPrev?oe=[this.prev,Te]:this.hasPrev=!0,this.prev=Te,oe&&this.destination.next(oe)}}var Qi=J(1929);var me=J(5435),Se=J(6782),W=J(9761),F=J(3190),U=J(8583);let X;try{X="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ce){X=!1}let At,mn,He=(()=>{class Ce{constructor(oe){this._platformId=oe,this.isBrowser=this._platformId?(0,U.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!X)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.LFG(n.Lbi))},Ce.\u0275prov=n.Yz7({factory:function(){return new Ce(n.LFG(n.Lbi))},token:Ce,providedIn:"root"}),Ce})(),Qt=(()=>{class Ce{}return Ce.\u0275fac=function(oe){return new(oe||Ce)},Ce.\u0275mod=n.oAB({type:Ce}),Ce.\u0275inj=n.cJS({}),Ce})();function On(){if("object"!=typeof document||!document)return 0;if(null==At){const Ce=document.createElement("div"),Te=Ce.style;Ce.dir="rtl",Te.width="1px",Te.overflow="auto",Te.visibility="hidden",Te.pointerEvents="none",Te.position="absolute";const oe=document.createElement("div"),Xe=oe.style;Xe.width="2px",Xe.height="1px",Ce.appendChild(oe),document.body.appendChild(Ce),At=0,0===Ce.scrollLeft&&(Ce.scrollLeft=1,At=0===Ce.scrollLeft?1:2),Ce.parentNode.removeChild(Ce)}return At}const Oi=new n.OlP("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.f3M)(U.K0)}});let Vi=(()=>{class Ce{constructor(oe){if(this.value="ltr",this.change=new n.vpe,oe){const Dt=oe.documentElement?oe.documentElement.dir:null,zt=(oe.body?oe.body.dir:null)||Dt;this.value="ltr"===zt||"rtl"===zt?zt:"ltr"}}ngOnDestroy(){this.change.complete()}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.LFG(Oi,8))},Ce.\u0275prov=n.Yz7({factory:function(){return new Ce(n.LFG(Oi,8))},token:Ce,providedIn:"root"}),Ce})(),pi=(()=>{class Ce{}return Ce.\u0275fac=function(oe){return new(oe||Ce)},Ce.\u0275mod=n.oAB({type:Ce}),Ce.\u0275inj=n.cJS({}),Ce})();class To extends class{}{constructor(Te){super(),this._data=Te}connect(){return kt(this._data)?this._data:(0,Ht.of)(this._data)}disconnect(){}}class Fi{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(Te,oe,Xe,Dt,zt){Te.forEachOperation((ln,Xn,Hn)=>{let wn,Yn;null==ln.previousIndex?(wn=this._insertView(()=>Xe(ln,Xn,Hn),Hn,oe,Dt(ln)),Yn=wn?1:0):null==Hn?(this._detachAndCacheView(Xn,oe),Yn=3):(wn=this._moveView(Xn,Hn,oe,Dt(ln)),Yn=2),zt&&zt({context:null==wn?void 0:wn.context,operation:Yn,record:ln})})}detach(){for(const Te of this._viewCache)Te.destroy();this._viewCache=[]}_insertView(Te,oe,Xe,Dt){const zt=this._insertViewFromCache(oe,Xe);if(zt)return void(zt.context.$implicit=Dt);const ln=Te();return Xe.createEmbeddedView(ln.templateRef,ln.context,ln.index)}_detachAndCacheView(Te,oe){const Xe=oe.detach(Te);this._maybeCacheView(Xe,oe)}_moveView(Te,oe,Xe,Dt){const zt=Xe.get(Te);return Xe.move(zt,oe),zt.context.$implicit=Dt,zt}_maybeCacheView(Te,oe){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(Te);else{const Xe=oe.indexOf(Te);-1===Xe?Te.destroy():oe.remove(Xe)}}_insertViewFromCache(Te,oe){const Xe=this._viewCache.pop();return Xe&&oe.insert(Xe,Te),Xe||null}}const yo=new n.OlP("_ViewRepeater"),vo=["contentWrapper"],fo=["*"],nt=new n.OlP("VIRTUAL_SCROLL_STRATEGY");class Ot{constructor(Te,oe,Xe){this._scrolledIndexChange=new _n.xQ,this.scrolledIndexChange=this._scrolledIndexChange.pipe(oe=>oe.lift(new Tt(void 0,void 0))),this._viewport=null,this._itemSize=Te,this._minBufferPx=oe,this._maxBufferPx=Xe}attach(Te){this._viewport=Te,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(Te,oe,Xe){this._itemSize=Te,this._minBufferPx=oe,this._maxBufferPx=Xe,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(Te,oe){this._viewport&&this._viewport.scrollToOffset(Te*this._itemSize,oe)}_updateTotalContentSize(){!this._viewport||this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const Te=this._viewport.getRenderedRange(),oe={start:Te.start,end:Te.end},Xe=this._viewport.getViewportSize(),Dt=this._viewport.getDataLength();let zt=this._viewport.measureScrollOffset(),ln=this._itemSize>0?zt/this._itemSize:0;if(oe.end>Dt){const Hn=Math.ceil(Xe/this._itemSize),wn=Math.max(0,Math.min(ln,Dt-Hn));ln!=wn&&(ln=wn,zt=wn*this._itemSize,oe.start=Math.floor(ln)),oe.end=Math.max(0,Math.min(Dt,oe.start+Hn))}const Xn=zt-oe.start*this._itemSize;if(Xn<this._minBufferPx&&0!=oe.start){const Hn=Math.ceil((this._maxBufferPx-Xn)/this._itemSize);oe.start=Math.max(0,oe.start-Hn),oe.end=Math.min(Dt,Math.ceil(ln+(Xe+this._minBufferPx)/this._itemSize))}else{const Hn=oe.end*this._itemSize-(zt+Xe);if(Hn<this._minBufferPx&&oe.end!=Dt){const wn=Math.ceil((this._maxBufferPx-Hn)/this._itemSize);wn>0&&(oe.end=Math.min(Dt,oe.end+wn),oe.start=Math.max(0,Math.floor(ln-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(oe),this._viewport.setRenderedContentOffset(this._itemSize*oe.start),this._scrolledIndexChange.next(Math.floor(ln))}}function $(Ce){return Ce._scrollStrategy}let De=(()=>{class Ce{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Ot(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(oe){this._itemSize=V(oe)}get minBufferPx(){return this._minBufferPx}set minBufferPx(oe){this._minBufferPx=V(oe)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(oe){this._maxBufferPx=V(oe)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}return Ce.\u0275fac=function(oe){return new(oe||Ce)},Ce.\u0275dir=n.lG2({type:Ce,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[n._Bn([{provide:nt,useFactory:$,deps:[(0,n.Gpc)(()=>Ce)]}]),n.TTD]}),Ce})(),Vt=(()=>{class Ce{constructor(oe,Xe,Dt){this._ngZone=oe,this._platform=Xe,this._scrolled=new _n.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Dt}register(oe){this.scrollContainers.has(oe)||this.scrollContainers.set(oe,oe.elementScrolled().subscribe(()=>this._scrolled.next(oe)))}deregister(oe){const Xe=this.scrollContainers.get(oe);Xe&&(Xe.unsubscribe(),this.scrollContainers.delete(oe))}scrolled(oe=20){return this._platform.isBrowser?new we.y(Xe=>{this._globalSubscription||this._addGlobalListener();const Dt=oe>0?this._scrolled.pipe(dn(oe)).subscribe(Xe):this._scrolled.subscribe(Xe);return this._scrolledCount++,()=>{Dt.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ht.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((oe,Xe)=>this.deregister(Xe)),this._scrolled.complete()}ancestorScrolled(oe,Xe){const Dt=this.getAncestorScrollContainers(oe);return this.scrolled(Xe).pipe((0,me.h)(zt=>!zt||Dt.indexOf(zt)>-1))}getAncestorScrollContainers(oe){const Xe=[];return this.scrollContainers.forEach((Dt,zt)=>{this._scrollableContainsElement(zt,oe)&&Xe.push(zt)}),Xe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(oe,Xe){let Dt=function(Ce){return Ce instanceof n.SBq?Ce.nativeElement:Ce}(Xe),zt=oe.getElementRef().nativeElement;do{if(Dt==zt)return!0}while(Dt=Dt.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>dt(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.LFG(n.R0b),n.LFG(He),n.LFG(U.K0,8))},Ce.\u0275prov=n.Yz7({factory:function(){return new Ce(n.LFG(n.R0b),n.LFG(He),n.LFG(U.K0,8))},token:Ce,providedIn:"root"}),Ce})(),Bt=(()=>{class Ce{constructor(oe,Xe,Dt,zt){this.elementRef=oe,this.scrollDispatcher=Xe,this.ngZone=Dt,this.dir=zt,this._destroyed=new _n.xQ,this._elementScrolled=new we.y(ln=>this.ngZone.runOutsideAngular(()=>dt(this.elementRef.nativeElement,"scroll").pipe((0,Se.R)(this._destroyed)).subscribe(ln)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(oe){const Xe=this.elementRef.nativeElement,Dt=this.dir&&"rtl"==this.dir.value;null==oe.left&&(oe.left=Dt?oe.end:oe.start),null==oe.right&&(oe.right=Dt?oe.start:oe.end),null!=oe.bottom&&(oe.top=Xe.scrollHeight-Xe.clientHeight-oe.bottom),Dt&&0!=On()?(null!=oe.left&&(oe.right=Xe.scrollWidth-Xe.clientWidth-oe.left),2==On()?oe.left=oe.right:1==On()&&(oe.left=oe.right?-oe.right:oe.right)):null!=oe.right&&(oe.left=Xe.scrollWidth-Xe.clientWidth-oe.right),this._applyScrollToOptions(oe)}_applyScrollToOptions(oe){const Xe=this.elementRef.nativeElement;!function(){if(null==mn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return mn=!1,mn;if("scrollBehavior"in document.documentElement.style)mn=!0;else{const Ce=Element.prototype.scrollTo;mn=!!Ce&&!/\{\s*\[native code\]\s*\}/.test(Ce.toString())}}return mn}()?(null!=oe.top&&(Xe.scrollTop=oe.top),null!=oe.left&&(Xe.scrollLeft=oe.left)):Xe.scrollTo(oe)}measureScrollOffset(oe){const Xe="left",zt=this.elementRef.nativeElement;if("top"==oe)return zt.scrollTop;if("bottom"==oe)return zt.scrollHeight-zt.clientHeight-zt.scrollTop;const ln=this.dir&&"rtl"==this.dir.value;return"start"==oe?oe=ln?"right":Xe:"end"==oe&&(oe=ln?Xe:"right"),ln&&2==On()?oe==Xe?zt.scrollWidth-zt.clientWidth-zt.scrollLeft:zt.scrollLeft:ln&&1==On()?oe==Xe?zt.scrollLeft+zt.scrollWidth-zt.clientWidth:-zt.scrollLeft:oe==Xe?zt.scrollLeft:zt.scrollWidth-zt.clientWidth-zt.scrollLeft}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.Y36(n.SBq),n.Y36(Vt),n.Y36(n.R0b),n.Y36(Vi,8))},Ce.\u0275dir=n.lG2({type:Ce,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),Ce})(),en=(()=>{class Ce{constructor(oe,Xe,Dt){this._platform=oe,this._change=new _n.xQ,this._changeListener=zt=>{this._change.next(zt)},this._document=Dt,Xe.runOutsideAngular(()=>{if(oe.isBrowser){const zt=this._getWindow();zt.addEventListener("resize",this._changeListener),zt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const oe=this._getWindow();oe.removeEventListener("resize",this._changeListener),oe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const oe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),oe}getViewportRect(){const oe=this.getViewportScrollPosition(),{width:Xe,height:Dt}=this.getViewportSize();return{top:oe.top,left:oe.left,bottom:oe.top+Dt,right:oe.left+Xe,height:Dt,width:Xe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const oe=this._document,Xe=this._getWindow(),Dt=oe.documentElement,zt=Dt.getBoundingClientRect();return{top:-zt.top||oe.body.scrollTop||Xe.scrollY||Dt.scrollTop||0,left:-zt.left||oe.body.scrollLeft||Xe.scrollX||Dt.scrollLeft||0}}change(oe=20){return oe>0?this._change.pipe(dn(oe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const oe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:oe.innerWidth,height:oe.innerHeight}:{width:0,height:0}}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.LFG(He),n.LFG(n.R0b),n.LFG(U.K0,8))},Ce.\u0275prov=n.Yz7({factory:function(){return new Ce(n.LFG(He),n.LFG(n.R0b),n.LFG(U.K0,8))},token:Ce,providedIn:"root"}),Ce})();const it="undefined"!=typeof requestAnimationFrame?z:Ut;let Ye=(()=>{class Ce extends Bt{constructor(oe,Xe,Dt,zt,ln,Xn,Hn){super(oe,Xn,Dt,ln),this.elementRef=oe,this._changeDetectorRef=Xe,this._scrollStrategy=zt,this._detachedSubject=new _n.xQ,this._renderedRangeSubject=new _n.xQ,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new we.y(wn=>this._scrollStrategy.scrolledIndexChange.subscribe(Yn=>Promise.resolve().then(()=>this.ngZone.run(()=>wn.next(Yn))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=sn.w.EMPTY,this._viewportChanges=Hn.change().subscribe(()=>{this.checkViewportSize()})}get orientation(){return this._orientation}set orientation(oe){this._orientation!==oe&&(this._orientation=oe,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(oe){this._appendOnly=function(Ce){return null!=Ce&&"false"!=`${Ce}`}(oe)}ngOnInit(){super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.elementScrolled().pipe((0,W.O)(null),dn(0,it)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()}))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(oe){this.ngZone.runOutsideAngular(()=>{this._forOf=oe,this._forOf.dataStream.pipe((0,Se.R)(this._detachedSubject)).subscribe(Xe=>{const Dt=Xe.length;Dt!==this._dataLength&&(this._dataLength=Dt,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}setTotalContentSize(oe){this._totalContentSize!==oe&&(this._totalContentSize=oe,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(oe){(function(Ce,Te){return Ce.start==Te.start&&Ce.end==Te.end})(this._renderedRange,oe)||(this.appendOnly&&(oe={start:0,end:Math.max(this._renderedRange.end,oe.end)}),this._renderedRangeSubject.next(this._renderedRange=oe),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(oe,Xe="to-start"){const zt="horizontal"==this.orientation,ln=zt?"X":"Y";let Hn=`translate${ln}(${Number((zt&&this.dir&&"rtl"==this.dir.value?-1:1)*oe)}px)`;this._renderedContentOffset=oe,"to-end"===Xe&&(Hn+=` translate${ln}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Hn&&(this._renderedContentTransform=Hn,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(oe,Xe="auto"){const Dt={behavior:Xe};"horizontal"===this.orientation?Dt.start=oe:Dt.top=oe,this.scrollTo(Dt)}scrollToIndex(oe,Xe="auto"){this._scrollStrategy.scrollToIndex(oe,Xe)}measureScrollOffset(oe){return super.measureScrollOffset(oe||("horizontal"===this.orientation?"start":"top"))}measureRenderedContentSize(){const oe=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?oe.offsetWidth:oe.offsetHeight}measureRangeSize(oe){return this._forOf?this._forOf.measureRangeSize(oe,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){const oe=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?oe.clientWidth:oe.clientHeight}_markChangeDetectionNeeded(oe){oe&&this._runAfterChangeDetection.push(oe),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const oe=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Xe of oe)Xe()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.Y36(n.SBq),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(nt,8),n.Y36(Vi,8),n.Y36(Vt),n.Y36(en))},Ce.\u0275cmp=n.Xpm({type:Ce,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(oe,Xe){if(1&oe&&n.Gf(vo,7),2&oe){let Dt;n.iGM(Dt=n.CRH())&&(Xe._contentWrapper=Dt.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(oe,Xe){2&oe&&n.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Xe.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Xe.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[n._Bn([{provide:Bt,useExisting:Ce}]),n.qOj],ngContentSelectors:fo,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(oe,Xe){1&oe&&(n.F$t(),n.TgZ(0,"div",0,1),n.Hsn(2),n.qZA(),n._UZ(3,"div",2)),2&oe&&(n.xp6(3),n.Udp("width",Xe._totalContentWidth)("height",Xe._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}\n"],encapsulation:2,changeDetection:0}),Ce})();function Oe(Ce,Te,oe){if(!oe.getBoundingClientRect)return 0;const Dt=oe.getBoundingClientRect();return"horizontal"===Ce?"start"===Te?Dt.left:Dt.right:"start"===Te?Dt.top:Dt.bottom}let ht=(()=>{class Ce{constructor(oe,Xe,Dt,zt,ln,Xn){this._viewContainerRef=oe,this._template=Xe,this._differs=Dt,this._viewRepeater=zt,this._viewport=ln,this.viewChange=new _n.xQ,this._dataSourceChanges=new _n.xQ,this.dataStream=this._dataSourceChanges.pipe((0,W.O)(null),Ce=>Ce.lift(new si),(0,F.w)(([Hn,wn])=>this._changeDataSource(Hn,wn)),function(Ce,Te,oe){let Xe;return Xe=Ce&&"object"==typeof Ce?Ce:{bufferSize:Ce,windowTime:Te,refCount:!1,scheduler:oe},Dt=>Dt.lift(function({bufferSize:Ce=Number.POSITIVE_INFINITY,windowTime:Te=Number.POSITIVE_INFINITY,refCount:oe,scheduler:Xe}){let Dt,ln,zt=0,Xn=!1,Hn=!1;return function(Yn){let Li;zt++,!Dt||Xn?(Xn=!1,Dt=new Qi.t(Ce,Te,Xe),Li=Dt.subscribe(this),ln=Yn.subscribe({next(as){Dt.next(as)},error(as){Xn=!0,Dt.error(as)},complete(){Hn=!0,ln=void 0,Dt.complete()}}),Hn&&(ln=void 0)):Li=Dt.subscribe(this),this.add(()=>{zt--,Li.unsubscribe(),Li=void 0,ln&&!Hn&&oe&&0===zt&&(ln.unsubscribe(),ln=void 0,Dt=void 0)})}}(Xe))}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new _n.xQ,this.dataStream.subscribe(Hn=>{this._data=Hn,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe((0,Se.R)(this._destroyed)).subscribe(Hn=>{this._renderedRange=Hn,Xn.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(oe){this._cdkVirtualForOf=oe,function(Ce){return Ce&&"function"==typeof Ce.connect}(oe)?this._dataSourceChanges.next(oe):this._dataSourceChanges.next(new To(kt(oe)?oe:Array.from(oe||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(oe){this._needsUpdate=!0,this._cdkVirtualForTrackBy=oe?(Xe,Dt)=>oe(Xe+(this._renderedRange?this._renderedRange.start:0),Dt):void 0}set cdkVirtualForTemplate(oe){oe&&(this._needsUpdate=!0,this._template=oe)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(oe){this._viewRepeater.viewCacheSize=V(oe)}measureRangeSize(oe,Xe){if(oe.start>=oe.end)return 0;const Dt=oe.start-this._renderedRange.start,zt=oe.end-oe.start;let ln,Xn;for(let Hn=0;Hn<zt;Hn++){const wn=this._viewContainerRef.get(Hn+Dt);if(wn&&wn.rootNodes.length){ln=Xn=wn.rootNodes[0];break}}for(let Hn=zt-1;Hn>-1;Hn--){const wn=this._viewContainerRef.get(Hn+Dt);if(wn&&wn.rootNodes.length){Xn=wn.rootNodes[wn.rootNodes.length-1];break}}return ln&&Xn?Oe(Xe,"end",Xn)-Oe(Xe,"start",ln):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const oe=this._differ.diff(this._renderedItems);oe?this._applyChanges(oe):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){!this._renderedRange||(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((oe,Xe)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(oe,Xe):Xe)),this._needsUpdate=!0)}_changeDataSource(oe,Xe){return oe&&oe.disconnect(this),this._needsUpdate=!0,Xe?Xe.connect(this):(0,Ht.of)()}_updateContext(){const oe=this._data.length;let Xe=this._viewContainerRef.length;for(;Xe--;){const Dt=this._viewContainerRef.get(Xe);Dt.context.index=this._renderedRange.start+Xe,Dt.context.count=oe,this._updateComputedContextProperties(Dt.context),Dt.detectChanges()}}_applyChanges(oe){this._viewRepeater.applyChanges(oe,this._viewContainerRef,(zt,ln,Xn)=>this._getEmbeddedViewArgs(zt,Xn),zt=>zt.item),oe.forEachIdentityChange(zt=>{this._viewContainerRef.get(zt.currentIndex).context.$implicit=zt.item});const Xe=this._data.length;let Dt=this._viewContainerRef.length;for(;Dt--;){const zt=this._viewContainerRef.get(Dt);zt.context.index=this._renderedRange.start+Dt,zt.context.count=Xe,this._updateComputedContextProperties(zt.context)}}_updateComputedContextProperties(oe){oe.first=0===oe.index,oe.last=oe.index===oe.count-1,oe.even=oe.index%2==0,oe.odd=!oe.even}_getEmbeddedViewArgs(oe,Xe){return{templateRef:this._template,context:{$implicit:oe.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:Xe}}}return Ce.\u0275fac=function(oe){return new(oe||Ce)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4),n.Y36(yo),n.Y36(Ye,4),n.Y36(n.R0b))},Ce.\u0275dir=n.lG2({type:Ce,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[n._Bn([{provide:yo,useClass:Fi}])]}),Ce})(),Ct=(()=>{class Ce{}return Ce.\u0275fac=function(oe){return new(oe||Ce)},Ce.\u0275mod=n.oAB({type:Ce}),Ce.\u0275inj=n.cJS({}),Ce})(),pn=(()=>{class Ce{}return Ce.\u0275fac=function(oe){return new(oe||Ce)},Ce.\u0275mod=n.oAB({type:Ce}),Ce.\u0275inj=n.cJS({imports:[[pi,Qt,Ct],pi,Ct]}),Ce})()},8583:(bn,Et,J)=>{"use strict";J.d(Et,{mr:()=>ct,ez:()=>zs,K0:()=>de,Do:()=>Qe,V_:()=>re,Ye:()=>ue,S$:()=>Ue,mk:()=>pn,sg:()=>oe,O5:()=>zt,PC:()=>oo,tP:()=>Co,b0:()=>je,lw:()=>ge,EM:()=>v,JF:()=>S,NF:()=>Qs,w_:()=>se,bD:()=>Ws,q:()=>V,Mx:()=>Ct,HT:()=>ie});var n=J(639);let c=null;function V(){return c}function ie(b){c||(c=b)}class se{}const de=new n.OlP("DocumentToken");let ge=(()=>{class b{historyGo(I){throw new Error("Not implemented")}}return b.\u0275fac=function(I){return new(I||b)},b.\u0275prov=(0,n.Yz7)({factory:we,token:b,providedIn:"platform"}),b})();function we(){return(0,n.LFG)(xe)}const re=new n.OlP("Location Initialized");let xe=(()=>{class b extends ge{constructor(I){super(),this._doc=I,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return V().getBaseHref(this._doc)}onPopState(I){const q=V().getGlobalEventTarget(this._doc,"window");return q.addEventListener("popstate",I,!1),()=>q.removeEventListener("popstate",I)}onHashChange(I){const q=V().getGlobalEventTarget(this._doc,"window");return q.addEventListener("hashchange",I,!1),()=>q.removeEventListener("hashchange",I)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(I){this.location.pathname=I}pushState(I,q,te){Pe()?this._history.pushState(I,q,te):this.location.hash=te}replaceState(I,q,te){Pe()?this._history.replaceState(I,q,te):this.location.hash=te}forward(){this._history.forward()}back(){this._history.back()}historyGo(I=0){this._history.go(I)}getState(){return this._history.state}}return b.\u0275fac=function(I){return new(I||b)(n.LFG(de))},b.\u0275prov=(0,n.Yz7)({factory:ut,token:b,providedIn:"platform"}),b})();function Pe(){return!!window.history.pushState}function ut(){return new xe((0,n.LFG)(de))}function dt(b,D){if(0==b.length)return D;if(0==D.length)return b;let I=0;return b.endsWith("/")&&I++,D.startsWith("/")&&I++,2==I?b+D.substring(1):1==I?b+D:b+"/"+D}function st(b){const D=b.match(/#|\?|$/),I=D&&D.index||b.length;return b.slice(0,I-("/"===b[I-1]?1:0))+b.slice(I)}function Me(b){return b&&"?"!==b[0]?"?"+b:b}let Ue=(()=>{class b{historyGo(I){throw new Error("Not implemented")}}return b.\u0275fac=function(I){return new(I||b)},b.\u0275prov=(0,n.Yz7)({factory:Ve,token:b,providedIn:"root"}),b})();function Ve(b){const D=(0,n.LFG)(de).location;return new je((0,n.LFG)(ge),D&&D.origin||"")}const ct=new n.OlP("appBaseHref");let je=(()=>{class b extends Ue{constructor(I,q){if(super(),this._platformLocation=I,this._removeListenerFns=[],null==q&&(q=this._platformLocation.getBaseHrefFromDOM()),null==q)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=q}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}prepareExternalUrl(I){return dt(this._baseHref,I)}path(I=!1){const q=this._platformLocation.pathname+Me(this._platformLocation.search),te=this._platformLocation.hash;return te&&I?`${q}${te}`:q}pushState(I,q,te,ye){const pt=this.prepareExternalUrl(te+Me(ye));this._platformLocation.pushState(I,q,pt)}replaceState(I,q,te,ye){const pt=this.prepareExternalUrl(te+Me(ye));this._platformLocation.replaceState(I,q,pt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(I=0){var q,te;null===(te=(q=this._platformLocation).historyGo)||void 0===te||te.call(q,I)}}return b.\u0275fac=function(I){return new(I||b)(n.LFG(ge),n.LFG(ct,8))},b.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac}),b})(),Qe=(()=>{class b extends Ue{constructor(I,q){super(),this._platformLocation=I,this._baseHref="",this._removeListenerFns=[],null!=q&&(this._baseHref=q)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(I){this._removeListenerFns.push(this._platformLocation.onPopState(I),this._platformLocation.onHashChange(I))}getBaseHref(){return this._baseHref}path(I=!1){let q=this._platformLocation.hash;return null==q&&(q="#"),q.length>0?q.substring(1):q}prepareExternalUrl(I){const q=dt(this._baseHref,I);return q.length>0?"#"+q:q}pushState(I,q,te,ye){let pt=this.prepareExternalUrl(te+Me(ye));0==pt.length&&(pt=this._platformLocation.pathname),this._platformLocation.pushState(I,q,pt)}replaceState(I,q,te,ye){let pt=this.prepareExternalUrl(te+Me(ye));0==pt.length&&(pt=this._platformLocation.pathname),this._platformLocation.replaceState(I,q,pt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(I=0){var q,te;null===(te=(q=this._platformLocation).historyGo)||void 0===te||te.call(q,I)}}return b.\u0275fac=function(I){return new(I||b)(n.LFG(ge),n.LFG(ct,8))},b.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac}),b})(),ue=(()=>{class b{constructor(I,q){this._subject=new n.vpe,this._urlChangeListeners=[],this._platformStrategy=I;const te=this._platformStrategy.getBaseHref();this._platformLocation=q,this._baseHref=st(ve(te)),this._platformStrategy.onPopState(ye=>{this._subject.emit({url:this.path(!0),pop:!0,state:ye.state,type:ye.type})})}path(I=!1){return this.normalize(this._platformStrategy.path(I))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(I,q=""){return this.path()==this.normalize(I+Me(q))}normalize(I){return b.stripTrailingSlash(function(b,D){return b&&D.startsWith(b)?D.substring(b.length):D}(this._baseHref,ve(I)))}prepareExternalUrl(I){return I&&"/"!==I[0]&&(I="/"+I),this._platformStrategy.prepareExternalUrl(I)}go(I,q="",te=null){this._platformStrategy.pushState(te,"",I,q),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+Me(q)),te)}replaceState(I,q="",te=null){this._platformStrategy.replaceState(te,"",I,q),this._notifyUrlChangeListeners(this.prepareExternalUrl(I+Me(q)),te)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(I=0){var q,te;null===(te=(q=this._platformStrategy).historyGo)||void 0===te||te.call(q,I)}onUrlChange(I){this._urlChangeListeners.push(I),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(q=>{this._notifyUrlChangeListeners(q.url,q.state)}))}_notifyUrlChangeListeners(I="",q){this._urlChangeListeners.forEach(te=>te(I,q))}subscribe(I,q,te){return this._subject.subscribe({next:I,error:q,complete:te})}}return b.\u0275fac=function(I){return new(I||b)(n.LFG(Ue),n.LFG(ge))},b.normalizeQueryParams=Me,b.joinWithSlash=dt,b.stripTrailingSlash=st,b.\u0275prov=(0,n.Yz7)({factory:z,token:b,providedIn:"root"}),b})();function z(){return new ue((0,n.LFG)(Ue),(0,n.LFG)(ge))}function ve(b){return b.replace(/\/index.html$/,"")}var Be=(()=>((Be=Be||{})[Be.Zero=0]="Zero",Be[Be.One=1]="One",Be[Be.Two=2]="Two",Be[Be.Few=3]="Few",Be[Be.Many=4]="Many",Be[Be.Other=5]="Other",Be))();const Pn=n.kL8;class it{}let Oe=(()=>{class b extends it{constructor(I){super(),this.locale=I}getPluralCategory(I,q){switch(Pn(q||this.locale)(I)){case Be.Zero:return"zero";case Be.One:return"one";case Be.Two:return"two";case Be.Few:return"few";case Be.Many:return"many";default:return"other"}}}return b.\u0275fac=function(I){return new(I||b)(n.LFG(n.soG))},b.\u0275prov=n.Yz7({token:b,factory:b.\u0275fac}),b})();function Ct(b,D){D=encodeURIComponent(D);for(const I of b.split(";")){const q=I.indexOf("="),[te,ye]=-1==q?[I,""]:[I.slice(0,q),I.slice(q+1)];if(te.trim()===D)return decodeURIComponent(ye)}return null}let pn=(()=>{class b{constructor(I,q,te,ye){this._iterableDiffers=I,this._keyValueDiffers=q,this._ngEl=te,this._renderer=ye,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(I){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof I?I.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(I){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof I?I.split(/\s+/):I,this._rawClass&&((0,n.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const I=this._iterableDiffer.diff(this._rawClass);I&&this._applyIterableChanges(I)}else if(this._keyValueDiffer){const I=this._keyValueDiffer.diff(this._rawClass);I&&this._applyKeyValueChanges(I)}}_applyKeyValueChanges(I){I.forEachAddedItem(q=>this._toggleClass(q.key,q.currentValue)),I.forEachChangedItem(q=>this._toggleClass(q.key,q.currentValue)),I.forEachRemovedItem(q=>{q.previousValue&&this._toggleClass(q.key,!1)})}_applyIterableChanges(I){I.forEachAddedItem(q=>{if("string"!=typeof q.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.AaK)(q.item)}`);this._toggleClass(q.item,!0)}),I.forEachRemovedItem(q=>this._toggleClass(q.item,!1))}_applyClasses(I){I&&(Array.isArray(I)||I instanceof Set?I.forEach(q=>this._toggleClass(q,!0)):Object.keys(I).forEach(q=>this._toggleClass(q,!!I[q])))}_removeClasses(I){I&&(Array.isArray(I)||I instanceof Set?I.forEach(q=>this._toggleClass(q,!1)):Object.keys(I).forEach(q=>this._toggleClass(q,!1)))}_toggleClass(I,q){(I=I.trim())&&I.split(/\s+/g).forEach(te=>{q?this._renderer.addClass(this._ngEl.nativeElement,te):this._renderer.removeClass(this._ngEl.nativeElement,te)})}}return b.\u0275fac=function(I){return new(I||b)(n.Y36(n.ZZ4),n.Y36(n.aQg),n.Y36(n.SBq),n.Y36(n.Qsj))},b.\u0275dir=n.lG2({type:b,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),b})();class Te{constructor(D,I,q,te){this.$implicit=D,this.ngForOf=I,this.index=q,this.count=te}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let oe=(()=>{class b{constructor(I,q,te){this._viewContainer=I,this._template=q,this._differs=te,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(I){this._ngForOf=I,this._ngForOfDirty=!0}set ngForTrackBy(I){this._trackByFn=I}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(I){I&&(this._template=I)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const I=this._ngForOf;if(!this._differ&&I)try{this._differ=this._differs.find(I).create(this.ngForTrackBy)}catch(q){throw new Error(`Cannot find a differ supporting object '${I}' of type '${function(b){return b.name||typeof b}(I)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const I=this._differ.diff(this._ngForOf);I&&this._applyChanges(I)}}_applyChanges(I){const q=[];I.forEachOperation((te,ye,pt)=>{if(null==te.previousIndex){const qt=this._viewContainer.createEmbeddedView(this._template,new Te(null,this._ngForOf,-1,-1),null===pt?void 0:pt),Yt=new Xe(te,qt);q.push(Yt)}else if(null==pt)this._viewContainer.remove(null===ye?void 0:ye);else if(null!==ye){const qt=this._viewContainer.get(ye);this._viewContainer.move(qt,pt);const Yt=new Xe(te,qt);q.push(Yt)}});for(let te=0;te<q.length;te++)this._perViewChange(q[te].view,q[te].record);for(let te=0,ye=this._viewContainer.length;te<ye;te++){const pt=this._viewContainer.get(te);pt.context.index=te,pt.context.count=ye,pt.context.ngForOf=this._ngForOf}I.forEachIdentityChange(te=>{this._viewContainer.get(te.currentIndex).context.$implicit=te.item})}_perViewChange(I,q){I.context.$implicit=q.item}static ngTemplateContextGuard(I,q){return!0}}return b.\u0275fac=function(I){return new(I||b)(n.Y36(n.s_b),n.Y36(n.Rgc),n.Y36(n.ZZ4))},b.\u0275dir=n.lG2({type:b,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),b})();class Xe{constructor(D,I){this.record=D,this.view=I}}let zt=(()=>{class b{constructor(I,q){this._viewContainer=I,this._context=new ln,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=q}set ngIf(I){this._context.$implicit=this._context.ngIf=I,this._updateView()}set ngIfThen(I){Xn("ngIfThen",I),this._thenTemplateRef=I,this._thenViewRef=null,this._updateView()}set ngIfElse(I){Xn("ngIfElse",I),this._elseTemplateRef=I,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(I,q){return!0}}return b.\u0275fac=function(I){return new(I||b)(n.Y36(n.s_b),n.Y36(n.Rgc))},b.\u0275dir=n.lG2({type:b,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),b})();class ln{constructor(){this.$implicit=null,this.ngIf=null}}function Xn(b,D){if(D&&!D.createEmbeddedView)throw new Error(`${b} must be a TemplateRef, but received '${(0,n.AaK)(D)}'.`)}let oo=(()=>{class b{constructor(I,q,te){this._ngEl=I,this._differs=q,this._renderer=te,this._ngStyle=null,this._differ=null}set ngStyle(I){this._ngStyle=I,!this._differ&&I&&(this._differ=this._differs.find(I).create())}ngDoCheck(){if(this._differ){const I=this._differ.diff(this._ngStyle);I&&this._applyChanges(I)}}_setStyle(I,q){const[te,ye]=I.split(".");null!=(q=null!=q&&ye?`${q}${ye}`:q)?this._renderer.setStyle(this._ngEl.nativeElement,te,q):this._renderer.removeStyle(this._ngEl.nativeElement,te)}_applyChanges(I){I.forEachRemovedItem(q=>this._setStyle(q.key,null)),I.forEachAddedItem(q=>this._setStyle(q.key,q.currentValue)),I.forEachChangedItem(q=>this._setStyle(q.key,q.currentValue))}}return b.\u0275fac=function(I){return new(I||b)(n.Y36(n.SBq),n.Y36(n.aQg),n.Y36(n.Qsj))},b.\u0275dir=n.lG2({type:b,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),b})(),Co=(()=>{class b{constructor(I){this._viewContainerRef=I,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(I){if(I.ngTemplateOutlet){const q=this._viewContainerRef;this._viewRef&&q.remove(q.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?q.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&I.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return b.\u0275fac=function(I){return new(I||b)(n.Y36(n.s_b))},b.\u0275dir=n.lG2({type:b,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.TTD]}),b})(),zs=(()=>{class b{}return b.\u0275fac=function(I){return new(I||b)},b.\u0275mod=n.oAB({type:b}),b.\u0275inj=n.cJS({providers:[{provide:it,useClass:Oe}]}),b})();const Ws="browser";function Qs(b){return b===Ws}let v=(()=>{class b{}return b.\u0275prov=(0,n.Yz7)({token:b,providedIn:"root",factory:()=>new w((0,n.LFG)(de),window)}),b})();class w{constructor(D,I){this.document=D,this.window=I,this.offset=()=>[0,0]}setOffset(D){this.offset=Array.isArray(D)?()=>D:D}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(D){this.supportsScrolling()&&this.window.scrollTo(D[0],D[1])}scrollToAnchor(D){if(!this.supportsScrolling())return;const I=function(b,D){const I=b.getElementById(D)||b.getElementsByName(D)[0];if(I)return I;if("function"==typeof b.createTreeWalker&&b.body&&(b.body.createShadowRoot||b.body.attachShadow)){const q=b.createTreeWalker(b.body,NodeFilter.SHOW_ELEMENT);let te=q.currentNode;for(;te;){const ye=te.shadowRoot;if(ye){const pt=ye.getElementById(D)||ye.querySelector(`[name="${D}"]`);if(pt)return pt}te=q.nextNode()}}return null}(this.document,D);I&&(this.scrollToElement(I),this.attemptFocus(I))}setHistoryScrollRestoration(D){if(this.supportScrollRestoration()){const I=this.window.history;I&&I.scrollRestoration&&(I.scrollRestoration=D)}}scrollToElement(D){const I=D.getBoundingClientRect(),q=I.left+this.window.pageXOffset,te=I.top+this.window.pageYOffset,ye=this.offset();this.window.scrollTo(q-ye[0],te-ye[1])}attemptFocus(D){return D.focus(),this.document.activeElement===D}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const D=g(this.window.history)||g(Object.getPrototypeOf(this.window.history));return!(!D||!D.writable&&!D.set)}catch(D){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(D){return!1}}}function g(b){return Object.getOwnPropertyDescriptor(b,"scrollRestoration")}class S{}},1841:(bn,Et,J)=>{"use strict";J.d(Et,{TP:()=>zn,eN:()=>Nt,JF:()=>si});var n=J(8583),c=J(639),V=J(5917),pe=J(7574),ie=J(4612),se=J(5435),de=J(8002);class ge{}class we{}class re{constructor(Je){this.normalizedNames=new Map,this.lazyUpdate=null,Je?this.lazyInit="string"==typeof Je?()=>{this.headers=new Map,Je.split("\n").forEach(me=>{const Se=me.indexOf(":");if(Se>0){const W=me.slice(0,Se),F=W.toLowerCase(),U=me.slice(Se+1).trim();this.maybeSetNormalizedName(W,F),this.headers.has(F)?this.headers.get(F).push(U):this.headers.set(F,[U])}})}:()=>{this.headers=new Map,Object.keys(Je).forEach(me=>{let Se=Je[me];const W=me.toLowerCase();"string"==typeof Se&&(Se=[Se]),Se.length>0&&(this.headers.set(W,Se),this.maybeSetNormalizedName(me,W))})}:this.headers=new Map}has(Je){return this.init(),this.headers.has(Je.toLowerCase())}get(Je){this.init();const me=this.headers.get(Je.toLowerCase());return me&&me.length>0?me[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Je){return this.init(),this.headers.get(Je.toLowerCase())||null}append(Je,me){return this.clone({name:Je,value:me,op:"a"})}set(Je,me){return this.clone({name:Je,value:me,op:"s"})}delete(Je,me){return this.clone({name:Je,value:me,op:"d"})}maybeSetNormalizedName(Je,me){this.normalizedNames.has(me)||this.normalizedNames.set(me,Je)}init(){this.lazyInit&&(this.lazyInit instanceof re?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Je=>this.applyUpdate(Je)),this.lazyUpdate=null))}copyFrom(Je){Je.init(),Array.from(Je.headers.keys()).forEach(me=>{this.headers.set(me,Je.headers.get(me)),this.normalizedNames.set(me,Je.normalizedNames.get(me))})}clone(Je){const me=new re;return me.lazyInit=this.lazyInit&&this.lazyInit instanceof re?this.lazyInit:this,me.lazyUpdate=(this.lazyUpdate||[]).concat([Je]),me}applyUpdate(Je){const me=Je.name.toLowerCase();switch(Je.op){case"a":case"s":let Se=Je.value;if("string"==typeof Se&&(Se=[Se]),0===Se.length)return;this.maybeSetNormalizedName(Je.name,me);const W=("a"===Je.op?this.headers.get(me):void 0)||[];W.push(...Se),this.headers.set(me,W);break;case"d":const F=Je.value;if(F){let U=this.headers.get(me);if(!U)return;U=U.filter(X=>-1===F.indexOf(X)),0===U.length?(this.headers.delete(me),this.normalizedNames.delete(me)):this.headers.set(me,U)}else this.headers.delete(me),this.normalizedNames.delete(me)}}forEach(Je){this.init(),Array.from(this.normalizedNames.keys()).forEach(me=>Je(this.normalizedNames.get(me),this.headers.get(me)))}}class xe{encodeKey(Je){return st(Je)}encodeValue(Je){return st(Je)}decodeKey(Je){return decodeURIComponent(Je)}decodeValue(Je){return decodeURIComponent(Je)}}const ut=/%(\d[a-f0-9])/gi,dt={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function st(Pt){return encodeURIComponent(Pt).replace(ut,(Je,me)=>{var Se;return null!==(Se=dt[me])&&void 0!==Se?Se:Je})}function Me(Pt){return`${Pt}`}class Ue{constructor(Je={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Je.encoder||new xe,Je.fromString){if(Je.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(Pt,Je){const me=new Map;return Pt.length>0&&Pt.replace(/^\?/,"").split("&").forEach(W=>{const F=W.indexOf("="),[U,X]=-1==F?[Je.decodeKey(W),""]:[Je.decodeKey(W.slice(0,F)),Je.decodeValue(W.slice(F+1))],He=me.get(U)||[];He.push(X),me.set(U,He)}),me}(Je.fromString,this.encoder)}else Je.fromObject?(this.map=new Map,Object.keys(Je.fromObject).forEach(me=>{const Se=Je.fromObject[me];this.map.set(me,Array.isArray(Se)?Se:[Se])})):this.map=null}has(Je){return this.init(),this.map.has(Je)}get(Je){this.init();const me=this.map.get(Je);return me?me[0]:null}getAll(Je){return this.init(),this.map.get(Je)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Je,me){return this.clone({param:Je,value:me,op:"a"})}appendAll(Je){const me=[];return Object.keys(Je).forEach(Se=>{const W=Je[Se];Array.isArray(W)?W.forEach(F=>{me.push({param:Se,value:F,op:"a"})}):me.push({param:Se,value:W,op:"a"})}),this.clone(me)}set(Je,me){return this.clone({param:Je,value:me,op:"s"})}delete(Je,me){return this.clone({param:Je,value:me,op:"d"})}toString(){return this.init(),this.keys().map(Je=>{const me=this.encoder.encodeKey(Je);return this.map.get(Je).map(Se=>me+"="+this.encoder.encodeValue(Se)).join("&")}).filter(Je=>""!==Je).join("&")}clone(Je){const me=new Ue({encoder:this.encoder});return me.cloneFrom=this.cloneFrom||this,me.updates=(this.updates||[]).concat(Je),me}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Je=>this.map.set(Je,this.cloneFrom.map.get(Je))),this.updates.forEach(Je=>{switch(Je.op){case"a":case"s":const me=("a"===Je.op?this.map.get(Je.param):void 0)||[];me.push(Me(Je.value)),this.map.set(Je.param,me);break;case"d":if(void 0===Je.value){this.map.delete(Je.param);break}{let Se=this.map.get(Je.param)||[];const W=Se.indexOf(Me(Je.value));-1!==W&&Se.splice(W,1),Se.length>0?this.map.set(Je.param,Se):this.map.delete(Je.param)}}}),this.cloneFrom=this.updates=null)}}class ct{constructor(){this.map=new Map}set(Je,me){return this.map.set(Je,me),this}get(Je){return this.map.has(Je)||this.map.set(Je,Je.defaultValue()),this.map.get(Je)}delete(Je){return this.map.delete(Je),this}keys(){return this.map.keys()}}function Qe(Pt){return"undefined"!=typeof ArrayBuffer&&Pt instanceof ArrayBuffer}function ue(Pt){return"undefined"!=typeof Blob&&Pt instanceof Blob}function z(Pt){return"undefined"!=typeof FormData&&Pt instanceof FormData}class ve{constructor(Je,me,Se,W){let F;if(this.url=me,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Je.toUpperCase(),function(Pt){switch(Pt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||W?(this.body=void 0!==Se?Se:null,F=W):F=Se,F&&(this.reportProgress=!!F.reportProgress,this.withCredentials=!!F.withCredentials,F.responseType&&(this.responseType=F.responseType),F.headers&&(this.headers=F.headers),F.context&&(this.context=F.context),F.params&&(this.params=F.params)),this.headers||(this.headers=new re),this.context||(this.context=new ct),this.params){const U=this.params.toString();if(0===U.length)this.urlWithParams=me;else{const X=me.indexOf("?");this.urlWithParams=me+(-1===X?"?":X<me.length-1?"&":"")+U}}else this.params=new Ue,this.urlWithParams=me}serializeBody(){return null===this.body?null:Qe(this.body)||ue(this.body)||z(this.body)||"undefined"!=typeof URLSearchParams&&this.body instanceof URLSearchParams||"string"==typeof this.body?this.body:this.body instanceof Ue?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||z(this.body)?null:ue(this.body)?this.body.type||null:Qe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ue?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(Je={}){var me;const Se=Je.method||this.method,W=Je.url||this.url,F=Je.responseType||this.responseType,U=void 0!==Je.body?Je.body:this.body,X=void 0!==Je.withCredentials?Je.withCredentials:this.withCredentials,He=void 0!==Je.reportProgress?Je.reportProgress:this.reportProgress;let Qt=Je.headers||this.headers,Wt=Je.params||this.params;const Ze=null!==(me=Je.context)&&void 0!==me?me:this.context;return void 0!==Je.setHeaders&&(Qt=Object.keys(Je.setHeaders).reduce((jt,he)=>jt.set(he,Je.setHeaders[he]),Qt)),Je.setParams&&(Wt=Object.keys(Je.setParams).reduce((jt,he)=>jt.set(he,Je.setParams[he]),Wt)),new ve(Se,W,U,{params:Wt,headers:Qt,context:Ze,reportProgress:He,responseType:F,withCredentials:X})}}var Ie=(()=>((Ie=Ie||{})[Ie.Sent=0]="Sent",Ie[Ie.UploadProgress=1]="UploadProgress",Ie[Ie.ResponseHeader=2]="ResponseHeader",Ie[Ie.DownloadProgress=3]="DownloadProgress",Ie[Ie.Response=4]="Response",Ie[Ie.User=5]="User",Ie))();class be{constructor(Je,me=200,Se="OK"){this.headers=Je.headers||new re,this.status=void 0!==Je.status?Je.status:me,this.statusText=Je.statusText||Se,this.url=Je.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends be{constructor(Je={}){super(Je),this.type=Ie.ResponseHeader}clone(Je={}){return new Be({headers:Je.headers||this.headers,status:void 0!==Je.status?Je.status:this.status,statusText:Je.statusText||this.statusText,url:Je.url||this.url||void 0})}}class bt extends be{constructor(Je={}){super(Je),this.type=Ie.Response,this.body=void 0!==Je.body?Je.body:null}clone(Je={}){return new bt({body:void 0!==Je.body?Je.body:this.body,headers:Je.headers||this.headers,status:void 0!==Je.status?Je.status:this.status,statusText:Je.statusText||this.statusText,url:Je.url||this.url||void 0})}}class We extends be{constructor(Je){super(Je,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Je.url||"(unknown url)"}`:`Http failure response for ${Je.url||"(unknown url)"}: ${Je.status} ${Je.statusText}`,this.error=Je.error||null}}function Xt(Pt,Je){return{body:Je,headers:Pt.headers,context:Pt.context,observe:Pt.observe,params:Pt.params,reportProgress:Pt.reportProgress,responseType:Pt.responseType,withCredentials:Pt.withCredentials}}let Nt=(()=>{class Pt{constructor(me){this.handler=me}request(me,Se,W={}){let F;if(me instanceof ve)F=me;else{let He,Qt;He=W.headers instanceof re?W.headers:new re(W.headers),W.params&&(Qt=W.params instanceof Ue?W.params:new Ue({fromObject:W.params})),F=new ve(me,Se,void 0!==W.body?W.body:null,{headers:He,context:W.context,params:Qt,reportProgress:W.reportProgress,responseType:W.responseType||"json",withCredentials:W.withCredentials})}const U=(0,V.of)(F).pipe((0,ie.b)(He=>this.handler.handle(He)));if(me instanceof ve||"events"===W.observe)return U;const X=U.pipe((0,se.h)(He=>He instanceof bt));switch(W.observe||"body"){case"body":switch(F.responseType){case"arraybuffer":return X.pipe((0,de.U)(He=>{if(null!==He.body&&!(He.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return He.body}));case"blob":return X.pipe((0,de.U)(He=>{if(null!==He.body&&!(He.body instanceof Blob))throw new Error("Response is not a Blob.");return He.body}));case"text":return X.pipe((0,de.U)(He=>{if(null!==He.body&&"string"!=typeof He.body)throw new Error("Response is not a string.");return He.body}));case"json":default:return X.pipe((0,de.U)(He=>He.body))}case"response":return X;default:throw new Error(`Unreachable: unhandled observe type ${W.observe}}`)}}delete(me,Se={}){return this.request("DELETE",me,Se)}get(me,Se={}){return this.request("GET",me,Se)}head(me,Se={}){return this.request("HEAD",me,Se)}jsonp(me,Se){return this.request("JSONP",me,{params:(new Ue).append(Se,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(me,Se={}){return this.request("OPTIONS",me,Se)}patch(me,Se,W={}){return this.request("PATCH",me,Xt(W,Se))}post(me,Se,W={}){return this.request("POST",me,Xt(W,Se))}put(me,Se,W={}){return this.request("PUT",me,Xt(W,Se))}}return Pt.\u0275fac=function(me){return new(me||Pt)(c.LFG(ge))},Pt.\u0275prov=c.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})();class Ut{constructor(Je,me){this.next=Je,this.interceptor=me}handle(Je){return this.interceptor.intercept(Je,this.next)}}const zn=new c.OlP("HTTP_INTERCEPTORS");let kt=(()=>{class Pt{intercept(me,Se){return Se.handle(me)}}return Pt.\u0275fac=function(me){return new(me||Pt)},Pt.\u0275prov=c.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})();const mt=/^\)\]\}',?\n/;let un=(()=>{class Pt{constructor(me){this.xhrFactory=me}handle(me){if("JSONP"===me.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new pe.y(Se=>{const W=this.xhrFactory.build();if(W.open(me.method,me.urlWithParams),me.withCredentials&&(W.withCredentials=!0),me.headers.forEach((he,Fe)=>W.setRequestHeader(he,Fe.join(","))),me.headers.has("Accept")||W.setRequestHeader("Accept","application/json, text/plain, */*"),!me.headers.has("Content-Type")){const he=me.detectContentTypeHeader();null!==he&&W.setRequestHeader("Content-Type",he)}if(me.responseType){const he=me.responseType.toLowerCase();W.responseType="json"!==he?he:"text"}const F=me.serializeBody();let U=null;const X=()=>{if(null!==U)return U;const he=1223===W.status?204:W.status,Fe=W.statusText||"OK",Lt=new re(W.getAllResponseHeaders()),At=function(Pt){return"responseURL"in Pt&&Pt.responseURL?Pt.responseURL:/^X-Request-URL:/m.test(Pt.getAllResponseHeaders())?Pt.getResponseHeader("X-Request-URL"):null}(W)||me.url;return U=new Be({headers:Lt,status:he,statusText:Fe,url:At}),U},He=()=>{let{headers:he,status:Fe,statusText:Lt,url:At}=X(),mn=null;204!==Fe&&(mn=void 0===W.response?W.responseText:W.response),0===Fe&&(Fe=mn?200:0);let In=Fe>=200&&Fe<300;if("json"===me.responseType&&"string"==typeof mn){const On=mn;mn=mn.replace(mt,"");try{mn=""!==mn?JSON.parse(mn):null}catch(Ri){mn=On,In&&(In=!1,mn={error:Ri,text:mn})}}In?(Se.next(new bt({body:mn,headers:he,status:Fe,statusText:Lt,url:At||void 0})),Se.complete()):Se.error(new We({error:mn,headers:he,status:Fe,statusText:Lt,url:At||void 0}))},Qt=he=>{const{url:Fe}=X(),Lt=new We({error:he,status:W.status||0,statusText:W.statusText||"Unknown Error",url:Fe||void 0});Se.error(Lt)};let Wt=!1;const Ze=he=>{Wt||(Se.next(X()),Wt=!0);let Fe={type:Ie.DownloadProgress,loaded:he.loaded};he.lengthComputable&&(Fe.total=he.total),"text"===me.responseType&&!!W.responseText&&(Fe.partialText=W.responseText),Se.next(Fe)},jt=he=>{let Fe={type:Ie.UploadProgress,loaded:he.loaded};he.lengthComputable&&(Fe.total=he.total),Se.next(Fe)};return W.addEventListener("load",He),W.addEventListener("error",Qt),W.addEventListener("timeout",Qt),W.addEventListener("abort",Qt),me.reportProgress&&(W.addEventListener("progress",Ze),null!==F&&W.upload&&W.upload.addEventListener("progress",jt)),W.send(F),Se.next({type:Ie.Sent}),()=>{W.removeEventListener("error",Qt),W.removeEventListener("abort",Qt),W.removeEventListener("load",He),W.removeEventListener("timeout",Qt),me.reportProgress&&(W.removeEventListener("progress",Ze),null!==F&&W.upload&&W.upload.removeEventListener("progress",jt)),W.readyState!==W.DONE&&W.abort()}})}}return Pt.\u0275fac=function(me){return new(me||Pt)(c.LFG(n.JF))},Pt.\u0275prov=c.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})();const cn=new c.OlP("XSRF_COOKIE_NAME"),Rn=new c.OlP("XSRF_HEADER_NAME");class vi{}let Ci=(()=>{class Pt{constructor(me,Se,W){this.doc=me,this.platform=Se,this.cookieName=W,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const me=this.doc.cookie||"";return me!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.Mx)(me,this.cookieName),this.lastCookieString=me),this.lastToken}}return Pt.\u0275fac=function(me){return new(me||Pt)(c.LFG(n.K0),c.LFG(c.Lbi),c.LFG(cn))},Pt.\u0275prov=c.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})(),Pn=(()=>{class Pt{constructor(me,Se){this.tokenService=me,this.headerName=Se}intercept(me,Se){const W=me.url.toLowerCase();if("GET"===me.method||"HEAD"===me.method||W.startsWith("http://")||W.startsWith("https://"))return Se.handle(me);const F=this.tokenService.getToken();return null!==F&&!me.headers.has(this.headerName)&&(me=me.clone({headers:me.headers.set(this.headerName,F)})),Se.handle(me)}}return Pt.\u0275fac=function(me){return new(me||Pt)(c.LFG(vi),c.LFG(Rn))},Pt.\u0275prov=c.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})(),Qn=(()=>{class Pt{constructor(me,Se){this.backend=me,this.injector=Se,this.chain=null}handle(me){if(null===this.chain){const Se=this.injector.get(zn,[]);this.chain=Se.reduceRight((W,F)=>new Ut(W,F),this.backend)}return this.chain.handle(me)}}return Pt.\u0275fac=function(me){return new(me||Pt)(c.LFG(we),c.LFG(c.zs3))},Pt.\u0275prov=c.Yz7({token:Pt,factory:Pt.\u0275fac}),Pt})(),Mn=(()=>{class Pt{static disable(){return{ngModule:Pt,providers:[{provide:Pn,useClass:kt}]}}static withOptions(me={}){return{ngModule:Pt,providers:[me.cookieName?{provide:cn,useValue:me.cookieName}:[],me.headerName?{provide:Rn,useValue:me.headerName}:[]]}}}return Pt.\u0275fac=function(me){return new(me||Pt)},Pt.\u0275mod=c.oAB({type:Pt}),Pt.\u0275inj=c.cJS({providers:[Pn,{provide:zn,useExisting:Pn,multi:!0},{provide:vi,useClass:Ci},{provide:cn,useValue:"XSRF-TOKEN"},{provide:Rn,useValue:"X-XSRF-TOKEN"}]}),Pt})(),si=(()=>{class Pt{}return Pt.\u0275fac=function(me){return new(me||Pt)},Pt.\u0275mod=c.oAB({type:Pt}),Pt.\u0275inj=c.cJS({providers:[Nt,{provide:ge,useClass:Qn},un,{provide:we,useExisting:un}],imports:[[Mn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),Pt})()},639:(bn,Et,J)=>{"use strict";J.d(Et,{deG:()=>Da,tb:()=>$y,AFp:()=>Zy,ip1:()=>Af,CZH:()=>Hc,hGG:()=>$M,z2F:()=>Vu,sBO:()=>jx,Sil:()=>Nu,_Vd:()=>Yl,EJc:()=>Wy,SBq:()=>Fa,qLn:()=>yl,vpe:()=>La,gxx:()=>mc,tBr:()=>ja,XFs:()=>W,OlP:()=>eo,zs3:()=>xo,ZZ4:()=>Bd,aQg:()=>Hd,soG:()=>Jd,YKP:()=>Sb,v3s:()=>EM,h0i:()=>$l,PXZ:()=>vM,R0b:()=>Fr,FiY:()=>Cr,Lbi:()=>Yy,g9A:()=>qy,Qsj:()=>Dx,FYo:()=>Vd,JOm:()=>xr,Tiy:()=>af,q3G:()=>Yo,tp0:()=>Pr,EAV:()=>kM,Rgc:()=>Mu,dDg:()=>Xy,DyG:()=>ul,GfV:()=>yb,s_b:()=>jd,ifc:()=>Fe,eFA:()=>sv,G48:()=>pM,Gpc:()=>ct,f3M:()=>$c,_c5:()=>HM,VLi:()=>hM,c2e:()=>Gy,zSh:()=>pu,wAp:()=>ui,vHH:()=>z,EiD:()=>ud,mCW:()=>Pl,qzn:()=>ra,JVY:()=>vh,pB0:()=>wh,eBb:()=>ed,L6k:()=>Ch,LAX:()=>td,cg1:()=>Jp,Tjo:()=>VM,kL8:()=>z_,yhl:()=>Xu,dqk:()=>On,sIi:()=>mu,CqO:()=>Hp,QGY:()=>Bp,F4k:()=>Gm,RDi:()=>ye,AaK:()=>Me,z3N:()=>Ir,qOj:()=>Mp,TTD:()=>y,_Bn:()=>fb,xp6:()=>wg,uIk:()=>Dp,Tol:()=>m_,Gre:()=>P_,ekj:()=>qp,Suo:()=>Cy,Xpm:()=>To,lG2:()=>fo,Yz7:()=>Pn,cJS:()=>ai,oAB:()=>bo,Yjl:()=>nt,Y36:()=>bu,_UZ:()=>qm,GkF:()=>Ym,BQk:()=>Vp,ynx:()=>Np,qZA:()=>Lp,TgZ:()=>Fp,EpF:()=>$m,n5z:()=>le,Ikx:()=>Wp,LFG:()=>co,$8M:()=>rt,NdJ:()=>zp,CRH:()=>wy,oxw:()=>Km,ALo:()=>gy,lcZ:()=>my,Hsn:()=>e_,F$t:()=>Xm,Q6J:()=>Ap,s9C:()=>jp,MGl:()=>Od,DdM:()=>ty,VKq:()=>ny,WLB:()=>iy,kEZ:()=>oy,l5B:()=>sy,qbA:()=>ry,HTZ:()=>ay,Hh0:()=>ly,rFY:()=>cy,iGM:()=>yy,MAs:()=>Am,evT:()=>au,Jf7:()=>ru,CHM:()=>Tr,oJD:()=>rc,LSH:()=>iu,kYT:()=>yo,Akn:()=>pa,Udp:()=>Zp,d8E:()=>Qp,YNc:()=>Im,W1O:()=>Ey,_uU:()=>x_,Oqu:()=>$p,hij:()=>Pd,AsE:()=>Gp,Gf:()=>vy});var n=J(7574),c=J(4869),V=J(3282),pe=J(6693),se=J(9765),de=J(5319),ge=J(2441);var xe=J(1307);function Pe(){return new se.xQ}function dt(e){for(let t in e)if(e[t]===dt)return t;throw Error("Could not find renamed property on target object.")}function st(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function Me(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function Ue(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ve=dt({__forward_ref__:dt});function ct(e){return e.__forward_ref__=ct,e.toString=function(){return Me(this())},e}function je(e){return Qe(e)?e():e}function Qe(e){return"function"==typeof e&&e.hasOwnProperty(Ve)&&e.__forward_ref__===ct}class z extends Error{constructor(t,i){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,i)),this.code=t}}function Ie(e){return"string"==typeof e?e:null==e?"":String(e)}function be(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ie(e)}function Xt(e,t){const i=t?` in ${t}`:"";throw new z("201",`No provider for ${be(e)} found${i}`)}function un(e,t){null==e&&function(e,t,i,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${i} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Pn(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ai(e){return{providers:e.providers||[],imports:e.imports||[]}}function dn(e){return Mn(e,Pt)||Mn(e,me)}function Mn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Qi(e){return e&&(e.hasOwnProperty(Je)||e.hasOwnProperty(Se))?e[Je]:null}const Pt=dt({\u0275prov:dt}),Je=dt({\u0275inj:dt}),me=dt({ngInjectableDef:dt}),Se=dt({ngInjectorDef:dt});var W=(()=>((W=W||{})[W.Default=0]="Default",W[W.Host=1]="Host",W[W.Self=2]="Self",W[W.SkipSelf=4]="SkipSelf",W[W.Optional=8]="Optional",W))();let F;function X(e){const t=F;return F=e,t}function He(e,t,i){const r=dn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:i&W.Optional?null:void 0!==t?t:void Xt(Me(e),"Injector")}function Wt(e){return{toString:e}.toString()}var Ze=(()=>((Ze=Ze||{})[Ze.OnPush=0]="OnPush",Ze[Ze.Default=1]="Default",Ze))(),Fe=(()=>((Fe=Fe||{})[Fe.Emulated=0]="Emulated",Fe[Fe.None=2]="None",Fe[Fe.ShadowDom=3]="ShadowDom",Fe))();const Lt="undefined"!=typeof globalThis&&globalThis,At="undefined"!=typeof window&&window,mn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,In="undefined"!=typeof global&&global,On=Lt||In||At||mn,_i={},an=[],Di=dt({\u0275cmp:dt}),Oi=dt({\u0275dir:dt}),Ti=dt({\u0275pipe:dt}),Vi=dt({\u0275mod:dt}),Ji=dt({\u0275loc:dt}),pi=dt({\u0275fac:dt}),uo=dt({__NG_ELEMENT_ID__:dt});let Hi=0;function To(e){return Wt(()=>{const i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ze.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||an,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Fe.Emulated,id:"c",styles:e.styles||an,_:null,setInput:null,schemas:e.schemas||null,tView:null},u=e.directives,h=e.features,C=e.pipes;return r.id+=Hi++,r.inputs=vo(e.inputs,i),r.outputs=vo(e.outputs),h&&h.forEach(E=>E(r)),r.directiveDefs=u?()=>("function"==typeof u?u():u).map(Fi):null,r.pipeDefs=C?()=>("function"==typeof C?C():C).map(li):null,r})}function Fi(e){return Ot(e)||function(e){return e[Oi]||null}(e)}function li(e){return function(e){return e[Ti]||null}(e)}const po={};function bo(e){return Wt(()=>{const t={type:e.type,bootstrap:e.bootstrap||an,declarations:e.declarations||an,imports:e.imports||an,exports:e.exports||an,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(po[e.id]=e.type),t})}function yo(e,t){return Wt(()=>{const i=$e(e,!0);i.declarations=t.declarations||an,i.imports=t.imports||an,i.exports=t.exports||an})}function vo(e,t){if(null==e)return _i;const i={};for(const r in e)if(e.hasOwnProperty(r)){let u=e[r],h=u;Array.isArray(u)&&(h=u[1],u=u[0]),i[u]=r,t&&(t[u]=h)}return i}const fo=To;function nt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ot(e){return e[Di]||null}function $e(e,t){const i=e[Vi]||null;if(!i&&!0===t)throw new Error(`Type ${Me(e)} does not have '\u0275mod' property.`);return i}function Yi(e){return Array.isArray(e)&&"object"==typeof e[1]}function ro(e){return Array.isArray(e)&&!0===e[1]}function zo(e){return 0!=(8&e.flags)}function Xo(e){return 2==(2&e.flags)}function ho(e){return 1==(1&e.flags)}function ki(e){return null!==e.template}function Ki(e){return 0!=(512&e[2])}function No(e,t){return e.hasOwnProperty(pi)?e[pi]:null}class ls{constructor(t,i,r){this.previousValue=t,this.currentValue=i,this.firstChange=r}isFirstChange(){return this.firstChange}}function y(){return P}function P(e){return e.type.prototype.ngOnChanges&&(e.setInput=w),v}function v(){const e=T(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===_i)e.previous=t;else for(let r in t)i[r]=t[r];e.current=null,this.ngOnChanges(t)}}function w(e,t,i,r){const u=T(e)||function(e,t){return e[g]=t}(e,{previous:_i,current:null}),h=u.current||(u.current={}),C=u.previous,E=this.declaredInputs[i],N=C[E];h[E]=new ls(N&&N.currentValue,t,C===_i),e[r]=t}y.ngInherit=!0;const g="__ngSimpleChanges__";function T(e){return e[g]||null}let te;function ye(e){te=e}function pt(){return void 0!==te?te:"undefined"!=typeof document?document:void 0}function Yt(e){return!!e.listen}const Nn={createRenderer:(e,t)=>pt()};function Dn(e){for(;Array.isArray(e);)e=e[0];return e}function ci(e,t){return Dn(t[e])}function Wn(e,t){return Dn(t[e.index])}function jo(e,t){return e.data[t]}function ao(e,t){return e[t]}function Xi(e,t){const i=t[e];return Yi(i)?i:i[0]}function _s(e){return 4==(4&e[2])}function Vo(e){return 128==(128&e[2])}function Oo(e,t){return null==t?null:e[t]}function cs(e){e[18]=0}function Js(e,t){e[5]+=t;let i=e,r=e[3];for(;null!==r&&(1===t&&1===i[5]||-1===t&&0===i[5]);)r[5]+=t,i=r,r=r[3]}const Kn={lFrame:Mr(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Zo(){return Kn.bindingsEnabled}function tn(){return Kn.lFrame.lView}function Pi(){return Kn.lFrame.tView}function Tr(e){return Kn.lFrame.contextLView=e,e[8]}function mo(){let e=Xr();for(;null!==e&&64===e.type;)e=e.parent;return e}function Xr(){return Kn.lFrame.currentTNode}function us(e,t){const i=Kn.lFrame;i.currentTNode=e,i.isParent=t}function Nr(){return Kn.lFrame.isParent}function Ks(){Kn.lFrame.isParent=!1}function Ls(){return Kn.isInCheckNoChangesMode}function ko(e){Kn.isInCheckNoChangesMode=e}function yi(){const e=Kn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function qo(){return Kn.lFrame.bindingIndex}function Xs(){return Kn.lFrame.bindingIndex++}function Os(e){const t=Kn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function ns(e,t){const i=Kn.lFrame;i.bindingIndex=i.bindingRootIndex=e,vs(t)}function vs(e){Kn.lFrame.currentDirectiveIndex=e}function tr(e){const t=Kn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Ca(){return Kn.lFrame.currentQueryIndex}function Vr(e){Kn.lFrame.currentQueryIndex=e}function Br(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ns(e,t,i){if(i&W.SkipSelf){let u=t,h=e;for(;!(u=u.parent,null!==u||i&W.Host||(u=Br(h),null===u||(h=h[15],10&u.type))););if(null===u)return!1;t=u,e=h}const r=Kn.lFrame=Hr();return r.currentTNode=t,r.lView=e,!0}function nr(e){const t=Hr(),i=e[1];Kn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function Hr(){const e=Kn.lFrame,t=null===e?null:e.child;return null===t?Mr(e):t}function Mr(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function gr(){const e=Kn.lFrame;return Kn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const mr=gr;function ir(){const e=gr();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Mo(){return Kn.lFrame.selectedIndex}function is(e){Kn.lFrame.selectedIndex=e}function fe(){const e=Kn.lFrame;return jo(e.tView,e.selectedIndex)}function gn(e,t){for(let i=t.directiveStart,r=t.directiveEnd;i<r;i++){const h=e.data[i].type.prototype,{ngAfterContentInit:C,ngAfterContentChecked:E,ngAfterViewInit:N,ngAfterViewChecked:Z,ngOnDestroy:ee}=h;C&&(e.contentHooks||(e.contentHooks=[])).push(-i,C),E&&((e.contentHooks||(e.contentHooks=[])).push(i,E),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,E)),N&&(e.viewHooks||(e.viewHooks=[])).push(-i,N),Z&&((e.viewHooks||(e.viewHooks=[])).push(i,Z),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,Z)),null!=ee&&(e.destroyHooks||(e.destroyHooks=[])).push(i,ee)}}function Cn(e,t,i){ei(e,t,3,i)}function Vn(e,t,i,r){(3&e[2])===i&&ei(e,t,i,r)}function jn(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function ei(e,t,i,r){const h=null!=r?r:-1,C=t.length-1;let E=0;for(let N=void 0!==r?65535&e[18]:0;N<C;N++)if("number"==typeof t[N+1]){if(E=t[N],null!=r&&E>=r)break}else t[N]<0&&(e[18]+=65536),(E<h||-1==h)&&(Mi(e,i,t,N),e[18]=(4294901760&e[18])+N+2),N++}function Mi(e,t,i,r){const u=i[r]<0,h=i[r+1],E=e[u?-i[r]:i[r]];if(u){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{h.call(E)}finally{}}}else try{h.call(E)}finally{}}class Zn{constructor(t,i,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=r}}function wa(e,t,i){const r=Yt(e);let u=0;for(;u<i.length;){const h=i[u];if("number"==typeof h){if(0!==h)break;u++;const C=i[u++],E=i[u++],N=i[u++];r?e.setAttribute(t,E,N,C):t.setAttributeNS(C,E,N)}else{const C=h,E=i[++u];xa(C)?r&&e.setProperty(t,C,E):r?e.setAttribute(t,C,E):t.setAttribute(C,E),u++}}return u}function tl(e){return 3===e||4===e||6===e}function xa(e){return 64===e.charCodeAt(0)}function Na(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let r=0;r<t.length;r++){const u=t[r];"number"==typeof u?i=u:0===i||nl(e,i,u,null,-1===i||2===i?t[++r]:null)}}return e}function nl(e,t,i,r,u){let h=0,C=e.length;if(-1===t)C=-1;else for(;h<e.length;){const E=e[h++];if("number"==typeof E){if(E===t){C=-1;break}if(E>t){C=h-1;break}}}for(;h<e.length;){const E=e[h];if("number"==typeof E)break;if(E===i){if(null===r)return void(null!==u&&(e[h+1]=u));if(r===e[h+1])return void(e[h+2]=u)}h++,null!==r&&h++,null!==u&&h++}-1!==C&&(e.splice(C,0,t),h=C+1),e.splice(h++,0,i),null!==r&&e.splice(h++,0,r),null!==u&&e.splice(h++,0,u)}function il(e){return-1!==e}function Cs(e){return 32767&e}function _r(e,t){let i=function(e){return e>>16}(e),r=t;for(;i>0;)r=r[15],i--;return r}let Er=!0;function Bs(e){const t=Er;return Er=e,t}let rl=0;function jr(e,t){const i=Ma(e,t);if(-1!==i)return i;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ba(r.data,e),Ba(t,null),Ba(r.blueprint,null));const u=or(e,t),h=e.injectorIndex;if(il(u)){const C=Cs(u),E=_r(u,t),N=E[1].data;for(let Z=0;Z<8;Z++)t[h+Z]=E[C+Z]|N[C+Z]}return t[h+8]=u,h}function Ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ma(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function or(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,r=null,u=t;for(;null!==u;){const h=u[1],C=h.type;if(r=2===C?h.declTNode:1===C?u[6]:null,null===r)return-1;if(i++,u=u[15],-1!==r.injectorIndex)return r.injectorIndex|i<<16}return-1}function ta(e,t,i){!function(e,t,i){let r;"string"==typeof i?r=i.charCodeAt(0)||0:i.hasOwnProperty(uo)&&(r=i[uo]),null==r&&(r=i[uo]=rl++);const u=255&r;t.data[e+(u>>5)]|=1<<u}(e,t,i)}function al(e,t,i){if(i&W.Optional)return e;Xt(t,"NodeInjector")}function Ea(e,t,i,r){if(i&W.Optional&&void 0===r&&(r=null),0==(i&(W.Self|W.Host))){const u=e[9],h=X(void 0);try{return u?u.get(t,r,i&W.Optional):He(t,r,i&W.Optional)}finally{X(h)}}return al(r,t,i)}function ll(e,t,i,r=W.Default,u){if(null!==e){const h=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(uo)?e[uo]:void 0;return"number"==typeof t?t>=0?255&t:Zr:t}(i);if("function"==typeof h){if(!Ns(t,e,r))return r&W.Host?al(u,i,r):Ea(t,i,r,u);try{const C=h(r);if(null!=C||r&W.Optional)return C;Xt(i)}finally{mr()}}else if("number"==typeof h){let C=null,E=Ma(e,t),N=-1,Z=r&W.Host?t[16][6]:null;for((-1===E||r&W.SkipSelf)&&(N=-1===E?or(e,t):t[E+8],-1!==N&&j(r,!1)?(C=t[1],E=Cs(N),t=_r(N,t)):E=-1);-1!==E;){const ee=t[1];if(k(h,E,ee.data)){const _e=Sa(E,t,i,C,r,Z);if(_e!==cl)return _e}N=t[E+8],-1!==N&&j(r,t[1].data[E+8]===Z)&&k(h,E,t)?(C=ee,E=Cs(N),t=_r(N,t)):E=-1}}}return Ea(t,i,r,u)}const cl={};function Zr(){return new K(mo(),tn())}function Sa(e,t,i,r,u,h){const C=t[1],E=C.data[e+8],ee=Sr(E,C,i,null==r?Xo(E)&&Er:r!=C&&0!=(3&E.type),u&W.Host&&h===E);return null!==ee?H(t,C,ee,E):cl}function Sr(e,t,i,r,u){const h=e.providerIndexes,C=t.data,E=1048575&h,N=e.directiveStart,ee=h>>20,Ee=u?E+ee:e.directiveEnd;for(let Ge=r?E:E+ee;Ge<Ee;Ge++){const ft=C[Ge];if(Ge<N&&i===ft||Ge>=N&&ft.type===i)return Ge}if(u){const Ge=C[N];if(Ge&&ki(Ge)&&Ge.type===i)return N}return null}function H(e,t,i,r){let u=e[i];const h=t.data;if(function(e){return e instanceof Zn}(u)){const C=u;C.resolving&&function(e,t){throw new z("200",`Circular dependency in DI detected for ${e}`)}(be(h[i]));const E=Bs(C.canSeeViewProviders);C.resolving=!0;const N=C.injectImpl?X(C.injectImpl):null;Ns(e,r,W.Default);try{u=e[i]=C.factory(void 0,h,e,r),t.firstCreatePass&&i>=r.directiveStart&&function(e,t,i){const{ngOnChanges:r,ngOnInit:u,ngDoCheck:h}=t.type.prototype;if(r){const C=P(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,C),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,C)}u&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,u),h&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,h),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,h))}(i,h[i],t)}finally{null!==N&&X(N),Bs(E),C.resolving=!1,mr()}}return u}function k(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function j(e,t){return!(e&W.Self||e&W.Host&&t)}class K{constructor(t,i){this._tNode=t,this._lView=i}get(t,i){return ll(this._tNode,this._lView,t,void 0,i)}}function le(e){return Wt(()=>{const t=e.prototype.constructor,i=t[pi]||ze(t),r=Object.prototype;let u=Object.getPrototypeOf(e.prototype).constructor;for(;u&&u!==r;){const h=u[pi]||ze(u);if(h&&h!==i)return h;u=Object.getPrototypeOf(u)}return h=>new h})}function ze(e){return Qe(e)?()=>{const t=ze(je(e));return t&&t()}:No(e)}function rt(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const r=i.length;let u=0;for(;u<r;){const h=i[u];if(tl(h))break;if(0===h)u+=2;else if("number"==typeof h)for(u++;u<r&&"string"==typeof i[u];)u++;else{if(h===t)return i[u+1];u+=2}}}return null}(mo(),e)}const En="__parameters__";function Ai(e,t,i){return Wt(()=>{const r=function(e){return function(...i){if(e){const r=e(...i);for(const u in r)this[u]=r[u]}}}(t);function u(...h){if(this instanceof u)return r.apply(this,h),this;const C=new u(...h);return E.annotation=C,E;function E(N,Z,ee){const _e=N.hasOwnProperty(En)?N[En]:Object.defineProperty(N,En,{value:[]})[En];for(;_e.length<=ee;)_e.push(null);return(_e[ee]=_e[ee]||[]).push(C),N}}return i&&(u.prototype=Object.create(i.prototype)),u.prototype.ngMetadataName=e,u.annotationCls=u,u})}class eo{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Pn({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Da=new eo("AnalyzeForEntryComponents"),ul=Function;function m(e,t){void 0===t&&(t=e);for(let i=0;i<e.length;i++){let r=e[i];Array.isArray(r)?(t===e&&(t=e.slice(0,i)),m(r,t)):t!==e&&t.push(r)}return t}function O(e,t){e.forEach(i=>Array.isArray(i)?O(i,t):t(i))}function Q(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function ce(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ne(e,t){const i=[];for(let r=0;r<e;r++)i.push(t);return i}function di(e,t,i){let r=oi(e,t);return r>=0?e[1|r]=i:(r=~r,function(e,t,i,r){let u=e.length;if(u==t)e.push(i,r);else if(1===u)e.push(r,e[0]),e[0]=i;else{for(u--,e.push(e[u-1],e[u]);u>t;)e[u]=e[u-2],u--;e[t]=i,e[t+1]=r}}(e,r,t,i)),r}function $n(e,t){const i=oi(e,t);if(i>=0)return e[1|i]}function oi(e,t){return function(e,t,i){let r=0,u=e.length>>i;for(;u!==r;){const h=r+(u-r>>1),C=e[h<<i];if(t===C)return h<<i;C>t?u=h:r=h+1}return~(u<<i)}(e,t,1)}const ka={},ia="__NG_DI_FLAG__",qs="ngTempTokenPath",ec=/\n/gm,ti="__source",Bi=dt({provide:String,useValue:dt});let Ro;function os(e){const t=Ro;return Ro=e,t}function ds(e,t=W.Default){if(void 0===Ro)throw new Error("inject() must be called from an injection context");return null===Ro?He(e,void 0,t):Ro.get(e,t&W.Optional?null:void 0,t)}function co(e,t=W.Default){return(F||ds)(je(e),t)}const $c=co;function gs(e){const t=[];for(let i=0;i<e.length;i++){const r=je(e[i]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let u,h=W.Default;for(let C=0;C<r.length;C++){const E=r[C],N=za(E);"number"==typeof N?-1===N?u=E.token:h|=N:u=E}t.push(co(u,h))}else t.push(co(r))}return t}function Or(e,t){return e[ia]=t,e.prototype[ia]=t,e}function za(e){return e[ia]}function kr(e,t,i,r){const u=e[qs];throw t[ti]&&u.unshift(t[ti]),e.message=function(e,t,i,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let u=Me(t);if(Array.isArray(t))u=t.map(Me).join(" -> ");else if("object"==typeof t){let h=[];for(let C in t)if(t.hasOwnProperty(C)){let E=t[C];h.push(C+":"+("string"==typeof E?JSON.stringify(E):Me(E)))}u=`{${h.join(", ")}}`}return`${i}${r?"("+r+")":""}[${u}]: ${e.replace(ec,"\n  ")}`}("\n"+e.message,u,i,r),e.ngTokenPath=u,e[qs]=null,e}const ja=Or(Ai("Inject",e=>({token:e})),-1),Cr=Or(Ai("Optional"),8),Pr=Or(Ai("SkipSelf"),4);let gl,Za;function ml(e){var t;return(null===(t=function(){if(void 0===gl&&(gl=null,On.trustedTypes))try{gl=On.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return gl}())||void 0===t?void 0:t.createHTML(e))||e}function Ku(e){var t;return(null===(t=function(){if(void 0===Za&&(Za=null,On.trustedTypes))try{Za=On.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Za}())||void 0===t?void 0:t.createHTML(e))||e}class qa{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class mh extends qa{getTypeName(){return"HTML"}}class _h extends qa{getTypeName(){return"Style"}}class Xc extends qa{getTypeName(){return"Script"}}class bh extends qa{getTypeName(){return"URL"}}class yh extends qa{getTypeName(){return"ResourceURL"}}function Ir(e){return e instanceof qa?e.changingThisBreaksApplicationSecurity:e}function ra(e,t){const i=Xu(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function Xu(e){return e instanceof qa&&e.getTypeName()||null}function vh(e){return new mh(e)}function Ch(e){return new _h(e)}function ed(e){return new Xc(e)}function td(e){return new bh(e)}function wh(e){return new yh(e)}class xh{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(ml(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class Th{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const r=this.inertDocument.createElement("body");i.appendChild(r)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=ml(t),i;const r=this.inertDocument.createElement("body");return r.innerHTML=ml(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const i=t.attributes;for(let u=i.length-1;0<u;u--){const C=i.item(u).name;("xmlns:ns1"===C||0===C.indexOf("ns1:"))&&t.removeAttribute(C)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const Eh=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Dh=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Pl(e){return(e=String(e)).match(Eh)||e.match(Dh)?e:"unsafe:"+e}function $r(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Il(...e){const t={};for(const i of e)for(const r in i)i.hasOwnProperty(r)&&(t[r]=!0);return t}const id=$r("area,br,col,hr,img,wbr"),od=$r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sd=$r("rp,rt"),tu=Il(id,Il(od,$r("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Il(sd,$r("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Il(sd,od)),oc=$r("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Al=$r("srcset"),rd=Il(oc,Al,$r("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$r("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ad=$r("script,style,template");class ld{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,r=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?r=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,r&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let u=this.checkClobberedElement(i,i.nextSibling);if(u){i=u;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!tu.hasOwnProperty(i))return this.sanitizedSomething=!0,!ad.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const r=t.attributes;for(let u=0;u<r.length;u++){const h=r.item(u),C=h.name,E=C.toLowerCase();if(!rd.hasOwnProperty(E)){this.sanitizedSomething=!0;continue}let N=h.value;oc[E]&&(N=Pl(N)),Al[E]&&(e=N,N=(e=String(e)).split(",").map(t=>Pl(t.trim())).join(", ")),this.buf.push(" ",C,'="',cd(N),'"')}var e;return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();tu.hasOwnProperty(i)&&!id.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(cd(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return i}}const Ph=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nu=/([^\#-~ |!])/g;function cd(e){return e.replace(/&/g,"&amp;").replace(Ph,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(nu,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Rl;function ud(e,t){let i=null;try{Rl=Rl||function(e){const t=new Th(e);return function(){try{return!!(new window.DOMParser).parseFromString(ml(""),"text/html")}catch(e){return!1}}()?new xh(t):t}(e);let r=t?String(t):"";i=Rl.getInertBodyElement(r);let u=5,h=r;do{if(0===u)throw new Error("Failed to sanitize html because the input is unstable");u--,r=h,h=i.innerHTML,i=Rl.getInertBodyElement(r)}while(r!==h);return ml((new ld).sanitizeChildren(sc(i)||i))}finally{if(i){const r=sc(i)||i;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function sc(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Yo=(()=>((Yo=Yo||{})[Yo.NONE=0]="NONE",Yo[Yo.HTML=1]="HTML",Yo[Yo.STYLE=2]="STYLE",Yo[Yo.SCRIPT=3]="SCRIPT",Yo[Yo.URL=4]="URL",Yo[Yo.RESOURCE_URL=5]="RESOURCE_URL",Yo))();function rc(e){const t=Nl();return t?Ku(t.sanitize(Yo.HTML,e)||""):ra(e,"HTML")?Ku(Ir(e)):ud(pt(),Ie(e))}function iu(e){const t=Nl();return t?t.sanitize(Yo.URL,e)||"":ra(e,"URL")?Ir(e):Pl(Ie(e))}function Nl(){const e=tn();return e&&e[12]}const hd="__ngContext__";function xs(e,t){e[hd]=t}function lc(e){const t=function(e){return e[hd]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function bl(e){return e.ngOriginalError}function _d(e,...t){e.error(...t)}class yl{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t),r=this._findContext(t),u=(e=t)&&e.ngErrorLogger||_d;var e;u(this._console,"ERROR",t),i&&u(this._console,"ORIGINAL ERROR",i),r&&u(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?t.ngDebugContext||this._findContext(bl(t)):null}_findOriginalError(t){let i=t&&bl(t);for(;i&&bl(i);)i=bl(i);return i||null}}const bd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(On))();function ru(e){return e.ownerDocument.defaultView}function au(e){return e.ownerDocument}function Ar(e){return e instanceof Function?e():e}var xr=(()=>((xr=xr||{})[xr.Important=1]="Important",xr[xr.DashCase=2]="DashCase",xr))();function uu(e,t){return undefined(e,t)}function Ul(e){const t=e[3];return ro(t)?t[3]:t}function o(e){return d(e[13])}function l(e){return d(e[4])}function d(e){for(;null!==e&&!ro(e);)e=e[4];return e}function _(e,t,i,r,u){if(null!=r){let h,C=!1;ro(r)?h=r:Yi(r)&&(C=!0,r=r[0]);const E=Dn(r);0===e&&null!==i?null==u?to(t,i,E):ri(t,i,E,u||null,!0):1===e&&null!==i?ri(t,i,E,u||null,!0):2===e?function(e,t,i){const r=ji(e,t);r&&function(e,t,i,r){Yt(e)?e.removeChild(t,i,r):t.removeChild(i)}(e,r,t,i)}(t,E,C):3===e&&t.destroyNode(E),null!=h&&function(e,t,i,r,u){const h=i[7];h!==Dn(i)&&_(t,e,r,h,u);for(let E=10;E<i.length;E++){const N=i[E];Wa(N[1],N,e,t,r,h)}}(t,e,h,i,u)}}function G(e,t,i){return Yt(e)?e.createElement(t,i):null===i?e.createElement(t):e.createElementNS(i,t)}function It(e,t){const i=e[9],r=i.indexOf(t),u=t[3];1024&t[2]&&(t[2]&=-1025,Js(u,-1)),i.splice(r,1)}function Rt(e,t){if(e.length<=10)return;const i=10+t,r=e[i];if(r){const u=r[17];null!==u&&u!==e&&It(u,r),t>0&&(e[i-1][4]=r[4]);const h=ce(e,10+t);!function(e,t){Wa(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const C=h[19];null!==C&&C.detachView(h[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Tn(e,t){if(!(256&t[2])){const i=t[11];Yt(i)&&i.destroyNode&&Wa(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return vn(e[1],e);for(;t;){let i=null;if(Yi(t))i=t[13];else{const r=t[10];r&&(i=r)}if(!i){for(;t&&!t[4]&&t!==e;)Yi(t)&&vn(t[1],t),t=t[3];null===t&&(t=e),Yi(t)&&vn(t[1],t),i=t&&t[4]}t=i}}(t)}}function vn(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let r=0;r<i.length;r+=2){const u=t[i[r]];if(!(u instanceof Zn)){const h=i[r+1];if(Array.isArray(h))for(let C=0;C<h.length;C+=2){const E=u[h[C]],N=h[C+1];try{N.call(E)}finally{}}else try{h.call(u)}finally{}}}}(e,t),function(e,t){const i=e.cleanup,r=t[7];let u=-1;if(null!==i)for(let h=0;h<i.length-1;h+=2)if("string"==typeof i[h]){const C=i[h+1],E="function"==typeof C?C(t):Dn(t[C]),N=r[u=i[h+2]],Z=i[h+3];"boolean"==typeof Z?E.removeEventListener(i[h],N,Z):Z>=0?r[u=Z]():r[u=-Z].unsubscribe(),h+=2}else{const C=r[u=i[h+1]];i[h].call(C)}if(null!==r){for(let h=u+1;h<r.length;h++)r[h]();t[7]=null}}(e,t),1===t[1].type&&Yt(t[11])&&t[11].destroy();const i=t[17];if(null!==i&&ro(t[3])){i!==t[3]&&It(i,t);const r=t[19];null!==r&&r.detachView(e)}}}function Fn(e,t,i){return function(e,t,i){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return i[0];if(2&r.flags){const u=e.data[r.directiveStart].encapsulation;if(u===Fe.None||u===Fe.Emulated)return null}return Wn(r,i)}(e,t.parent,i)}function ri(e,t,i,r,u){Yt(e)?e.insertBefore(t,i,r,u):t.insertBefore(i,r,u)}function to(e,t,i){Yt(e)?e.appendChild(t,i):t.appendChild(i)}function Gi(e,t,i,r,u){null!==r?ri(e,t,i,r,u):to(e,t,i)}function ji(e,t){return Yt(e)?e.parentNode(t):t.parentNode}function Ps(e,t,i){return Is(e,t,i)}let Is=function(e,t,i){return 40&e.type?Wn(e,i):null};function wl(e,t,i,r){const u=Fn(e,r,t),h=t[11],E=Ps(r.parent||t[6],r,t);if(null!=u)if(Array.isArray(i))for(let N=0;N<i.length;N++)Gi(h,u,i[N],E,!1);else Gi(h,u,i,E,!1)}function Ya(e,t){if(null!==t){const i=t.type;if(3&i)return Wn(t,e);if(4&i)return Ga(-1,e[t.index]);if(8&i){const r=t.child;if(null!==r)return Ya(e,r);{const u=e[t.index];return ro(u)?Ga(-1,u):Dn(u)}}if(32&i)return uu(t,e)()||Dn(e[t.index]);{const r=$a(e,t);return null!==r?Array.isArray(r)?r[0]:Ya(Ul(e[16]),r):Ya(e,t.next)}}return null}function $a(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ga(e,t){const i=10+e+1;if(i<t.length){const r=t[i],u=r[1].firstChild;if(null!==u)return Ya(r,u)}return t[7]}function jl(e,t,i,r,u,h,C){for(;null!=i;){const E=r[i.index],N=i.type;if(C&&0===t&&(E&&xs(Dn(E),r),i.flags|=4),64!=(64&i.flags))if(8&N)jl(e,t,i.child,r,u,h,!1),_(t,e,u,E,h);else if(32&N){const Z=uu(i,r);let ee;for(;ee=Z();)_(t,e,u,ee,h);_(t,e,u,E,h)}else 16&N?gg(e,t,r,i,u,h):_(t,e,u,E,h);i=C?i.projectionNext:i.next}}function Wa(e,t,i,r,u,h){jl(i,r,e.firstChild,t,u,h,!1)}function gg(e,t,i,r,u,h){const C=i[16],N=C[6].projection[r.projection];if(Array.isArray(N))for(let Z=0;Z<N.length;Z++)_(t,e,u,N[Z],h);else jl(e,t,N,C[3],u,h,!0)}function mg(e,t,i){Yt(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function Kh(e,t,i){Yt(e)?""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i):t.className=i}function _g(e,t,i){let r=e.length;for(;;){const u=e.indexOf(t,i);if(-1===u)return u;if(0===u||e.charCodeAt(u-1)<=32){const h=t.length;if(u+h===r||e.charCodeAt(u+h)<=32)return u}i=u+1}}const bg="ng-template";function Bv(e,t,i){let r=0;for(;r<e.length;){let u=e[r++];if(i&&"class"===u){if(u=e[r],-1!==_g(u.toLowerCase(),t,0))return!0}else if(1===u){for(;r<e.length&&"string"==typeof(u=e[r++]);)if(u.toLowerCase()===t)return!0;return!1}}return!1}function yg(e){return 4===e.type&&e.value!==bg}function Hv(e,t,i){return t===(4!==e.type||i?e.value:bg)}function zv(e,t,i){let r=4;const u=e.attrs||[],h=function(e){for(let t=0;t<e.length;t++)if(tl(e[t]))return t;return e.length}(u);let C=!1;for(let E=0;E<t.length;E++){const N=t[E];if("number"!=typeof N){if(!C)if(4&r){if(r=2|1&r,""!==N&&!Hv(e,N,i)||""===N&&1===t.length){if(ca(r))return!1;C=!0}}else{const Z=8&r?N:t[++E];if(8&r&&null!==e.attrs){if(!Bv(e.attrs,Z,i)){if(ca(r))return!1;C=!0}continue}const _e=Uv(8&r?"class":N,u,yg(e),i);if(-1===_e){if(ca(r))return!1;C=!0;continue}if(""!==Z){let Ee;Ee=_e>h?"":u[_e+1].toLowerCase();const Ge=8&r?Ee:null;if(Ge&&-1!==_g(Ge,Z,0)||2&r&&Z!==Ee){if(ca(r))return!1;C=!0}}}}else{if(!C&&!ca(r)&&!ca(N))return!1;if(C&&ca(N))continue;C=!1,r=N|1&r}}return ca(r)||C}function ca(e){return 0==(1&e)}function Uv(e,t,i,r){if(null===t)return-1;let u=0;if(r||!i){let h=!1;for(;u<t.length;){const C=t[u];if(C===e)return u;if(3===C||6===C)h=!0;else{if(1===C||2===C){let E=t[++u];for(;"string"==typeof E;)E=t[++u];continue}if(4===C)break;if(0===C){u+=4;continue}}u+=h?1:2}return-1}return function(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const r=e[i];if("number"==typeof r)return-1;if(r===t)return i;i++}return-1}(t,e)}function vg(e,t,i=!1){for(let r=0;r<t.length;r++)if(zv(e,t[r],i))return!0;return!1}function Yv(e,t){e:for(let i=0;i<t.length;i++){const r=t[i];if(e.length===r.length){for(let u=0;u<e.length;u++)if(e[u]!==r[u])continue e;return!0}}return!1}function Cg(e,t){return e?":not("+t.trim()+")":t}function $v(e){let t=e[0],i=1,r=2,u="",h=!1;for(;i<e.length;){let C=e[i];if("string"==typeof C)if(2&r){const E=e[++i];u+="["+C+(E.length>0?'="'+E+'"':"")+"]"}else 8&r?u+="."+C:4&r&&(u+=" "+C);else""!==u&&!ca(C)&&(t+=Cg(h,u),u=""),r=C,h=h||!ca(r);i++}return""!==u&&(t+=Cg(h,u)),t}const Ei={};function wg(e){xg(Pi(),tn(),Mo()+e,Ls())}function xg(e,t,i,r){if(!r)if(3==(3&t[2])){const h=e.preOrderCheckHooks;null!==h&&Cn(t,h,i)}else{const h=e.preOrderHooks;null!==h&&Vn(t,h,0,i)}is(i)}function vd(e,t){return e<<17|t<<2}function ua(e){return e>>17&32767}function Xh(e){return 2|e}function Qa(e){return(131068&e)>>2}function ep(e,t){return-131069&e|t<<2}function tp(e){return 1|e}function Ag(e,t){const i=e.contentQueries;if(null!==i)for(let r=0;r<i.length;r+=2){const u=i[r],h=i[r+1];if(-1!==h){const C=e.data[h];Vr(u),C.contentQueries(2,t[h],h)}}}function du(e,t,i,r,u,h,C,E,N,Z){const ee=t.blueprint.slice();return ee[0]=u,ee[2]=140|r,cs(ee),ee[3]=ee[15]=e,ee[8]=i,ee[10]=C||e&&e[10],ee[11]=E||e&&e[11],ee[12]=N||e&&e[12]||null,ee[9]=Z||e&&e[9]||null,ee[6]=h,ee[16]=2==t.type?e[16]:ee,ee}function pc(e,t,i,r,u){let h=e.data[t];if(null===h)h=function(e,t,i,r,u){const h=Xr(),C=Nr(),N=e.data[t]=function(e,t,i,r,u,h){return{type:i,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:u,attrs:h,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,C?h:h&&h.parent,i,t,r,u);return null===e.firstChild&&(e.firstChild=N),null!==h&&(C?null==h.child&&null!==N.parent&&(h.child=N):null===h.next&&(h.next=N)),N}(e,t,i,r,u),Kn.lFrame.inI18n&&(h.flags|=64);else if(64&h.type){h.type=i,h.value=r,h.attrs=u;const C=function(){const e=Kn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();h.injectorIndex=null===C?-1:C.injectorIndex}return us(h,!0),h}function fc(e,t,i,r){if(0===i)return-1;const u=t.length;for(let h=0;h<i;h++)t.push(r),e.blueprint.push(r),e.data.push(null);return u}function hu(e,t,i){nr(t);try{const r=e.viewQuery;null!==r&&_p(1,r,i);const u=e.template;null!==u&&Rg(e,t,u,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ag(e,t),e.staticViewQueries&&_p(2,e.viewQuery,i);const h=e.components;null!==h&&function(e,t){for(let i=0;i<t.length;i++)EC(e,t[i])}(t,h)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,ir()}}function gc(e,t,i,r){const u=t[2];if(256==(256&u))return;nr(t);const h=Ls();try{cs(t),function(e){Kn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==i&&Rg(e,t,i,2,r);const C=3==(3&u);if(!h)if(C){const Z=e.preOrderCheckHooks;null!==Z&&Cn(t,Z,null)}else{const Z=e.preOrderHooks;null!==Z&&Vn(t,Z,0,null),jn(t,0)}if(function(e){for(let t=o(e);null!==t;t=l(t)){if(!t[2])continue;const i=t[9];for(let r=0;r<i.length;r++){const u=i[r],h=u[3];0==(1024&u[2])&&Js(h,1),u[2]|=1024}}}(t),function(e){for(let t=o(e);null!==t;t=l(t))for(let i=10;i<t.length;i++){const r=t[i],u=r[1];Vo(r)&&gc(u,r,u.template,r[8])}}(t),null!==e.contentQueries&&Ag(e,t),!h)if(C){const Z=e.contentCheckHooks;null!==Z&&Cn(t,Z)}else{const Z=e.contentHooks;null!==Z&&Vn(t,Z,1),jn(t,1)}!function(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let r=0;r<i.length;r++){const u=i[r];if(u<0)is(~u);else{const h=u,C=i[++r],E=i[++r];ns(C,h),E(2,t[h])}}}finally{is(-1)}}(e,t);const E=e.components;null!==E&&function(e,t){for(let i=0;i<t.length;i++)MC(e,t[i])}(t,E);const N=e.viewQuery;if(null!==N&&_p(2,N,r),!h)if(C){const Z=e.viewCheckHooks;null!==Z&&Cn(t,Z)}else{const Z=e.viewHooks;null!==Z&&Vn(t,Z,2),jn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),h||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Js(t[3],-1))}finally{ir()}}function rC(e,t,i,r){const u=t[10],h=!Ls(),C=_s(t);try{h&&!C&&u.begin&&u.begin(),C&&hu(e,t,r),gc(e,t,i,r)}finally{h&&!C&&u.end&&u.end()}}function Rg(e,t,i,r,u){const h=Mo(),C=2&r;try{is(-1),C&&t.length>20&&xg(e,t,20,Ls()),i(r,u)}finally{is(h)}}function Fg(e,t,i){if(zo(t)){const u=t.directiveEnd;for(let h=t.directiveStart;h<u;h++){const C=e.data[h];C.contentQueries&&C.contentQueries(1,i[h],h)}}}function cp(e,t,i){!Zo()||(function(e,t,i,r){const u=i.directiveStart,h=i.directiveEnd;e.firstCreatePass||jr(i,t),xs(r,t);const C=i.initialInputs;for(let E=u;E<h;E++){const N=e.data[E],Z=ki(N);Z&&vC(t,i,N);const ee=H(t,e,E,i);xs(ee,t),null!==C&&CC(0,E-u,ee,N,0,C),Z&&(Xi(i.index,t)[8]=ee)}}(e,t,i,Wn(i,t)),128==(128&i.flags)&&function(e,t,i){const r=i.directiveStart,u=i.directiveEnd,C=i.index,E=Kn.lFrame.currentDirectiveIndex;try{is(C);for(let N=r;N<u;N++){const Z=e.data[N],ee=t[N];vs(N),(null!==Z.hostBindings||0!==Z.hostVars||null!==Z.hostAttrs)&&jg(Z,ee)}}finally{is(-1),vs(E)}}(e,t,i))}function up(e,t,i=Wn){const r=t.localNames;if(null!==r){let u=t.index+1;for(let h=0;h<r.length;h+=2){const C=r[h+1],E=-1===C?i(t,e):e[C];e[u++]=E}}}function Lg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=xd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function xd(e,t,i,r,u,h,C,E,N,Z){const ee=20+r,_e=ee+u,Ee=function(e,t){const i=[];for(let r=0;r<t;r++)i.push(r<e?null:Ei);return i}(ee,_e),Ge="function"==typeof Z?Z():Z;return Ee[1]={type:e,blueprint:Ee,template:i,queries:null,viewQuery:E,declTNode:t,data:Ee.slice().fill(null,ee),bindingStartIndex:ee,expandoStartIndex:_e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof h?h():h,pipeRegistry:"function"==typeof C?C():C,firstChild:null,schemas:N,consts:Ge,incompleteFirstPass:!1}}function Bg(e,t,i,r){const u=Wg(t);null===i?u.push(r):(u.push(i),e.firstCreatePass&&Qg(e).push(r,u.length-1))}function Hg(e,t,i){for(let r in e)if(e.hasOwnProperty(r)){const u=e[r];(i=null===i?{}:i).hasOwnProperty(r)?i[r].push(t,u):i[r]=[t,u]}return i}function Rr(e,t,i,r,u,h,C,E){const N=Wn(t,i);let ee,Z=t.inputs;!E&&null!=Z&&(ee=Z[r])?(Xg(e,i,ee,r,u),Xo(t)&&function(e,t){const i=Xi(t,e);16&i[2]||(i[2]|=64)}(i,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),u=null!=C?C(u,t.value||"",r):u,Yt(h)?h.setProperty(N,r,u):xa(r)||(N.setProperty?N.setProperty(r,u):N[r]=u))}function dp(e,t,i,r){let u=!1;if(Zo()){const h=function(e,t,i){const r=e.directiveRegistry;let u=null;if(r)for(let h=0;h<r.length;h++){const C=r[h];vg(i,C.selectors,!1)&&(u||(u=[]),ta(jr(i,t),e,C.type),ki(C)?(Zg(e,i),u.unshift(C)):u.push(C))}return u}(e,t,i),C=null===r?null:{"":-1};if(null!==h){u=!0,qg(i,e.data.length,h.length);for(let ee=0;ee<h.length;ee++){const _e=h[ee];_e.providersResolver&&_e.providersResolver(_e)}let E=!1,N=!1,Z=fc(e,t,h.length,null);for(let ee=0;ee<h.length;ee++){const _e=h[ee];i.mergedAttrs=Na(i.mergedAttrs,_e.hostAttrs),Yg(e,i,t,Z,_e),yC(Z,_e,C),null!==_e.contentQueries&&(i.flags|=8),(null!==_e.hostBindings||null!==_e.hostAttrs||0!==_e.hostVars)&&(i.flags|=128);const Ee=_e.type.prototype;!E&&(Ee.ngOnChanges||Ee.ngOnInit||Ee.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index),E=!0),!N&&(Ee.ngOnChanges||Ee.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index),N=!0),Z++}!function(e,t){const r=t.directiveEnd,u=e.data,h=t.attrs,C=[];let E=null,N=null;for(let Z=t.directiveStart;Z<r;Z++){const ee=u[Z],_e=ee.inputs,Ee=null===h||yg(t)?null:wC(_e,h);C.push(Ee),E=Hg(_e,Z,E),N=Hg(ee.outputs,Z,N)}null!==E&&(E.hasOwnProperty("class")&&(t.flags|=16),E.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=C,t.inputs=E,t.outputs=N}(e,i)}C&&function(e,t,i){if(t){const r=e.localNames=[];for(let u=0;u<t.length;u+=2){const h=i[t[u+1]];if(null==h)throw new z("301",`Export of name '${t[u+1]}' not found!`);r.push(t[u],h)}}}(i,r,C)}return i.mergedAttrs=Na(i.mergedAttrs,i.attrs),u}function Ug(e,t,i,r,u,h){const C=h.hostBindings;if(C){let E=e.hostBindingOpCodes;null===E&&(E=e.hostBindingOpCodes=[]);const N=~t.index;(function(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(E)!=N&&E.push(N),E.push(r,u,C)}}function jg(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Zg(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function yC(e,t,i){if(i){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)i[t.exportAs[r]]=e;ki(t)&&(i[""]=e)}}function qg(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function Yg(e,t,i,r,u){e.data[r]=u;const h=u.factory||(u.factory=No(u.type)),C=new Zn(h,ki(u),null);e.blueprint[r]=C,i[r]=C,Ug(e,t,0,r,fc(e,i,u.hostVars,Ei),u)}function vC(e,t,i){const r=Wn(t,e),u=Lg(i),h=e[10],C=Td(e,du(e,u,null,i.onPush?64:16,r,t,h,h.createRenderer(r,i),null,null));e[t.index]=C}function Ia(e,t,i,r,u,h){const C=Wn(e,t);!function(e,t,i,r,u,h,C){if(null==h)Yt(e)?e.removeAttribute(t,u,i):t.removeAttribute(u);else{const E=null==C?Ie(h):C(h,r||"",u);Yt(e)?e.setAttribute(t,u,E,i):i?t.setAttributeNS(i,u,E):t.setAttribute(u,E)}}(t[11],C,h,e.value,i,r,u)}function CC(e,t,i,r,u,h){const C=h[t];if(null!==C){const E=r.setInput;for(let N=0;N<C.length;){const Z=C[N++],ee=C[N++],_e=C[N++];null!==E?r.setInput(i,_e,Z,ee):i[ee]=_e}}}function wC(e,t){let i=null,r=0;for(;r<t.length;){const u=t[r];if(0!==u)if(5!==u){if("number"==typeof u)break;e.hasOwnProperty(u)&&(null===i&&(i=[]),i.push(u,e[u],t[r+1])),r+=2}else r+=2;else r+=4}return i}function $g(e,t,i,r){return new Array(e,!0,!1,t,null,0,r,i,null,null)}function MC(e,t){const i=Xi(t,e);if(Vo(i)){const r=i[1];80&i[2]?gc(r,i,r.template,i[8]):i[5]>0&&pp(i)}}function pp(e){for(let r=o(e);null!==r;r=l(r))for(let u=10;u<r.length;u++){const h=r[u];if(1024&h[2]){const C=h[1];gc(C,h,C.template,h[8])}else h[5]>0&&pp(h)}const i=e[1].components;if(null!==i)for(let r=0;r<i.length;r++){const u=Xi(i[r],e);Vo(u)&&u[5]>0&&pp(u)}}function EC(e,t){const i=Xi(t,e),r=i[1];(function(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])})(r,i),hu(r,i,i[8])}function Td(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function fp(e){for(;e;){e[2]|=64;const t=Ul(e);if(Ki(e)&&!t)return e;e=t}return null}function mp(e,t,i){const r=t[10];r.begin&&r.begin();try{gc(e,t,e.template,i)}catch(u){throw Kg(t,u),u}finally{r.end&&r.end()}}function Gg(e){!function(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],r=lc(i),u=r[1];rC(u,r,u.template,i)}}(e[8])}function _p(e,t,i){Vr(0),t(e,i)}const PC=(()=>Promise.resolve(null))();function Wg(e){return e[7]||(e[7]=[])}function Qg(e){return e.cleanup||(e.cleanup=[])}function Kg(e,t){const i=e[9],r=i?i.get(yl,null):null;r&&r.handleError(t)}function Xg(e,t,i,r,u){for(let h=0;h<i.length;){const C=i[h++],E=i[h++],N=t[C],Z=e.data[C];null!==Z.setInput?Z.setInput(N,u,r,E):N[E]=u}}function Ka(e,t,i){const r=ci(t,e);!function(e,t,i){Yt(e)?e.setValue(t,i):t.textContent=i}(e[11],r,i)}function Md(e,t,i){let r=i?e.styles:null,u=i?e.classes:null,h=0;if(null!==t)for(let C=0;C<t.length;C++){const E=t[C];"number"==typeof E?h=E:1==h?u=Ue(u,E):2==h&&(r=Ue(r,E+": "+t[++C]+";"))}i?e.styles=r:e.stylesWithoutHost=r,i?e.classes=u:e.classesWithoutHost=u}const mc=new eo("INJECTOR",-1);class em{get(t,i=ka){if(i===ka){const r=new Error(`NullInjectorError: No provider for ${Me(t)}!`);throw r.name="NullInjectorError",r}return i}}const pu=new eo("Set Injector scope."),fu={},RC={};let bp;function tm(){return void 0===bp&&(bp=new em),bp}function nm(e,t=null,i=null,r){return new LC(e,i,t||tm(),r)}class LC{constructor(t,i,r,u=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const h=[];i&&O(i,E=>this.processProvider(E,t,i)),O([t],E=>this.processInjectorType(E,[],h)),this.records.set(mc,_c(void 0,this));const C=this.records.get(pu);this.scope=null!=C?C.value:null,this.source=u||("object"==typeof t?null:Me(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,i=ka,r=W.Default){this.assertNotDestroyed();const u=os(this),h=X(void 0);try{if(!(r&W.SkipSelf)){let E=this.records.get(t);if(void 0===E){const N=("function"==typeof(e=t)||"object"==typeof e&&e instanceof eo)&&dn(t);E=N&&this.injectableDefInScope(N)?_c(yp(t),fu):null,this.records.set(t,E)}if(null!=E)return this.hydrate(t,E)}return(r&W.Self?tm():this.parent).get(t,i=r&W.Optional&&i===ka?null:i)}catch(C){if("NullInjectorError"===C.name){if((C[qs]=C[qs]||[]).unshift(Me(t)),u)throw C;return kr(C,t,"R3InjectorError",this.source)}throw C}finally{X(h),os(u)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,u)=>t.push(Me(u))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,i,r){if(!(t=je(t)))return!1;let u=Qi(t);const h=null==u&&t.ngModule||void 0,C=void 0===h?t:h,E=-1!==r.indexOf(C);if(void 0!==h&&(u=Qi(h)),null==u)return!1;if(null!=u.imports&&!E){let ee;r.push(C);try{O(u.imports,_e=>{this.processInjectorType(_e,i,r)&&(void 0===ee&&(ee=[]),ee.push(_e))})}finally{}if(void 0!==ee)for(let _e=0;_e<ee.length;_e++){const{ngModule:Ee,providers:Ge}=ee[_e];O(Ge,ft=>this.processProvider(ft,Ee,Ge||an))}}this.injectorDefTypes.add(C);const N=No(C)||(()=>new C);this.records.set(C,_c(N,fu));const Z=u.providers;if(null!=Z&&!E){const ee=t;O(Z,_e=>this.processProvider(_e,ee,Z))}return void 0!==h&&void 0!==t.providers}processProvider(t,i,r){let u=bc(t=je(t))?t:je(t&&t.provide);const h=om(e=t)?_c(void 0,e.useValue):_c(im(e),fu);var e;if(bc(t)||!0!==t.multi)this.records.get(u);else{let C=this.records.get(u);C||(C=_c(void 0,fu,!0),C.factory=()=>gs(C.multi),this.records.set(u,C)),u=t,C.multi.push(t)}this.records.set(u,h)}hydrate(t,i){return i.value===fu&&(i.value=RC,i.value=i.factory()),"object"==typeof i.value&&i.value&&null!==(e=i.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(i.value),i.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const i=je(t.providedIn);return"string"==typeof i?"any"===i||i===this.scope:this.injectorDefTypes.has(i)}}function yp(e){const t=dn(e),i=null!==t?t.factory:No(e);if(null!==i)return i;if(e instanceof eo)throw new Error(`Token ${Me(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=Ne(t,"?");throw new Error(`Can't resolve all parameters for ${Me(e)}: (${r.join(", ")}).`)}const i=function(e){const t=e&&(e[Pt]||e[me]);if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function im(e,t,i){let r;if(bc(e)){const u=je(e);return No(u)||yp(u)}if(om(e))r=()=>je(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...gs(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>co(je(e.useExisting));else{const u=je(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return No(u)||yp(u);r=()=>new u(...gs(e.deps))}return r}function _c(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function om(e){return null!==e&&"object"==typeof e&&Bi in e}function bc(e){return"function"==typeof e}const sm=function(e,t,i){return function(e,t=null,i=null,r){const u=nm(e,t,i,r);return u._resolveInjectorDefTypes(),u}({name:i},t,e,i)};class xo{static create(t,i){return Array.isArray(t)?sm(t,i,""):sm(t.providers,t.parent,t.name||"")}}function o0(e,t){gn(lc(e)[1],mo())}function Mp(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),i=!0;const r=[e];for(;t;){let u;if(ki(e))u=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");u=t.\u0275dir}if(u){if(i){r.push(u);const C=e;C.inputs=Ep(e.inputs),C.declaredInputs=Ep(e.declaredInputs),C.outputs=Ep(e.outputs);const E=u.hostBindings;E&&l0(e,E);const N=u.viewQuery,Z=u.contentQueries;if(N&&r0(e,N),Z&&a0(e,Z),st(e.inputs,u.inputs),st(e.declaredInputs,u.declaredInputs),st(e.outputs,u.outputs),ki(u)&&u.data.animation){const ee=e.data;ee.animation=(ee.animation||[]).concat(u.data.animation)}}const h=u.features;if(h)for(let C=0;C<h.length;C++){const E=h[C];E&&E.ngInherit&&E(e),E===Mp&&(i=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,i=null;for(let r=e.length-1;r>=0;r--){const u=e[r];u.hostVars=t+=u.hostVars,u.hostAttrs=Na(u.hostAttrs,i=Na(i,u.hostAttrs))}}(r)}function Ep(e){return e===_i?{}:e===an?[]:e}function r0(e,t){const i=e.viewQuery;e.viewQuery=i?(r,u)=>{t(r,u),i(r,u)}:t}function a0(e,t){const i=e.contentQueries;e.contentQueries=i?(r,u,h)=>{t(r,u,h),i(r,u,h)}:t}function l0(e,t){const i=e.hostBindings;e.hostBindings=i?(r,u)=>{t(r,u),i(r,u)}:t}xo.THROW_IF_NOT_FOUND=ka,xo.NULL=new em,xo.\u0275prov=Pn({token:xo,providedIn:"any",factory:()=>co(mc)}),xo.__NG_ELEMENT_ID__=-1;let Ed=null;function yc(){if(!Ed){const e=On.Symbol;if(e&&e.iterator)Ed=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i<t.length;++i){const r=t[i];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ed=r)}}}return Ed}class ha{constructor(t){this.wrapped=t}static wrap(t){return new ha(t)}static unwrap(t){return ha.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof ha}}function mu(e){return!!Sp(e)&&(Array.isArray(e)||!(e instanceof Map)&&yc()in e)}function Sp(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Aa(e,t,i){return e[t]=i}function _u(e,t){return e[t]}function Ys(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Zl(e,t,i,r){const u=Ys(e,t,i);return Ys(e,t+1,r)||u}function Sd(e,t,i,r,u){const h=Zl(e,t,i,r);return Ys(e,t+2,u)||h}function Wr(e,t,i,r,u,h){const C=Zl(e,t,i,r);return Zl(e,t+2,u,h)||C}function Dp(e,t,i,r){const u=tn();return Ys(u,Xs(),t)&&(Pi(),Ia(fe(),u,e,t,i,r)),Dp}function Cc(e,t,i,r){return Ys(e,Xs(),i)?t+Ie(i)+r:Ei}function Im(e,t,i,r,u,h,C,E){const N=tn(),Z=Pi(),ee=e+20,_e=Z.firstCreatePass?function(e,t,i,r,u,h,C,E,N){const Z=t.consts,ee=pc(t,e,4,C||null,Oo(Z,E));dp(t,i,ee,Oo(Z,N)),gn(t,ee);const _e=ee.tViews=xd(2,ee,r,u,h,t.directiveRegistry,t.pipeRegistry,null,t.schemas,Z);return null!==t.queries&&(t.queries.template(t,ee),_e.queries=t.queries.embeddedTView(ee)),ee}(ee,Z,N,t,i,r,u,h,C):Z.data[ee];us(_e,!1);const Ee=N[11].createComment("");wl(Z,N,Ee,_e),xs(Ee,N),Td(N,N[ee]=$g(Ee,N,Ee,_e)),ho(_e)&&cp(Z,N,_e),null!=C&&up(N,_e,E)}function Am(e){return ao(Kn.lFrame.contextLView,20+e)}function bu(e,t=W.Default){const i=tn();return null===i?co(e,t):ll(mo(),i,je(e),t)}function Ap(e,t,i){const r=tn();return Ys(r,Xs(),t)&&Rr(Pi(),fe(),r,e,t,r[11],i,!1),Ap}function Rp(e,t,i,r,u){const C=u?"class":"style";Xg(e,i,t.inputs[C],C,r)}function Fp(e,t,i,r){const u=tn(),h=Pi(),C=20+e,E=u[11],N=u[C]=G(E,t,Kn.lFrame.currentNamespace),Z=h.firstCreatePass?function(e,t,i,r,u,h,C){const E=t.consts,Z=pc(t,e,2,u,Oo(E,h));return dp(t,i,Z,Oo(E,C)),null!==Z.attrs&&Md(Z,Z.attrs,!1),null!==Z.mergedAttrs&&Md(Z,Z.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,Z),Z}(C,h,u,0,t,i,r):h.data[C];us(Z,!0);const ee=Z.mergedAttrs;null!==ee&&wa(E,N,ee);const _e=Z.classes;null!==_e&&Kh(E,N,_e);const Ee=Z.styles;null!==Ee&&mg(E,N,Ee),64!=(64&Z.flags)&&wl(h,u,N,Z),0===Kn.lFrame.elementDepthCount&&xs(N,u),Kn.lFrame.elementDepthCount++,ho(Z)&&(cp(h,u,Z),Fg(h,Z,u)),null!==r&&up(u,Z)}function Lp(){let e=mo();Nr()?Ks():(e=e.parent,us(e,!1));const t=e;Kn.lFrame.elementDepthCount--;const i=Pi();i.firstCreatePass&&(gn(i,e),zo(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Rp(i,t,tn(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Rp(i,t,tn(),t.stylesWithoutHost,!1)}function qm(e,t,i,r){Fp(e,t,i,r),Lp()}function Np(e,t,i){const r=tn(),u=Pi(),h=e+20,C=u.firstCreatePass?function(e,t,i,r,u){const h=t.consts,C=Oo(h,r),E=pc(t,e,8,"ng-container",C);return null!==C&&Md(E,C,!0),dp(t,i,E,Oo(h,u)),null!==t.queries&&t.queries.elementStart(t,E),E}(h,u,r,t,i):u.data[h];us(C,!0);const E=r[h]=r[11].createComment("");wl(u,r,E,C),xs(E,r),ho(C)&&(cp(u,r,C),Fg(u,C,r)),null!=i&&up(r,C)}function Vp(){let e=mo();const t=Pi();Nr()?Ks():(e=e.parent,us(e,!1)),t.firstCreatePass&&(gn(t,e),zo(e)&&t.queries.elementEnd(e))}function Ym(e,t,i){Np(e,t,i),Vp()}function $m(){return tn()}function Bp(e){return!!e&&"function"==typeof e.then}function Gm(e){return!!e&&"function"==typeof e.subscribe}const Hp=Gm;function zp(e,t,i,r){const u=tn(),h=Pi(),C=mo();return function(e,t,i,r,u,h,C,E){const N=ho(r),ee=e.firstCreatePass&&Qg(e),_e=t[8],Ee=Wg(t);let Ge=!0;if(3&r.type||E){const Mt=Wn(r,t),fn=E?E(Mt):Mt,Kt=Ee.length,ni=E?mi=>E(Dn(mi[r.index])):r.index;if(Yt(i)){let mi=null;if(!E&&N&&(mi=function(e,t,i,r){const u=e.cleanup;if(null!=u)for(let h=0;h<u.length-1;h+=2){const C=u[h];if(C===i&&u[h+1]===r){const E=t[7],N=u[h+2];return E.length>N?E[N]:null}"string"==typeof C&&(h+=2)}return null}(e,t,u,r.index)),null!==mi)(mi.__ngLastListenerFn__||mi).__ngNextListenerFn__=h,mi.__ngLastListenerFn__=h,Ge=!1;else{h=Up(r,t,_e,h,!1);const Wi=i.listen(fn,u,h);Ee.push(h,Wi),ee&&ee.push(u,ni,Kt,Kt+1)}}else h=Up(r,t,_e,h,!0),fn.addEventListener(u,h,C),Ee.push(h),ee&&ee.push(u,ni,Kt,C)}else h=Up(r,t,_e,h,!1);const ft=r.outputs;let Ft;if(Ge&&null!==ft&&(Ft=ft[u])){const Mt=Ft.length;if(Mt)for(let fn=0;fn<Mt;fn+=2){const Ms=t[Ft[fn]][Ft[fn+1]].subscribe(h),Kr=Ee.length;Ee.push(h,Ms),ee&&ee.push(u,r.index,Kr,-(Kr+1))}}}(h,u,u[11],C,e,t,!!i,r),zp}function Jm(e,t,i,r){try{return!1!==i(r)}catch(u){return Kg(e,u),!1}}function Up(e,t,i,r,u){return function h(C){if(C===Function)return r;const E=2&e.flags?Xi(e.index,t):t;0==(32&t[2])&&fp(E);let N=Jm(t,0,r,C),Z=h.__ngNextListenerFn__;for(;Z;)N=Jm(t,0,Z,C)&&N,Z=Z.__ngNextListenerFn__;return u&&!1===N&&(C.preventDefault(),C.returnValue=!1),N}}function Km(e=1){return function(e){return(Kn.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Kn.lFrame.contextLView))[8]}(e)}function U0(e,t){let i=null;const r=function(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let u=0;u<t.length;u++){const h=t[u];if("*"!==h){if(null===r?vg(e,h,!0):Yv(r,h))return u}else i=u}return i}function Xm(e){const t=tn()[16][6];if(!t.projection){const r=t.projection=Ne(e?e.length:1,null),u=r.slice();let h=t.child;for(;null!==h;){const C=e?U0(h,e):0;null!==C&&(u[C]?u[C].projectionNext=h:r[C]=h,u[C]=h),h=h.next}}}function e_(e,t=0,i){const r=tn(),u=Pi(),h=pc(u,20+e,16,null,i||null);null===h.projection&&(h.projection=t),Ks(),64!=(64&h.flags)&&function(e,t,i){gg(t[11],0,t,i,Fn(e,i,t),Ps(i.parent||t[6],i,t))}(u,r,h)}function jp(e,t,i){return Od(e,"",t,"",i),jp}function Od(e,t,i,r,u){const h=tn(),C=Cc(h,t,i,r);return C!==Ei&&Rr(Pi(),fe(),h,e,C,h[11],u,!1),Od}function c_(e,t,i,r,u){const h=e[i+1],C=null===t;let E=r?ua(h):Qa(h),N=!1;for(;0!==E&&(!1===N||C);){const ee=e[E+1];q0(e[E],t)&&(N=!0,e[E+1]=r?tp(ee):Xh(ee)),E=r?ua(ee):Qa(ee)}N&&(e[i+1]=r?Xh(h):tp(h))}function q0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&oi(e,t)>=0}const Ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function u_(e){return e.substring(Ts.key,Ts.keyEnd)}function Y0(e){return e.substring(Ts.value,Ts.valueEnd)}function d_(e,t){const i=Ts.textEnd;return i===t?-1:(t=Ts.keyEnd=function(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,Ts.key=t,i),kc(e,t,i))}function h_(e,t){const i=Ts.textEnd;let r=Ts.key=kc(e,t,i);return i===r?-1:(r=Ts.keyEnd=function(e,t,i){let r;for(;t<i&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,i),r=f_(e,r,i),r=Ts.value=kc(e,r,i),r=Ts.valueEnd=function(e,t,i){let r=-1,u=-1,h=-1,C=t,E=C;for(;C<i;){const N=e.charCodeAt(C++);if(59===N)return E;34===N||39===N?E=C=g_(e,N,C,i):t===C-4&&85===h&&82===u&&76===r&&40===N?E=C=g_(e,41,C,i):N>32&&(E=C),h=u,u=r,r=-33&N}return E}(e,r,i),f_(e,r,i))}function p_(e){Ts.key=0,Ts.keyEnd=0,Ts.value=0,Ts.valueEnd=0,Ts.textEnd=e.length}function kc(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function f_(e,t,i,r){return(t=kc(e,t,i))<i&&t++,t}function g_(e,t,i,r){let u=-1,h=i;for(;h<r;){const C=e.charCodeAt(h++);if(C==t&&92!==u)return h;u=92==C&&92===u?0:C}throw new Error}function Zp(e,t,i){return fa(e,t,i,!1),Zp}function qp(e,t){return fa(e,t,null,!0),qp}function pa(e){ga(y_,K0,e,!1)}function K0(e,t){for(let i=function(e){return p_(e),h_(e,kc(e,0,Ts.textEnd))}(t);i>=0;i=h_(t,i))y_(e,u_(t),Y0(t))}function m_(e){ga(di,Ra,e,!0)}function Ra(e,t){for(let i=function(e){return p_(e),d_(e,kc(e,0,Ts.textEnd))}(t);i>=0;i=d_(t,i))di(e,u_(t),!0)}function fa(e,t,i,r){const u=tn(),h=Pi(),C=Os(2);h.firstUpdatePass&&b_(h,e,C,r),t!==Ei&&Ys(u,C,t)&&v_(h,h.data[Mo()],u,u[11],e,u[C+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Me(Ir(e)))),e}(t,i),r,C)}function ga(e,t,i,r){const u=Pi(),h=Os(2);u.firstUpdatePass&&b_(u,null,h,r);const C=tn();if(i!==Ei&&Ys(C,h,i)){const E=u.data[Mo()];if(w_(E,r)&&!__(u,h)){let N=r?E.classesWithoutHost:E.stylesWithoutHost;null!==N&&(i=Ue(N,i||"")),Rp(u,E,C,i,r)}else!function(e,t,i,r,u,h,C,E){u===Ei&&(u=an);let N=0,Z=0,ee=0<u.length?u[0]:null,_e=0<h.length?h[0]:null;for(;null!==ee||null!==_e;){const Ee=N<u.length?u[N+1]:void 0,Ge=Z<h.length?h[Z+1]:void 0;let Ft,ft=null;ee===_e?(N+=2,Z+=2,Ee!==Ge&&(ft=_e,Ft=Ge)):null===_e||null!==ee&&ee<_e?(N+=2,ft=ee):(Z+=2,ft=_e,Ft=Ge),null!==ft&&v_(e,t,i,r,ft,Ft,C,E),ee=N<u.length?u[N]:null,_e=Z<h.length?h[Z]:null}}(u,E,C,C[11],C[h+1],C[h+1]=function(e,t,i){if(null==i||""===i)return an;const r=[],u=Ir(i);if(Array.isArray(u))for(let h=0;h<u.length;h++)e(r,u[h],!0);else if("object"==typeof u)for(const h in u)u.hasOwnProperty(h)&&e(r,h,u[h]);else"string"==typeof u&&t(r,u);return r}(e,t,i),r,h)}}function __(e,t){return t>=e.expandoStartIndex}function b_(e,t,i,r){const u=e.data;if(null===u[i+1]){const h=u[Mo()],C=__(e,i);w_(h,r)&&null===t&&!C&&(t=!1),t=function(e,t,i,r){const u=tr(e);let h=r?t.residualClasses:t.residualStyles;if(null===u)0===(r?t.classBindings:t.styleBindings)&&(i=yu(i=Yp(null,e,t,i,r),t.attrs,r),h=null);else{const C=t.directiveStylingLast;if(-1===C||e[C]!==u)if(i=Yp(u,e,t,i,r),null===h){let N=function(e,t,i){const r=i?t.classBindings:t.styleBindings;if(0!==Qa(r))return e[ua(r)]}(e,t,r);void 0!==N&&Array.isArray(N)&&(N=Yp(null,e,t,N[1],r),N=yu(N,t.attrs,r),function(e,t,i,r){e[ua(i?t.classBindings:t.styleBindings)]=r}(e,t,r,N))}else h=function(e,t,i){let r;const u=t.directiveEnd;for(let h=1+t.directiveStylingLast;h<u;h++)r=yu(r,e[h].hostAttrs,i);return yu(r,t.attrs,i)}(e,t,r)}return void 0!==h&&(r?t.residualClasses=h:t.residualStyles=h),i}(u,h,t,r),function(e,t,i,r,u,h){let C=h?t.classBindings:t.styleBindings,E=ua(C),N=Qa(C);e[r]=i;let ee,Z=!1;if(Array.isArray(i)){const _e=i;ee=_e[1],(null===ee||oi(_e,ee)>0)&&(Z=!0)}else ee=i;if(u)if(0!==N){const Ee=ua(e[E+1]);e[r+1]=vd(Ee,E),0!==Ee&&(e[Ee+1]=ep(e[Ee+1],r)),e[E+1]=function(e,t){return 131071&e|t<<17}(e[E+1],r)}else e[r+1]=vd(E,0),0!==E&&(e[E+1]=ep(e[E+1],r)),E=r;else e[r+1]=vd(N,0),0===E?E=r:e[N+1]=ep(e[N+1],r),N=r;Z&&(e[r+1]=Xh(e[r+1])),c_(e,ee,r,!0),c_(e,ee,r,!1),function(e,t,i,r,u){const h=u?e.residualClasses:e.residualStyles;null!=h&&"string"==typeof t&&oi(h,t)>=0&&(i[r+1]=tp(i[r+1]))}(t,ee,e,r,h),C=vd(E,N),h?t.classBindings=C:t.styleBindings=C}(u,h,t,i,C,r)}}function Yp(e,t,i,r,u){let h=null;const C=i.directiveEnd;let E=i.directiveStylingLast;for(-1===E?E=i.directiveStart:E++;E<C&&(h=t[E],r=yu(r,h.hostAttrs,u),h!==e);)E++;return null!==e&&(i.directiveStylingLast=E),r}function yu(e,t,i){const r=i?1:2;let u=-1;if(null!==t)for(let h=0;h<t.length;h++){const C=t[h];"number"==typeof C?u=C:u===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),di(e,C,!!i||t[++h]))}return void 0===e?null:e}function y_(e,t,i){di(e,t,Ir(i))}function v_(e,t,i,r,u,h,C,E){if(!(3&t.type))return;const N=e.data,Z=N[E+1];kd(function(e){return 1==(1&e)}(Z)?C_(N,t,i,u,Qa(Z),C):void 0)||(kd(h)||function(e){return 2==(2&e)}(Z)&&(h=C_(N,null,i,u,E,C)),function(e,t,i,r,u){const h=Yt(e);if(t)u?h?e.addClass(i,r):i.classList.add(r):h?e.removeClass(i,r):i.classList.remove(r);else{let C=-1===r.indexOf("-")?void 0:xr.DashCase;if(null==u)h?e.removeStyle(i,r,C):i.style.removeProperty(r);else{const E="string"==typeof u&&u.endsWith("!important");E&&(u=u.slice(0,-10),C|=xr.Important),h?e.setStyle(i,r,u,C):i.style.setProperty(r,u,E?"important":"")}}}(r,C,ci(Mo(),i),u,h))}function C_(e,t,i,r,u,h){const C=null===t;let E;for(;u>0;){const N=e[u],Z=Array.isArray(N),ee=Z?N[1]:N,_e=null===ee;let Ee=i[u+1];Ee===Ei&&(Ee=_e?an:void 0);let Ge=_e?$n(Ee,r):ee===r?Ee:void 0;if(Z&&!kd(Ge)&&(Ge=$n(N,r)),kd(Ge)&&(E=Ge,C))return E;const ft=e[u+1];u=C?ua(ft):Qa(ft)}if(null!==t){let N=h?t.residualClasses:t.residualStyles;null!=N&&(E=$n(N,r))}return E}function kd(e){return void 0!==e}function w_(e,t){return 0!=(e.flags&(t?16:32))}function x_(e,t=""){const i=tn(),r=Pi(),u=e+20,h=r.firstCreatePass?pc(r,u,1,t,null):r.data[u],C=i[u]=function(e,t){return Yt(e)?e.createText(t):e.createTextNode(t)}(i[11],t);wl(r,i,C,h),us(h,!1)}function $p(e){return Pd("",e,""),$p}function Pd(e,t,i){const r=tn(),u=Cc(r,e,t,i);return u!==Ei&&Ka(r,Mo(),u),Pd}function Gp(e,t,i,r,u){const h=tn(),C=function(e,t,i,r,u,h){const E=Zl(e,qo(),i,u);return Os(2),E?t+Ie(i)+r+Ie(u)+h:Ei}(h,e,t,i,r,u);return C!==Ei&&Ka(h,Mo(),C),Gp}function P_(e,t,i){ga(di,Ra,Cc(tn(),e,t,i),!0)}function Wp(e,t,i){const r=tn();return Ys(r,Xs(),t)&&Rr(Pi(),fe(),r,e,t,r[11],i,!0),Wp}function Qp(e,t,i){const r=tn();if(Ys(r,Xs(),t)){const h=Pi(),C=fe();Rr(h,C,r,e,t,function(e,t,i){return(null===e||ki(e))&&(i=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}(tr(h.data),C,r),i,!0)}return Qp}const ql=void 0;var Tw=["en",[["a","p"],["AM","PM"],ql],[["AM","PM"],ql,ql],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ql,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ql,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ql,"{1} 'at' {0}",ql],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let Pc={};function Jp(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=U_(t);if(i)return i;const r=t.split("-")[0];if(i=U_(r),i)return i;if("en"===r)return Tw;throw new Error(`Missing locale data for the locale "${e}".`)}function z_(e){return Jp(e)[ui.PluralCase]}function U_(e){return e in Pc||(Pc[e]=On.ng&&On.ng.common&&On.ng.common.locales&&On.ng.common.locales[e]),Pc[e]}var ui=(()=>((ui=ui||{})[ui.LocaleId=0]="LocaleId",ui[ui.DayPeriodsFormat=1]="DayPeriodsFormat",ui[ui.DayPeriodsStandalone=2]="DayPeriodsStandalone",ui[ui.DaysFormat=3]="DaysFormat",ui[ui.DaysStandalone=4]="DaysStandalone",ui[ui.MonthsFormat=5]="MonthsFormat",ui[ui.MonthsStandalone=6]="MonthsStandalone",ui[ui.Eras=7]="Eras",ui[ui.FirstDayOfWeek=8]="FirstDayOfWeek",ui[ui.WeekendRange=9]="WeekendRange",ui[ui.DateFormat=10]="DateFormat",ui[ui.TimeFormat=11]="TimeFormat",ui[ui.DateTimeFormat=12]="DateTimeFormat",ui[ui.NumberSymbols=13]="NumberSymbols",ui[ui.NumberFormats=14]="NumberFormats",ui[ui.CurrencyCode=15]="CurrencyCode",ui[ui.CurrencySymbol=16]="CurrencySymbol",ui[ui.CurrencyName=17]="CurrencyName",ui[ui.Currencies=18]="Currencies",ui[ui.Directionality=19]="Directionality",ui[ui.PluralCase=20]="PluralCase",ui[ui.ExtraData=21]="ExtraData",ui))();const Id="en-US";let j_=Id;function Kp(e){un(e,"Expected localeId to be defined"),"string"==typeof e&&(j_=e.toLowerCase().replace(/_/g,"-"))}function tf(e,t,i,r,u){if(e=je(e),Array.isArray(e))for(let h=0;h<e.length;h++)tf(e[h],t,i,r,u);else{const h=Pi(),C=tn();let E=bc(e)?e:je(e.provide),N=im(e);const Z=mo(),ee=1048575&Z.providerIndexes,_e=Z.directiveStart,Ee=Z.providerIndexes>>20;if(bc(e)||!e.multi){const Ge=new Zn(N,u,bu),ft=of(E,t,u?ee:ee+Ee,_e);-1===ft?(ta(jr(Z,C),h,E),nf(h,e,t.length),t.push(E),Z.directiveStart++,Z.directiveEnd++,u&&(Z.providerIndexes+=1048576),i.push(Ge),C.push(Ge)):(i[ft]=Ge,C[ft]=Ge)}else{const Ge=of(E,t,ee+Ee,_e),ft=of(E,t,ee,ee+Ee),Ft=Ge>=0&&i[Ge],Mt=ft>=0&&i[ft];if(u&&!Mt||!u&&!Ft){ta(jr(Z,C),h,E);const fn=function(e,t,i,r,u){const h=new Zn(e,i,bu);return h.multi=[],h.index=t,h.componentProviders=0,pb(h,u,r&&!i),h}(u?Cx:vx,i.length,u,r,N);!u&&Mt&&(i[ft].providerFactory=fn),nf(h,e,t.length,0),t.push(E),Z.directiveStart++,Z.directiveEnd++,u&&(Z.providerIndexes+=1048576),i.push(fn),C.push(fn)}else nf(h,e,Ge>-1?Ge:ft,pb(i[u?ft:Ge],N,!u&&r));!u&&r&&Mt&&i[ft].componentProviders++}}}function nf(e,t,i,r){const u=bc(t);if(u||function(e){return!!e.useClass}(t)){const C=(t.useClass||t).prototype.ngOnDestroy;if(C){const E=e.destroyHooks||(e.destroyHooks=[]);if(!u&&t.multi){const N=E.indexOf(i);-1===N?E.push(i,[r,C]):E[N+1].push(r,C)}else E.push(i,C)}}}function pb(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function of(e,t,i,r){for(let u=i;u<r;u++)if(t[u]===e)return u;return-1}function vx(e,t,i,r){return sf(this.multi,[])}function Cx(e,t,i,r){const u=this.multi;let h;if(this.providerFactory){const C=this.providerFactory.componentProviders,E=H(i,i[1],this.providerFactory.index,r);h=E.slice(0,C),sf(u,h);for(let N=C;N<E.length;N++)h.push(E[N])}else h=[],sf(u,h);return h}function sf(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function fb(e,t=[]){return i=>{i.providersResolver=(r,u)=>function(e,t,i){const r=Pi();if(r.firstCreatePass){const u=ki(e);tf(i,r.data,r.blueprint,u,!0),tf(t,r.data,r.blueprint,u,!1)}}(r,u?u(e):e,t)}}class gb{}const _b="ngComponent";class Tx{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${Me(e)}. Did you add it to @NgModule.entryComponents?`);return t[_b]=e,t}(t)}}class Yl{}function Nd(...e){}function Ac(e,t){return new Fa(Wn(e,t))}Yl.NULL=new Tx;const Sx=function(){return Ac(mo(),tn())};let Fa=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=Sx,e})();function bb(e){return e instanceof Fa?e.nativeElement:e}class Vd{}let Dx=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>kx(),e})();const kx=function(){const e=tn(),i=Xi(mo().index,e);return function(e){return e[11]}(Yi(i)?i:e)};let af=(()=>{class e{}return e.\u0275prov=Pn({token:e,providedIn:"root",factory:()=>null}),e})();class yb{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const vb=new yb("12.2.2");class Cb{constructor(){}supports(t){return mu(t)}create(t){return new Rx(t)}}const Ax=(e,t)=>t;class Rx{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ax}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,r=this._removalsHead,u=0,h=null;for(;i||r;){const C=!r||i&&i.currentIndex<xb(r,u,h)?i:r,E=xb(C,u,h),N=C.currentIndex;if(C===r)u--,r=r._nextRemoved;else if(i=i._next,null==C.previousIndex)u++;else{h||(h=[]);const Z=E-u,ee=N-u;if(Z!=ee){for(let Ee=0;Ee<Z;Ee++){const Ge=Ee<h.length?h[Ee]:h[Ee]=0,ft=Ge+Ee;ee<=ft&&ft<Z&&(h[Ee]=Ge+1)}h[C.previousIndex]=ee-Z}}E!==N&&t(C,E,N)}}forEachPreviousItem(t){let i;for(i=this._previousItHead;null!==i;i=i._nextPrevious)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachMovedItem(t){let i;for(i=this._movesHead;null!==i;i=i._nextMoved)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}forEachIdentityChange(t){let i;for(i=this._identityChangesHead;null!==i;i=i._nextIdentityChange)t(i)}diff(t){if(null==t&&(t=[]),!mu(t))throw new Error(`Error trying to diff '${Me(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let u,h,C,i=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let E=0;E<this.length;E++)h=t[E],C=this._trackByFn(E,h),null!==i&&Object.is(i.trackById,C)?(r&&(i=this._verifyReinsertion(i,h,C,E)),Object.is(i.item,h)||this._addIdentityChange(i,h)):(i=this._mismatch(i,h,C,E),r=!0),i=i._next}else u=0,function(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[yc()]();let r;for(;!(r=i.next()).done;)t(r.value)}}(t,E=>{C=this._trackByFn(u,E),null!==i&&Object.is(i.trackById,C)?(r&&(i=this._verifyReinsertion(i,E,C,u)),Object.is(i.item,E)||this._addIdentityChange(i,E)):(i=this._mismatch(i,E,C,u),r=!0),i=i._next,u++}),this.length=u;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,i,r,u){let h;return null===t?h=this._itTail:(h=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,h,u)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,u))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,h,u)):t=this._addAfter(new Fx(i,r),h,u),t}_verifyReinsertion(t,i,r,u){let h=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==h?t=this._reinsertAfter(h,t._prev,u):t.currentIndex!=u&&(t.currentIndex=u,this._addToMoves(t,u)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,i,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const u=t._prevRemoved,h=t._nextRemoved;return null===u?this._removalsHead=h:u._nextRemoved=h,null===h?this._removalsTail=u:h._prevRemoved=u,this._insertAfter(t,i,r),this._addToMoves(t,r),t}_moveAfter(t,i,r){return this._unlink(t),this._insertAfter(t,i,r),this._addToMoves(t,r),t}_addAfter(t,i,r){return this._insertAfter(t,i,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,r){const u=null===i?this._itHead:i._next;return t._next=u,t._prev=i,null===u?this._itTail=t:u._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new wb),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,r=t._next;return null===i?this._itHead=r:i._next=r,null===r?this._itTail=i:r._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wb),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Fx{constructor(t,i){this.item=t,this.trackById=i,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Lx{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,i){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===i||i<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const i=t._prevDup,r=t._nextDup;return null===i?this._head=r:i._nextDup=r,null===r?this._tail=i:r._prevDup=i,null===this._head}}class wb{constructor(){this.map=new Map}put(t){const i=t.trackById;let r=this.map.get(i);r||(r=new Lx,this.map.set(i,r)),r.add(t)}get(t,i){const u=this.map.get(t);return u?u.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function xb(e,t,i){const r=e.previousIndex;if(null===r)return r;let u=0;return i&&r<i.length&&(u=i[r]),r+t+u}class Tb{constructor(){}supports(t){return t instanceof Map||Sp(t)}create(){return new Nx}}class Nx{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let i;for(i=this._mapHead;null!==i;i=i._next)t(i)}forEachPreviousItem(t){let i;for(i=this._previousMapHead;null!==i;i=i._nextPrevious)t(i)}forEachChangedItem(t){let i;for(i=this._changesHead;null!==i;i=i._nextChanged)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}diff(t){if(t){if(!(t instanceof Map||Sp(t)))throw new Error(`Error trying to diff '${Me(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,u)=>{if(i&&i.key===u)this._maybeAddToChanges(i,r),this._appendAfter=i,i=i._next;else{const h=this._getOrCreateRecordForKey(u,r);i=this._insertBeforeOrAppend(i,h)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let r=i;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const r=t._prev;return i._next=t,i._prev=r,t._prev=i,r&&(r._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const u=this._records.get(t);this._maybeAddToChanges(u,i);const h=u._prev,C=u._next;return h&&(h._next=C),C&&(C._prev=h),u._next=null,u._prev=null,u}const r=new Vx(t);return this._records.set(t,r),r.currentValue=i,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(r=>i(t[r],r))}}class Vx{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Mb(){return new Bd([new Cb])}let Bd=(()=>{class e{constructor(i){this.factories=i}static create(i,r){if(null!=r){const u=r.factories.slice();i=i.concat(u)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||Mb()),deps:[[e,new Pr,new Cr]]}}find(i){const r=this.factories.find(u=>u.supports(i));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${i}' of type '${function(e){return e.name||typeof e}(i)}'`)}}return e.\u0275prov=Pn({token:e,providedIn:"root",factory:Mb}),e})();function Eb(){return new Hd([new Tb])}let Hd=(()=>{class e{constructor(i){this.factories=i}static create(i,r){if(r){const u=r.factories.slice();i=i.concat(u)}return new e(i)}static extend(i){return{provide:e,useFactory:r=>e.create(i,r||Eb()),deps:[[e,new Pr,new Cr]]}}find(i){const r=this.factories.find(u=>u.supports(i));if(r)return r;throw new Error(`Cannot find a differ supporting object '${i}'`)}}return e.\u0275prov=Pn({token:e,providedIn:"root",factory:Eb}),e})();function zd(e,t,i,r,u=!1){for(;null!==i;){const h=t[i.index];if(null!==h&&r.push(Dn(h)),ro(h))for(let E=10;E<h.length;E++){const N=h[E],Z=N[1].firstChild;null!==Z&&zd(N[1],N,Z,r)}const C=i.type;if(8&C)zd(e,t,i.child,r);else if(32&C){const E=uu(i,t);let N;for(;N=E();)r.push(N)}else if(16&C){const E=$a(t,i);if(Array.isArray(E))r.push(...E);else{const N=Ul(t[16]);zd(N[1],N,E,r,!0)}}i=u?i.projectionNext:i.next}return r}class Tu{constructor(t,i){this._lView=t,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,i=t[1];return zd(i,t,i.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ro(t)){const i=t[8],r=i?i.indexOf(this):-1;r>-1&&(Rt(t,r),ce(i,r))}this._attachedToViewContainer=!1}Tn(this._lView[1],this._lView)}onDestroy(t){Bg(this._lView[1],this._lView,null,t)}markForCheck(){fp(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){mp(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){ko(!0);try{mp(e,t,i)}finally{ko(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Wa(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Hx extends Tu{constructor(t){super(t),this._view=t}detectChanges(){Gg(this._view)}checkNoChanges(){!function(e){ko(!0);try{Gg(e)}finally{ko(!1)}}(this._view)}get context(){return null}}const Ux=function(e){return function(e,t,i){if(Xo(e)&&!i){const r=Xi(e.index,t);return new Tu(r,r)}return 47&e.type?new Tu(t[16],t):null}(mo(),tn(),16==(16&e))};let jx=(()=>{class e{}return e.__NG_ELEMENT_ID__=Ux,e})();const Yx=[new Tb],Gx=new Bd([new Cb]),Wx=new Hd(Yx),Jx=function(){return Ud(mo(),tn())};let Mu=(()=>{class e{}return e.__NG_ELEMENT_ID__=Jx,e})();const Kx=Mu,Xx=class extends Kx{constructor(t,i,r){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=r}createEmbeddedView(t){const i=this._declarationTContainer.tViews,r=du(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const h=this._declarationLView[19];return null!==h&&(r[19]=h.createEmbeddedView(i)),hu(i,r,t),new Tu(r)}};function Ud(e,t){return 4&e.type?new Xx(t,e,Ac(e,t)):null}class $l{}class Sb{}const n1=function(){return kb(mo(),tn())};let jd=(()=>{class e{}return e.__NG_ELEMENT_ID__=n1,e})();const s1=jd,Db=class extends s1{constructor(t,i,r){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=r}get element(){return Ac(this._hostTNode,this._hostLView)}get injector(){return new K(this._hostTNode,this._hostLView)}get parentInjector(){const t=or(this._hostTNode,this._hostLView);if(il(t)){const i=_r(t,this._hostLView),r=Cs(t);return new K(i[1].data[r+8],i)}return new K(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Ob(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,r){const u=t.createEmbeddedView(i||{});return this.insert(u,r),u}createComponent(t,i,r,u,h){const C=r||this.parentInjector;if(!h&&null==t.ngModule&&C){const N=C.get($l,null);N&&(h=N)}const E=t.create(C,u,void 0,h);return this.insert(E.hostView,i),E}insert(t,i){const r=t._lView,u=r[1];if(ro(r[3])){const ee=this.indexOf(t);if(-1!==ee)this.detach(ee);else{const _e=r[3],Ee=new Db(_e,_e[6],_e[3]);Ee.detach(Ee.indexOf(t))}}const h=this._adjustIndex(i),C=this._lContainer;!function(e,t,i,r){const u=10+r,h=i.length;r>0&&(i[u-1][4]=t),r<h-10?(t[4]=i[u],Q(i,10+r,t)):(i.push(t),t[4]=null),t[3]=i;const C=t[17];null!==C&&i!==C&&function(e,t){const i=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===i?e[9]=[t]:i.push(t)}(C,t);const E=t[19];null!==E&&E.insertView(e),t[2]|=128}(u,r,C,h);const E=Ga(h,C),N=r[11],Z=ji(N,C[7]);return null!==Z&&function(e,t,i,r,u,h){r[0]=u,r[6]=t,Wa(e,r,i,1,u,h)}(u,C[6],N,r,Z,E),t.attachToViewContainerRef(),Q(lf(C),h,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Ob(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),r=Rt(this._lContainer,i);r&&(ce(lf(this._lContainer),i),Tn(r[1],r))}detach(t){const i=this._adjustIndex(t,-1),r=Rt(this._lContainer,i);return r&&null!=ce(lf(this._lContainer),i)?new Tu(r):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function Ob(e){return e[8]}function lf(e){return e[8]||(e[8]=[])}function kb(e,t){let i;const r=t[e.index];if(ro(r))i=r;else{let u;if(8&e.type)u=Dn(r);else{const h=t[11];u=h.createComment("");const C=Wn(e,t);ri(h,ji(h,C),u,function(e,t){return Yt(e)?e.nextSibling(t):t.nextSibling}(h,C),!1)}t[e.index]=i=$g(r,t,u,e),Td(t,i)}return new Db(i,e,t)}const Nc={};class Qb extends Yl{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=Ot(t);return new Kb(i,this.ngModule)}}function Jb(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const tT=new eo("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>bd});class Kb extends gb{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=t.selectors.map($v).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return Jb(this.componentDef.inputs)}get outputs(){return Jb(this.componentDef.outputs)}create(t,i,r,u){const h=(u=u||this.ngModule)?function(e,t){return{get:(i,r,u)=>{const h=e.get(i,Nc,u);return h!==Nc||r===Nc?h:t.get(i,r,u)}}}(t,u.injector):t,C=h.get(Vd,Nn),E=h.get(af,null),N=C.createRenderer(null,this.componentDef),Z=this.componentDef.selectors[0][0]||"div",ee=r?function(e,t,i){if(Yt(e))return e.selectRootElement(t,i===Fe.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(N,r,this.componentDef.encapsulation):G(C.createRenderer(null,this.componentDef),Z,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(Z)),_e=this.componentDef.onPush?576:528,Ee=function(e,t){return{components:[],scheduler:e||bd,clean:PC,playerHandler:t||null,flags:0}}(),Ge=xd(0,null,null,1,0,null,null,null,null,null),ft=du(null,Ge,Ee,_e,null,null,C,N,E,h);let Ft,Mt;nr(ft);try{const fn=function(e,t,i,r,u,h){const C=i[1];i[20]=e;const N=pc(C,20,2,"#host",null),Z=N.mergedAttrs=t.hostAttrs;null!==Z&&(Md(N,Z,!0),null!==e&&(wa(u,e,Z),null!==N.classes&&Kh(u,e,N.classes),null!==N.styles&&mg(u,e,N.styles)));const ee=r.createRenderer(e,t),_e=du(i,Lg(t),null,t.onPush?64:16,i[20],N,r,ee,h||null,null);return C.firstCreatePass&&(ta(jr(N,i),C,t.type),Zg(C,N),qg(N,i.length,1)),Td(i,_e),i[20]=_e}(ee,this.componentDef,ft,C,N);if(ee)if(r)wa(N,ee,["ng-version",vb.full]);else{const{attrs:Kt,classes:ni}=function(e){const t=[],i=[];let r=1,u=2;for(;r<e.length;){let h=e[r];if("string"==typeof h)2===u?""!==h&&t.push(h,e[++r]):8===u&&i.push(h);else{if(!ca(u))break;u=h}r++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);Kt&&wa(N,ee,Kt),ni&&ni.length>0&&Kh(N,ee,ni.join(" "))}if(Mt=jo(Ge,20),void 0!==i){const Kt=Mt.projection=[];for(let ni=0;ni<this.ngContentSelectors.length;ni++){const mi=i[ni];Kt.push(null!=mi?Array.from(mi):null)}}Ft=function(e,t,i,r,u){const h=i[1],C=function(e,t,i){const r=mo();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Yg(e,r,t,fc(e,t,1,null),i));const u=H(t,e,r.directiveStart,r);xs(u,t);const h=Wn(r,t);return h&&xs(h,t),u}(h,i,t);if(r.components.push(C),e[8]=C,u&&u.forEach(N=>N(C,t)),t.contentQueries){const N=mo();t.contentQueries(1,C,N.directiveStart)}const E=mo();return!h.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(is(E.index),Ug(i[1],E,0,E.directiveStart,E.directiveEnd,t),jg(t,C)),C}(fn,this.componentDef,ft,Ee,[o0]),hu(Ge,ft,null)}finally{ir()}return new oT(this.componentType,Ft,Ac(Mt,ft),ft,Mt)}}class oT extends class{}{constructor(t,i,r,u,h){super(),this.location=r,this._rootLView=u,this._tNode=h,this.instance=i,this.hostView=this.changeDetectorRef=new Hx(u),this.componentType=t}get injector(){return new K(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const Vc=new Map;class aT extends $l{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Qb(this);const r=$e(t),u=t[Ji]||null;u&&Kp(u),this._bootstrapComponents=Ar(r.bootstrap),this._r3Injector=nm(t,i,[{provide:$l,useValue:this},{provide:Yl,useValue:this.componentFactoryResolver}],Me(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=xo.THROW_IF_NOT_FOUND,r=W.Default){return t===xo||t===$l||t===mc?this:this._r3Injector.get(t,i,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Cf extends Sb{constructor(t){super(),this.moduleType=t,null!==$e(t)&&function(e){const t=new Set;!function i(r){const u=$e(r,!0),h=u.id;null!==h&&(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${Me(t)} vs ${Me(t.name)}`)}(h,Vc.get(h),r),Vc.set(h,r));const C=Ar(u.imports);for(const E of C)t.has(E)||(t.add(E),i(E))}(e)}(t)}create(t){return new aT(this.moduleType,t)}}function ty(e,t,i){const r=yi()+e,u=tn();return u[r]===Ei?Aa(u,r,i?t.call(i):t()):_u(u,r)}function ny(e,t,i,r){return uy(tn(),yi(),e,t,i,r)}function iy(e,t,i,r,u){return function(e,t,i,r,u,h,C){const E=t+i;return Zl(e,E,u,h)?Aa(e,E+2,C?r.call(C,u,h):r(u,h)):Au(e,E+2)}(tn(),yi(),e,t,i,r,u)}function oy(e,t,i,r,u,h){return function(e,t,i,r,u,h,C,E){const N=t+i;return Sd(e,N,u,h,C)?Aa(e,N+3,E?r.call(E,u,h,C):r(u,h,C)):Au(e,N+3)}(tn(),yi(),e,t,i,r,u,h)}function sy(e,t,i,r,u,h,C){return function(e,t,i,r,u,h,C,E,N){const Z=t+i;return Wr(e,Z,u,h,C,E)?Aa(e,Z+4,N?r.call(N,u,h,C,E):r(u,h,C,E)):Au(e,Z+4)}(tn(),yi(),e,t,i,r,u,h,C)}function ry(e,t,i,r,u,h,C,E){const N=yi()+e,Z=tn(),ee=Wr(Z,N,i,r,u,h);return Ys(Z,N+4,C)||ee?Aa(Z,N+5,E?t.call(E,i,r,u,h,C):t(i,r,u,h,C)):_u(Z,N+5)}function ay(e,t,i,r,u,h,C,E,N){const Z=yi()+e,ee=tn(),_e=Wr(ee,Z,i,r,u,h);return Zl(ee,Z+4,C,E)||_e?Aa(ee,Z+6,N?t.call(N,i,r,u,h,C,E):t(i,r,u,h,C,E)):_u(ee,Z+6)}function ly(e,t,i,r,u,h,C,E,N,Z){const ee=yi()+e,_e=tn();let Ee=Wr(_e,ee,i,r,u,h);return Sd(_e,ee+4,C,E,N)||Ee?Aa(_e,ee+7,Z?t.call(Z,i,r,u,h,C,E,N):t(i,r,u,h,C,E,N)):_u(_e,ee+7)}function cy(e,t,i,r){return function(e,t,i,r,u,h){let C=t+i,E=!1;for(let N=0;N<u.length;N++)Ys(e,C++,u[N])&&(E=!0);return E?Aa(e,C,r.apply(h,u)):Au(e,C)}(tn(),yi(),e,t,i,r)}function Au(e,t){const i=e[t];return i===Ei?void 0:i}function uy(e,t,i,r,u,h){const C=t+i;return Ys(e,C,u)?Aa(e,C+1,h?r.call(h,u):r(u)):Au(e,C+1)}function gy(e,t){const i=Pi();let r;const u=e+20;i.firstCreatePass?(r=function(e,t){if(t)for(let i=t.length-1;i>=0;i--){const r=t[i];if(e===r.name)return r}throw new z("302",`The pipe '${e}' could not be found!`)}(t,i.pipeRegistry),i.data[u]=r,r.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(u,r.onDestroy)):r=i.data[u];const h=r.factory||(r.factory=No(r.type)),C=X(bu);try{const E=Bs(!1),N=h();return Bs(E),function(e,t,i,r){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}(i,tn(),u,N),N}finally{X(C)}}function my(e,t,i){const r=e+20,u=tn(),h=ao(u,r);return function(e,t){ha.isWrapped(t)&&(t=ha.unwrap(t),e[qo()]=Ei);return t}(u,function(e,t){return e[1].data[t].pure}(u,r)?uy(u,yi(),t,h.transform,i,h):h.transform(i))}function wf(e){return t=>{setTimeout(e,void 0,t)}}const La=class extends se.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,r){var u,h,C;let E=t,N=i||(()=>null),Z=r;if(t&&"object"==typeof t){const _e=t;E=null===(u=_e.next)||void 0===u?void 0:u.bind(_e),N=null===(h=_e.error)||void 0===h?void 0:h.bind(_e),Z=null===(C=_e.complete)||void 0===C?void 0:C.bind(_e)}this.__isAsync&&(N=wf(N),E&&(E=wf(E)),Z&&(Z=wf(Z)));const ee=super.subscribe({next:E,error:N,complete:Z});return t instanceof de.w&&t.add(ee),ee}};function gT(){return this._results[yc()]()}class Gd{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const i=yc(),r=Gd.prototype;r[i]||(r[i]=gT)}get changes(){return this._changes||(this._changes=new La)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,i){return this._results.reduce(t,i)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,i){const r=this;r.dirty=!1;const u=m(t);(this._changesDetected=!function(e,t,i){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let u=e[r],h=t[r];if(i&&(u=i(u),h=i(h)),h!==u)return!1}return!0}(r._results,u,i))&&(r._results=u,r.length=u.length,r.last=u[this.length-1],r.first=u[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;class xf{constructor(t){this.queryList=t,this.matches=null}clone(){return new xf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tf{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const r=null!==t.contentQueries?t.contentQueries[0]:i.length,u=[];for(let h=0;h<r;h++){const C=i.getByIndex(h);u.push(this.queries[C.indexInDeclarationView].clone())}return new Tf(u)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==My(t,i).matches&&this.queries[i].setDirty()}}class _y{constructor(t,i,r=null){this.predicate=t,this.flags=i,this.read=r}}class Mf{constructor(t=[]){this.queries=t}elementStart(t,i){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let r=0;r<this.length;r++){const u=null!==i?i.length:0,h=this.getByIndex(r).embeddedTView(t,u);h&&(h.indexInDeclarationView=r,null!==i?i.push(h):i=[h])}return null!==i?new Mf(i):null}template(t,i){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ef{constructor(t,i=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new Ef(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==i;)r=r.parent;return i===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const r=this.metadata.predicate;if(Array.isArray(r))for(let u=0;u<r.length;u++){const h=r[u];this.matchTNodeWithReadOption(t,i,bT(i,h)),this.matchTNodeWithReadOption(t,i,Sr(i,t,h,!1,!1))}else r===Mu?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,Sr(i,t,r,!1,!1))}matchTNodeWithReadOption(t,i,r){if(null!==r){const u=this.metadata.read;if(null!==u)if(u===Fa||u===jd||u===Mu&&4&i.type)this.addMatch(i.index,-2);else{const h=Sr(i,t,u,!1,!1);null!==h&&this.addMatch(i.index,h)}else this.addMatch(i.index,r)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function bT(e,t){const i=e.localNames;if(null!==i)for(let r=0;r<i.length;r+=2)if(i[r]===t)return i[r+1];return null}function vT(e,t,i,r){return-1===i?function(e,t){return 11&e.type?Ac(e,t):4&e.type?Ud(e,t):null}(t,e):-2===i?function(e,t,i){return i===Fa?Ac(t,e):i===Mu?Ud(t,e):i===jd?kb(t,e):void 0}(e,t,r):H(e,e[1],i,t)}function by(e,t,i,r){const u=t[19].queries[r];if(null===u.matches){const h=e.data,C=i.matches,E=[];for(let N=0;N<C.length;N+=2){const Z=C[N];E.push(Z<0?null:vT(t,h[Z],C[N+1],i.metadata.read))}u.matches=E}return u.matches}function Sf(e,t,i,r){const u=e.queries.getByIndex(i),h=u.matches;if(null!==h){const C=by(e,t,u,i);for(let E=0;E<h.length;E+=2){const N=h[E];if(N>0)r.push(C[E/2]);else{const Z=h[E+1],ee=t[-N];for(let _e=10;_e<ee.length;_e++){const Ee=ee[_e];Ee[17]===Ee[3]&&Sf(Ee[1],Ee,Z,r)}if(null!==ee[9]){const _e=ee[9];for(let Ee=0;Ee<_e.length;Ee++){const Ge=_e[Ee];Sf(Ge[1],Ge,Z,r)}}}}}return r}function yy(e){const t=tn(),i=Pi(),r=Ca();Vr(r+1);const u=My(i,r);if(e.dirty&&_s(t)===(2==(2&u.metadata.flags))){if(null===u.matches)e.reset([]);else{const h=u.crossesNgTemplate?Sf(i,t,r,[]):by(i,t,u,r);e.reset(h,bb),e.notifyOnChanges()}return!0}return!1}function vy(e,t,i){const r=Pi();r.firstCreatePass&&(Ty(r,new _y(e,t,i),-1),2==(2&t)&&(r.staticViewQueries=!0)),xy(r,tn(),t)}function Cy(e,t,i,r){const u=Pi();if(u.firstCreatePass){const h=mo();Ty(u,new _y(t,i,r),h.index),function(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(u,e),2==(2&i)&&(u.staticContentQueries=!0)}xy(u,tn(),i)}function wy(){return e=tn(),t=Ca(),e[19].queries[t].queryList;var e,t}function xy(e,t,i){const r=new Gd(4==(4&i));Bg(e,t,r,r.destroy),null===t[19]&&(t[19]=new Tf),t[19].queries.push(new xf(r))}function Ty(e,t,i){null===e.queries&&(e.queries=new Mf),e.queries.track(new Ef(t,i))}function My(e,t){return e.queries.getByIndex(t)}function Ey(e,t){return Ud(e,t)}const Af=new eo("Application Initializer");let Hc=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Nd,this.reject=Nd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,u)=>{this.resolve=r,this.reject=u})}runInitializers(){if(this.initialized)return;const i=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let u=0;u<this.appInits.length;u++){const h=this.appInits[u]();if(Bp(h))i.push(h);else if(Hp(h)){const C=new Promise((E,N)=>{h.subscribe({complete:E,error:N})});i.push(C)}}Promise.all(i).then(()=>{r()}).catch(u=>{this.reject(u)}),0===i.length&&r(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(co(Af,8))},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();const Zy=new eo("AppId"),QT={provide:Zy,useFactory:function(){return`${Rf()}${Rf()}${Rf()}`},deps:[]};function Rf(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qy=new eo("Platform Initializer"),Yy=new eo("Platform ID"),$y=new eo("appBootstrapListener");let Gy=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();const Jd=new eo("LocaleId"),Wy=new eo("DefaultCurrencyCode");class KT{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}const Ff=function(e){return new Cf(e)},XT=Ff,eM=function(e){return Promise.resolve(Ff(e))},Qy=function(e){const t=Ff(e),r=Ar($e(e).declarations).reduce((u,h)=>{const C=Ot(h);return C&&u.push(new Kb(C)),u},[]);return new KT(t,r)},tM=Qy,nM=function(e){return Promise.resolve(Qy(e))};let Nu=(()=>{class e{constructor(){this.compileModuleSync=XT,this.compileModuleAsync=eM,this.compileModuleAndAllComponentsSync=tM,this.compileModuleAndAllComponentsAsync=nM}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();const sM=(()=>Promise.resolve(0))();function Lf(e){"undefined"==typeof Zone?sM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Fr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new La(!1),this.onMicrotaskEmpty=new La(!1),this.onStable=new La(!1),this.onError=new La(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!r&&i,u.shouldCoalesceRunChangeDetection=r,u.lastRequestAnimationFrameId=-1,u.nativeRequestAnimationFrame=function(){let e=On.requestAnimationFrame,t=On.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(On,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Vf(e),e.isCheckStableRunning=!0,Nf(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Vf(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,r,u,h,C,E)=>{try{return Jy(e),i.invokeTask(u,h,C,E)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===h.type||e.shouldCoalesceRunChangeDetection)&&t(),Ky(e)}},onInvoke:(i,r,u,h,C,E,N)=>{try{return Jy(e),i.invoke(u,h,C,E,N)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ky(e)}},onHasTask:(i,r,u,h)=>{i.hasTask(u,h),r===u&&("microTask"==h.change?(e._hasPendingMicrotasks=h.microTask,Vf(e),Nf(e)):"macroTask"==h.change&&(e.hasPendingMacrotasks=h.macroTask))},onHandleError:(i,r,u,h)=>(i.handleError(u,h),e.runOutsideAngular(()=>e.onError.emit(h)),!1)})}(u)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Fr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Fr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,i,r){return this._inner.run(t,i,r)}runTask(t,i,r,u){const h=this._inner,C=h.scheduleEventTask("NgZoneEvent: "+u,t,aM,Nd,Nd);try{return h.runTask(C,i,r)}finally{h.cancelTask(C)}}runGuarded(t,i,r){return this._inner.runGuarded(t,i,r)}runOutsideAngular(t){return this._outer.run(t)}}const aM={};function Nf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Vf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ky(e){e._nesting--,Nf(e)}class uM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new La,this.onMicrotaskEmpty=new La,this.onStable=new La,this.onError=new La}run(t,i,r){return t.apply(i,r)}runGuarded(t,i,r){return t.apply(i,r)}runOutsideAngular(t){return t()}runTask(t,i,r,u){return t.apply(i,r)}}let Xy=(()=>{class e{constructor(i){this._ngZone=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Fr.assertNotInAngularZone(),Lf(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Lf(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(i)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,r,u){let h=-1;r&&r>0&&(h=setTimeout(()=>{this._callbacks=this._callbacks.filter(C=>C.timeoutId!==h),i(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:i,timeoutId:h,updateCb:u})}whenStable(i,r,u){if(u&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(i,r,u),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,r,u){return[]}}return e.\u0275fac=function(i){return new(i||e)(co(Fr))},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})(),ev=(()=>{class e{constructor(){this._applications=new Map,Bf.addToWindow(this)}registerApplication(i,r){this._applications.set(i,r)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,r=!0){return Bf.findTestabilityInTree(this,i,r)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();class dM{addToWindow(t){}findTestabilityInTree(t,i,r){return null}}function hM(e){Bf=e}let Bf=new dM,tv=!0,nv=!1;function pM(){if(nv)throw new Error("Cannot enable prod mode after platform setup.");tv=!1}let ba;const ov=new eo("AllowMultipleToken");class vM{constructor(t,i){this.name=t,this.token=i}}function sv(e,t,i=[]){const r=`Platform: ${t}`,u=new eo(r);return(h=[])=>{let C=rv();if(!C||C.injector.get(ov,!1))if(e)e(i.concat(h).concat({provide:u,useValue:!0}));else{const E=i.concat(h).concat({provide:u,useValue:!0},{provide:pu,useValue:"platform"});!function(e){if(ba&&!ba.destroyed&&!ba.injector.get(ov,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ba=e.get(av);const t=e.get(qy,null);t&&t.forEach(i=>i())}(xo.create({providers:E,name:r}))}return function(e){const t=rv();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(u)}}function rv(){return ba&&!ba.destroyed?ba:null}let av=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,r){const E=function(e,t){let i;return i="noop"===e?new uM:("zone.js"===e?void 0:e)||new Fr({enableLongStackTrace:(nv=!0,tv),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),i}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),N=[{provide:Fr,useValue:E}];return E.run(()=>{const Z=xo.create({providers:N,parent:this.injector,name:i.moduleType.name}),ee=i.create(Z),_e=ee.injector.get(yl,null);if(!_e)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return E.runOutsideAngular(()=>{const Ee=E.onError.subscribe({next:Ge=>{_e.handleError(Ge)}});ee.onDestroy(()=>{Hf(this._modules,ee),Ee.unsubscribe()})}),function(e,t,i){try{const r=i();return Bp(r)?r.catch(u=>{throw t.runOutsideAngular(()=>e.handleError(u)),u}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(_e,E,()=>{const Ee=ee.injector.get(Hc);return Ee.runInitializers(),Ee.donePromise.then(()=>(Kp(ee.injector.get(Jd,Id)||Id),this._moduleDoBootstrap(ee),ee))})})}bootstrapModule(i,r=[]){const u=lv({},r);return function(e,t,i){const r=new Cf(i);return Promise.resolve(r)}(0,0,i).then(h=>this.bootstrapModuleFactory(h,u))}_moduleDoBootstrap(i){const r=i.injector.get(Vu);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(u=>r.bootstrap(u));else{if(!i.instance.ngDoBootstrap)throw new Error(`The module ${Me(i.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);i.instance.ngDoBootstrap(r)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(co(xo))},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();function lv(e,t){return Array.isArray(t)?t.reduce(lv,e):Object.assign(Object.assign({},e),t)}let Vu=(()=>{class e{constructor(i,r,u,h,C){this._zone=i,this._injector=r,this._exceptionHandler=u,this._componentFactoryResolver=h,this._initStatus=C,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const E=new n.y(Z=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Z.next(this._stable),Z.complete()})}),N=new n.y(Z=>{let ee;this._zone.runOutsideAngular(()=>{ee=this._zone.onStable.subscribe(()=>{Fr.assertNotInAngularZone(),Lf(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Z.next(!0))})})});const _e=this._zone.onUnstable.subscribe(()=>{Fr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Z.next(!1)}))});return()=>{ee.unsubscribe(),_e.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,i=null,r=e[e.length-1];return(0,c.K)(r)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===i&&1===e.length&&e[0]instanceof n.y?e[0]:(0,V.J)(t)((0,pe.n)(e,i))}(E,N.pipe(e=>(0,xe.x)()(function(e,t){return function(r){let u;u="function"==typeof e?e:function(){return e};const h=Object.create(r,ge.N);return h.source=r,h.subjectFactory=u,h}}(Pe)(e))))}bootstrap(i,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let u;u=i instanceof gb?i:this._componentFactoryResolver.resolveComponentFactory(i),this.componentTypes.push(u.componentType);const h=function(e){return e.isBoundToModule}(u)?void 0:this._injector.get($l),E=u.create(xo.NULL,[],r||u.selector,h),N=E.location.nativeElement,Z=E.injector.get(Xy,null),ee=Z&&E.injector.get(ev);return Z&&ee&&ee.registerApplication(N,Z),E.onDestroy(()=>{this.detachView(E.hostView),Hf(this.components,E),ee&&ee.unregisterApplication(N)}),this._loadComponent(E),E}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const r=i;this._views.push(r),r.attachToAppRef(this)}detachView(i){const r=i;Hf(this._views,r),r.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get($y,[]).concat(this._bootstrapListeners).forEach(u=>u(i))}ngOnDestroy(){this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(i){return new(i||e)(co(Fr),co(xo),co(yl),co(Yl),co(Hc))},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();function Hf(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class EM{}class DM{}const OM={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let kM=(()=>{class e{constructor(i,r){this._compiler=i,this._config=r||OM}load(i){return this.loadAndCompile(i)}loadAndCompile(i){let[r,u]=i.split("#");return void 0===u&&(u="default"),J(8255)(r).then(h=>h[u]).then(h=>hv(h,r,u)).then(h=>this._compiler.compileModuleAsync(h))}loadFactory(i){let[r,u]=i.split("#"),h="NgFactory";return void 0===u&&(u="default",h=""),J(8255)(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(C=>C[u+h]).then(C=>hv(C,r,u))}}return e.\u0275fac=function(i){return new(i||e)(co(Nu),co(DM,8))},e.\u0275prov=Pn({token:e,factory:e.\u0275fac}),e})();function hv(e,t,i){if(!e)throw new Error(`Cannot find '${i}' in '${t}'`);return e}const VM=function(e){return null},HM=sv(null,"core",[{provide:Yy,useValue:"unknown"},{provide:av,deps:[xo]},{provide:ev,deps:[]},{provide:Gy,deps:[]}]),qM=[{provide:Vu,useClass:Vu,deps:[Fr,xo,yl,Yl,Hc]},{provide:tT,deps:[Fr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(i){t.push(i)}}},{provide:Hc,useClass:Hc,deps:[[new Cr,Af]]},{provide:Nu,useClass:Nu,deps:[]},QT,{provide:Bd,useFactory:function(){return Gx},deps:[]},{provide:Hd,useFactory:function(){return Wx},deps:[]},{provide:Jd,useFactory:function(e){return Kp(e=e||"undefined"!=typeof $localize&&$localize.locale||Id),e},deps:[[new ja(Jd),new Cr,new Pr]]},{provide:Wy,useValue:"USD"}];let $M=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(co(Vu))},e.\u0275mod=bo({type:e}),e.\u0275inj=ai({providers:qM}),e})()},665:(bn,Et,J)=>{"use strict";J.d(Et,{Wl:()=>dt,Fj:()=>Ve,Oe:()=>bo,qu:()=>y,NI:()=>li,u:()=>Ni,sg:()=>Xn,u5:()=>Qs,nD:()=>ps,JU:()=>Pe,a5:()=>dn,JJ:()=>Qi,JL:()=>Pt,F:()=>nt,On:()=>en,c5:()=>zs,UX:()=>No,Q7:()=>Jn,kI:()=>Le,_Y:()=>An});var n=J(639),c=J(8583),V=J(7574),pe=J(9796),ie=J(8002),se=J(1555),de=J(4402);function we(v,w){return new V.y(g=>{const T=v.length;if(0===T)return void g.complete();const p=new Array(T);let S=0,b=0;for(let D=0;D<T;D++){const I=(0,de.D)(v[D]);let q=!1;g.add(I.subscribe({next:te=>{q||(q=!0,b++),p[D]=te},error:te=>g.error(te),complete:()=>{S++,(S===T||!q)&&(b===T&&g.next(w?w.reduce((te,ye,pt)=>(te[ye]=p[pt],te),{}):p),g.complete())}}))}})}let re=(()=>{class v{constructor(g,T){this._renderer=g,this._elementRef=T,this.onChange=p=>{},this.onTouched=()=>{}}setProperty(g,T){this._renderer.setProperty(this._elementRef.nativeElement,g,T)}registerOnTouched(g){this.onTouched=g}registerOnChange(g){this.onChange=g}setDisabledState(g){this.setProperty("disabled",g)}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(n.Qsj),n.Y36(n.SBq))},v.\u0275dir=n.lG2({type:v}),v})(),xe=(()=>{class v extends re{}return v.\u0275fac=function(){let w;return function(T){return(w||(w=n.n5z(v)))(T||v)}}(),v.\u0275dir=n.lG2({type:v,features:[n.qOj]}),v})();const Pe=new n.OlP("NgValueAccessor"),ut={provide:Pe,useExisting:(0,n.Gpc)(()=>dt),multi:!0};let dt=(()=>{class v extends xe{writeValue(g){this.setProperty("checked",g)}}return v.\u0275fac=function(){let w;return function(T){return(w||(w=n.n5z(v)))(T||v)}}(),v.\u0275dir=n.lG2({type:v,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(g,T){1&g&&n.NdJ("change",function(S){return T.onChange(S.target.checked)})("blur",function(){return T.onTouched()})},features:[n._Bn([ut]),n.qOj]}),v})();const st={provide:Pe,useExisting:(0,n.Gpc)(()=>Ve),multi:!0},Ue=new n.OlP("CompositionEventMode");let Ve=(()=>{class v extends re{constructor(g,T,p){super(g,T),this._compositionMode=p,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const v=(0,c.q)()?(0,c.q)().getUserAgent():"";return/android (\d+)/.test(v.toLowerCase())}())}writeValue(g){this.setProperty("value",null==g?"":g)}_handleInput(g){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(g)}_compositionStart(){this._composing=!0}_compositionEnd(g){this._composing=!1,this._compositionMode&&this.onChange(g)}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(n.Qsj),n.Y36(n.SBq),n.Y36(Ue,8))},v.\u0275dir=n.lG2({type:v,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(g,T){1&g&&n.NdJ("input",function(S){return T._handleInput(S.target.value)})("blur",function(){return T.onTouched()})("compositionstart",function(){return T._compositionStart()})("compositionend",function(S){return T._compositionEnd(S.target.value)})},features:[n._Bn([st]),n.qOj]}),v})();function ct(v){return null==v||0===v.length}function je(v){return null!=v&&"number"==typeof v.length}const Qe=new n.OlP("NgValidators"),ue=new n.OlP("NgAsyncValidators"),z=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Le{static min(w){return v=w,w=>{if(ct(w.value)||ct(v))return null;const g=parseFloat(w.value);return!isNaN(g)&&g<v?{min:{min:v,actual:w.value}}:null};var v}static max(w){return v=w,w=>{if(ct(w.value)||ct(v))return null;const g=parseFloat(w.value);return!isNaN(g)&&g>v?{max:{max:v,actual:w.value}}:null};var v}static required(w){return be(w)}static requiredTrue(w){return!0===w.value?null:{required:!0}}static email(w){return ct((v=w).value)||z.test(v.value)?null:{email:!0};var v}static minLength(w){return v=w,w=>ct(w.value)||!je(w.value)?null:w.value.length<v?{minlength:{requiredLength:v,actualLength:w.value.length}}:null;var v}static maxLength(w){return Xt(w)}static pattern(w){return Nt(w)}static nullValidator(w){return null}static compose(w){return at(w)}static composeAsync(w){return et(w)}}function be(v){return ct(v.value)?{required:!0}:null}function Xt(v){return w=>je(w.value)&&w.value.length>v?{maxlength:{requiredLength:v,actualLength:w.value.length}}:null}function Nt(v){if(!v)return Ut;let w,g;return"string"==typeof v?(g="","^"!==v.charAt(0)&&(g+="^"),g+=v,"$"!==v.charAt(v.length-1)&&(g+="$"),w=new RegExp(g)):(g=v.toString(),w=v),T=>{if(ct(T.value))return null;const p=T.value;return w.test(p)?null:{pattern:{requiredPattern:g,actualValue:p}}}}function Ut(v){return null}function zn(v){return null!=v}function kt(v){const w=(0,n.QGY)(v)?(0,de.D)(v):v;return(0,n.CqO)(w),w}function _n(v){let w={};return v.forEach(g=>{w=null!=g?Object.assign(Object.assign({},w),g):w}),0===Object.keys(w).length?null:w}function Ht(v,w){return w.map(g=>g(v))}function tt(v){return v.map(w=>function(v){return!v.validate}(w)?w:g=>w.validate(g))}function at(v){if(!v)return null;const w=v.filter(zn);return 0==w.length?null:function(g){return _n(Ht(g,w))}}function Tt(v){return null!=v?at(tt(v)):null}function et(v){if(!v)return null;const w=v.filter(zn);return 0==w.length?null:function(g){return function(...v){if(1===v.length){const w=v[0];if((0,pe.k)(w))return we(w,null);if((0,se.K)(w)&&Object.getPrototypeOf(w)===Object.prototype){const g=Object.keys(w);return we(g.map(T=>w[T]),g)}}if("function"==typeof v[v.length-1]){const w=v.pop();return we(v=1===v.length&&(0,pe.k)(v[0])?v[0]:v,null).pipe((0,ie.U)(g=>w(...g)))}return we(v,null)}(Ht(g,w).map(kt)).pipe((0,ie.U)(_n))}}function mt(v){return null!=v?et(tt(v)):null}function on(v,w){return null===v?[w]:Array.isArray(v)?[...v,w]:[v,w]}function un(v){return v._rawValidators}function cn(v){return v._rawAsyncValidators}function Rn(v){return v?Array.isArray(v)?v:[v]:[]}function vi(v,w){return Array.isArray(v)?v.includes(w):v===w}function Ci(v,w){const g=Rn(w);return Rn(v).forEach(p=>{vi(g,p)||g.push(p)}),g}function Pn(v,w){return Rn(w).filter(g=>!vi(v,g))}let Qn=(()=>{class v{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(g){this._rawValidators=g||[],this._composedValidatorFn=Tt(this._rawValidators)}_setAsyncValidators(g){this._rawAsyncValidators=g||[],this._composedAsyncValidatorFn=mt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(g){this._onDestroyCallbacks.push(g)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(g=>g()),this._onDestroyCallbacks=[]}reset(g){this.control&&this.control.reset(g)}hasError(g,T){return!!this.control&&this.control.hasError(g,T)}getError(g,T){return this.control?this.control.getError(g,T):null}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=n.lG2({type:v}),v})(),ai=(()=>{class v extends Qn{get formDirective(){return null}get path(){return null}}return v.\u0275fac=function(){let w;return function(T){return(w||(w=n.n5z(v)))(T||v)}}(),v.\u0275dir=n.lG2({type:v,features:[n.qOj]}),v})();class dn extends Qn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Mn{constructor(w){this._cd=w}is(w){var g,T,p;return"submitted"===w?!!(null===(g=this._cd)||void 0===g?void 0:g.submitted):!!(null===(p=null===(T=this._cd)||void 0===T?void 0:T.control)||void 0===p?void 0:p[w])}}let Qi=(()=>{class v extends Mn{constructor(g){super(g)}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(dn,2))},v.\u0275dir=n.lG2({type:v,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(g,T){2&g&&n.ekj("ng-untouched",T.is("untouched"))("ng-touched",T.is("touched"))("ng-pristine",T.is("pristine"))("ng-dirty",T.is("dirty"))("ng-valid",T.is("valid"))("ng-invalid",T.is("invalid"))("ng-pending",T.is("pending"))},features:[n.qOj]}),v})(),Pt=(()=>{class v extends Mn{constructor(g){super(g)}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(ai,10))},v.\u0275dir=n.lG2({type:v,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(g,T){2&g&&n.ekj("ng-untouched",T.is("untouched"))("ng-touched",T.is("touched"))("ng-pristine",T.is("pristine"))("ng-dirty",T.is("dirty"))("ng-valid",T.is("valid"))("ng-invalid",T.is("invalid"))("ng-pending",T.is("pending"))("ng-submitted",T.is("submitted"))},features:[n.qOj]}),v})();function Se(v,w){return[...w.path,v]}function W(v,w){He(v,w),w.valueAccessor.writeValue(v.value),function(v,w){w.valueAccessor.registerOnChange(g=>{v._pendingValue=g,v._pendingChange=!0,v._pendingDirty=!0,"change"===v.updateOn&&jt(v,w)})}(v,w),function(v,w){const g=(T,p)=>{w.valueAccessor.writeValue(T),p&&w.viewToModelUpdate(T)};v.registerOnChange(g),w._registerOnDestroy(()=>{v._unregisterOnChange(g)})}(v,w),function(v,w){w.valueAccessor.registerOnTouched(()=>{v._pendingTouched=!0,"blur"===v.updateOn&&v._pendingChange&&jt(v,w),"submit"!==v.updateOn&&v.markAsTouched()})}(v,w),function(v,w){if(w.valueAccessor.setDisabledState){const g=T=>{w.valueAccessor.setDisabledState(T)};v.registerOnDisabledChange(g),w._registerOnDestroy(()=>{v._unregisterOnDisabledChange(g)})}}(v,w)}function F(v,w,g=!0){const T=()=>{};w.valueAccessor&&(w.valueAccessor.registerOnChange(T),w.valueAccessor.registerOnTouched(T)),Qt(v,w),v&&(w._invokeOnDestroyCallbacks(),v._registerOnCollectionChange(()=>{}))}function U(v,w){v.forEach(g=>{g.registerOnValidatorChange&&g.registerOnValidatorChange(w)})}function He(v,w){const g=un(v);null!==w.validator?v.setValidators(on(g,w.validator)):"function"==typeof g&&v.setValidators([g]);const T=cn(v);null!==w.asyncValidator?v.setAsyncValidators(on(T,w.asyncValidator)):"function"==typeof T&&v.setAsyncValidators([T]);const p=()=>v.updateValueAndValidity();U(w._rawValidators,p),U(w._rawAsyncValidators,p)}function Qt(v,w){let g=!1;if(null!==v){if(null!==w.validator){const p=un(v);if(Array.isArray(p)&&p.length>0){const S=p.filter(b=>b!==w.validator);S.length!==p.length&&(g=!0,v.setValidators(S))}}if(null!==w.asyncValidator){const p=cn(v);if(Array.isArray(p)&&p.length>0){const S=p.filter(b=>b!==w.asyncValidator);S.length!==p.length&&(g=!0,v.setAsyncValidators(S))}}}const T=()=>{};return U(w._rawValidators,T),U(w._rawAsyncValidators,T),g}function jt(v,w){v._pendingDirty&&v.markAsDirty(),v.setValue(v._pendingValue,{emitModelToViewChange:!1}),w.viewToModelUpdate(v._pendingValue),v._pendingChange=!1}function Fe(v,w){He(v,w)}function In(v,w){if(!v.hasOwnProperty("model"))return!1;const g=v.model;return!!g.isFirstChange()||!Object.is(w,g.currentValue)}function Ri(v,w){v._syncPendingControls(),w.forEach(g=>{const T=g.control;"submit"===T.updateOn&&T._pendingChange&&(g.viewToModelUpdate(T._pendingValue),T._pendingChange=!1)})}function Sn(v,w){if(!w)return null;let g,T,p;return Array.isArray(w),w.forEach(S=>{S.constructor===Ve?g=S:function(v){return Object.getPrototypeOf(v.constructor)===xe}(S)?T=S:p=S}),p||T||g||null}function _i(v,w){const g=v.indexOf(w);g>-1&&v.splice(g,1)}const Di="VALID",Oi="INVALID",Ti="PENDING",Vi="DISABLED";function pi(v){return(Fo(v)?v.validators:v)||null}function uo(v){return Array.isArray(v)?Tt(v):v||null}function Hi(v,w){return(Fo(w)?w.asyncValidators:v)||null}function To(v){return Array.isArray(v)?mt(v):v||null}function Fo(v){return null!=v&&!Array.isArray(v)&&"object"==typeof v}class Fi{constructor(w,g){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=w,this._rawAsyncValidators=g,this._composedValidatorFn=uo(this._rawValidators),this._composedAsyncValidatorFn=To(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(w){this._rawValidators=this._composedValidatorFn=w}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(w){this._rawAsyncValidators=this._composedAsyncValidatorFn=w}get parent(){return this._parent}get valid(){return this.status===Di}get invalid(){return this.status===Oi}get pending(){return this.status==Ti}get disabled(){return this.status===Vi}get enabled(){return this.status!==Vi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(w){this._rawValidators=w,this._composedValidatorFn=uo(w)}setAsyncValidators(w){this._rawAsyncValidators=w,this._composedAsyncValidatorFn=To(w)}addValidators(w){this.setValidators(Ci(w,this._rawValidators))}addAsyncValidators(w){this.setAsyncValidators(Ci(w,this._rawAsyncValidators))}removeValidators(w){this.setValidators(Pn(w,this._rawValidators))}removeAsyncValidators(w){this.setAsyncValidators(Pn(w,this._rawAsyncValidators))}hasValidator(w){return vi(this._rawValidators,w)}hasAsyncValidator(w){return vi(this._rawAsyncValidators,w)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(w={}){this.touched=!0,this._parent&&!w.onlySelf&&this._parent.markAsTouched(w)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(w=>w.markAllAsTouched())}markAsUntouched(w={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(g=>{g.markAsUntouched({onlySelf:!0})}),this._parent&&!w.onlySelf&&this._parent._updateTouched(w)}markAsDirty(w={}){this.pristine=!1,this._parent&&!w.onlySelf&&this._parent.markAsDirty(w)}markAsPristine(w={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(g=>{g.markAsPristine({onlySelf:!0})}),this._parent&&!w.onlySelf&&this._parent._updatePristine(w)}markAsPending(w={}){this.status=Ti,!1!==w.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!w.onlySelf&&this._parent.markAsPending(w)}disable(w={}){const g=this._parentMarkedDirty(w.onlySelf);this.status=Vi,this.errors=null,this._forEachChild(T=>{T.disable(Object.assign(Object.assign({},w),{onlySelf:!0}))}),this._updateValue(),!1!==w.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},w),{skipPristineCheck:g})),this._onDisabledChange.forEach(T=>T(!0))}enable(w={}){const g=this._parentMarkedDirty(w.onlySelf);this.status=Di,this._forEachChild(T=>{T.enable(Object.assign(Object.assign({},w),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:w.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},w),{skipPristineCheck:g})),this._onDisabledChange.forEach(T=>T(!1))}_updateAncestors(w){this._parent&&!w.onlySelf&&(this._parent.updateValueAndValidity(w),w.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(w){this._parent=w}updateValueAndValidity(w={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Di||this.status===Ti)&&this._runAsyncValidator(w.emitEvent)),!1!==w.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!w.onlySelf&&this._parent.updateValueAndValidity(w)}_updateTreeValidity(w={emitEvent:!0}){this._forEachChild(g=>g._updateTreeValidity(w)),this.updateValueAndValidity({onlySelf:!0,emitEvent:w.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Vi:Di}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(w){if(this.asyncValidator){this.status=Ti,this._hasOwnPendingAsyncValidator=!0;const g=kt(this.asyncValidator(this));this._asyncValidationSubscription=g.subscribe(T=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(T,{emitEvent:w})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(w,g={}){this.errors=w,this._updateControlsErrors(!1!==g.emitEvent)}get(w){return function(v,w,g){if(null==w||(Array.isArray(w)||(w=w.split(".")),Array.isArray(w)&&0===w.length))return null;let T=v;return w.forEach(p=>{T=T instanceof po?T.controls.hasOwnProperty(p)?T.controls[p]:null:T instanceof bo&&T.at(p)||null}),T}(this,w)}getError(w,g){const T=g?this.get(g):this;return T&&T.errors?T.errors[w]:null}hasError(w,g){return!!this.getError(w,g)}get root(){let w=this;for(;w._parent;)w=w._parent;return w}_updateControlsErrors(w){this.status=this._calculateStatus(),w&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(w)}_initObservables(){this.valueChanges=new n.vpe,this.statusChanges=new n.vpe}_calculateStatus(){return this._allControlsDisabled()?Vi:this.errors?Oi:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ti)?Ti:this._anyControlsHaveStatus(Oi)?Oi:Di}_anyControlsHaveStatus(w){return this._anyControls(g=>g.status===w)}_anyControlsDirty(){return this._anyControls(w=>w.dirty)}_anyControlsTouched(){return this._anyControls(w=>w.touched)}_updatePristine(w={}){this.pristine=!this._anyControlsDirty(),this._parent&&!w.onlySelf&&this._parent._updatePristine(w)}_updateTouched(w={}){this.touched=this._anyControlsTouched(),this._parent&&!w.onlySelf&&this._parent._updateTouched(w)}_isBoxedValue(w){return"object"==typeof w&&null!==w&&2===Object.keys(w).length&&"value"in w&&"disabled"in w}_registerOnCollectionChange(w){this._onCollectionChange=w}_setUpdateStrategy(w){Fo(w)&&null!=w.updateOn&&(this._updateOn=w.updateOn)}_parentMarkedDirty(w){return!w&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class li extends Fi{constructor(w=null,g,T){super(pi(g),Hi(T,g)),this._onChange=[],this._applyFormState(w),this._setUpdateStrategy(g),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(w,g={}){this.value=this._pendingValue=w,this._onChange.length&&!1!==g.emitModelToViewChange&&this._onChange.forEach(T=>T(this.value,!1!==g.emitViewToModelChange)),this.updateValueAndValidity(g)}patchValue(w,g={}){this.setValue(w,g)}reset(w=null,g={}){this._applyFormState(w),this.markAsPristine(g),this.markAsUntouched(g),this.setValue(this.value,g),this._pendingChange=!1}_updateValue(){}_anyControls(w){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(w){this._onChange.push(w)}_unregisterOnChange(w){_i(this._onChange,w)}registerOnDisabledChange(w){this._onDisabledChange.push(w)}_unregisterOnDisabledChange(w){_i(this._onDisabledChange,w)}_forEachChild(w){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(w){this._isBoxedValue(w)?(this.value=this._pendingValue=w.value,w.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=w}}class po extends Fi{constructor(w,g,T){super(pi(g),Hi(T,g)),this.controls=w,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(w,g){return this.controls[w]?this.controls[w]:(this.controls[w]=g,g.setParent(this),g._registerOnCollectionChange(this._onCollectionChange),g)}addControl(w,g,T={}){this.registerControl(w,g),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}removeControl(w,g={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),delete this.controls[w],this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}setControl(w,g,T={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),delete this.controls[w],g&&this.registerControl(w,g),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}contains(w){return this.controls.hasOwnProperty(w)&&this.controls[w].enabled}setValue(w,g={}){this._checkAllValuesPresent(w),Object.keys(w).forEach(T=>{this._throwIfControlMissing(T),this.controls[T].setValue(w[T],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(w,g={}){null!=w&&(Object.keys(w).forEach(T=>{this.controls[T]&&this.controls[T].patchValue(w[T],{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(w={},g={}){this._forEachChild((T,p)=>{T.reset(w[p],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this._reduceChildren({},(w,g,T)=>(w[T]=g instanceof li?g.value:g.getRawValue(),w))}_syncPendingControls(){let w=this._reduceChildren(!1,(g,T)=>!!T._syncPendingControls()||g);return w&&this.updateValueAndValidity({onlySelf:!0}),w}_throwIfControlMissing(w){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[w])throw new Error(`Cannot find form control with name: ${w}.`)}_forEachChild(w){Object.keys(this.controls).forEach(g=>{const T=this.controls[g];T&&w(T,g)})}_setUpControls(){this._forEachChild(w=>{w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(w){for(const g of Object.keys(this.controls)){const T=this.controls[g];if(this.contains(g)&&w(T))return!0}return!1}_reduceValue(){return this._reduceChildren({},(w,g,T)=>((g.enabled||this.disabled)&&(w[T]=g.value),w))}_reduceChildren(w,g){let T=w;return this._forEachChild((p,S)=>{T=g(T,p,S)}),T}_allControlsDisabled(){for(const w of Object.keys(this.controls))if(this.controls[w].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(w){this._forEachChild((g,T)=>{if(void 0===w[T])throw new Error(`Must supply a value for form control with name: '${T}'.`)})}}class bo extends Fi{constructor(w,g,T){super(pi(g),Hi(T,g)),this.controls=w,this._initObservables(),this._setUpdateStrategy(g),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(w){return this.controls[w]}push(w,g={}){this.controls.push(w),this._registerControl(w),this.updateValueAndValidity({emitEvent:g.emitEvent}),this._onCollectionChange()}insert(w,g,T={}){this.controls.splice(w,0,g),this._registerControl(g),this.updateValueAndValidity({emitEvent:T.emitEvent})}removeAt(w,g={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),this.controls.splice(w,1),this.updateValueAndValidity({emitEvent:g.emitEvent})}setControl(w,g,T={}){this.controls[w]&&this.controls[w]._registerOnCollectionChange(()=>{}),this.controls.splice(w,1),g&&(this.controls.splice(w,0,g),this._registerControl(g)),this.updateValueAndValidity({emitEvent:T.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(w,g={}){this._checkAllValuesPresent(w),w.forEach((T,p)=>{this._throwIfControlMissing(p),this.at(p).setValue(T,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g)}patchValue(w,g={}){null!=w&&(w.forEach((T,p)=>{this.at(p)&&this.at(p).patchValue(T,{onlySelf:!0,emitEvent:g.emitEvent})}),this.updateValueAndValidity(g))}reset(w=[],g={}){this._forEachChild((T,p)=>{T.reset(w[p],{onlySelf:!0,emitEvent:g.emitEvent})}),this._updatePristine(g),this._updateTouched(g),this.updateValueAndValidity(g)}getRawValue(){return this.controls.map(w=>w instanceof li?w.value:w.getRawValue())}clear(w={}){this.controls.length<1||(this._forEachChild(g=>g._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:w.emitEvent}))}_syncPendingControls(){let w=this.controls.reduce((g,T)=>!!T._syncPendingControls()||g,!1);return w&&this.updateValueAndValidity({onlySelf:!0}),w}_throwIfControlMissing(w){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(w))throw new Error(`Cannot find form control at index ${w}`)}_forEachChild(w){this.controls.forEach((g,T)=>{w(g,T)})}_updateValue(){this.value=this.controls.filter(w=>w.enabled||this.disabled).map(w=>w.value)}_anyControls(w){return this.controls.some(g=>g.enabled&&w(g))}_setUpControls(){this._forEachChild(w=>this._registerControl(w))}_checkAllValuesPresent(w){this._forEachChild((g,T)=>{if(void 0===w[T])throw new Error(`Must supply a value for form control at index: ${T}.`)})}_allControlsDisabled(){for(const w of this.controls)if(w.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(w){w.setParent(this),w._registerOnCollectionChange(this._onCollectionChange)}}const yo={provide:ai,useExisting:(0,n.Gpc)(()=>nt)},fo=(()=>Promise.resolve(null))();let nt=(()=>{class v extends ai{constructor(g,T){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.vpe,this.form=new po({},Tt(g),mt(T))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(g){fo.then(()=>{const T=this._findContainer(g.path);g.control=T.registerControl(g.name,g.control),W(g.control,g),g.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(g)})}getControl(g){return this.form.get(g.path)}removeControl(g){fo.then(()=>{const T=this._findContainer(g.path);T&&T.removeControl(g.name),_i(this._directives,g)})}addFormGroup(g){fo.then(()=>{const T=this._findContainer(g.path),p=new po({});Fe(p,g),T.registerControl(g.name,p),p.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(g){fo.then(()=>{const T=this._findContainer(g.path);T&&T.removeControl(g.name)})}getFormGroup(g){return this.form.get(g.path)}updateModel(g,T){fo.then(()=>{this.form.get(g.path).setValue(T)})}setValue(g){this.control.setValue(g)}onSubmit(g){return this.submitted=!0,Ri(this.form,this._directives),this.ngSubmit.emit(g),!1}onReset(){this.resetForm()}resetForm(g){this.form.reset(g),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(g){return g.pop(),g.length?this.form.get(g):this.form}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(Qe,10),n.Y36(ue,10))},v.\u0275dir=n.lG2({type:v,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(g,T){1&g&&n.NdJ("submit",function(S){return T.onSubmit(S)})("reset",function(){return T.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([yo]),n.qOj]}),v})();const Vt={provide:dn,useExisting:(0,n.Gpc)(()=>en)},St=(()=>Promise.resolve(null))();let en=(()=>{class v extends dn{constructor(g,T,p,S){super(),this.control=new li,this._registered=!1,this.update=new n.vpe,this._parent=g,this._setValidators(T),this._setAsyncValidators(p),this.valueAccessor=Sn(0,S)}ngOnChanges(g){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in g&&this._updateDisabled(g),In(g,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Se(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){W(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(g){St.then(()=>{this.control.setValue(g,{emitViewToModelChange:!1})})}_updateDisabled(g){const T=g.isDisabled.currentValue,p=""===T||T&&"false"!==T;St.then(()=>{p&&!this.control.disabled?this.control.disable():!p&&this.control.disabled&&this.control.enable()})}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(ai,9),n.Y36(Qe,10),n.Y36(ue,10),n.Y36(Pe,10))},v.\u0275dir=n.lG2({type:v,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n._Bn([Vt]),n.qOj,n.TTD]}),v})(),An=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=n.lG2({type:v,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),v})(),Ct=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=n.oAB({type:v}),v.\u0275inj=n.cJS({}),v})();const Xe=new n.OlP("NgModelWithFormControlWarning"),ln={provide:ai,useExisting:(0,n.Gpc)(()=>Xn)};let Xn=(()=>{class v extends ai{constructor(g,T){super(),this.validators=g,this.asyncValidators=T,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.vpe,this._setValidators(g),this._setAsyncValidators(T)}ngOnChanges(g){this._checkFormPresent(),g.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Qt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(g){const T=this.form.get(g.path);return W(T,g),T.updateValueAndValidity({emitEvent:!1}),this.directives.push(g),T}getControl(g){return this.form.get(g.path)}removeControl(g){F(g.control||null,g,!1),_i(this.directives,g)}addFormGroup(g){this._setUpFormContainer(g)}removeFormGroup(g){this._cleanUpFormContainer(g)}getFormGroup(g){return this.form.get(g.path)}addFormArray(g){this._setUpFormContainer(g)}removeFormArray(g){this._cleanUpFormContainer(g)}getFormArray(g){return this.form.get(g.path)}updateModel(g,T){this.form.get(g.path).setValue(T)}onSubmit(g){return this.submitted=!0,Ri(this.form,this.directives),this.ngSubmit.emit(g),!1}onReset(){this.resetForm()}resetForm(g){this.form.reset(g),this.submitted=!1}_updateDomValue(){this.directives.forEach(g=>{const T=g.control,p=this.form.get(g.path);T!==p&&(F(T||null,g),p instanceof li&&(W(p,g),g.control=p))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(g){const T=this.form.get(g.path);Fe(T,g),T.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(g){if(this.form){const T=this.form.get(g.path);T&&function(v,w){return Qt(v,w)}(T,g)&&T.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){He(this.form,this),this._oldForm&&Qt(this._oldForm,this)}_checkFormPresent(){}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(Qe,10),n.Y36(ue,10))},v.\u0275dir=n.lG2({type:v,selectors:[["","formGroup",""]],hostBindings:function(g,T){1&g&&n.NdJ("submit",function(S){return T.onSubmit(S)})("reset",function(){return T.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n._Bn([ln]),n.qOj,n.TTD]}),v})();const Ko={provide:dn,useExisting:(0,n.Gpc)(()=>Ni)};let Ni=(()=>{class v extends dn{constructor(g,T,p,S,b){super(),this._ngModelWarningConfig=b,this._added=!1,this.update=new n.vpe,this._ngModelWarningSent=!1,this._parent=g,this._setValidators(T),this._setAsyncValidators(p),this.valueAccessor=Sn(0,S)}set isDisabled(g){}ngOnChanges(g){this._added||this._setUpControl(),In(g,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(g){this.viewModel=g,this.update.emit(g)}get path(){return Se(null==this.name?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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return v.\u0275fac=function(g){return new(g||v)(n.Y36(ai,13),n.Y36(Qe,10),n.Y36(ue,10),n.Y36(Pe,10),n.Y36(Xe,8))},v.\u0275dir=n.lG2({type:v,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n._Bn([Ko]),n.qOj,n.TTD]}),v._ngModelWarningSentOnce=!1,v})();const gt={provide:Qe,useExisting:(0,n.Gpc)(()=>Jn),multi:!0};let Jn=(()=>{class v{constructor(){this._required=!1}get required(){return this._required}set required(g){this._required=null!=g&&!1!==g&&"false"!=`${g}`,this._onChange&&this._onChange()}validate(g){return this.required?be(g):null}registerOnValidatorChange(g){this._onChange=g}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=n.lG2({type:v,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(g,T){2&g&&n.uIk("required",T.required?"":null)},inputs:{required:"required"},features:[n._Bn([gt])]}),v})();const hs={provide:Qe,useExisting:(0,n.Gpc)(()=>ps),multi:!0};let ps=(()=>{class v{constructor(){this._validator=Ut}ngOnChanges(g){"maxlength"in g&&(this._createValidator(),this._onChange&&this._onChange())}validate(g){return this.enabled()?this._validator(g):null}registerOnValidatorChange(g){this._onChange=g}_createValidator(){this._validator=this.enabled()?Xt(function(v){return"number"==typeof v?v:parseInt(v,10)}(this.maxlength)):Ut}enabled(){return null!=this.maxlength}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=n.lG2({type:v,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(g,T){2&g&&n.uIk("maxlength",T.enabled()?T.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n._Bn([hs]),n.TTD]}),v})();const dr={provide:Qe,useExisting:(0,n.Gpc)(()=>zs),multi:!0};let zs=(()=>{class v{constructor(){this._validator=Ut}ngOnChanges(g){"pattern"in g&&(this._createValidator(),this._onChange&&this._onChange())}validate(g){return this._validator(g)}registerOnValidatorChange(g){this._onChange=g}_createValidator(){this._validator=Nt(this.pattern)}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275dir=n.lG2({type:v,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(g,T){2&g&&n.uIk("pattern",T.pattern?T.pattern:null)},inputs:{pattern:"pattern"},features:[n._Bn([dr]),n.TTD]}),v})(),ts=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=n.oAB({type:v}),v.\u0275inj=n.cJS({imports:[[Ct]]}),v})(),Qs=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=n.oAB({type:v}),v.\u0275inj=n.cJS({imports:[ts]}),v})(),No=(()=>{class v{static withConfig(g){return{ngModule:v,providers:[{provide:Xe,useValue:g.warnOnNgModelWithFormControl}]}}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=n.oAB({type:v}),v.\u0275inj=n.cJS({imports:[ts]}),v})(),y=(()=>{class v{group(g,T=null){const p=this._reduceControls(g);let D,S=null,b=null;return null!=T&&(function(v){return void 0!==v.asyncValidators||void 0!==v.validators||void 0!==v.updateOn}(T)?(S=null!=T.validators?T.validators:null,b=null!=T.asyncValidators?T.asyncValidators:null,D=null!=T.updateOn?T.updateOn:void 0):(S=null!=T.validator?T.validator:null,b=null!=T.asyncValidator?T.asyncValidator:null)),new po(p,{asyncValidators:b,updateOn:D,validators:S})}control(g,T,p){return new li(g,T,p)}array(g,T,p){const S=g.map(b=>this._createControl(b));return new bo(S,T,p)}_reduceControls(g){const T={};return Object.keys(g).forEach(p=>{T[p]=this._createControl(g[p])}),T}_createControl(g){return g instanceof li||g instanceof po||g instanceof bo?g:Array.isArray(g)?this.control(g[0],g.length>1?g[1]:null,g.length>2?g[2]:null):this.control(g)}}return v.\u0275fac=function(g){return new(g||v)},v.\u0275prov=(0,n.Yz7)({factory:function(){return new v},token:v,providedIn:No}),v})()},9075:(bn,Et,J)=>{"use strict";J.d(Et,{b2:()=>pi,H7:()=>At,q6:()=>Vi,se:()=>cn});var n=J(8583),c=J(639);class V extends n.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class pe extends V{static makeCurrent(){(0,n.HT)(new pe)}onAndCancel(Ye,Oe,ht){return Ye.addEventListener(Oe,ht,!1),()=>{Ye.removeEventListener(Oe,ht,!1)}}dispatchEvent(Ye,Oe){Ye.dispatchEvent(Oe)}remove(Ye){Ye.parentNode&&Ye.parentNode.removeChild(Ye)}createElement(Ye,Oe){return(Oe=Oe||this.getDefaultDocument()).createElement(Ye)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ye){return Ye.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ye){return Ye instanceof DocumentFragment}getGlobalEventTarget(Ye,Oe){return"window"===Oe?window:"document"===Oe?Ye:"body"===Oe?Ye.body:null}getBaseHref(Ye){const Oe=(ie=ie||document.querySelector("base"),ie?ie.getAttribute("href"):null);return null==Oe?null:function(it){de=de||document.createElement("a"),de.setAttribute("href",it);const Ye=de.pathname;return"/"===Ye.charAt(0)?Ye:`/${Ye}`}(Oe)}resetBaseElement(){ie=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ye){return(0,n.Mx)(document.cookie,Ye)}}let de,ie=null;const we=new c.OlP("TRANSITION_ID"),xe=[{provide:c.ip1,useFactory:function(it,Ye,Oe){return()=>{Oe.get(c.CZH).donePromise.then(()=>{const ht=(0,n.q)(),Ct=Ye.querySelectorAll(`style[ng-transition="${it}"]`);for(let pn=0;pn<Ct.length;pn++)ht.remove(Ct[pn])})}},deps:[we,n.K0,c.zs3],multi:!0}];class Pe{static init(){(0,c.VLi)(new Pe)}addToWindow(Ye){c.dqk.getAngularTestability=(ht,Ct=!0)=>{const pn=Ye.findTestabilityInTree(ht,Ct);if(null==pn)throw new Error("Could not find testability for element.");return pn},c.dqk.getAllAngularTestabilities=()=>Ye.getAllTestabilities(),c.dqk.getAllAngularRootElements=()=>Ye.getAllRootElements(),c.dqk.frameworkStabilizers||(c.dqk.frameworkStabilizers=[]),c.dqk.frameworkStabilizers.push(ht=>{const Ct=c.dqk.getAllAngularTestabilities();let pn=Ct.length,Ce=!1;const Te=function(oe){Ce=Ce||oe,pn--,0==pn&&ht(Ce)};Ct.forEach(function(oe){oe.whenStable(Te)})})}findTestabilityInTree(Ye,Oe,ht){if(null==Oe)return null;const Ct=Ye.getTestability(Oe);return null!=Ct?Ct:ht?(0,n.q)().isShadowRoot(Oe)?this.findTestabilityInTree(Ye,Oe.host,!0):this.findTestabilityInTree(Ye,Oe.parentElement,!0):null}}let ut=(()=>{class it{build(){return new XMLHttpRequest}}return it.\u0275fac=function(Oe){return new(Oe||it)},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})();const bt=new c.OlP("EventManagerPlugins");let We=(()=>{class it{constructor(Oe,ht){this._zone=ht,this._eventNameToPlugin=new Map,Oe.forEach(Ct=>Ct.manager=this),this._plugins=Oe.slice().reverse()}addEventListener(Oe,ht,Ct){return this._findPluginFor(ht).addEventListener(Oe,ht,Ct)}addGlobalEventListener(Oe,ht,Ct){return this._findPluginFor(ht).addGlobalEventListener(Oe,ht,Ct)}getZone(){return this._zone}_findPluginFor(Oe){const ht=this._eventNameToPlugin.get(Oe);if(ht)return ht;const Ct=this._plugins;for(let pn=0;pn<Ct.length;pn++){const Ce=Ct[pn];if(Ce.supports(Oe))return this._eventNameToPlugin.set(Oe,Ce),Ce}throw new Error(`No event manager plugin found for event ${Oe}`)}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(bt),c.LFG(c.R0b))},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})();class Xt{constructor(Ye){this._doc=Ye}addGlobalEventListener(Ye,Oe,ht){const Ct=(0,n.q)().getGlobalEventTarget(this._doc,Ye);if(!Ct)throw new Error(`Unsupported event target ${Ct} for event ${Oe}`);return this.addEventListener(Ct,Oe,ht)}}let Nt=(()=>{class it{constructor(){this._stylesSet=new Set}addStyles(Oe){const ht=new Set;Oe.forEach(Ct=>{this._stylesSet.has(Ct)||(this._stylesSet.add(Ct),ht.add(Ct))}),this.onStylesAdded(ht)}onStylesAdded(Oe){}getAllStyles(){return Array.from(this._stylesSet)}}return it.\u0275fac=function(Oe){return new(Oe||it)},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})(),Ut=(()=>{class it extends Nt{constructor(Oe){super(),this._doc=Oe,this._hostNodes=new Map,this._hostNodes.set(Oe.head,[])}_addStylesToHost(Oe,ht,Ct){Oe.forEach(pn=>{const Ce=this._doc.createElement("style");Ce.textContent=pn,Ct.push(ht.appendChild(Ce))})}addHost(Oe){const ht=[];this._addStylesToHost(this._stylesSet,Oe,ht),this._hostNodes.set(Oe,ht)}removeHost(Oe){const ht=this._hostNodes.get(Oe);ht&&ht.forEach(zn),this._hostNodes.delete(Oe)}onStylesAdded(Oe){this._hostNodes.forEach((ht,Ct)=>{this._addStylesToHost(Oe,Ct,ht)})}ngOnDestroy(){this._hostNodes.forEach(Oe=>Oe.forEach(zn))}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(n.K0))},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})();function zn(it){(0,n.q)().remove(it)}const kt={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},_n=/%COMP%/g;function mt(it,Ye,Oe){for(let ht=0;ht<Ye.length;ht++){let Ct=Ye[ht];Array.isArray(Ct)?mt(it,Ct,Oe):(Ct=Ct.replace(_n,it),Oe.push(Ct))}return Oe}function on(it){return Ye=>{if("__ngUnwrap__"===Ye)return it;!1===it(Ye)&&(Ye.preventDefault(),Ye.returnValue=!1)}}let cn=(()=>{class it{constructor(Oe,ht,Ct){this.eventManager=Oe,this.sharedStylesHost=ht,this.appId=Ct,this.rendererByCompId=new Map,this.defaultRenderer=new Rn(Oe)}createRenderer(Oe,ht){if(!Oe||!ht)return this.defaultRenderer;switch(ht.encapsulation){case c.ifc.Emulated:{let Ct=this.rendererByCompId.get(ht.id);return Ct||(Ct=new Qn(this.eventManager,this.sharedStylesHost,ht,this.appId),this.rendererByCompId.set(ht.id,Ct)),Ct.applyToHost(Oe),Ct}case 1:case c.ifc.ShadowDom:return new ai(this.eventManager,this.sharedStylesHost,Oe,ht);default:if(!this.rendererByCompId.has(ht.id)){const Ct=mt(ht.id,ht.styles,[]);this.sharedStylesHost.addStyles(Ct),this.rendererByCompId.set(ht.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(We),c.LFG(Ut),c.LFG(c.AFp))},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})();class Rn{constructor(Ye){this.eventManager=Ye,this.data=Object.create(null)}destroy(){}createElement(Ye,Oe){return Oe?document.createElementNS(kt[Oe]||Oe,Ye):document.createElement(Ye)}createComment(Ye){return document.createComment(Ye)}createText(Ye){return document.createTextNode(Ye)}appendChild(Ye,Oe){Ye.appendChild(Oe)}insertBefore(Ye,Oe,ht){Ye&&Ye.insertBefore(Oe,ht)}removeChild(Ye,Oe){Ye&&Ye.removeChild(Oe)}selectRootElement(Ye,Oe){let ht="string"==typeof Ye?document.querySelector(Ye):Ye;if(!ht)throw new Error(`The selector "${Ye}" did not match any elements`);return Oe||(ht.textContent=""),ht}parentNode(Ye){return Ye.parentNode}nextSibling(Ye){return Ye.nextSibling}setAttribute(Ye,Oe,ht,Ct){if(Ct){Oe=Ct+":"+Oe;const pn=kt[Ct];pn?Ye.setAttributeNS(pn,Oe,ht):Ye.setAttribute(Oe,ht)}else Ye.setAttribute(Oe,ht)}removeAttribute(Ye,Oe,ht){if(ht){const Ct=kt[ht];Ct?Ye.removeAttributeNS(Ct,Oe):Ye.removeAttribute(`${ht}:${Oe}`)}else Ye.removeAttribute(Oe)}addClass(Ye,Oe){Ye.classList.add(Oe)}removeClass(Ye,Oe){Ye.classList.remove(Oe)}setStyle(Ye,Oe,ht,Ct){Ct&(c.JOm.DashCase|c.JOm.Important)?Ye.style.setProperty(Oe,ht,Ct&c.JOm.Important?"important":""):Ye.style[Oe]=ht}removeStyle(Ye,Oe,ht){ht&c.JOm.DashCase?Ye.style.removeProperty(Oe):Ye.style[Oe]=""}setProperty(Ye,Oe,ht){Ye[Oe]=ht}setValue(Ye,Oe){Ye.nodeValue=Oe}listen(Ye,Oe,ht){return"string"==typeof Ye?this.eventManager.addGlobalEventListener(Ye,Oe,on(ht)):this.eventManager.addEventListener(Ye,Oe,on(ht))}}class Qn extends Rn{constructor(Ye,Oe,ht,Ct){super(Ye),this.component=ht;const pn=mt(Ct+"-"+ht.id,ht.styles,[]);Oe.addStyles(pn),this.contentAttr="_ngcontent-%COMP%".replace(_n,Ct+"-"+ht.id),this.hostAttr="_nghost-%COMP%".replace(_n,Ct+"-"+ht.id)}applyToHost(Ye){super.setAttribute(Ye,this.hostAttr,"")}createElement(Ye,Oe){const ht=super.createElement(Ye,Oe);return super.setAttribute(ht,this.contentAttr,""),ht}}class ai extends Rn{constructor(Ye,Oe,ht,Ct){super(Ye),this.sharedStylesHost=Oe,this.hostEl=ht,this.shadowRoot=ht.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const pn=mt(Ct.id,Ct.styles,[]);for(let Ce=0;Ce<pn.length;Ce++){const Te=document.createElement("style");Te.textContent=pn[Ce],this.shadowRoot.appendChild(Te)}}nodeOrShadowRoot(Ye){return Ye===this.hostEl?this.shadowRoot:Ye}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ye,Oe){return super.appendChild(this.nodeOrShadowRoot(Ye),Oe)}insertBefore(Ye,Oe,ht){return super.insertBefore(this.nodeOrShadowRoot(Ye),Oe,ht)}removeChild(Ye,Oe){return super.removeChild(this.nodeOrShadowRoot(Ye),Oe)}parentNode(Ye){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ye)))}}let dn=(()=>{class it extends Xt{constructor(Oe){super(Oe)}supports(Oe){return!0}addEventListener(Oe,ht,Ct){return Oe.addEventListener(ht,Ct,!1),()=>this.removeEventListener(Oe,ht,Ct)}removeEventListener(Oe,ht,Ct){return Oe.removeEventListener(ht,Ct)}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(n.K0))},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})();const F=["alt","control","meta","shift"],X={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},He={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},he={alt:it=>it.altKey,control:it=>it.ctrlKey,meta:it=>it.metaKey,shift:it=>it.shiftKey};let Fe=(()=>{class it extends Xt{constructor(Oe){super(Oe)}supports(Oe){return null!=it.parseEventName(Oe)}addEventListener(Oe,ht,Ct){const pn=it.parseEventName(ht),Ce=it.eventCallback(pn.fullKey,Ct,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.q)().onAndCancel(Oe,pn.domEventName,Ce))}static parseEventName(Oe){const ht=Oe.toLowerCase().split("."),Ct=ht.shift();if(0===ht.length||"keydown"!==Ct&&"keyup"!==Ct)return null;const pn=it._normalizeKey(ht.pop());let Ce="";if(F.forEach(oe=>{const Xe=ht.indexOf(oe);Xe>-1&&(ht.splice(Xe,1),Ce+=oe+".")}),Ce+=pn,0!=ht.length||0===pn.length)return null;const Te={};return Te.domEventName=Ct,Te.fullKey=Ce,Te}static getEventFullKey(Oe){let ht="",Ct=function(it){let Ye=it.key;if(null==Ye){if(Ye=it.keyIdentifier,null==Ye)return"Unidentified";Ye.startsWith("U+")&&(Ye=String.fromCharCode(parseInt(Ye.substring(2),16)),3===it.location&&He.hasOwnProperty(Ye)&&(Ye=He[Ye]))}return X[Ye]||Ye}(Oe);return Ct=Ct.toLowerCase()," "===Ct?Ct="space":"."===Ct&&(Ct="dot"),F.forEach(pn=>{pn!=Ct&&he[pn](Oe)&&(ht+=pn+".")}),ht+=Ct,ht}static eventCallback(Oe,ht,Ct){return pn=>{it.getEventFullKey(pn)===Oe&&Ct.runGuarded(()=>ht(pn))}}static _normalizeKey(Oe){switch(Oe){case"esc":return"escape";default:return Oe}}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(n.K0))},it.\u0275prov=c.Yz7({token:it,factory:it.\u0275fac}),it})(),At=(()=>{class it{}return it.\u0275fac=function(Oe){return new(Oe||it)},it.\u0275prov=(0,c.Yz7)({factory:function(){return(0,c.LFG)(In)},token:it,providedIn:"root"}),it})(),In=(()=>{class it extends At{constructor(Oe){super(),this._doc=Oe}sanitize(Oe,ht){if(null==ht)return null;switch(Oe){case c.q3G.NONE:return ht;case c.q3G.HTML:return(0,c.qzn)(ht,"HTML")?(0,c.z3N)(ht):(0,c.EiD)(this._doc,String(ht)).toString();case c.q3G.STYLE:return(0,c.qzn)(ht,"Style")?(0,c.z3N)(ht):ht;case c.q3G.SCRIPT:if((0,c.qzn)(ht,"Script"))return(0,c.z3N)(ht);throw new Error("unsafe value used in a script context");case c.q3G.URL:return(0,c.yhl)(ht),(0,c.qzn)(ht,"URL")?(0,c.z3N)(ht):(0,c.mCW)(String(ht));case c.q3G.RESOURCE_URL:if((0,c.qzn)(ht,"ResourceURL"))return(0,c.z3N)(ht);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${Oe} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(Oe){return(0,c.JVY)(Oe)}bypassSecurityTrustStyle(Oe){return(0,c.L6k)(Oe)}bypassSecurityTrustScript(Oe){return(0,c.eBb)(Oe)}bypassSecurityTrustUrl(Oe){return(0,c.LAX)(Oe)}bypassSecurityTrustResourceUrl(Oe){return(0,c.pB0)(Oe)}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(n.K0))},it.\u0275prov=(0,c.Yz7)({factory:function(){return function(it){return new In(it.get(n.K0))}((0,c.LFG)(c.gxx))},token:it,providedIn:"root"}),it})();const Vi=(0,c.eFA)(c._c5,"browser",[{provide:c.Lbi,useValue:n.bD},{provide:c.g9A,useValue:function(){pe.makeCurrent(),Pe.init()},multi:!0},{provide:n.K0,useFactory:function(){return(0,c.RDi)(document),document},deps:[]}]),Ji=[[],{provide:c.zSh,useValue:"root"},{provide:c.qLn,useFactory:function(){return new c.qLn},deps:[]},{provide:bt,useClass:dn,multi:!0,deps:[n.K0,c.R0b,c.Lbi]},{provide:bt,useClass:Fe,multi:!0,deps:[n.K0]},[],{provide:cn,useClass:cn,deps:[We,Ut,c.AFp]},{provide:c.FYo,useExisting:cn},{provide:Nt,useExisting:Ut},{provide:Ut,useClass:Ut,deps:[n.K0]},{provide:c.dDg,useClass:c.dDg,deps:[c.R0b]},{provide:We,useClass:We,deps:[bt,c.R0b]},{provide:n.JF,useClass:ut,deps:[]},[]];let pi=(()=>{class it{constructor(Oe){if(Oe)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(Oe){return{ngModule:it,providers:[{provide:c.AFp,useValue:Oe.appId},{provide:we,useExisting:c.AFp},xe]}}}return it.\u0275fac=function(Oe){return new(Oe||it)(c.LFG(it,12))},it.\u0275mod=c.oAB({type:it}),it.\u0275inj=c.cJS({providers:Ji,imports:[n.ez,c.hGG]}),it})();"undefined"!=typeof window&&window},9650:(bn,Et,J)=>{"use strict";J.d(Et,{gz:()=>ho,OD:()=>F,F0:()=>Ui,rH:()=>ks,yS:()=>Io,Bz:()=>Va,lC:()=>xa});var n=J(8583),c=J(639),V=J(4869),pe=J(9796),ie=J(7393);class se extends ie.L{notifyNext(A,k,j,K,le){this.destination.next(k)}notifyError(A,k){this.destination.error(A)}notifyComplete(A){this.destination.complete()}}class de extends ie.L{constructor(A,k,j){super(),this.parent=A,this.outerValue=k,this.outerIndex=j,this.index=0}_next(A){this.parent.notifyNext(this.outerValue,A,this.outerIndex,this.index++,this)}_error(A){this.parent.notifyError(A,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var ge=J(7444),we=J(7574);function re(H,A,k,j,K=new de(H,k,j)){if(!K.closed)return A instanceof we.y?A.subscribe(K):(0,ge.s)(A)(K)}var xe=J(6693);const Pe={};class dt{constructor(A){this.resultSelector=A}call(A,k){return k.subscribe(new st(A,this.resultSelector))}}class st extends se{constructor(A,k){super(A),this.resultSelector=k,this.active=0,this.values=[],this.observables=[]}_next(A){this.values.push(Pe),this.observables.push(A)}_complete(){const A=this.observables,k=A.length;if(0===k)this.destination.complete();else{this.active=k,this.toRespond=k;for(let j=0;j<k;j++)this.add(re(this,A[j],void 0,j))}}notifyComplete(A){0==(this.active-=1)&&this.destination.complete()}notifyNext(A,k,j){const K=this.values,ze=this.toRespond?K[j]===Pe?--this.toRespond:this.toRespond:0;K[j]=k,0===ze&&(this.resultSelector?this._tryResultSelector(K):this.destination.next(K.slice()))}_tryResultSelector(A){let k;try{k=this.resultSelector.apply(this,A)}catch(j){return void this.destination.error(j)}this.destination.next(k)}}const Ue=(()=>{function H(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return H.prototype=Object.create(Error.prototype),H})();var Ve=J(4402),ct=J(9193);function je(H){return new we.y(A=>{let k;try{k=H()}catch(K){return void A.error(K)}return(k?(0,Ve.D)(k):(0,ct.c)()).subscribe(A)})}var Qe=J(5917),ue=J(6215),z=J(8071),Le=J(2441),ve=J(9765);function Ie(H,A){let k=!1;return arguments.length>=2&&(k=!0),function(K){return K.lift(new be(H,A,k))}}class be{constructor(A,k,j=!1){this.accumulator=A,this.seed=k,this.hasSeed=j}call(A,k){return k.subscribe(new Be(A,this.accumulator,this.seed,this.hasSeed))}}class Be extends ie.L{constructor(A,k,j,K){super(A),this.accumulator=k,this._seed=j,this.hasSeed=K,this.index=0}get seed(){return this._seed}set seed(A){this.hasSeed=!0,this._seed=A}_next(A){if(this.hasSeed)return this._tryNext(A);this.seed=A,this.destination.next(A)}_tryNext(A){const k=this.index++;let j;try{j=this.accumulator(this.seed,A,k)}catch(K){this.destination.error(K)}this.seed=j,this.destination.next(j)}}var bt=J(5345);function We(H){return function(k){const j=new Xt(H),K=k.lift(j);return j.caught=K}}class Xt{constructor(A){this.selector=A}call(A,k){return k.subscribe(new Nt(A,this.selector,this.caught))}}class Nt extends bt.Ds{constructor(A,k,j){super(A),this.selector=k,this.caught=j}error(A){if(!this.isStopped){let k;try{k=this.selector(A,this.caught)}catch(le){return void super.error(le)}this._unsubscribeAndRecycle();const j=new bt.IY(this);this.add(j);const K=(0,bt.ft)(k,j);K!==j&&this.add(K)}}}var Ut=J(5435),zn=J(7108);function kt(H){return function(k){return 0===H?(0,ct.c)():k.lift(new _n(H))}}class _n{constructor(A){if(this.total=A,this.total<0)throw new zn.W}call(A,k){return k.subscribe(new Ht(A,this.total))}}class Ht extends ie.L{constructor(A,k){super(A),this.total=k,this.ring=new Array,this.count=0}_next(A){const k=this.ring,j=this.total,K=this.count++;k.length<j?k.push(A):k[K%j]=A}_complete(){const A=this.destination;let k=this.count;if(k>0){const j=this.count>=this.total?this.total:this.count,K=this.ring;for(let le=0;le<j;le++){const ze=k++%j;A.next(K[ze])}}A.complete()}}function sn(H=Tt){return A=>A.lift(new tt(H))}class tt{constructor(A){this.errorFactory=A}call(A,k){return k.subscribe(new at(A,this.errorFactory))}}class at extends ie.L{constructor(A,k){super(A),this.errorFactory=k,this.hasValue=!1}_next(A){this.hasValue=!0,this.destination.next(A)}_complete(){if(this.hasValue)return this.destination.complete();{let A;try{A=this.errorFactory()}catch(k){A=k}this.destination.error(A)}}}function Tt(){return new Ue}function et(H=null){return A=>A.lift(new mt(H))}class mt{constructor(A){this.defaultValue=A}call(A,k){return k.subscribe(new on(A,this.defaultValue))}}class on extends ie.L{constructor(A,k){super(A),this.defaultValue=k,this.isEmpty=!0}_next(A){this.isEmpty=!1,this.destination.next(A)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var un=J(4487),Rn=J(5257);function vi(H,A){const k=arguments.length>=2;return j=>j.pipe(H?(0,Ut.h)((K,le)=>H(K,le,j)):un.y,(0,Rn.q)(1),k?et(A):sn(()=>new Ue))}function Ci(){}var Pn=J(9105);function Qn(H,A,k){return function(K){return K.lift(new ai(H,A,k))}}class ai{constructor(A,k,j){this.nextOrObserver=A,this.error=k,this.complete=j}call(A,k){return k.subscribe(new dn(A,this.nextOrObserver,this.error,this.complete))}}class dn extends ie.L{constructor(A,k,j,K){super(A),this._tapNext=Ci,this._tapError=Ci,this._tapComplete=Ci,this._tapError=j||Ci,this._tapComplete=K||Ci,(0,Pn.m)(k)?(this._context=this,this._tapNext=k):k&&(this._context=k,this._tapNext=k.next||Ci,this._tapError=k.error||Ci,this._tapComplete=k.complete||Ci)}_next(A){try{this._tapNext.call(this._context,A)}catch(k){return void this.destination.error(k)}this.destination.next(A)}_error(A){try{this._tapError.call(this._context,A)}catch(k){return void this.destination.error(k)}this.destination.error(A)}_complete(){try{this._tapComplete.call(this._context)}catch(A){return void this.destination.error(A)}return this.destination.complete()}}var Mn=J(8002),si=J(3190),io=J(9761),Qi=J(4612),Pt=J(9773),Je=J(1307),me=J(8939),Se=J(3282);class W{constructor(A,k){this.id=A,this.url=k}}class F extends W{constructor(A,k,j="imperative",K=null){super(A,k),this.navigationTrigger=j,this.restoredState=K}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class U extends W{constructor(A,k,j){super(A,k),this.urlAfterRedirects=j}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class X extends W{constructor(A,k,j){super(A,k),this.reason=j}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class He extends W{constructor(A,k,j){super(A,k),this.error=j}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Qt extends W{constructor(A,k,j,K){super(A,k),this.urlAfterRedirects=j,this.state=K}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends W{constructor(A,k,j,K){super(A,k),this.urlAfterRedirects=j,this.state=K}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ze extends W{constructor(A,k,j,K,le){super(A,k),this.urlAfterRedirects=j,this.state=K,this.shouldActivate=le}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jt extends W{constructor(A,k,j,K){super(A,k),this.urlAfterRedirects=j,this.state=K}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class he extends W{constructor(A,k,j,K){super(A,k),this.urlAfterRedirects=j,this.state=K}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fe{constructor(A){this.route=A}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Lt{constructor(A){this.route=A}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class At{constructor(A){this.snapshot=A}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mn{constructor(A){this.snapshot=A}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class In{constructor(A){this.snapshot=A}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class On{constructor(A){this.snapshot=A}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ri{constructor(A,k,j){this.routerEvent=A,this.position=k,this.anchor=j}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Sn="primary";class _i{constructor(A){this.params=A||{}}has(A){return Object.prototype.hasOwnProperty.call(this.params,A)}get(A){if(this.has(A)){const k=this.params[A];return Array.isArray(k)?k[0]:k}return null}getAll(A){if(this.has(A)){const k=this.params[A];return Array.isArray(k)?k:[k]}return[]}get keys(){return Object.keys(this.params)}}function an(H){return new _i(H)}const Di="ngNavigationCancelingError";function Oi(H){const A=Error("NavigationCancelingError: "+H);return A[Di]=!0,A}function Vi(H,A,k){const j=k.path.split("/");if(j.length>H.length||"full"===k.pathMatch&&(A.hasChildren()||j.length<H.length))return null;const K={};for(let le=0;le<j.length;le++){const ze=j[le],rt=H[le];if(ze.startsWith(":"))K[ze.substring(1)]=rt;else if(ze!==rt.path)return null}return{consumed:H.slice(0,j.length),posParams:K}}function pi(H,A){const k=H?Object.keys(H):void 0,j=A?Object.keys(A):void 0;if(!k||!j||k.length!=j.length)return!1;let K;for(let le=0;le<k.length;le++)if(K=k[le],!uo(H[K],A[K]))return!1;return!0}function uo(H,A){if(Array.isArray(H)&&Array.isArray(A)){if(H.length!==A.length)return!1;const k=[...H].sort(),j=[...A].sort();return k.every((K,le)=>j[le]===K)}return H===A}function Hi(H){return Array.prototype.concat.apply([],H)}function To(H){return H.length>0?H[H.length-1]:null}function Fi(H,A){for(const k in H)H.hasOwnProperty(k)&&A(H[k],k)}function li(H){return(0,c.CqO)(H)?H:(0,c.QGY)(H)?(0,Ve.D)(Promise.resolve(H)):(0,Qe.of)(H)}const bo={exact:function nt(H,A,k){if(!An(H.segments,A.segments)||!$e(H.segments,A.segments,k)||H.numberOfChildren!==A.numberOfChildren)return!1;for(const j in A.children)if(!H.children[j]||!nt(H.children[j],A.children[j],k))return!1;return!0},subset:$},yo={exact:function(H,A){return pi(H,A)},subset:function(H,A){return Object.keys(A).length<=Object.keys(H).length&&Object.keys(A).every(k=>uo(H[k],A[k]))},ignored:()=>!0};function vo(H,A,k){return bo[k.paths](H.root,A.root,k.matrixParams)&&yo[k.queryParams](H.queryParams,A.queryParams)&&!("exact"===k.fragment&&H.fragment!==A.fragment)}function $(H,A,k){return De(H,A,A.segments,k)}function De(H,A,k,j){if(H.segments.length>k.length){const K=H.segments.slice(0,k.length);return!(!An(K,k)||A.hasChildren()||!$e(K,k,j))}if(H.segments.length===k.length){if(!An(H.segments,k)||!$e(H.segments,k,j))return!1;for(const K in A.children)if(!H.children[K]||!$(H.children[K],A.children[K],j))return!1;return!0}{const K=k.slice(0,H.segments.length),le=k.slice(H.segments.length);return!!(An(H.segments,K)&&$e(H.segments,K,j)&&H.children[Sn])&&De(H.children[Sn],A,le,j)}}function $e(H,A,k){return A.every((j,K)=>yo[k](H[K].parameters,j.parameters))}class Vt{constructor(A,k,j){this.root=A,this.queryParams=k,this.fragment=j}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=an(this.queryParams)),this._queryParamMap}toString(){return ht.serialize(this)}}class Bt{constructor(A,k){this.segments=A,this.children=k,this.parent=null,Fi(k,(j,K)=>j.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ct(this)}}class St{constructor(A,k){this.path=A,this.parameters=k}get parameterMap(){return this._parameterMap||(this._parameterMap=an(this.parameters)),this._parameterMap}toString(){return ln(this)}}function An(H,A){return H.length===A.length&&H.every((k,j)=>k.path===A[j].path)}class Ye{}class Oe{parse(A){const k=new oo(A);return new Vt(k.parseRootSegment(),k.parseQueryParams(),k.parseFragment())}serialize(A){var H;return`${`/${pn(A.root,!0)}`}${function(H){const A=Object.keys(H).map(k=>{const j=H[k];return Array.isArray(j)?j.map(K=>`${Te(k)}=${Te(K)}`).join("&"):`${Te(k)}=${Te(j)}`}).filter(k=>!!k);return A.length?`?${A.join("&")}`:""}(A.queryParams)}${"string"==typeof A.fragment?`#${H=A.fragment,encodeURI(H)}`:""}`}}const ht=new Oe;function Ct(H){return H.segments.map(A=>ln(A)).join("/")}function pn(H,A){if(!H.hasChildren())return Ct(H);if(A){const k=H.children[Sn]?pn(H.children[Sn],!1):"",j=[];return Fi(H.children,(K,le)=>{le!==Sn&&j.push(`${le}:${pn(K,!1)}`)}),j.length>0?`${k}(${j.join("//")})`:k}{const k=function(H,A){let k=[];return Fi(H.children,(j,K)=>{K===Sn&&(k=k.concat(A(j,K)))}),Fi(H.children,(j,K)=>{K!==Sn&&(k=k.concat(A(j,K)))}),k}(H,(j,K)=>K===Sn?[pn(H.children[Sn],!1)]:[`${K}:${pn(j,!1)}`]);return 1===Object.keys(H.children).length&&null!=H.children[Sn]?`${Ct(H)}/${k[0]}`:`${Ct(H)}/(${k.join("//")})`}}function Ce(H){return encodeURIComponent(H).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Te(H){return Ce(H).replace(/%3B/gi,";")}function Xe(H){return Ce(H).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Dt(H){return decodeURIComponent(H)}function zt(H){return Dt(H.replace(/\+/g,"%20"))}function ln(H){return`${Xe(H.path)}${function(H){return Object.keys(H).map(A=>`;${Xe(A)}=${Xe(H[A])}`).join("")}(H.parameters)}`}const wn=/^[^\/()?;=#]+/;function Yn(H){const A=H.match(wn);return A?A[0]:""}const Li=/^[^=?&#]+/,Ko=/^[^?&#]+/;class oo{constructor(A){this.url=A,this.remaining=A}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Bt([],{}):new Bt([],this.parseChildren())}parseQueryParams(){const A={};if(this.consumeOptional("?"))do{this.parseQueryParam(A)}while(this.consumeOptional("&"));return A}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const A=[];for(this.peekStartsWith("(")||A.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),A.push(this.parseSegment());let k={};this.peekStartsWith("/(")&&(this.capture("/"),k=this.parseParens(!0));let j={};return this.peekStartsWith("(")&&(j=this.parseParens(!1)),(A.length>0||Object.keys(k).length>0)&&(j[Sn]=new Bt(A,k)),j}parseSegment(){const A=Yn(this.remaining);if(""===A&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(A),new St(Dt(A),this.parseMatrixParams())}parseMatrixParams(){const A={};for(;this.consumeOptional(";");)this.parseParam(A);return A}parseParam(A){const k=Yn(this.remaining);if(!k)return;this.capture(k);let j="";if(this.consumeOptional("=")){const K=Yn(this.remaining);K&&(j=K,this.capture(j))}A[Dt(k)]=Dt(j)}parseQueryParam(A){const k=function(H){const A=H.match(Li);return A?A[0]:""}(this.remaining);if(!k)return;this.capture(k);let j="";if(this.consumeOptional("=")){const ze=function(H){const A=H.match(Ko);return A?A[0]:""}(this.remaining);ze&&(j=ze,this.capture(j))}const K=zt(k),le=zt(j);if(A.hasOwnProperty(K)){let ze=A[K];Array.isArray(ze)||(ze=[ze],A[K]=ze),ze.push(le)}else A[K]=le}parseParens(A){const k={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const j=Yn(this.remaining),K=this.remaining[j.length];if("/"!==K&&")"!==K&&";"!==K)throw new Error(`Cannot parse url '${this.url}'`);let le;j.indexOf(":")>-1?(le=j.substr(0,j.indexOf(":")),this.capture(le),this.capture(":")):A&&(le=Sn);const ze=this.parseChildren();k[le]=1===Object.keys(ze).length?ze[Sn]:new Bt([],ze),this.consumeOptional("//")}return k}peekStartsWith(A){return this.remaining.startsWith(A)}consumeOptional(A){return!!this.peekStartsWith(A)&&(this.remaining=this.remaining.substring(A.length),!0)}capture(A){if(!this.consumeOptional(A))throw new Error(`Expected "${A}".`)}}class Co{constructor(A){this._root=A}get root(){return this._root.value}parent(A){const k=this.pathFromRoot(A);return k.length>1?k[k.length-2]:null}children(A){const k=So(A,this._root);return k?k.children.map(j=>j.value):[]}firstChild(A){const k=So(A,this._root);return k&&k.children.length>0?k.children[0].value:null}siblings(A){const k=fi(A,this._root);return k.length<2?[]:k[k.length-2].children.map(K=>K.value).filter(K=>K!==A)}pathFromRoot(A){return fi(A,this._root).map(k=>k.value)}}function So(H,A){if(H===A.value)return A;for(const k of A.children){const j=So(H,k);if(j)return j}return null}function fi(H,A){if(H===A.value)return[A];for(const k of A.children){const j=fi(H,k);if(j.length)return j.unshift(A),j}return[]}class Do{constructor(A,k){this.value=A,this.children=k}toString(){return`TreeNode(${this.value})`}}function Yi(H){const A={};return H&&H.children.forEach(k=>A[k.value.outlet]=k),A}class ro extends Co{constructor(A,k){super(A),this.snapshot=k,xt(this,A)}toString(){return this.snapshot.toString()}}function zo(H,A){const k=function(H,A){const ze=new $i([],{},{},"",{},Sn,A,null,H.root,-1,{});return new ke("",new Do(ze,[]))}(H,A),j=new ue.X([new St("",{})]),K=new ue.X({}),le=new ue.X({}),ze=new ue.X({}),rt=new ue.X(""),Zt=new ho(j,K,ze,rt,le,Sn,A,k.root);return Zt.snapshot=k.root,new ro(new Do(Zt,[]),k)}class ho{constructor(A,k,j,K,le,ze,rt,Zt){this.url=A,this.params=k,this.queryParams=j,this.fragment=K,this.data=le,this.outlet=ze,this.component=rt,this._futureSnapshot=Zt}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Mn.U)(A=>an(A)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Mn.U)(A=>an(A)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ki(H,A="emptyOnly"){const k=H.pathFromRoot;let j=0;if("always"!==A)for(j=k.length-1;j>=1;){const K=k[j],le=k[j-1];if(K.routeConfig&&""===K.routeConfig.path)j--;else{if(le.component)break;j--}}return function(H){return H.reduce((A,k)=>({params:Object.assign(Object.assign({},A.params),k.params),data:Object.assign(Object.assign({},A.data),k.data),resolve:Object.assign(Object.assign({},A.resolve),k._resolvedData)}),{params:{},data:{},resolve:{}})}(k.slice(j))}class $i{constructor(A,k,j,K,le,ze,rt,Zt,En,Gn,wi){this.url=A,this.params=k,this.queryParams=j,this.fragment=K,this.data=le,this.outlet=ze,this.component=rt,this.routeConfig=Zt,this._urlSegment=En,this._lastPathIndex=Gn,this._resolve=wi}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=an(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=an(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(j=>j.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ke extends Co{constructor(A,k){super(k),this.url=A,xt(this,k)}toString(){return Y(this._root)}}function xt(H,A){A.value._routerState=H,A.children.forEach(k=>xt(H,k))}function Y(H){const A=H.children.length>0?` { ${H.children.map(Y).join(", ")} } `:"";return`${H.value}${A}`}function Ae(H){if(H.snapshot){const A=H.snapshot,k=H._futureSnapshot;H.snapshot=k,pi(A.queryParams,k.queryParams)||H.queryParams.next(k.queryParams),A.fragment!==k.fragment&&H.fragment.next(k.fragment),pi(A.params,k.params)||H.params.next(k.params),function(H,A){if(H.length!==A.length)return!1;for(let k=0;k<H.length;++k)if(!pi(H[k],A[k]))return!1;return!0}(A.url,k.url)||H.url.next(k.url),pi(A.data,k.data)||H.data.next(k.data)}else H.snapshot=H._futureSnapshot,H.data.next(H._futureSnapshot.data)}function gt(H,A){return pi(H.params,A.params)&&function(H,A){return An(H,A)&&H.every((k,j)=>pi(k.parameters,A[j].parameters))}(H.url,A.url)&&!(!H.parent!=!A.parent)&&(!H.parent||gt(H.parent,A.parent))}function Jn(H,A,k){if(k&&H.shouldReuseRoute(A.value,k.value.snapshot)){const j=k.value;j._futureSnapshot=A.value;const K=function(H,A,k){return A.children.map(j=>{for(const K of k.children)if(H.shouldReuseRoute(j.value,K.value.snapshot))return Jn(H,j,K);return Jn(H,j)})}(H,A,k);return new Do(j,K)}{if(H.shouldAttach(A.value)){const le=H.retrieve(A.value);if(null!==le){const ze=le.route;return go(A,ze),ze}}const j=function(H){return new ho(new ue.X(H.url),new ue.X(H.params),new ue.X(H.queryParams),new ue.X(H.fragment),new ue.X(H.data),H.outlet,H.component,H)}(A.value),K=A.children.map(le=>Jn(H,le));return new Do(j,K)}}function go(H,A){if(H.value.routeConfig!==A.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(H.children.length!==A.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");A.value._futureSnapshot=H.value;for(let k=0;k<H.children.length;++k)go(H.children[k],A.children[k])}function $o(H){return"object"==typeof H&&null!=H&&!H.outlets&&!H.segmentPath}function hs(H){return"object"==typeof H&&null!=H&&H.outlets}function ps(H,A,k,j,K){let le={};return j&&Fi(j,(ze,rt)=>{le[rt]=Array.isArray(ze)?ze.map(Zt=>`${Zt}`):`${ze}`}),new Vt(k.root===H?A:dr(k.root,H,A),le,K)}function dr(H,A,k){const j={};return Fi(H.children,(K,le)=>{j[le]=K===A?k:dr(K,A,k)}),new Bt(H.segments,j)}class zs{constructor(A,k,j){if(this.isAbsolute=A,this.numberOfDoubleDots=k,this.commands=j,A&&j.length>0&&$o(j[0]))throw new Error("Root segment cannot have matrix parameters");const K=j.find(hs);if(K&&K!==To(j))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uo{constructor(A,k,j){this.segmentGroup=A,this.processChildren=k,this.index=j}}function No(H,A,k){if(H||(H=new Bt([],{})),0===H.segments.length&&H.hasChildren())return ls(H,A,k);const j=function(H,A,k){let j=0,K=A;const le={match:!1,pathIndex:0,commandIndex:0};for(;K<H.segments.length;){if(j>=k.length)return le;const ze=H.segments[K],rt=k[j];if(hs(rt))break;const Zt=`${rt}`,En=j<k.length-1?k[j+1]:null;if(K>0&&void 0===Zt)break;if(Zt&&En&&"object"==typeof En&&void 0===En.outlets){if(!g(Zt,En,ze))return le;j+=2}else{if(!g(Zt,{},ze))return le;j++}K++}return{match:!0,pathIndex:K,commandIndex:j}}(H,A,k),K=k.slice(j.commandIndex);if(j.match&&j.pathIndex<H.segments.length){const le=new Bt(H.segments.slice(0,j.pathIndex),{});return le.children[Sn]=new Bt(H.segments.slice(j.pathIndex),H.children),ls(le,0,K)}return j.match&&0===K.length?new Bt(H.segments,{}):j.match&&!H.hasChildren()?P(H,A,k):j.match?ls(H,0,K):P(H,A,k)}function ls(H,A,k){if(0===k.length)return new Bt(H.segments,{});{const j=function(H){return hs(H[0])?H[0].outlets:{[Sn]:H}}(k),K={};return Fi(j,(le,ze)=>{"string"==typeof le&&(le=[le]),null!==le&&(K[ze]=No(H.children[ze],A,le))}),Fi(H.children,(le,ze)=>{void 0===j[ze]&&(K[ze]=le)}),new Bt(H.segments,K)}}function P(H,A,k){const j=H.segments.slice(0,A);let K=0;for(;K<k.length;){const le=k[K];if(hs(le)){const Zt=v(le.outlets);return new Bt(j,Zt)}if(0===K&&$o(k[0])){j.push(new St(H.segments[A].path,w(k[0]))),K++;continue}const ze=hs(le)?le.outlets[Sn]:`${le}`,rt=K<k.length-1?k[K+1]:null;ze&&rt&&$o(rt)?(j.push(new St(ze,w(rt))),K+=2):(j.push(new St(ze,{})),K++)}return new Bt(j,{})}function v(H){const A={};return Fi(H,(k,j)=>{"string"==typeof k&&(k=[k]),null!==k&&(A[j]=P(new Bt([],{}),0,k))}),A}function w(H){const A={};return Fi(H,(k,j)=>A[j]=`${k}`),A}function g(H,A,k){return H==k.path&&pi(A,k.parameters)}class p{constructor(A,k,j,K){this.routeReuseStrategy=A,this.futureState=k,this.currState=j,this.forwardEvent=K}activate(A){const k=this.futureState._root,j=this.currState?this.currState._root:null;this.deactivateChildRoutes(k,j,A),Ae(this.futureState.root),this.activateChildRoutes(k,j,A)}deactivateChildRoutes(A,k,j){const K=Yi(k);A.children.forEach(le=>{const ze=le.value.outlet;this.deactivateRoutes(le,K[ze],j),delete K[ze]}),Fi(K,(le,ze)=>{this.deactivateRouteAndItsChildren(le,j)})}deactivateRoutes(A,k,j){const K=A.value,le=k?k.value:null;if(K===le)if(K.component){const ze=j.getContext(K.outlet);ze&&this.deactivateChildRoutes(A,k,ze.children)}else this.deactivateChildRoutes(A,k,j);else le&&this.deactivateRouteAndItsChildren(k,j)}deactivateRouteAndItsChildren(A,k){this.routeReuseStrategy.shouldDetach(A.value.snapshot)?this.detachAndStoreRouteSubtree(A,k):this.deactivateRouteAndOutlet(A,k)}detachAndStoreRouteSubtree(A,k){const j=k.getContext(A.value.outlet);if(j&&j.outlet){const K=j.outlet.detach(),le=j.children.onOutletDeactivated();this.routeReuseStrategy.store(A.value.snapshot,{componentRef:K,route:A,contexts:le})}}deactivateRouteAndOutlet(A,k){const j=k.getContext(A.value.outlet),K=j&&A.value.component?j.children:k,le=Yi(A);for(const ze of Object.keys(le))this.deactivateRouteAndItsChildren(le[ze],K);j&&j.outlet&&(j.outlet.deactivate(),j.children.onOutletDeactivated(),j.attachRef=null,j.resolver=null,j.route=null)}activateChildRoutes(A,k,j){const K=Yi(k);A.children.forEach(le=>{this.activateRoutes(le,K[le.value.outlet],j),this.forwardEvent(new On(le.value.snapshot))}),A.children.length&&this.forwardEvent(new mn(A.value.snapshot))}activateRoutes(A,k,j){const K=A.value,le=k?k.value:null;if(Ae(K),K===le)if(K.component){const ze=j.getOrCreateContext(K.outlet);this.activateChildRoutes(A,k,ze.children)}else this.activateChildRoutes(A,k,j);else if(K.component){const ze=j.getOrCreateContext(K.outlet);if(this.routeReuseStrategy.shouldAttach(K.snapshot)){const rt=this.routeReuseStrategy.retrieve(K.snapshot);this.routeReuseStrategy.store(K.snapshot,null),ze.children.onOutletReAttached(rt.contexts),ze.attachRef=rt.componentRef,ze.route=rt.route.value,ze.outlet&&ze.outlet.attach(rt.componentRef,rt.route.value),S(rt.route)}else{const rt=function(H){for(let A=H.parent;A;A=A.parent){const k=A.routeConfig;if(k&&k._loadedConfig)return k._loadedConfig;if(k&&k.component)return null}return null}(K.snapshot),Zt=rt?rt.module.componentFactoryResolver:null;ze.attachRef=null,ze.route=K,ze.resolver=Zt,ze.outlet&&ze.outlet.activateWith(K,Zt),this.activateChildRoutes(A,null,ze.children)}}else this.activateChildRoutes(A,null,j)}}function S(H){Ae(H.value),H.children.forEach(S)}class D{constructor(A,k){this.routes=A,this.module=k}}function I(H){return"function"==typeof H}function te(H){return H instanceof Vt}const Un=Symbol("INITIAL_VALUE");function Nn(){return(0,si.w)(H=>function(...H){let A,k;return(0,V.K)(H[H.length-1])&&(k=H.pop()),"function"==typeof H[H.length-1]&&(A=H.pop()),1===H.length&&(0,pe.k)(H[0])&&(H=H[0]),(0,xe.n)(H,k).lift(new dt(A))}(H.map(A=>A.pipe((0,Rn.q)(1),(0,io.O)(Un)))).pipe(Ie((A,k)=>{let j=!1;return k.reduce((K,le,ze)=>K!==Un?K:(le===Un&&(j=!0),j||!1!==le&&ze!==k.length-1&&!te(le)?K:le),A)},Un),(0,Ut.h)(A=>A!==Un),(0,Mn.U)(A=>te(A)?A:!0===A),(0,Rn.q)(1)))}let ii=(()=>{class H{}return H.\u0275fac=function(k){return new(k||H)},H.\u0275cmp=c.Xpm({type:H,selectors:[["ng-component"]],decls:1,vars:0,template:function(k,j){1&k&&c._UZ(0,"router-outlet")},directives:function(){return[xa]},encapsulation:2}),H})();function Dn(H,A=""){for(let k=0;k<H.length;k++){const j=H[k];xn(j,Zi(A,j))}}function xn(H,A){H.children&&Dn(H.children,A)}function Zi(H,A){return A?H||A.path?H&&!A.path?`${H}/`:!H&&A.path?A.path:`${H}/${A.path}`:"":H}function ci(H){const A=H.children&&H.children.map(ci),k=A?Object.assign(Object.assign({},H),{children:A}):Object.assign({},H);return!k.component&&(A||k.loadChildren)&&k.outlet&&k.outlet!==Sn&&(k.component=ii),k}function Wn(H){return H.outlet||Sn}function ms(H,A){const k=H.filter(j=>Wn(j)===A);return k.push(...H.filter(j=>Wn(j)!==A)),k}const jo={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function ao(H,A,k){var j;if(""===A.path)return"full"===A.pathMatch&&(H.hasChildren()||k.length>0)?Object.assign({},jo):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const le=(A.matcher||Vi)(k,H,A);if(!le)return Object.assign({},jo);const ze={};Fi(le.posParams,(Zt,En)=>{ze[En]=Zt.path});const rt=le.consumed.length>0?Object.assign(Object.assign({},ze),le.consumed[le.consumed.length-1].parameters):ze;return{matched:!0,consumedSegments:le.consumed,lastChild:le.consumed.length,parameters:rt,positionalParamSegments:null!==(j=le.posParams)&&void 0!==j?j:{}}}function Xi(H,A,k,j,K="corrected"){if(k.length>0&&function(H,A,k){return k.some(j=>cs(H,A,j)&&Wn(j)!==Sn)}(H,k,j)){const ze=new Bt(A,function(H,A,k,j){const K={};K[Sn]=j,j._sourceSegment=H,j._segmentIndexShift=A.length;for(const le of k)if(""===le.path&&Wn(le)!==Sn){const ze=new Bt([],{});ze._sourceSegment=H,ze._segmentIndexShift=A.length,K[Wn(le)]=ze}return K}(H,A,j,new Bt(k,H.children)));return ze._sourceSegment=H,ze._segmentIndexShift=A.length,{segmentGroup:ze,slicedSegments:[]}}if(0===k.length&&function(H,A,k){return k.some(j=>cs(H,A,j))}(H,k,j)){const ze=new Bt(H.segments,function(H,A,k,j,K,le){const ze={};for(const rt of j)if(cs(H,k,rt)&&!K[Wn(rt)]){const Zt=new Bt([],{});Zt._sourceSegment=H,Zt._segmentIndexShift="legacy"===le?H.segments.length:A.length,ze[Wn(rt)]=Zt}return Object.assign(Object.assign({},K),ze)}(H,A,k,j,H.children,K));return ze._sourceSegment=H,ze._segmentIndexShift=A.length,{segmentGroup:ze,slicedSegments:k}}const le=new Bt(H.segments,H.children);return le._sourceSegment=H,le._segmentIndexShift=A.length,{segmentGroup:le,slicedSegments:k}}function cs(H,A,k){return(!(H.hasChildren()||A.length>0)||"full"!==k.pathMatch)&&""===k.path}function Js(H,A,k,j){return!!(Wn(H)===j||j!==Sn&&cs(A,k,H))&&("**"===H.path||ao(A,H,k).matched)}function Kn(H,A,k){return 0===A.length&&!H.children[k]}class Ds{constructor(A){this.segmentGroup=A||null}}class zi{constructor(A){this.urlTree=A}}function bs(H){return new we.y(A=>A.error(new Ds(H)))}function Us(H){return new we.y(A=>A.error(new zi(H)))}function Zo(H){return new we.y(A=>A.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${H}'`)))}class tn{constructor(A,k,j,K,le){this.configLoader=k,this.urlSerializer=j,this.urlTree=K,this.config=le,this.allowRedirects=!0,this.ngModule=A.get(c.h0i)}apply(){const A=Xi(this.urlTree.root,[],[],this.config).segmentGroup,k=new Bt(A.segments,A.children);return this.expandSegmentGroup(this.ngModule,this.config,k,Sn).pipe((0,Mn.U)(le=>this.createUrlTree(Tr(le),this.urlTree.queryParams,this.urlTree.fragment))).pipe(We(le=>{if(le instanceof zi)return this.allowRedirects=!1,this.match(le.urlTree);throw le instanceof Ds?this.noMatchError(le):le}))}match(A){return this.expandSegmentGroup(this.ngModule,this.config,A.root,Sn).pipe((0,Mn.U)(K=>this.createUrlTree(Tr(K),A.queryParams,A.fragment))).pipe(We(K=>{throw K instanceof Ds?this.noMatchError(K):K}))}noMatchError(A){return new Error(`Cannot match any routes. URL Segment: '${A.segmentGroup}'`)}createUrlTree(A,k,j){const K=A.segments.length>0?new Bt([],{[Sn]:A}):A;return new Vt(K,k,j)}expandSegmentGroup(A,k,j,K){return 0===j.segments.length&&j.hasChildren()?this.expandChildren(A,k,j).pipe((0,Mn.U)(le=>new Bt([],le))):this.expandSegment(A,j,k,j.segments,K,!0)}expandChildren(A,k,j){const K=[];for(const le of Object.keys(j.children))"primary"===le?K.unshift(le):K.push(le);return(0,Ve.D)(K).pipe((0,Qi.b)(le=>{const ze=j.children[le],rt=ms(k,le);return this.expandSegmentGroup(A,rt,ze,le).pipe((0,Mn.U)(Zt=>({segment:Zt,outlet:le})))}),Ie((le,ze)=>(le[ze.outlet]=ze.segment,le),{}),function(H,A){const k=arguments.length>=2;return j=>j.pipe(H?(0,Ut.h)((K,le)=>H(K,le,j)):un.y,kt(1),k?et(A):sn(()=>new Ue))}())}expandSegment(A,k,j,K,le,ze){return(0,Ve.D)(j).pipe((0,Qi.b)(rt=>this.expandSegmentAgainstRoute(A,k,j,rt,K,le,ze).pipe(We(En=>{if(En instanceof Ds)return(0,Qe.of)(null);throw En}))),vi(rt=>!!rt),We((rt,Zt)=>{if(rt instanceof Ue||"EmptyError"===rt.name){if(Kn(k,K,le))return(0,Qe.of)(new Bt([],{}));throw new Ds(k)}throw rt}))}expandSegmentAgainstRoute(A,k,j,K,le,ze,rt){return Js(K,k,le,ze)?void 0===K.redirectTo?this.matchSegmentAgainstRoute(A,k,K,le,ze):rt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(A,k,j,K,le,ze):bs(k):bs(k)}expandSegmentAgainstRouteUsingRedirect(A,k,j,K,le,ze){return"**"===K.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(A,j,K,ze):this.expandRegularSegmentAgainstRouteUsingRedirect(A,k,j,K,le,ze)}expandWildCardWithParamsAgainstRouteUsingRedirect(A,k,j,K){const le=this.applyRedirectCommands([],j.redirectTo,{});return j.redirectTo.startsWith("/")?Us(le):this.lineralizeSegments(j,le).pipe((0,Pt.zg)(ze=>{const rt=new Bt(ze,{});return this.expandSegment(A,rt,k,ze,K,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(A,k,j,K,le,ze){const{matched:rt,consumedSegments:Zt,lastChild:En,positionalParamSegments:Gn}=ao(k,K,le);if(!rt)return bs(k);const wi=this.applyRedirectCommands(Zt,K.redirectTo,Gn);return K.redirectTo.startsWith("/")?Us(wi):this.lineralizeSegments(K,wi).pipe((0,Pt.zg)(lo=>this.expandSegment(A,k,j,lo.concat(le.slice(En)),ze,!1)))}matchSegmentAgainstRoute(A,k,j,K,le){if("**"===j.path)return j.loadChildren?(j._loadedConfig?(0,Qe.of)(j._loadedConfig):this.configLoader.load(A.injector,j)).pipe((0,Mn.U)(lo=>(j._loadedConfig=lo,new Bt(K,{})))):(0,Qe.of)(new Bt(K,{}));const{matched:ze,consumedSegments:rt,lastChild:Zt}=ao(k,j,K);if(!ze)return bs(k);const En=K.slice(Zt);return this.getChildConfig(A,j,K).pipe((0,Pt.zg)(wi=>{const lo=wi.module,Ai=wi.routes,{segmentGroup:qr,slicedSegments:Dr}=Xi(k,rt,En,Ai),sr=new Bt(qr.segments,qr.children);if(0===Dr.length&&sr.hasChildren())return this.expandChildren(lo,Ai,sr).pipe((0,Mn.U)(Da=>new Bt(rt,Da)));if(0===Ai.length&&0===Dr.length)return(0,Qe.of)(new Bt(rt,{}));const Ha=Wn(j)===le;return this.expandSegment(lo,sr,Ai,Dr,Ha?Sn:le,!0).pipe((0,Mn.U)(eo=>new Bt(rt.concat(eo.segments),eo.children)))}))}getChildConfig(A,k,j){return k.children?(0,Qe.of)(new D(k.children,A)):k.loadChildren?void 0!==k._loadedConfig?(0,Qe.of)(k._loadedConfig):this.runCanLoadGuards(A.injector,k,j).pipe((0,Pt.zg)(K=>{return K?this.configLoader.load(A.injector,k).pipe((0,Mn.U)(le=>(k._loadedConfig=le,le))):(H=k,new we.y(A=>A.error(Oi(`Cannot load children because the guard of the route "path: '${H.path}'" returned false`))));var H})):(0,Qe.of)(new D([],A))}runCanLoadGuards(A,k,j){const K=k.canLoad;if(!K||0===K.length)return(0,Qe.of)(!0);const le=K.map(ze=>{const rt=A.get(ze);let Zt;if((H=rt)&&I(H.canLoad))Zt=rt.canLoad(k,j);else{if(!I(rt))throw new Error("Invalid CanLoad guard");Zt=rt(k,j)}var H;return li(Zt)});return(0,Qe.of)(le).pipe(Nn(),Qn(ze=>{if(!te(ze))return;const rt=Oi(`Redirecting to "${this.urlSerializer.serialize(ze)}"`);throw rt.url=ze,rt}),(0,Mn.U)(ze=>!0===ze))}lineralizeSegments(A,k){let j=[],K=k.root;for(;;){if(j=j.concat(K.segments),0===K.numberOfChildren)return(0,Qe.of)(j);if(K.numberOfChildren>1||!K.children[Sn])return Zo(A.redirectTo);K=K.children[Sn]}}applyRedirectCommands(A,k,j){return this.applyRedirectCreatreUrlTree(k,this.urlSerializer.parse(k),A,j)}applyRedirectCreatreUrlTree(A,k,j,K){const le=this.createSegmentGroup(A,k.root,j,K);return new Vt(le,this.createQueryParams(k.queryParams,this.urlTree.queryParams),k.fragment)}createQueryParams(A,k){const j={};return Fi(A,(K,le)=>{if("string"==typeof K&&K.startsWith(":")){const rt=K.substring(1);j[le]=k[rt]}else j[le]=K}),j}createSegmentGroup(A,k,j,K){const le=this.createSegments(A,k.segments,j,K);let ze={};return Fi(k.children,(rt,Zt)=>{ze[Zt]=this.createSegmentGroup(A,rt,j,K)}),new Bt(le,ze)}createSegments(A,k,j,K){return k.map(le=>le.path.startsWith(":")?this.findPosParam(A,le,K):this.findOrReturn(le,j))}findPosParam(A,k,j){const K=j[k.path.substring(1)];if(!K)throw new Error(`Cannot redirect to '${A}'. Cannot find '${k.path}'.`);return K}findOrReturn(A,k){let j=0;for(const K of k){if(K.path===A.path)return k.splice(j),K;j++}return A}}function Tr(H){const A={};for(const j of Object.keys(H.children)){const le=Tr(H.children[j]);(le.segments.length>0||le.hasChildren())&&(A[j]=le)}return function(H){if(1===H.numberOfChildren&&H.children[Sn]){const A=H.children[Sn];return new Bt(H.segments.concat(A.segments),A.children)}return H}(new Bt(H.segments,A))}class Xr{constructor(A){this.path=A,this.route=this.path[this.path.length-1]}}class ys{constructor(A,k){this.component=A,this.route=k}}function us(H,A,k){const j=H._root;return fr(j,A?A._root:null,k,[j.value])}function Ks(H,A,k){const j=function(H){if(!H)return null;for(let A=H.parent;A;A=A.parent){const k=A.routeConfig;if(k&&k._loadedConfig)return k._loadedConfig}return null}(A);return(j?j.module.injector:k).get(H)}function fr(H,A,k,j,K={canDeactivateChecks:[],canActivateChecks:[]}){const le=Yi(A);return H.children.forEach(ze=>{(function(H,A,k,j,K={canDeactivateChecks:[],canActivateChecks:[]}){const le=H.value,ze=A?A.value:null,rt=k?k.getContext(H.value.outlet):null;if(ze&&le.routeConfig===ze.routeConfig){const Zt=function(H,A,k){if("function"==typeof k)return k(H,A);switch(k){case"pathParamsChange":return!An(H.url,A.url);case"pathParamsOrQueryParamsChange":return!An(H.url,A.url)||!pi(H.queryParams,A.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gt(H,A)||!pi(H.queryParams,A.queryParams);case"paramsChange":default:return!gt(H,A)}}(ze,le,le.routeConfig.runGuardsAndResolvers);Zt?K.canActivateChecks.push(new Xr(j)):(le.data=ze.data,le._resolvedData=ze._resolvedData),fr(H,A,le.component?rt?rt.children:null:k,j,K),Zt&&rt&&rt.outlet&&rt.outlet.isActivated&&K.canDeactivateChecks.push(new ys(rt.outlet.component,ze))}else ze&&yi(A,rt,K),K.canActivateChecks.push(new Xr(j)),fr(H,null,le.component?rt?rt.children:null:k,j,K)})(ze,le[ze.value.outlet],k,j.concat([ze.value]),K),delete le[ze.value.outlet]}),Fi(le,(ze,rt)=>yi(ze,k.getContext(rt),K)),K}function yi(H,A,k){const j=Yi(H),K=H.value;Fi(j,(le,ze)=>{yi(le,K.component?A?A.children.getContext(ze):null:A,k)}),k.canDeactivateChecks.push(new ys(K.component&&A&&A.outlet&&A.outlet.isActivated?A.outlet.component:null,K))}class vs{}function tr(H){return new we.y(A=>A.error(H))}class Vr{constructor(A,k,j,K,le,ze){this.rootComponentType=A,this.config=k,this.urlTree=j,this.url=K,this.paramsInheritanceStrategy=le,this.relativeLinkResolution=ze}recognize(){const A=Xi(this.urlTree.root,[],[],this.config.filter(ze=>void 0===ze.redirectTo),this.relativeLinkResolution).segmentGroup,k=this.processSegmentGroup(this.config,A,Sn);if(null===k)return null;const j=new $i([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Sn,this.rootComponentType,null,this.urlTree.root,-1,{}),K=new Do(j,k),le=new ke(this.url,K);return this.inheritParamsAndData(le._root),le}inheritParamsAndData(A){const k=A.value,j=ki(k,this.paramsInheritanceStrategy);k.params=Object.freeze(j.params),k.data=Object.freeze(j.data),A.children.forEach(K=>this.inheritParamsAndData(K))}processSegmentGroup(A,k,j){return 0===k.segments.length&&k.hasChildren()?this.processChildren(A,k):this.processSegment(A,k,k.segments,j)}processChildren(A,k){const j=[];for(const le of Object.keys(k.children)){const ze=k.children[le],rt=ms(A,le),Zt=this.processSegmentGroup(rt,ze,le);if(null===Zt)return null;j.push(...Zt)}const K=Hr(j);return K.sort((A,k)=>A.value.outlet===Sn?-1:k.value.outlet===Sn?1:A.value.outlet.localeCompare(k.value.outlet)),K}processSegment(A,k,j,K){for(const le of A){const ze=this.processSegmentAgainstRoute(le,k,j,K);if(null!==ze)return ze}return Kn(k,j,K)?[]:null}processSegmentAgainstRoute(A,k,j,K){if(A.redirectTo||!Js(A,k,j,K))return null;let le,ze=[],rt=[];if("**"===A.path){const Ai=j.length>0?To(j).parameters:{};le=new $i(j,Ai,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ir(A),Wn(A),A.component,A,gr(k),mr(k)+j.length,Vs(A))}else{const Ai=ao(k,A,j);if(!Ai.matched)return null;ze=Ai.consumedSegments,rt=j.slice(Ai.lastChild),le=new $i(ze,Ai.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,ir(A),Wn(A),A.component,A,gr(k),mr(k)+ze.length,Vs(A))}const Zt=(H=A).children?H.children:H.loadChildren?H._loadedConfig.routes:[],{segmentGroup:En,slicedSegments:Gn}=Xi(k,ze,rt,Zt.filter(Ai=>void 0===Ai.redirectTo),this.relativeLinkResolution);var H;if(0===Gn.length&&En.hasChildren()){const Ai=this.processChildren(Zt,En);return null===Ai?null:[new Do(le,Ai)]}if(0===Zt.length&&0===Gn.length)return[new Do(le,[])];const wi=Wn(A)===K,lo=this.processSegment(Zt,En,Gn,wi?Sn:K);return null===lo?null:[new Do(le,lo)]}}function nr(H){const A=H.value.routeConfig;return A&&""===A.path&&void 0===A.redirectTo}function Hr(H){const A=[],k=new Set;for(const j of H){if(!nr(j)){A.push(j);continue}const K=A.find(le=>j.value.routeConfig===le.value.routeConfig);void 0!==K?(K.children.push(...j.children),k.add(K)):A.push(j)}for(const j of k){const K=Hr(j.children);A.push(new Do(j.value,K))}return A.filter(j=>!k.has(j))}function gr(H){let A=H;for(;A._sourceSegment;)A=A._sourceSegment;return A}function mr(H){let A=H,k=A._segmentIndexShift?A._segmentIndexShift:0;for(;A._sourceSegment;)A=A._sourceSegment,k+=A._segmentIndexShift?A._segmentIndexShift:0;return k-1}function ir(H){return H.data||{}}function Vs(H){return H.resolve||{}}function lt(H){return(0,si.w)(A=>{const k=H(A);return k?(0,Ve.D)(k).pipe((0,Mn.U)(()=>A)):(0,Qe.of)(A)})}class Jt extends class{shouldDetach(A){return!1}store(A,k){}shouldAttach(A){return!1}retrieve(A){return null}shouldReuseRoute(A,k){return A.routeConfig===k.routeConfig}}{}const nn=new c.OlP("ROUTES");class gn{constructor(A,k,j,K){this.loader=A,this.compiler=k,this.onLoadStartListener=j,this.onLoadEndListener=K}load(A,k){if(k._loader$)return k._loader$;this.onLoadStartListener&&this.onLoadStartListener(k);const K=this.loadModuleFactory(k.loadChildren).pipe((0,Mn.U)(le=>{this.onLoadEndListener&&this.onLoadEndListener(k);const ze=le.create(A);return new D(Hi(ze.injector.get(nn,void 0,c.XFs.Self|c.XFs.Optional)).map(ci),ze)}),We(le=>{throw k._loader$=void 0,le}));return k._loader$=new Le.c(K,()=>new ve.xQ).pipe((0,Je.x)()),k._loader$}loadModuleFactory(A){return"string"==typeof A?(0,Ve.D)(this.loader.load(A)):li(A()).pipe((0,Pt.zg)(k=>k instanceof c.YKP?(0,Qe.of)(k):(0,Ve.D)(this.compiler.compileModuleAsync(k))))}}class Cn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Vn,this.attachRef=null}}class Vn{constructor(){this.contexts=new Map}onChildOutletCreated(A,k){const j=this.getOrCreateContext(A);j.outlet=k,this.contexts.set(A,j)}onChildOutletDestroyed(A){const k=this.getContext(A);k&&(k.outlet=null)}onOutletDeactivated(){const A=this.contexts;return this.contexts=new Map,A}onOutletReAttached(A){this.contexts=A}getOrCreateContext(A){let k=this.getContext(A);return k||(k=new Cn,this.contexts.set(A,k)),k}getContext(A){return this.contexts.get(A)||null}}class ei{shouldProcessUrl(A){return!0}extract(A){return A}merge(A,k){return A}}function Mi(H){throw H}function Ii(H,A,k){return A.parse("/")}function Zn(H,A){return(0,Qe.of)(null)}const Po={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lo={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Ui=(()=>{class H{constructor(k,j,K,le,ze,rt,Zt,En){this.rootComponentType=k,this.urlSerializer=j,this.rootContexts=K,this.location=le,this.config=En,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new ve.xQ,this.errorHandler=Mi,this.malformedUriErrorHandler=Ii,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Zn,afterPreactivation:Zn},this.urlHandlingStrategy=new ei,this.routeReuseStrategy=new Jt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=ze.get(c.h0i),this.console=ze.get(c.c2e);const lo=ze.get(c.R0b);this.isNgZoneEnabled=lo instanceof c.R0b&&c.R0b.isInAngularZone(),this.resetConfig(En),this.currentUrlTree=new Vt(new Bt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new gn(rt,Zt,Ai=>this.triggerEvent(new Fe(Ai)),Ai=>this.triggerEvent(new Lt(Ai))),this.routerState=zo(this.currentUrlTree,this.rootComponentType),this.transitions=new ue.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var k;return null===(k=this.location.getState())||void 0===k?void 0:k.\u0275routerPageId}setupNavigations(k){const j=this.events;return k.pipe((0,Ut.h)(K=>0!==K.id),(0,Mn.U)(K=>Object.assign(Object.assign({},K),{extractedUrl:this.urlHandlingStrategy.extract(K.rawUrl)})),(0,si.w)(K=>{let le=!1,ze=!1;return(0,Qe.of)(K).pipe(Qn(rt=>{this.currentNavigation={id:rt.id,initialUrl:rt.currentRawUrl,extractedUrl:rt.extractedUrl,trigger:rt.source,extras:rt.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,si.w)(rt=>{const Zt=!this.navigated||rt.extractedUrl.toString()!==this.browserUrlTree.toString(),En=("reload"===this.onSameUrlNavigation||Zt)&&this.urlHandlingStrategy.shouldProcessUrl(rt.rawUrl);if(js(rt.source)&&(this.browserUrlTree=rt.rawUrl),En)return(0,Qe.of)(rt).pipe((0,si.w)(Gn=>{const wi=this.transitions.getValue();return j.next(new F(Gn.id,this.serializeUrl(Gn.extractedUrl),Gn.source,Gn.restoredState)),wi!==this.transitions.getValue()?ct.E:Promise.resolve(Gn)}),function(H,A,k,j){return(0,si.w)(K=>function(H,A,k,j,K){return new tn(H,A,k,j,K).apply()}(H,A,k,K.extractedUrl,j).pipe((0,Mn.U)(le=>Object.assign(Object.assign({},K),{urlAfterRedirects:le}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Qn(Gn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:Gn.urlAfterRedirects})}),function(H,A,k,j,K){return(0,Pt.zg)(le=>function(H,A,k,j,K="emptyOnly",le="legacy"){try{const ze=new Vr(H,A,k,j,K,le).recognize();return null===ze?tr(new vs):(0,Qe.of)(ze)}catch(ze){return tr(ze)}}(H,A,le.urlAfterRedirects,k(le.urlAfterRedirects),j,K).pipe((0,Mn.U)(ze=>Object.assign(Object.assign({},le),{targetSnapshot:ze}))))}(this.rootComponentType,this.config,Gn=>this.serializeUrl(Gn),this.paramsInheritanceStrategy,this.relativeLinkResolution),Qn(Gn=>{"eager"===this.urlUpdateStrategy&&(Gn.extras.skipLocationChange||this.setBrowserUrl(Gn.urlAfterRedirects,Gn),this.browserUrlTree=Gn.urlAfterRedirects);const wi=new Qt(Gn.id,this.serializeUrl(Gn.extractedUrl),this.serializeUrl(Gn.urlAfterRedirects),Gn.targetSnapshot);j.next(wi)}));if(Zt&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:wi,extractedUrl:lo,source:Ai,restoredState:qr,extras:Dr}=rt,sr=new F(wi,this.serializeUrl(lo),Ai,qr);j.next(sr);const Ha=zo(lo,this.rootComponentType).snapshot;return(0,Qe.of)(Object.assign(Object.assign({},rt),{targetSnapshot:Ha,urlAfterRedirects:lo,extras:Object.assign(Object.assign({},Dr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=rt.rawUrl,this.browserUrlTree=rt.urlAfterRedirects,rt.resolve(null),ct.E}),lt(rt=>{const{targetSnapshot:Zt,id:En,extractedUrl:Gn,rawUrl:wi,extras:{skipLocationChange:lo,replaceUrl:Ai}}=rt;return this.hooks.beforePreactivation(Zt,{navigationId:En,appliedUrlTree:Gn,rawUrlTree:wi,skipLocationChange:!!lo,replaceUrl:!!Ai})}),Qn(rt=>{const Zt=new Wt(rt.id,this.serializeUrl(rt.extractedUrl),this.serializeUrl(rt.urlAfterRedirects),rt.targetSnapshot);this.triggerEvent(Zt)}),(0,Mn.U)(rt=>Object.assign(Object.assign({},rt),{guards:us(rt.targetSnapshot,rt.currentSnapshot,this.rootContexts)})),function(H,A){return(0,Pt.zg)(k=>{const{targetSnapshot:j,currentSnapshot:K,guards:{canActivateChecks:le,canDeactivateChecks:ze}}=k;return 0===ze.length&&0===le.length?(0,Qe.of)(Object.assign(Object.assign({},k),{guardsResult:!0})):function(H,A,k,j){return(0,Ve.D)(H).pipe((0,Pt.zg)(K=>function(H,A,k,j,K){const le=A&&A.routeConfig?A.routeConfig.canDeactivate:null;if(!le||0===le.length)return(0,Qe.of)(!0);const ze=le.map(rt=>{const Zt=Ks(rt,A,K);let En;if(function(H){return H&&I(H.canDeactivate)}(Zt))En=li(Zt.canDeactivate(H,A,k,j));else{if(!I(Zt))throw new Error("Invalid CanDeactivate guard");En=li(Zt(H,A,k,j))}return En.pipe(vi())});return(0,Qe.of)(ze).pipe(Nn())}(K.component,K.route,k,A,j)),vi(K=>!0!==K,!0))}(ze,j,K,H).pipe((0,Pt.zg)(rt=>rt&&function(H){return"boolean"==typeof H}(rt)?function(H,A,k,j){return(0,Ve.D)(A).pipe((0,Qi.b)(K=>(0,z.z)(function(H,A){return null!==H&&A&&A(new At(H)),(0,Qe.of)(!0)}(K.route.parent,j),function(H,A){return null!==H&&A&&A(new In(H)),(0,Qe.of)(!0)}(K.route,j),function(H,A,k){const j=A[A.length-1],le=A.slice(0,A.length-1).reverse().map(ze=>function(H){const A=H.routeConfig?H.routeConfig.canActivateChild:null;return A&&0!==A.length?{node:H,guards:A}:null}(ze)).filter(ze=>null!==ze).map(ze=>je(()=>{const rt=ze.guards.map(Zt=>{const En=Ks(Zt,ze.node,k);let Gn;if(function(H){return H&&I(H.canActivateChild)}(En))Gn=li(En.canActivateChild(j,H));else{if(!I(En))throw new Error("Invalid CanActivateChild guard");Gn=li(En(j,H))}return Gn.pipe(vi())});return(0,Qe.of)(rt).pipe(Nn())}));return(0,Qe.of)(le).pipe(Nn())}(H,K.path,k),function(H,A,k){const j=A.routeConfig?A.routeConfig.canActivate:null;if(!j||0===j.length)return(0,Qe.of)(!0);const K=j.map(le=>je(()=>{const ze=Ks(le,A,k);let rt;if(function(H){return H&&I(H.canActivate)}(ze))rt=li(ze.canActivate(A,H));else{if(!I(ze))throw new Error("Invalid CanActivate guard");rt=li(ze(A,H))}return rt.pipe(vi())}));return(0,Qe.of)(K).pipe(Nn())}(H,K.route,k))),vi(K=>!0!==K,!0))}(j,le,H,A):(0,Qe.of)(rt)),(0,Mn.U)(rt=>Object.assign(Object.assign({},k),{guardsResult:rt})))})}(this.ngModule.injector,rt=>this.triggerEvent(rt)),Qn(rt=>{if(te(rt.guardsResult)){const En=Oi(`Redirecting to "${this.serializeUrl(rt.guardsResult)}"`);throw En.url=rt.guardsResult,En}const Zt=new Ze(rt.id,this.serializeUrl(rt.extractedUrl),this.serializeUrl(rt.urlAfterRedirects),rt.targetSnapshot,!!rt.guardsResult);this.triggerEvent(Zt)}),(0,Ut.h)(rt=>!!rt.guardsResult||(this.restoreHistory(rt),this.cancelNavigationTransition(rt,""),!1)),lt(rt=>{if(rt.guards.canActivateChecks.length)return(0,Qe.of)(rt).pipe(Qn(Zt=>{const En=new jt(Zt.id,this.serializeUrl(Zt.extractedUrl),this.serializeUrl(Zt.urlAfterRedirects),Zt.targetSnapshot);this.triggerEvent(En)}),(0,si.w)(Zt=>{let En=!1;return(0,Qe.of)(Zt).pipe(function(H,A){return(0,Pt.zg)(k=>{const{targetSnapshot:j,guards:{canActivateChecks:K}}=k;if(!K.length)return(0,Qe.of)(k);let le=0;return(0,Ve.D)(K).pipe((0,Qi.b)(ze=>function(H,A,k,j){return function(H,A,k,j){const K=Object.keys(H);if(0===K.length)return(0,Qe.of)({});const le={};return(0,Ve.D)(K).pipe((0,Pt.zg)(ze=>function(H,A,k,j){const K=Ks(H,A,j);return li(K.resolve?K.resolve(A,k):K(A,k))}(H[ze],A,k,j).pipe(Qn(rt=>{le[ze]=rt}))),kt(1),(0,Pt.zg)(()=>Object.keys(le).length===K.length?(0,Qe.of)(le):ct.E))}(H._resolve,H,A,j).pipe((0,Mn.U)(le=>(H._resolvedData=le,H.data=Object.assign(Object.assign({},H.data),ki(H,k).resolve),null)))}(ze.route,j,H,A)),Qn(()=>le++),kt(1),(0,Pt.zg)(ze=>le===K.length?(0,Qe.of)(k):ct.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),Qn({next:()=>En=!0,complete:()=>{En||(this.restoreHistory(Zt),this.cancelNavigationTransition(Zt,"At least one route resolver didn't emit any value."))}}))}),Qn(Zt=>{const En=new he(Zt.id,this.serializeUrl(Zt.extractedUrl),this.serializeUrl(Zt.urlAfterRedirects),Zt.targetSnapshot);this.triggerEvent(En)}))}),lt(rt=>{const{targetSnapshot:Zt,id:En,extractedUrl:Gn,rawUrl:wi,extras:{skipLocationChange:lo,replaceUrl:Ai}}=rt;return this.hooks.afterPreactivation(Zt,{navigationId:En,appliedUrlTree:Gn,rawUrlTree:wi,skipLocationChange:!!lo,replaceUrl:!!Ai})}),(0,Mn.U)(rt=>{const Zt=function(H,A,k){const j=Jn(H,A._root,k?k._root:void 0);return new ro(j,A)}(this.routeReuseStrategy,rt.targetSnapshot,rt.currentRouterState);return Object.assign(Object.assign({},rt),{targetRouterState:Zt})}),Qn(rt=>{this.currentUrlTree=rt.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,rt.rawUrl),this.routerState=rt.targetRouterState,"deferred"===this.urlUpdateStrategy&&(rt.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,rt),this.browserUrlTree=rt.urlAfterRedirects)}),((H,A,k)=>(0,Mn.U)(j=>(new p(A,j.targetRouterState,j.currentRouterState,k).activate(H),j)))(this.rootContexts,this.routeReuseStrategy,rt=>this.triggerEvent(rt)),Qn({next(){le=!0},complete(){le=!0}}),(0,me.x)(()=>{if(!le&&!ze){const rt=`Navigation ID ${K.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(K),this.cancelNavigationTransition(K,rt)):this.cancelNavigationTransition(K,rt)}this.currentNavigation=null}),We(rt=>{if(ze=!0,function(H){return H&&H[Di]}(rt)){const Zt=te(rt.url);Zt||(this.navigated=!0,this.restoreHistory(K,!0));const En=new X(K.id,this.serializeUrl(K.extractedUrl),rt.message);j.next(En),Zt?setTimeout(()=>{const Gn=this.urlHandlingStrategy.merge(rt.url,this.rawUrlTree),wi={skipLocationChange:K.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||js(K.source)};this.scheduleNavigation(Gn,"imperative",null,wi,{resolve:K.resolve,reject:K.reject,promise:K.promise})},0):K.resolve(!1)}else{this.restoreHistory(K,!0);const Zt=new He(K.id,this.serializeUrl(K.extractedUrl),rt);j.next(Zt);try{K.resolve(this.errorHandler(rt))}catch(En){K.reject(En)}}return ct.E}))}))}resetRootComponentType(k){this.rootComponentType=k,this.routerState.root.component=this.rootComponentType}getTransition(){const k=this.transitions.value;return k.urlAfterRedirects=this.browserUrlTree,k}setTransition(k){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),k))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(k=>{const j=this.extractLocationChangeInfoFromEvent(k);this.shouldScheduleNavigation(this.lastLocationChangeInfo,j)&&setTimeout(()=>{const{source:K,state:le,urlTree:ze}=j,rt={replaceUrl:!0};if(le){const Zt=Object.assign({},le);delete Zt.navigationId,delete Zt.\u0275routerPageId,0!==Object.keys(Zt).length&&(rt.state=Zt)}this.scheduleNavigation(ze,K,le,rt)},0),this.lastLocationChangeInfo=j}))}extractLocationChangeInfoFromEvent(k){var j;return{source:"popstate"===k.type?"popstate":"hashchange",urlTree:this.parseUrl(k.url),state:(null===(j=k.state)||void 0===j?void 0:j.navigationId)?k.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(k,j){if(!k)return!0;const K=j.urlTree.toString()===k.urlTree.toString();return j.transitionId!==k.transitionId||!K||!("hashchange"===j.source&&"popstate"===k.source||"popstate"===j.source&&"hashchange"===k.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(k){this.events.next(k)}resetConfig(k){Dn(k),this.config=k.map(ci),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(k,j={}){const{relativeTo:K,queryParams:le,fragment:ze,queryParamsHandling:rt,preserveFragment:Zt}=j,En=K||this.routerState.root,Gn=Zt?this.currentUrlTree.fragment:ze;let wi=null;switch(rt){case"merge":wi=Object.assign(Object.assign({},this.currentUrlTree.queryParams),le);break;case"preserve":wi=this.currentUrlTree.queryParams;break;default:wi=le||null}return null!==wi&&(wi=this.removeEmptyProps(wi)),function(H,A,k,j,K){if(0===k.length)return ps(A.root,A.root,A,j,K);const le=function(H){if("string"==typeof H[0]&&1===H.length&&"/"===H[0])return new zs(!0,0,H);let A=0,k=!1;const j=H.reduce((K,le,ze)=>{if("object"==typeof le&&null!=le){if(le.outlets){const rt={};return Fi(le.outlets,(Zt,En)=>{rt[En]="string"==typeof Zt?Zt.split("/"):Zt}),[...K,{outlets:rt}]}if(le.segmentPath)return[...K,le.segmentPath]}return"string"!=typeof le?[...K,le]:0===ze?(le.split("/").forEach((rt,Zt)=>{0==Zt&&"."===rt||(0==Zt&&""===rt?k=!0:".."===rt?A++:""!=rt&&K.push(rt))}),K):[...K,le]},[]);return new zs(k,A,j)}(k);if(le.toRoot())return ps(A.root,new Bt([],{}),A,j,K);const ze=function(H,A,k){if(H.isAbsolute)return new Uo(A.root,!0,0);if(-1===k.snapshot._lastPathIndex){const le=k.snapshot._urlSegment;return new Uo(le,le===A.root,0)}const j=$o(H.commands[0])?0:1;return function(H,A,k){let j=H,K=A,le=k;for(;le>K;){if(le-=K,j=j.parent,!j)throw new Error("Invalid number of '../'");K=j.segments.length}return new Uo(j,!1,K-le)}(k.snapshot._urlSegment,k.snapshot._lastPathIndex+j,H.numberOfDoubleDots)}(le,A,H),rt=ze.processChildren?ls(ze.segmentGroup,ze.index,le.commands):No(ze.segmentGroup,ze.index,le.commands);return ps(ze.segmentGroup,rt,A,j,K)}(En,this.currentUrlTree,k,wi,null!=Gn?Gn:null)}navigateByUrl(k,j={skipLocationChange:!1}){const K=te(k)?k:this.parseUrl(k),le=this.urlHandlingStrategy.merge(K,this.rawUrlTree);return this.scheduleNavigation(le,"imperative",null,j)}navigate(k,j={skipLocationChange:!1}){return function(H){for(let A=0;A<H.length;A++){const k=H[A];if(null==k)throw new Error(`The requested path contains ${k} segment at index ${A}`)}}(k),this.navigateByUrl(this.createUrlTree(k,j),j)}serializeUrl(k){return this.urlSerializer.serialize(k)}parseUrl(k){let j;try{j=this.urlSerializer.parse(k)}catch(K){j=this.malformedUriErrorHandler(K,this.urlSerializer,k)}return j}isActive(k,j){let K;if(K=!0===j?Object.assign({},Po):!1===j?Object.assign({},Lo):j,te(k))return vo(this.currentUrlTree,k,K);const le=this.parseUrl(k);return vo(this.currentUrlTree,le,K)}removeEmptyProps(k){return Object.keys(k).reduce((j,K)=>{const le=k[K];return null!=le&&(j[K]=le),j},{})}processNavigations(){this.navigations.subscribe(k=>{this.navigated=!0,this.lastSuccessfulId=k.id,this.currentPageId=k.targetPageId,this.events.next(new U(k.id,this.serializeUrl(k.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,k.resolve(!0)},k=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(k,j,K,le,ze){var rt,Zt;if(this.disposed)return Promise.resolve(!1);const En=this.getTransition(),Gn=js(j)&&En&&!js(En.source),Ai=(this.lastSuccessfulId===En.id||this.currentNavigation?En.rawUrl:En.urlAfterRedirects).toString()===k.toString();if(Gn&&Ai)return Promise.resolve(!0);let qr,Dr,sr;ze?(qr=ze.resolve,Dr=ze.reject,sr=ze.promise):sr=new Promise((eo,Da)=>{qr=eo,Dr=Da});const Ha=++this.navigationId;let rr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(K=this.location.getState()),rr=K&&K.\u0275routerPageId?K.\u0275routerPageId:le.replaceUrl||le.skipLocationChange?null!==(rt=this.browserPageId)&&void 0!==rt?rt:0:(null!==(Zt=this.browserPageId)&&void 0!==Zt?Zt:0)+1):rr=0,this.setTransition({id:Ha,targetPageId:rr,source:j,restoredState:K,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:k,extras:le,resolve:qr,reject:Dr,promise:sr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),sr.catch(eo=>Promise.reject(eo))}setBrowserUrl(k,j){const K=this.urlSerializer.serialize(k),le=Object.assign(Object.assign({},j.extras.state),this.generateNgRouterState(j.id,j.targetPageId));this.location.isCurrentPathEqualTo(K)||j.extras.replaceUrl?this.location.replaceState(K,"",le):this.location.go(K,"",le)}restoreHistory(k,j=!1){var K,le;if("computed"===this.canceledNavigationResolution){const ze=this.currentPageId-k.targetPageId;"popstate"!==k.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(K=this.currentNavigation)||void 0===K?void 0:K.finalUrl)||0===ze?this.currentUrlTree===(null===(le=this.currentNavigation)||void 0===le?void 0:le.finalUrl)&&0===ze&&(this.resetState(k),this.browserUrlTree=k.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(ze)}else"replace"===this.canceledNavigationResolution&&(j&&this.resetState(k),this.resetUrlToCurrentUrlTree())}resetState(k){this.routerState=k.currentRouterState,this.currentUrlTree=k.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,k.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(k,j){const K=new X(k.id,this.serializeUrl(k.extractedUrl),j);this.triggerEvent(K),k.resolve(!1)}generateNgRouterState(k,j){return"computed"===this.canceledNavigationResolution?{navigationId:k,\u0275routerPageId:j}:{navigationId:k}}}return H.\u0275fac=function(k){return new(k||H)(c.LFG(c.DyG),c.LFG(Ye),c.LFG(Vn),c.LFG(n.Ye),c.LFG(c.zs3),c.LFG(c.v3s),c.LFG(c.Sil),c.LFG(void 0))},H.\u0275prov=c.Yz7({token:H,factory:H.\u0275fac}),H})();function js(H){return"imperative"!==H}let ks=(()=>{class H{constructor(k,j,K,le,ze){this.router=k,this.route=j,this.commands=[],this.onChanges=new ve.xQ,null==K&&le.setAttribute(ze.nativeElement,"tabindex","0")}ngOnChanges(k){this.onChanges.next(this)}set routerLink(k){this.commands=null!=k?Array.isArray(k)?k:[k]:[]}onClick(){const k={skipLocationChange:Ur(this.skipLocationChange),replaceUrl:Ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,k),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ur(this.preserveFragment)})}}return H.\u0275fac=function(k){return new(k||H)(c.Y36(Ui),c.Y36(ho),c.$8M("tabindex"),c.Y36(c.Qsj),c.Y36(c.SBq))},H.\u0275dir=c.lG2({type:H,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(k,j){1&k&&c.NdJ("click",function(){return j.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[c.TTD]}),H})(),Io=(()=>{class H{constructor(k,j,K){this.router=k,this.route=j,this.locationStrategy=K,this.commands=[],this.onChanges=new ve.xQ,this.subscription=k.events.subscribe(le=>{le instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(k){this.commands=null!=k?Array.isArray(k)?k:[k]:[]}ngOnChanges(k){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(k,j,K,le,ze){if(0!==k||j||K||le||ze||"string"==typeof this.target&&"_self"!=this.target)return!0;const rt={skipLocationChange:Ur(this.skipLocationChange),replaceUrl:Ur(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,rt),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Ur(this.preserveFragment)})}}return H.\u0275fac=function(k){return new(k||H)(c.Y36(Ui),c.Y36(ho),c.Y36(n.S$))},H.\u0275dir=c.lG2({type:H,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(k,j){1&k&&c.NdJ("click",function(le){return j.onClick(le.button,le.ctrlKey,le.shiftKey,le.altKey,le.metaKey)}),2&k&&(c.Ikx("href",j.href,c.LSH),c.uIk("target",j.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[c.TTD]}),H})();function Ur(H){return""===H||!!H}let xa=(()=>{class H{constructor(k,j,K,le,ze){this.parentContexts=k,this.location=j,this.resolver=K,this.changeDetector=ze,this.activated=null,this._activatedRoute=null,this.activateEvents=new c.vpe,this.deactivateEvents=new c.vpe,this.name=le||Sn,k.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const k=this.parentContexts.getContext(this.name);k&&k.route&&(k.attachRef?this.attach(k.attachRef,k.route):this.activateWith(k.route,k.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const k=this.activated;return this.activated=null,this._activatedRoute=null,k}attach(k,j){this.activated=k,this._activatedRoute=j,this.location.insert(k.hostView)}deactivate(){if(this.activated){const k=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(k)}}activateWith(k,j){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=k;const ze=(j=j||this.resolver).resolveComponentFactory(k._futureSnapshot.routeConfig.component),rt=this.parentContexts.getOrCreateContext(this.name).children,Zt=new Na(k,rt,this.location.injector);this.activated=this.location.createComponent(ze,this.location.length,Zt),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return H.\u0275fac=function(k){return new(k||H)(c.Y36(Vn),c.Y36(c.s_b),c.Y36(c._Vd),c.$8M("name"),c.Y36(c.sBO))},H.\u0275dir=c.lG2({type:H,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),H})();class Na{constructor(A,k,j){this.route=A,this.childContexts=k,this.parent=j}get(A,k){return A===ho?this.route:A===Vn?this.childContexts:this.parent.get(A,k)}}class nl{}class Cs{preload(A,k){return(0,Qe.of)(null)}}let Dl=(()=>{class H{constructor(k,j,K,le,ze){this.router=k,this.injector=le,this.preloadingStrategy=ze,this.loader=new gn(j,K,En=>k.triggerEvent(new Fe(En)),En=>k.triggerEvent(new Lt(En)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ut.h)(k=>k instanceof U),(0,Qi.b)(()=>this.preload())).subscribe(()=>{})}preload(){const k=this.injector.get(c.h0i);return this.processRoutes(k,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(k,j){const K=[];for(const le of j)if(le.loadChildren&&!le.canLoad&&le._loadedConfig){const ze=le._loadedConfig;K.push(this.processRoutes(ze.module,ze.routes))}else le.loadChildren&&!le.canLoad?K.push(this.preloadConfig(k,le)):le.children&&K.push(this.processRoutes(k,le.children));return(0,Ve.D)(K).pipe((0,Se.J)(),(0,Mn.U)(le=>{}))}preloadConfig(k,j){return this.preloadingStrategy.preload(j,()=>(j._loadedConfig?(0,Qe.of)(j._loadedConfig):this.loader.load(k.injector,j)).pipe((0,Pt.zg)(le=>(j._loadedConfig=le,this.processRoutes(le.module,le.routes)))))}}return H.\u0275fac=function(k){return new(k||H)(c.LFG(Ui),c.LFG(c.v3s),c.LFG(c.Sil),c.LFG(c.zs3),c.LFG(nl))},H.\u0275prov=c.Yz7({token:H,factory:H.\u0275fac}),H})(),_r=(()=>{class H{constructor(k,j,K={}){this.router=k,this.viewportScroller=j,this.options=K,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},K.scrollPositionRestoration=K.scrollPositionRestoration||"disabled",K.anchorScrolling=K.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(k=>{k instanceof F?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=k.navigationTrigger,this.restoredId=k.restoredState?k.restoredState.navigationId:0):k instanceof U&&(this.lastId=k.id,this.scheduleScrollEvent(k,this.router.parseUrl(k.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(k=>{k instanceof Ri&&(k.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(k.position):k.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(k.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(k,j){this.router.triggerEvent(new Ri(k,"popstate"===this.lastSource?this.store[this.restoredId]:null,j))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return H.\u0275fac=function(k){return new(k||H)(c.LFG(Ui),c.LFG(n.EM),c.LFG(void 0))},H.\u0275prov=c.Yz7({token:H,factory:H.\u0275fac}),H})();const Bs=new c.OlP("ROUTER_CONFIGURATION"),ol=new c.OlP("ROUTER_FORROOT_GUARD"),sl=[n.Ye,{provide:Ye,useClass:Oe},{provide:Ui,useFactory:function(H,A,k,j,K,le,ze,rt={},Zt,En){const Gn=new Ui(null,H,A,k,j,K,le,Hi(ze));return Zt&&(Gn.urlHandlingStrategy=Zt),En&&(Gn.routeReuseStrategy=En),function(H,A){H.errorHandler&&(A.errorHandler=H.errorHandler),H.malformedUriErrorHandler&&(A.malformedUriErrorHandler=H.malformedUriErrorHandler),H.onSameUrlNavigation&&(A.onSameUrlNavigation=H.onSameUrlNavigation),H.paramsInheritanceStrategy&&(A.paramsInheritanceStrategy=H.paramsInheritanceStrategy),H.relativeLinkResolution&&(A.relativeLinkResolution=H.relativeLinkResolution),H.urlUpdateStrategy&&(A.urlUpdateStrategy=H.urlUpdateStrategy)}(rt,Gn),rt.enableTracing&&Gn.events.subscribe(wi=>{var lo,Ai;null===(lo=console.group)||void 0===lo||lo.call(console,`Router Event: ${wi.constructor.name}`),console.log(wi.toString()),console.log(wi),null===(Ai=console.groupEnd)||void 0===Ai||Ai.call(console)}),Gn},deps:[Ye,Vn,n.Ye,c.zs3,c.v3s,c.Sil,nn,Bs,[class{},new c.FiY],[class{},new c.FiY]]},Vn,{provide:ho,useFactory:function(H){return H.routerState.root},deps:[Ui]},{provide:c.v3s,useClass:c.EAV},Dl,Cs,class{preload(A,k){return k().pipe(We(()=>(0,Qe.of)(null)))}},{provide:Bs,useValue:{enableTracing:!1}}];function rl(){return new c.PXZ("Router",Ui)}let Va=(()=>{class H{constructor(k,j){}static forRoot(k,j){return{ngModule:H,providers:[sl,or(k),{provide:ol,useFactory:Ma,deps:[[Ui,new c.FiY,new c.tp0]]},{provide:Bs,useValue:j||{}},{provide:n.S$,useFactory:Ba,deps:[n.lw,[new c.tBr(n.mr),new c.FiY],Bs]},{provide:_r,useFactory:jr,deps:[Ui,n.EM,Bs]},{provide:nl,useExisting:j&&j.preloadingStrategy?j.preloadingStrategy:Cs},{provide:c.PXZ,multi:!0,useFactory:rl},[Ea,{provide:c.ip1,multi:!0,useFactory:ll,deps:[Ea]},{provide:Zr,useFactory:cl,deps:[Ea]},{provide:c.tb,multi:!0,useExisting:Zr}]]}}static forChild(k){return{ngModule:H,providers:[or(k)]}}}return H.\u0275fac=function(k){return new(k||H)(c.LFG(ol,8),c.LFG(Ui,8))},H.\u0275mod=c.oAB({type:H}),H.\u0275inj=c.cJS({}),H})();function jr(H,A,k){return k.scrollOffset&&A.setOffset(k.scrollOffset),new _r(H,A,k)}function Ba(H,A,k={}){return k.useHash?new n.Do(H,A):new n.b0(H,A)}function Ma(H){return"guarded"}function or(H){return[{provide:c.deG,multi:!0,useValue:H},{provide:nn,multi:!0,useValue:H}]}let Ea=(()=>{class H{constructor(k){this.injector=k,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new ve.xQ}appInitializer(){return this.injector.get(n.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let j=null;const K=new Promise(rt=>j=rt),le=this.injector.get(Ui),ze=this.injector.get(Bs);return"disabled"===ze.initialNavigation?(le.setUpLocationChangeListener(),j(!0)):"enabled"===ze.initialNavigation||"enabledBlocking"===ze.initialNavigation?(le.hooks.afterPreactivation=()=>this.initNavigation?(0,Qe.of)(null):(this.initNavigation=!0,j(!0),this.resultOfPreactivationDone),le.initialNavigation()):j(!0),K})}bootstrapListener(k){const j=this.injector.get(Bs),K=this.injector.get(Dl),le=this.injector.get(_r),ze=this.injector.get(Ui),rt=this.injector.get(c.z2F);k===rt.components[0]&&(("enabledNonBlocking"===j.initialNavigation||void 0===j.initialNavigation)&&ze.initialNavigation(),K.setUpPreloading(),le.init(),ze.resetRootComponentType(rt.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return H.\u0275fac=function(k){return new(k||H)(c.LFG(c.zs3))},H.\u0275prov=c.Yz7({token:H,factory:H.\u0275fac}),H})();function ll(H){return H.appInitializer.bind(H)}function cl(H){return H.bootstrapListener.bind(H)}const Zr=new c.OlP("Router Initializer")},1704:function(bn,Et){var n;!function(c,V){"use strict";"object"==typeof bn.exports?bn.exports=c.document?V(c,!0):function(pe){if(!pe.document)throw new Error("jQuery requires a window with a document");return V(pe)}:V(c)}("undefined"!=typeof window?window:this,function(c,V){"use strict";var pe=[],ie=Object.getPrototypeOf,se=pe.slice,de=pe.flat?function(y){return pe.flat.call(y)}:function(y){return pe.concat.apply([],y)},ge=pe.push,we=pe.indexOf,re={},xe=re.toString,Pe=re.hasOwnProperty,ut=Pe.toString,dt=ut.call(Object),st={},Me=function(P){return"function"==typeof P&&"number"!=typeof P.nodeType&&"function"!=typeof P.item},Ue=function(P){return null!=P&&P===P.window},Ve=c.document,ct={type:!0,src:!0,nonce:!0,noModule:!0};function je(y,P,v){var w,g,T=(v=v||Ve).createElement("script");if(T.text=y,P)for(w in ct)(g=P[w]||P.getAttribute&&P.getAttribute(w))&&T.setAttribute(w,g);v.head.appendChild(T).parentNode.removeChild(T)}function Qe(y){return null==y?y+"":"object"==typeof y||"function"==typeof y?re[xe.call(y)]||"object":typeof y}var z=function(y,P){return new z.fn.init(y,P)};function Le(y){var P=!!y&&"length"in y&&y.length,v=Qe(y);return!Me(y)&&!Ue(y)&&("array"===v||0===P||"number"==typeof P&&P>0&&P-1 in y)}z.fn=z.prototype={jquery:"3.6.0",constructor:z,length:0,toArray:function(){return se.call(this)},get:function(y){return null==y?se.call(this):y<0?this[y+this.length]:this[y]},pushStack:function(y){var P=z.merge(this.constructor(),y);return P.prevObject=this,P},each:function(y){return z.each(this,y)},map:function(y){return this.pushStack(z.map(this,function(P,v){return y.call(P,v,P)}))},slice:function(){return this.pushStack(se.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(z.grep(this,function(y,P){return(P+1)%2}))},odd:function(){return this.pushStack(z.grep(this,function(y,P){return P%2}))},eq:function(y){var P=this.length,v=+y+(y<0?P:0);return this.pushStack(v>=0&&v<P?[this[v]]:[])},end:function(){return this.prevObject||this.constructor()},push:ge,sort:pe.sort,splice:pe.splice},z.extend=z.fn.extend=function(){var y,P,v,w,g,T,p=arguments[0]||{},S=1,b=arguments.length,D=!1;for("boolean"==typeof p&&(D=p,p=arguments[S]||{},S++),"object"!=typeof p&&!Me(p)&&(p={}),S===b&&(p=this,S--);S<b;S++)if(null!=(y=arguments[S]))for(P in y)w=y[P],"__proto__"!==P&&p!==w&&(D&&w&&(z.isPlainObject(w)||(g=Array.isArray(w)))?(v=p[P],T=g&&!Array.isArray(v)?[]:g||z.isPlainObject(v)?v:{},g=!1,p[P]=z.extend(D,T,w)):void 0!==w&&(p[P]=w));return p},z.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(y){throw new Error(y)},noop:function(){},isPlainObject:function(y){var P,v;return!(!y||"[object Object]"!==xe.call(y)||(P=ie(y))&&("function"!=typeof(v=Pe.call(P,"constructor")&&P.constructor)||ut.call(v)!==dt))},isEmptyObject:function(y){var P;for(P in y)return!1;return!0},globalEval:function(y,P,v){je(y,{nonce:P&&P.nonce},v)},each:function(y,P){var v,w=0;if(Le(y))for(v=y.length;w<v&&!1!==P.call(y[w],w,y[w]);w++);else for(w in y)if(!1===P.call(y[w],w,y[w]))break;return y},makeArray:function(y,P){var v=P||[];return null!=y&&(Le(Object(y))?z.merge(v,"string"==typeof y?[y]:y):ge.call(v,y)),v},inArray:function(y,P,v){return null==P?-1:we.call(P,y,v)},merge:function(y,P){for(var v=+P.length,w=0,g=y.length;w<v;w++)y[g++]=P[w];return y.length=g,y},grep:function(y,P,v){for(var g=[],T=0,p=y.length,S=!v;T<p;T++)!P(y[T],T)!==S&&g.push(y[T]);return g},map:function(y,P,v){var w,g,T=0,p=[];if(Le(y))for(w=y.length;T<w;T++)null!=(g=P(y[T],T,v))&&p.push(g);else for(T in y)null!=(g=P(y[T],T,v))&&p.push(g);return de(p)},guid:1,support:st}),"function"==typeof Symbol&&(z.fn[Symbol.iterator]=pe[Symbol.iterator]),z.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(y,P){re["[object "+P+"]"]=P.toLowerCase()});var ve=function(y){var P,v,w,g,T,p,S,b,D,I,q,te,ye,pt,qt,Yt,Un,Nn,ii,Dn="sizzle"+1*new Date,xn=y.document,Zi=0,ci=0,Wn=er(),ms=er(),jo=er(),ao=er(),Xi=function(fe,qe){return fe===qe&&(q=!0),0},_s={}.hasOwnProperty,Vo=[],Go=Vo.pop,Oo=Vo.push,cs=Vo.push,Js=Vo.slice,Kn=function(fe,qe){for(var lt=0,$t=fe.length;lt<$t;lt++)if(fe[lt]===qe)return lt;return-1},Ds="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",zi="[\\x20\\t\\r\\n\\f]",bs="(?:\\\\[\\da-fA-F]{1,6}"+zi+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Us="\\["+zi+"*("+bs+")(?:"+zi+"*([*^$|!~]?=)"+zi+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+bs+"))|)"+zi+"*\\]",Zo=":("+bs+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Us+")*)|.*)\\)|)",Lr=new RegExp(zi+"+","g"),Fs=new RegExp("^"+zi+"+|((?:^|[^\\\\])(?:\\\\.)*)"+zi+"+$","g"),tn=new RegExp("^"+zi+"*,"+zi+"*"),Pi=new RegExp("^"+zi+"*([>+~]|"+zi+")"+zi+"*"),Tr=new RegExp(zi+"|>"),mo=new RegExp(Zo),Xr=new RegExp("^"+bs+"$"),ys={ID:new RegExp("^#("+bs+")"),CLASS:new RegExp("^\\.("+bs+")"),TAG:new RegExp("^("+bs+"|[*])"),ATTR:new RegExp("^"+Us),PSEUDO:new RegExp("^"+Zo),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+zi+"*(even|odd|(([+-]|)(\\d*)n|)"+zi+"*(?:([+-]|)"+zi+"*(\\d+)|))"+zi+"*\\)|)","i"),bool:new RegExp("^(?:"+Ds+")$","i"),needsContext:new RegExp("^"+zi+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+zi+"*((?:-\\d)?\\d*)"+zi+"*\\)|)(?=[^-]|$)","i")},us=/HTML$/i,Nr=/^(?:input|select|textarea|button)$/i,Ks=/^h\d$/i,pr=/^[^{]+\{\s*\[native \w/,fr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Ls=/[+~]/,ko=new RegExp("\\\\[\\da-fA-F]{1,6}"+zi+"?|\\\\([^\\r\\n\\f])","g"),yi=function(fe,qe){var lt="0x"+fe.slice(1)-65536;return qe||(lt<0?String.fromCharCode(lt+65536):String.fromCharCode(lt>>10|55296,1023&lt|56320))},qo=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ea=function(fe,qe){return qe?"\0"===fe?"\ufffd":fe.slice(0,-1)+"\\"+fe.charCodeAt(fe.length-1).toString(16)+" ":"\\"+fe},Xs=function(){te()},Os=gr(function(fe){return!0===fe.disabled&&"fieldset"===fe.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{cs.apply(Vo=Js.call(xn.childNodes),xn.childNodes)}catch(fe){cs={apply:Vo.length?function(qe,lt){Oo.apply(qe,Js.call(lt))}:function(qe,lt){for(var $t=qe.length,yt=0;qe[$t++]=lt[yt++];);qe.length=$t-1}}}function no(fe,qe,lt,$t){var yt,Jt,nn,gn,Cn,Vn,jn,ei=qe&&qe.ownerDocument,Mi=qe?qe.nodeType:9;if(lt=lt||[],"string"!=typeof fe||!fe||1!==Mi&&9!==Mi&&11!==Mi)return lt;if(!$t&&(te(qe),qe=qe||ye,qt)){if(11!==Mi&&(Cn=fr.exec(fe)))if(yt=Cn[1]){if(9===Mi){if(!(nn=qe.getElementById(yt)))return lt;if(nn.id===yt)return lt.push(nn),lt}else if(ei&&(nn=ei.getElementById(yt))&&ii(qe,nn)&&nn.id===yt)return lt.push(nn),lt}else{if(Cn[2])return cs.apply(lt,qe.getElementsByTagName(fe)),lt;if((yt=Cn[3])&&v.getElementsByClassName&&qe.getElementsByClassName)return cs.apply(lt,qe.getElementsByClassName(yt)),lt}if(v.qsa&&!ao[fe+" "]&&(!Yt||!Yt.test(fe))&&(1!==Mi||"object"!==qe.nodeName.toLowerCase())){if(jn=fe,ei=qe,1===Mi&&(Tr.test(fe)||Pi.test(fe))){for(((ei=Ls.test(fe)&&nr(qe.parentNode)||qe)!==qe||!v.scope)&&((gn=qe.getAttribute("id"))?gn=gn.replace(qo,ea):qe.setAttribute("id",gn=Dn)),Jt=(Vn=p(fe)).length;Jt--;)Vn[Jt]=(gn?"#"+gn:":scope")+" "+Mr(Vn[Jt]);jn=Vn.join(",")}try{return cs.apply(lt,ei.querySelectorAll(jn)),lt}catch(Ii){ao(fe,!0)}finally{gn===Dn&&qe.removeAttribute("id")}}}return b(fe.replace(Fs,"$1"),qe,lt,$t)}function er(){var fe=[];return function qe(lt,$t){return fe.push(lt+" ")>w.cacheLength&&delete qe[fe.shift()],qe[lt+" "]=$t}}function ns(fe){return fe[Dn]=!0,fe}function fs(fe){var qe=ye.createElement("fieldset");try{return!!fe(qe)}catch(lt){return!1}finally{qe.parentNode&&qe.parentNode.removeChild(qe),qe=null}}function vs(fe,qe){for(var lt=fe.split("|"),$t=lt.length;$t--;)w.attrHandle[lt[$t]]=qe}function tr(fe,qe){var lt=qe&&fe,$t=lt&&1===fe.nodeType&&1===qe.nodeType&&fe.sourceIndex-qe.sourceIndex;if($t)return $t;if(lt)for(;lt=lt.nextSibling;)if(lt===qe)return-1;return fe?1:-1}function Ca(fe){return function(qe){return"input"===qe.nodeName.toLowerCase()&&qe.type===fe}}function Vr(fe){return function(qe){var lt=qe.nodeName.toLowerCase();return("input"===lt||"button"===lt)&&qe.type===fe}}function Br(fe){return function(qe){return"form"in qe?qe.parentNode&&!1===qe.disabled?"label"in qe?"label"in qe.parentNode?qe.parentNode.disabled===fe:qe.disabled===fe:qe.isDisabled===fe||qe.isDisabled!==!fe&&Os(qe)===fe:qe.disabled===fe:"label"in qe&&qe.disabled===fe}}function Ns(fe){return ns(function(qe){return qe=+qe,ns(function(lt,$t){for(var yt,Jt=fe([],lt.length,qe),nn=Jt.length;nn--;)lt[yt=Jt[nn]]&&(lt[yt]=!($t[yt]=lt[yt]))})})}function nr(fe){return fe&&void 0!==fe.getElementsByTagName&&fe}for(P in v=no.support={},T=no.isXML=function(fe){var lt=fe&&(fe.ownerDocument||fe).documentElement;return!us.test(fe&&fe.namespaceURI||lt&&lt.nodeName||"HTML")},te=no.setDocument=function(fe){var qe,lt,$t=fe?fe.ownerDocument||fe:xn;return $t==ye||9!==$t.nodeType||!$t.documentElement||(pt=(ye=$t).documentElement,qt=!T(ye),xn!=ye&&(lt=ye.defaultView)&&lt.top!==lt&&(lt.addEventListener?lt.addEventListener("unload",Xs,!1):lt.attachEvent&&lt.attachEvent("onunload",Xs)),v.scope=fs(function(yt){return pt.appendChild(yt).appendChild(ye.createElement("div")),void 0!==yt.querySelectorAll&&!yt.querySelectorAll(":scope fieldset div").length}),v.attributes=fs(function(yt){return yt.className="i",!yt.getAttribute("className")}),v.getElementsByTagName=fs(function(yt){return yt.appendChild(ye.createComment("")),!yt.getElementsByTagName("*").length}),v.getElementsByClassName=pr.test(ye.getElementsByClassName),v.getById=fs(function(yt){return pt.appendChild(yt).id=Dn,!ye.getElementsByName||!ye.getElementsByName(Dn).length}),v.getById?(w.filter.ID=function(yt){var Jt=yt.replace(ko,yi);return function(nn){return nn.getAttribute("id")===Jt}},w.find.ID=function(yt,Jt){if(void 0!==Jt.getElementById&&qt){var nn=Jt.getElementById(yt);return nn?[nn]:[]}}):(w.filter.ID=function(yt){var Jt=yt.replace(ko,yi);return function(nn){var gn=void 0!==nn.getAttributeNode&&nn.getAttributeNode("id");return gn&&gn.value===Jt}},w.find.ID=function(yt,Jt){if(void 0!==Jt.getElementById&&qt){var nn,gn,Cn,Vn=Jt.getElementById(yt);if(Vn){if((nn=Vn.getAttributeNode("id"))&&nn.value===yt)return[Vn];for(Cn=Jt.getElementsByName(yt),gn=0;Vn=Cn[gn++];)if((nn=Vn.getAttributeNode("id"))&&nn.value===yt)return[Vn]}return[]}}),w.find.TAG=v.getElementsByTagName?function(yt,Jt){return void 0!==Jt.getElementsByTagName?Jt.getElementsByTagName(yt):v.qsa?Jt.querySelectorAll(yt):void 0}:function(yt,Jt){var nn,gn=[],Cn=0,Vn=Jt.getElementsByTagName(yt);if("*"===yt){for(;nn=Vn[Cn++];)1===nn.nodeType&&gn.push(nn);return gn}return Vn},w.find.CLASS=v.getElementsByClassName&&function(yt,Jt){if(void 0!==Jt.getElementsByClassName&&qt)return Jt.getElementsByClassName(yt)},Un=[],Yt=[],(v.qsa=pr.test(ye.querySelectorAll))&&(fs(function(yt){var Jt;pt.appendChild(yt).innerHTML="<a id='"+Dn+"'></a><select id='"+Dn+"-\r\\' msallowcapture=''><option selected=''></option></select>",yt.querySelectorAll("[msallowcapture^='']").length&&Yt.push("[*^$]="+zi+"*(?:''|\"\")"),yt.querySelectorAll("[selected]").length||Yt.push("\\["+zi+"*(?:value|"+Ds+")"),yt.querySelectorAll("[id~="+Dn+"-]").length||Yt.push("~="),(Jt=ye.createElement("input")).setAttribute("name",""),yt.appendChild(Jt),yt.querySelectorAll("[name='']").length||Yt.push("\\["+zi+"*name"+zi+"*="+zi+"*(?:''|\"\")"),yt.querySelectorAll(":checked").length||Yt.push(":checked"),yt.querySelectorAll("a#"+Dn+"+*").length||Yt.push(".#.+[+~]"),yt.querySelectorAll("\\\f"),Yt.push("[\\r\\n\\f]")}),fs(function(yt){yt.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var Jt=ye.createElement("input");Jt.setAttribute("type","hidden"),yt.appendChild(Jt).setAttribute("name","D"),yt.querySelectorAll("[name=d]").length&&Yt.push("name"+zi+"*[*^$|!~]?="),2!==yt.querySelectorAll(":enabled").length&&Yt.push(":enabled",":disabled"),pt.appendChild(yt).disabled=!0,2!==yt.querySelectorAll(":disabled").length&&Yt.push(":enabled",":disabled"),yt.querySelectorAll("*,:x"),Yt.push(",.*:")})),(v.matchesSelector=pr.test(Nn=pt.matches||pt.webkitMatchesSelector||pt.mozMatchesSelector||pt.oMatchesSelector||pt.msMatchesSelector))&&fs(function(yt){v.disconnectedMatch=Nn.call(yt,"*"),Nn.call(yt,"[s!='']:x"),Un.push("!=",Zo)}),Yt=Yt.length&&new RegExp(Yt.join("|")),Un=Un.length&&new RegExp(Un.join("|")),qe=pr.test(pt.compareDocumentPosition),ii=qe||pr.test(pt.contains)?function(yt,Jt){var nn=9===yt.nodeType?yt.documentElement:yt,gn=Jt&&Jt.parentNode;return yt===gn||!(!gn||1!==gn.nodeType||!(nn.contains?nn.contains(gn):yt.compareDocumentPosition&&16&yt.compareDocumentPosition(gn)))}:function(yt,Jt){if(Jt)for(;Jt=Jt.parentNode;)if(Jt===yt)return!0;return!1},Xi=qe?function(yt,Jt){if(yt===Jt)return q=!0,0;var nn=!yt.compareDocumentPosition-!Jt.compareDocumentPosition;return nn||(1&(nn=(yt.ownerDocument||yt)==(Jt.ownerDocument||Jt)?yt.compareDocumentPosition(Jt):1)||!v.sortDetached&&Jt.compareDocumentPosition(yt)===nn?yt==ye||yt.ownerDocument==xn&&ii(xn,yt)?-1:Jt==ye||Jt.ownerDocument==xn&&ii(xn,Jt)?1:I?Kn(I,yt)-Kn(I,Jt):0:4&nn?-1:1)}:function(yt,Jt){if(yt===Jt)return q=!0,0;var nn,gn=0,Cn=yt.parentNode,Vn=Jt.parentNode,jn=[yt],ei=[Jt];if(!Cn||!Vn)return yt==ye?-1:Jt==ye?1:Cn?-1:Vn?1:I?Kn(I,yt)-Kn(I,Jt):0;if(Cn===Vn)return tr(yt,Jt);for(nn=yt;nn=nn.parentNode;)jn.unshift(nn);for(nn=Jt;nn=nn.parentNode;)ei.unshift(nn);for(;jn[gn]===ei[gn];)gn++;return gn?tr(jn[gn],ei[gn]):jn[gn]==xn?-1:ei[gn]==xn?1:0}),ye},no.matches=function(fe,qe){return no(fe,null,null,qe)},no.matchesSelector=function(fe,qe){if(te(fe),v.matchesSelector&&qt&&!ao[qe+" "]&&(!Un||!Un.test(qe))&&(!Yt||!Yt.test(qe)))try{var lt=Nn.call(fe,qe);if(lt||v.disconnectedMatch||fe.document&&11!==fe.document.nodeType)return lt}catch($t){ao(qe,!0)}return no(qe,ye,null,[fe]).length>0},no.contains=function(fe,qe){return(fe.ownerDocument||fe)!=ye&&te(fe),ii(fe,qe)},no.attr=function(fe,qe){(fe.ownerDocument||fe)!=ye&&te(fe);var lt=w.attrHandle[qe.toLowerCase()],$t=lt&&_s.call(w.attrHandle,qe.toLowerCase())?lt(fe,qe,!qt):void 0;return void 0!==$t?$t:v.attributes||!qt?fe.getAttribute(qe):($t=fe.getAttributeNode(qe))&&$t.specified?$t.value:null},no.escape=function(fe){return(fe+"").replace(qo,ea)},no.error=function(fe){throw new Error("Syntax error, unrecognized expression: "+fe)},no.uniqueSort=function(fe){var qe,lt=[],$t=0,yt=0;if(q=!v.detectDuplicates,I=!v.sortStable&&fe.slice(0),fe.sort(Xi),q){for(;qe=fe[yt++];)qe===fe[yt]&&($t=lt.push(yt));for(;$t--;)fe.splice(lt[$t],1)}return I=null,fe},g=no.getText=function(fe){var qe,lt="",$t=0,yt=fe.nodeType;if(yt){if(1===yt||9===yt||11===yt){if("string"==typeof fe.textContent)return fe.textContent;for(fe=fe.firstChild;fe;fe=fe.nextSibling)lt+=g(fe)}else if(3===yt||4===yt)return fe.nodeValue}else for(;qe=fe[$t++];)lt+=g(qe);return lt},(w=no.selectors={cacheLength:50,createPseudo:ns,match:ys,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(fe){return fe[1]=fe[1].replace(ko,yi),fe[3]=(fe[3]||fe[4]||fe[5]||"").replace(ko,yi),"~="===fe[2]&&(fe[3]=" "+fe[3]+" "),fe.slice(0,4)},CHILD:function(fe){return fe[1]=fe[1].toLowerCase(),"nth"===fe[1].slice(0,3)?(fe[3]||no.error(fe[0]),fe[4]=+(fe[4]?fe[5]+(fe[6]||1):2*("even"===fe[3]||"odd"===fe[3])),fe[5]=+(fe[7]+fe[8]||"odd"===fe[3])):fe[3]&&no.error(fe[0]),fe},PSEUDO:function(fe){var qe,lt=!fe[6]&&fe[2];return ys.CHILD.test(fe[0])?null:(fe[3]?fe[2]=fe[4]||fe[5]||"":lt&&mo.test(lt)&&(qe=p(lt,!0))&&(qe=lt.indexOf(")",lt.length-qe)-lt.length)&&(fe[0]=fe[0].slice(0,qe),fe[2]=lt.slice(0,qe)),fe.slice(0,3))}},filter:{TAG:function(fe){var qe=fe.replace(ko,yi).toLowerCase();return"*"===fe?function(){return!0}:function(lt){return lt.nodeName&&lt.nodeName.toLowerCase()===qe}},CLASS:function(fe){var qe=Wn[fe+" "];return qe||(qe=new RegExp("(^|"+zi+")"+fe+"("+zi+"|$)"))&&Wn(fe,function(lt){return qe.test("string"==typeof lt.className&&lt.className||void 0!==lt.getAttribute&&lt.getAttribute("class")||"")})},ATTR:function(fe,qe,lt){return function($t){var yt=no.attr($t,fe);return null==yt?"!="===qe:!qe||(yt+="","="===qe?yt===lt:"!="===qe?yt!==lt:"^="===qe?lt&&0===yt.indexOf(lt):"*="===qe?lt&&yt.indexOf(lt)>-1:"$="===qe?lt&&yt.slice(-lt.length)===lt:"~="===qe?(" "+yt.replace(Lr," ")+" ").indexOf(lt)>-1:"|="===qe&&(yt===lt||yt.slice(0,lt.length+1)===lt+"-"))}},CHILD:function(fe,qe,lt,$t,yt){var Jt="nth"!==fe.slice(0,3),nn="last"!==fe.slice(-4),gn="of-type"===qe;return 1===$t&&0===yt?function(Cn){return!!Cn.parentNode}:function(Cn,Vn,jn){var ei,Mi,Ii,Zn,Po,Lo,Ui=Jt!==nn?"nextSibling":"previousSibling",so=Cn.parentNode,js=gn&&Cn.nodeName.toLowerCase(),ks=!jn&&!gn,Io=!1;if(so){if(Jt){for(;Ui;){for(Zn=Cn;Zn=Zn[Ui];)if(gn?Zn.nodeName.toLowerCase()===js:1===Zn.nodeType)return!1;Lo=Ui="only"===fe&&!Lo&&"nextSibling"}return!0}if(Lo=[nn?so.firstChild:so.lastChild],nn&&ks){for(Io=(Po=(ei=(Mi=(Ii=(Zn=so)[Dn]||(Zn[Dn]={}))[Zn.uniqueID]||(Ii[Zn.uniqueID]={}))[fe]||[])[0]===Zi&&ei[1])&&ei[2],Zn=Po&&so.childNodes[Po];Zn=++Po&&Zn&&Zn[Ui]||(Io=Po=0)||Lo.pop();)if(1===Zn.nodeType&&++Io&&Zn===Cn){Mi[fe]=[Zi,Po,Io];break}}else if(ks&&(Io=Po=(ei=(Mi=(Ii=(Zn=Cn)[Dn]||(Zn[Dn]={}))[Zn.uniqueID]||(Ii[Zn.uniqueID]={}))[fe]||[])[0]===Zi&&ei[1]),!1===Io)for(;(Zn=++Po&&Zn&&Zn[Ui]||(Io=Po=0)||Lo.pop())&&((gn?Zn.nodeName.toLowerCase()!==js:1!==Zn.nodeType)||!++Io||(ks&&((Mi=(Ii=Zn[Dn]||(Zn[Dn]={}))[Zn.uniqueID]||(Ii[Zn.uniqueID]={}))[fe]=[Zi,Io]),Zn!==Cn)););return(Io-=yt)===$t||Io%$t==0&&Io/$t>=0}}},PSEUDO:function(fe,qe){var lt,$t=w.pseudos[fe]||w.setFilters[fe.toLowerCase()]||no.error("unsupported pseudo: "+fe);return $t[Dn]?$t(qe):$t.length>1?(lt=[fe,fe,"",qe],w.setFilters.hasOwnProperty(fe.toLowerCase())?ns(function(yt,Jt){for(var nn,gn=$t(yt,qe),Cn=gn.length;Cn--;)yt[nn=Kn(yt,gn[Cn])]=!(Jt[nn]=gn[Cn])}):function(yt){return $t(yt,0,lt)}):$t}},pseudos:{not:ns(function(fe){var qe=[],lt=[],$t=S(fe.replace(Fs,"$1"));return $t[Dn]?ns(function(yt,Jt,nn,gn){for(var Cn,Vn=$t(yt,null,gn,[]),jn=yt.length;jn--;)(Cn=Vn[jn])&&(yt[jn]=!(Jt[jn]=Cn))}):function(yt,Jt,nn){return qe[0]=yt,$t(qe,null,nn,lt),qe[0]=null,!lt.pop()}}),has:ns(function(fe){return function(qe){return no(fe,qe).length>0}}),contains:ns(function(fe){return fe=fe.replace(ko,yi),function(qe){return(qe.textContent||g(qe)).indexOf(fe)>-1}}),lang:ns(function(fe){return Xr.test(fe||"")||no.error("unsupported lang: "+fe),fe=fe.replace(ko,yi).toLowerCase(),function(qe){var lt;do{if(lt=qt?qe.lang:qe.getAttribute("xml:lang")||qe.getAttribute("lang"))return(lt=lt.toLowerCase())===fe||0===lt.indexOf(fe+"-")}while((qe=qe.parentNode)&&1===qe.nodeType);return!1}}),target:function(fe){var qe=y.location&&y.location.hash;return qe&&qe.slice(1)===fe.id},root:function(fe){return fe===pt},focus:function(fe){return fe===ye.activeElement&&(!ye.hasFocus||ye.hasFocus())&&!!(fe.type||fe.href||~fe.tabIndex)},enabled:Br(!1),disabled:Br(!0),checked:function(fe){var qe=fe.nodeName.toLowerCase();return"input"===qe&&!!fe.checked||"option"===qe&&!!fe.selected},selected:function(fe){return!0===fe.selected},empty:function(fe){for(fe=fe.firstChild;fe;fe=fe.nextSibling)if(fe.nodeType<6)return!1;return!0},parent:function(fe){return!w.pseudos.empty(fe)},header:function(fe){return Ks.test(fe.nodeName)},input:function(fe){return Nr.test(fe.nodeName)},button:function(fe){var qe=fe.nodeName.toLowerCase();return"input"===qe&&"button"===fe.type||"button"===qe},text:function(fe){var qe;return"input"===fe.nodeName.toLowerCase()&&"text"===fe.type&&(null==(qe=fe.getAttribute("type"))||"text"===qe.toLowerCase())},first:Ns(function(){return[0]}),last:Ns(function(fe,qe){return[qe-1]}),eq:Ns(function(fe,qe,lt){return[lt<0?lt+qe:lt]}),even:Ns(function(fe,qe){for(var lt=0;lt<qe;lt+=2)fe.push(lt);return fe}),odd:Ns(function(fe,qe){for(var lt=1;lt<qe;lt+=2)fe.push(lt);return fe}),lt:Ns(function(fe,qe,lt){for(var $t=lt<0?lt+qe:lt>qe?qe:lt;--$t>=0;)fe.push($t);return fe}),gt:Ns(function(fe,qe,lt){for(var $t=lt<0?lt+qe:lt;++$t<qe;)fe.push($t);return fe})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[P]=Ca(P);for(P in{submit:!0,reset:!0})w.pseudos[P]=Vr(P);function Hr(){}function Mr(fe){for(var qe=0,lt=fe.length,$t="";qe<lt;qe++)$t+=fe[qe].value;return $t}function gr(fe,qe,lt){var $t=qe.dir,yt=qe.next,Jt=yt||$t,nn=lt&&"parentNode"===Jt,gn=ci++;return qe.first?function(Cn,Vn,jn){for(;Cn=Cn[$t];)if(1===Cn.nodeType||nn)return fe(Cn,Vn,jn);return!1}:function(Cn,Vn,jn){var ei,Mi,Ii,Zn=[Zi,gn];if(jn){for(;Cn=Cn[$t];)if((1===Cn.nodeType||nn)&&fe(Cn,Vn,jn))return!0}else for(;Cn=Cn[$t];)if(1===Cn.nodeType||nn)if(Mi=(Ii=Cn[Dn]||(Cn[Dn]={}))[Cn.uniqueID]||(Ii[Cn.uniqueID]={}),yt&&yt===Cn.nodeName.toLowerCase())Cn=Cn[$t]||Cn;else{if((ei=Mi[Jt])&&ei[0]===Zi&&ei[1]===gn)return Zn[2]=ei[2];if(Mi[Jt]=Zn,Zn[2]=fe(Cn,Vn,jn))return!0}return!1}}function mr(fe){return fe.length>1?function(qe,lt,$t){for(var yt=fe.length;yt--;)if(!fe[yt](qe,lt,$t))return!1;return!0}:fe[0]}function Vs(fe,qe,lt,$t,yt){for(var Jt,nn=[],gn=0,Cn=fe.length,Vn=null!=qe;gn<Cn;gn++)(Jt=fe[gn])&&(!lt||lt(Jt,$t,yt))&&(nn.push(Jt),Vn&&qe.push(gn));return nn}function zr(fe,qe,lt,$t,yt,Jt){return $t&&!$t[Dn]&&($t=zr($t)),yt&&!yt[Dn]&&(yt=zr(yt,Jt)),ns(function(nn,gn,Cn,Vn){var jn,ei,Mi,Ii=[],Zn=[],Po=gn.length,Lo=nn||function(fe,qe,lt){for(var $t=0,yt=qe.length;$t<yt;$t++)no(fe,qe[$t],lt);return lt}(qe||"*",Cn.nodeType?[Cn]:Cn,[]),Ui=!fe||!nn&&qe?Lo:Vs(Lo,Ii,fe,Cn,Vn),so=lt?yt||(nn?fe:Po||$t)?[]:gn:Ui;if(lt&&lt(Ui,so,Cn,Vn),$t)for(jn=Vs(so,Zn),$t(jn,[],Cn,Vn),ei=jn.length;ei--;)(Mi=jn[ei])&&(so[Zn[ei]]=!(Ui[Zn[ei]]=Mi));if(nn){if(yt||fe){if(yt){for(jn=[],ei=so.length;ei--;)(Mi=so[ei])&&jn.push(Ui[ei]=Mi);yt(null,so=[],jn,Vn)}for(ei=so.length;ei--;)(Mi=so[ei])&&(jn=yt?Kn(nn,Mi):Ii[ei])>-1&&(nn[jn]=!(gn[jn]=Mi))}}else so=Vs(so===gn?so.splice(Po,so.length):so),yt?yt(null,gn,so,Vn):cs.apply(gn,so)})}function Mo(fe){for(var qe,lt,$t,yt=fe.length,Jt=w.relative[fe[0].type],nn=Jt||w.relative[" "],gn=Jt?1:0,Cn=gr(function(ei){return ei===qe},nn,!0),Vn=gr(function(ei){return Kn(qe,ei)>-1},nn,!0),jn=[function(ei,Mi,Ii){var Zn=!Jt&&(Ii||Mi!==D)||((qe=Mi).nodeType?Cn(ei,Mi,Ii):Vn(ei,Mi,Ii));return qe=null,Zn}];gn<yt;gn++)if(lt=w.relative[fe[gn].type])jn=[gr(mr(jn),lt)];else{if((lt=w.filter[fe[gn].type].apply(null,fe[gn].matches))[Dn]){for($t=++gn;$t<yt&&!w.relative[fe[$t].type];$t++);return zr(gn>1&&mr(jn),gn>1&&Mr(fe.slice(0,gn-1).concat({value:" "===fe[gn-2].type?"*":""})).replace(Fs,"$1"),lt,gn<$t&&Mo(fe.slice(gn,$t)),$t<yt&&Mo(fe=fe.slice($t)),$t<yt&&Mr(fe))}jn.push(lt)}return mr(jn)}return Hr.prototype=w.filters=w.pseudos,w.setFilters=new Hr,p=no.tokenize=function(fe,qe){var lt,$t,yt,Jt,nn,gn,Cn,Vn=ms[fe+" "];if(Vn)return qe?0:Vn.slice(0);for(nn=fe,gn=[],Cn=w.preFilter;nn;){for(Jt in(!lt||($t=tn.exec(nn)))&&($t&&(nn=nn.slice($t[0].length)||nn),gn.push(yt=[])),lt=!1,($t=Pi.exec(nn))&&(lt=$t.shift(),yt.push({value:lt,type:$t[0].replace(Fs," ")}),nn=nn.slice(lt.length)),w.filter)($t=ys[Jt].exec(nn))&&(!Cn[Jt]||($t=Cn[Jt]($t)))&&(lt=$t.shift(),yt.push({value:lt,type:Jt,matches:$t}),nn=nn.slice(lt.length));if(!lt)break}return qe?nn.length:nn?no.error(fe):ms(fe,gn).slice(0)},S=no.compile=function(fe,qe){var lt,$t=[],yt=[],Jt=jo[fe+" "];if(!Jt){for(qe||(qe=p(fe)),lt=qe.length;lt--;)(Jt=Mo(qe[lt]))[Dn]?$t.push(Jt):yt.push(Jt);(Jt=jo(fe,function(fe,qe){var lt=qe.length>0,$t=fe.length>0,yt=function(Jt,nn,gn,Cn,Vn){var jn,ei,Mi,Ii=0,Zn="0",Po=Jt&&[],Lo=[],Ui=D,so=Jt||$t&&w.find.TAG("*",Vn),js=Zi+=null==Ui?1:Math.random()||.1,ks=so.length;for(Vn&&(D=nn==ye||nn||Vn);Zn!==ks&&null!=(jn=so[Zn]);Zn++){if($t&&jn){for(ei=0,!nn&&jn.ownerDocument!=ye&&(te(jn),gn=!qt);Mi=fe[ei++];)if(Mi(jn,nn||ye,gn)){Cn.push(jn);break}Vn&&(Zi=js)}lt&&((jn=!Mi&&jn)&&Ii--,Jt&&Po.push(jn))}if(Ii+=Zn,lt&&Zn!==Ii){for(ei=0;Mi=qe[ei++];)Mi(Po,Lo,nn,gn);if(Jt){if(Ii>0)for(;Zn--;)Po[Zn]||Lo[Zn]||(Lo[Zn]=Go.call(Cn));Lo=Vs(Lo)}cs.apply(Cn,Lo),Vn&&!Jt&&Lo.length>0&&Ii+qe.length>1&&no.uniqueSort(Cn)}return Vn&&(Zi=js,D=Ui),Po};return lt?ns(yt):yt}(yt,$t))).selector=fe}return Jt},b=no.select=function(fe,qe,lt,$t){var yt,Jt,nn,gn,Cn,Vn="function"==typeof fe&&fe,jn=!$t&&p(fe=Vn.selector||fe);if(lt=lt||[],1===jn.length){if((Jt=jn[0]=jn[0].slice(0)).length>2&&"ID"===(nn=Jt[0]).type&&9===qe.nodeType&&qt&&w.relative[Jt[1].type]){if(!(qe=(w.find.ID(nn.matches[0].replace(ko,yi),qe)||[])[0]))return lt;Vn&&(qe=qe.parentNode),fe=fe.slice(Jt.shift().value.length)}for(yt=ys.needsContext.test(fe)?0:Jt.length;yt--&&!w.relative[gn=(nn=Jt[yt]).type];)if((Cn=w.find[gn])&&($t=Cn(nn.matches[0].replace(ko,yi),Ls.test(Jt[0].type)&&nr(qe.parentNode)||qe))){if(Jt.splice(yt,1),!(fe=$t.length&&Mr(Jt)))return cs.apply(lt,$t),lt;break}}return(Vn||S(fe,jn))($t,qe,!qt,lt,!qe||Ls.test(fe)&&nr(qe.parentNode)||qe),lt},v.sortStable=Dn.split("").sort(Xi).join("")===Dn,v.detectDuplicates=!!q,te(),v.sortDetached=fs(function(fe){return 1&fe.compareDocumentPosition(ye.createElement("fieldset"))}),fs(function(fe){return fe.innerHTML="<a href='#'></a>","#"===fe.firstChild.getAttribute("href")})||vs("type|href|height|width",function(fe,qe,lt){if(!lt)return fe.getAttribute(qe,"type"===qe.toLowerCase()?1:2)}),(!v.attributes||!fs(function(fe){return fe.innerHTML="<input/>",fe.firstChild.setAttribute("value",""),""===fe.firstChild.getAttribute("value")}))&&vs("value",function(fe,qe,lt){if(!lt&&"input"===fe.nodeName.toLowerCase())return fe.defaultValue}),fs(function(fe){return null==fe.getAttribute("disabled")})||vs(Ds,function(fe,qe,lt){var $t;if(!lt)return!0===fe[qe]?qe.toLowerCase():($t=fe.getAttributeNode(qe))&&$t.specified?$t.value:null}),no}(c);z.find=ve,z.expr=ve.selectors,z.expr[":"]=z.expr.pseudos,z.uniqueSort=z.unique=ve.uniqueSort,z.text=ve.getText,z.isXMLDoc=ve.isXML,z.contains=ve.contains,z.escapeSelector=ve.escape;var Ie=function(y,P,v){for(var w=[],g=void 0!==v;(y=y[P])&&9!==y.nodeType;)if(1===y.nodeType){if(g&&z(y).is(v))break;w.push(y)}return w},be=function(y,P){for(var v=[];y;y=y.nextSibling)1===y.nodeType&&y!==P&&v.push(y);return v},Be=z.expr.match.needsContext;function bt(y,P){return y.nodeName&&y.nodeName.toLowerCase()===P.toLowerCase()}var We=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Xt(y,P,v){return Me(P)?z.grep(y,function(w,g){return!!P.call(w,g,w)!==v}):P.nodeType?z.grep(y,function(w){return w===P!==v}):"string"!=typeof P?z.grep(y,function(w){return we.call(P,w)>-1!==v}):z.filter(P,y,v)}z.filter=function(y,P,v){var w=P[0];return v&&(y=":not("+y+")"),1===P.length&&1===w.nodeType?z.find.matchesSelector(w,y)?[w]:[]:z.find.matches(y,z.grep(P,function(g){return 1===g.nodeType}))},z.fn.extend({find:function(y){var P,v,w=this.length,g=this;if("string"!=typeof y)return this.pushStack(z(y).filter(function(){for(P=0;P<w;P++)if(z.contains(g[P],this))return!0}));for(v=this.pushStack([]),P=0;P<w;P++)z.find(y,g[P],v);return w>1?z.uniqueSort(v):v},filter:function(y){return this.pushStack(Xt(this,y||[],!1))},not:function(y){return this.pushStack(Xt(this,y||[],!0))},is:function(y){return!!Xt(this,"string"==typeof y&&Be.test(y)?z(y):y||[],!1).length}});var Nt,Ut=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(z.fn.init=function(y,P,v){var w,g;if(!y)return this;if(v=v||Nt,"string"==typeof y){if(!(w="<"===y[0]&&">"===y[y.length-1]&&y.length>=3?[null,y,null]:Ut.exec(y))||!w[1]&&P)return!P||P.jquery?(P||v).find(y):this.constructor(P).find(y);if(w[1]){if(z.merge(this,z.parseHTML(w[1],(P=P instanceof z?P[0]:P)&&P.nodeType?P.ownerDocument||P:Ve,!0)),We.test(w[1])&&z.isPlainObject(P))for(w in P)Me(this[w])?this[w](P[w]):this.attr(w,P[w]);return this}return(g=Ve.getElementById(w[2]))&&(this[0]=g,this.length=1),this}return y.nodeType?(this[0]=y,this.length=1,this):Me(y)?void 0!==v.ready?v.ready(y):y(z):z.makeArray(y,this)}).prototype=z.fn,Nt=z(Ve);var kt=/^(?:parents|prev(?:Until|All))/,_n={children:!0,contents:!0,next:!0,prev:!0};function Ht(y,P){for(;(y=y[P])&&1!==y.nodeType;);return y}z.fn.extend({has:function(y){var P=z(y,this),v=P.length;return this.filter(function(){for(var w=0;w<v;w++)if(z.contains(this,P[w]))return!0})},closest:function(y,P){var v,w=0,g=this.length,T=[],p="string"!=typeof y&&z(y);if(!Be.test(y))for(;w<g;w++)for(v=this[w];v&&v!==P;v=v.parentNode)if(v.nodeType<11&&(p?p.index(v)>-1:1===v.nodeType&&z.find.matchesSelector(v,y))){T.push(v);break}return this.pushStack(T.length>1?z.uniqueSort(T):T)},index:function(y){return y?"string"==typeof y?we.call(z(y),this[0]):we.call(this,y.jquery?y[0]:y):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(y,P){return this.pushStack(z.uniqueSort(z.merge(this.get(),z(y,P))))},addBack:function(y){return this.add(null==y?this.prevObject:this.prevObject.filter(y))}}),z.each({parent:function(y){var P=y.parentNode;return P&&11!==P.nodeType?P:null},parents:function(y){return Ie(y,"parentNode")},parentsUntil:function(y,P,v){return Ie(y,"parentNode",v)},next:function(y){return Ht(y,"nextSibling")},prev:function(y){return Ht(y,"previousSibling")},nextAll:function(y){return Ie(y,"nextSibling")},prevAll:function(y){return Ie(y,"previousSibling")},nextUntil:function(y,P,v){return Ie(y,"nextSibling",v)},prevUntil:function(y,P,v){return Ie(y,"previousSibling",v)},siblings:function(y){return be((y.parentNode||{}).firstChild,y)},children:function(y){return be(y.firstChild)},contents:function(y){return null!=y.contentDocument&&ie(y.contentDocument)?y.contentDocument:(bt(y,"template")&&(y=y.content||y),z.merge([],y.childNodes))}},function(y,P){z.fn[y]=function(v,w){var g=z.map(this,P,v);return"Until"!==y.slice(-5)&&(w=v),w&&"string"==typeof w&&(g=z.filter(w,g)),this.length>1&&(_n[y]||z.uniqueSort(g),kt.test(y)&&g.reverse()),this.pushStack(g)}});var sn=/[^\x20\t\r\n\f]+/g;function at(y){return y}function Tt(y){throw y}function et(y,P,v,w){var g;try{y&&Me(g=y.promise)?g.call(y).done(P).fail(v):y&&Me(g=y.then)?g.call(y,P,v):P.apply(void 0,[y].slice(w))}catch(T){v.apply(void 0,[T])}}z.Callbacks=function(y){y="string"==typeof y?function(y){var P={};return z.each(y.match(sn)||[],function(v,w){P[w]=!0}),P}(y):z.extend({},y);var P,v,w,g,T=[],p=[],S=-1,b=function(){for(g=g||y.once,w=P=!0;p.length;S=-1)for(v=p.shift();++S<T.length;)!1===T[S].apply(v[0],v[1])&&y.stopOnFalse&&(S=T.length,v=!1);y.memory||(v=!1),P=!1,g&&(T=v?[]:"")},D={add:function(){return T&&(v&&!P&&(S=T.length-1,p.push(v)),function I(q){z.each(q,function(te,ye){Me(ye)?(!y.unique||!D.has(ye))&&T.push(ye):ye&&ye.length&&"string"!==Qe(ye)&&I(ye)})}(arguments),v&&!P&&b()),this},remove:function(){return z.each(arguments,function(I,q){for(var te;(te=z.inArray(q,T,te))>-1;)T.splice(te,1),te<=S&&S--}),this},has:function(I){return I?z.inArray(I,T)>-1:T.length>0},empty:function(){return T&&(T=[]),this},disable:function(){return g=p=[],T=v="",this},disabled:function(){return!T},lock:function(){return g=p=[],!v&&!P&&(T=v=""),this},locked:function(){return!!g},fireWith:function(I,q){return g||(q=[I,(q=q||[]).slice?q.slice():q],p.push(q),P||b()),this},fire:function(){return D.fireWith(this,arguments),this},fired:function(){return!!w}};return D},z.extend({Deferred:function(y){var P=[["notify","progress",z.Callbacks("memory"),z.Callbacks("memory"),2],["resolve","done",z.Callbacks("once memory"),z.Callbacks("once memory"),0,"resolved"],["reject","fail",z.Callbacks("once memory"),z.Callbacks("once memory"),1,"rejected"]],v="pending",w={state:function(){return v},always:function(){return g.done(arguments).fail(arguments),this},catch:function(T){return w.then(null,T)},pipe:function(){var T=arguments;return z.Deferred(function(p){z.each(P,function(S,b){var D=Me(T[b[4]])&&T[b[4]];g[b[1]](function(){var I=D&&D.apply(this,arguments);I&&Me(I.promise)?I.promise().progress(p.notify).done(p.resolve).fail(p.reject):p[b[0]+"With"](this,D?[I]:arguments)})}),T=null}).promise()},then:function(T,p,S){var b=0;function D(I,q,te,ye){return function(){var pt=this,qt=arguments,Yt=function(){var Nn,ii;if(!(I<b)){if((Nn=te.apply(pt,qt))===q.promise())throw new TypeError("Thenable self-resolution");Me(ii=Nn&&("object"==typeof Nn||"function"==typeof Nn)&&Nn.then)?ye?ii.call(Nn,D(b,q,at,ye),D(b,q,Tt,ye)):(b++,ii.call(Nn,D(b,q,at,ye),D(b,q,Tt,ye),D(b,q,at,q.notifyWith))):(te!==at&&(pt=void 0,qt=[Nn]),(ye||q.resolveWith)(pt,qt))}},Un=ye?Yt:function(){try{Yt()}catch(Nn){z.Deferred.exceptionHook&&z.Deferred.exceptionHook(Nn,Un.stackTrace),I+1>=b&&(te!==Tt&&(pt=void 0,qt=[Nn]),q.rejectWith(pt,qt))}};I?Un():(z.Deferred.getStackHook&&(Un.stackTrace=z.Deferred.getStackHook()),c.setTimeout(Un))}}return z.Deferred(function(I){P[0][3].add(D(0,I,Me(S)?S:at,I.notifyWith)),P[1][3].add(D(0,I,Me(T)?T:at)),P[2][3].add(D(0,I,Me(p)?p:Tt))}).promise()},promise:function(T){return null!=T?z.extend(T,w):w}},g={};return z.each(P,function(T,p){var S=p[2],b=p[5];w[p[1]]=S.add,b&&S.add(function(){v=b},P[3-T][2].disable,P[3-T][3].disable,P[0][2].lock,P[0][3].lock),S.add(p[3].fire),g[p[0]]=function(){return g[p[0]+"With"](this===g?void 0:this,arguments),this},g[p[0]+"With"]=S.fireWith}),w.promise(g),y&&y.call(g,g),g},when:function(y){var P=arguments.length,v=P,w=Array(v),g=se.call(arguments),T=z.Deferred(),p=function(S){return function(b){w[S]=this,g[S]=arguments.length>1?se.call(arguments):b,--P||T.resolveWith(w,g)}};if(P<=1&&(et(y,T.done(p(v)).resolve,T.reject,!P),"pending"===T.state()||Me(g[v]&&g[v].then)))return T.then();for(;v--;)et(g[v],p(v),T.reject);return T.promise()}});var mt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;z.Deferred.exceptionHook=function(y,P){c.console&&c.console.warn&&y&&mt.test(y.name)&&c.console.warn("jQuery.Deferred exception: "+y.message,y.stack,P)},z.readyException=function(y){c.setTimeout(function(){throw y})};var on=z.Deferred();function un(){Ve.removeEventListener("DOMContentLoaded",un),c.removeEventListener("load",un),z.ready()}z.fn.ready=function(y){return on.then(y).catch(function(P){z.readyException(P)}),this},z.extend({isReady:!1,readyWait:1,ready:function(y){(!0===y?--z.readyWait:z.isReady)||(z.isReady=!0,!(!0!==y&&--z.readyWait>0)&&on.resolveWith(Ve,[z]))}}),z.ready.then=on.then,"complete"===Ve.readyState||"loading"!==Ve.readyState&&!Ve.documentElement.doScroll?c.setTimeout(z.ready):(Ve.addEventListener("DOMContentLoaded",un),c.addEventListener("load",un));var cn=function(y,P,v,w,g,T,p){var S=0,b=y.length,D=null==v;if("object"===Qe(v))for(S in g=!0,v)cn(y,P,S,v[S],!0,T,p);else if(void 0!==w&&(g=!0,Me(w)||(p=!0),D&&(p?(P.call(y,w),P=null):(D=P,P=function(I,q,te){return D.call(z(I),te)})),P))for(;S<b;S++)P(y[S],v,p?w:w.call(y[S],S,P(y[S],v)));return g?y:D?P.call(y):b?P(y[0],v):T},Rn=/^-ms-/,vi=/-([a-z])/g;function Ci(y,P){return P.toUpperCase()}function Pn(y){return y.replace(Rn,"ms-").replace(vi,Ci)}var Qn=function(y){return 1===y.nodeType||9===y.nodeType||!+y.nodeType};function ai(){this.expando=z.expando+ai.uid++}ai.uid=1,ai.prototype={cache:function(y){var P=y[this.expando];return P||(P={},Qn(y)&&(y.nodeType?y[this.expando]=P:Object.defineProperty(y,this.expando,{value:P,configurable:!0}))),P},set:function(y,P,v){var w,g=this.cache(y);if("string"==typeof P)g[Pn(P)]=v;else for(w in P)g[Pn(w)]=P[w];return g},get:function(y,P){return void 0===P?this.cache(y):y[this.expando]&&y[this.expando][Pn(P)]},access:function(y,P,v){return void 0===P||P&&"string"==typeof P&&void 0===v?this.get(y,P):(this.set(y,P,v),void 0!==v?v:P)},remove:function(y,P){var v,w=y[this.expando];if(void 0!==w){if(void 0!==P)for((v=(P=Array.isArray(P)?P.map(Pn):(P=Pn(P))in w?[P]:P.match(sn)||[]).length);v--;)delete w[P[v]];(void 0===P||z.isEmptyObject(w))&&(y.nodeType?y[this.expando]=void 0:delete y[this.expando])}},hasData:function(y){var P=y[this.expando];return void 0!==P&&!z.isEmptyObject(P)}};var dn=new ai,Mn=new ai,si=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,io=/[A-Z]/g;function Pt(y,P,v){var w;if(void 0===v&&1===y.nodeType)if(w="data-"+P.replace(io,"-$&").toLowerCase(),"string"==typeof(v=y.getAttribute(w))){try{v=function(y){return"true"===y||"false"!==y&&("null"===y?null:y===+y+""?+y:si.test(y)?JSON.parse(y):y)}(v)}catch(g){}Mn.set(y,P,v)}else v=void 0;return v}z.extend({hasData:function(y){return Mn.hasData(y)||dn.hasData(y)},data:function(y,P,v){return Mn.access(y,P,v)},removeData:function(y,P){Mn.remove(y,P)},_data:function(y,P,v){return dn.access(y,P,v)},_removeData:function(y,P){dn.remove(y,P)}}),z.fn.extend({data:function(y,P){var v,w,g,T=this[0],p=T&&T.attributes;if(void 0===y){if(this.length&&(g=Mn.get(T),1===T.nodeType&&!dn.get(T,"hasDataAttrs"))){for(v=p.length;v--;)p[v]&&0===(w=p[v].name).indexOf("data-")&&(w=Pn(w.slice(5)),Pt(T,w,g[w]));dn.set(T,"hasDataAttrs",!0)}return g}return"object"==typeof y?this.each(function(){Mn.set(this,y)}):cn(this,function(S){var b;if(T&&void 0===S)return void 0!==(b=Mn.get(T,y))||void 0!==(b=Pt(T,y))?b:void 0;this.each(function(){Mn.set(this,y,S)})},null,P,arguments.length>1,null,!0)},removeData:function(y){return this.each(function(){Mn.remove(this,y)})}}),z.extend({queue:function(y,P,v){var w;if(y)return w=dn.get(y,P=(P||"fx")+"queue"),v&&(!w||Array.isArray(v)?w=dn.access(y,P,z.makeArray(v)):w.push(v)),w||[]},dequeue:function(y,P){var v=z.queue(y,P=P||"fx"),w=v.length,g=v.shift(),T=z._queueHooks(y,P);"inprogress"===g&&(g=v.shift(),w--),g&&("fx"===P&&v.unshift("inprogress"),delete T.stop,g.call(y,function(){z.dequeue(y,P)},T)),!w&&T&&T.empty.fire()},_queueHooks:function(y,P){var v=P+"queueHooks";return dn.get(y,v)||dn.access(y,v,{empty:z.Callbacks("once memory").add(function(){dn.remove(y,[P+"queue",v])})})}}),z.fn.extend({queue:function(y,P){var v=2;return"string"!=typeof y&&(P=y,y="fx",v--),arguments.length<v?z.queue(this[0],y):void 0===P?this:this.each(function(){var w=z.queue(this,y,P);z._queueHooks(this,y),"fx"===y&&"inprogress"!==w[0]&&z.dequeue(this,y)})},dequeue:function(y){return this.each(function(){z.dequeue(this,y)})},clearQueue:function(y){return this.queue(y||"fx",[])},promise:function(y,P){var v,w=1,g=z.Deferred(),T=this,p=this.length,S=function(){--w||g.resolveWith(T,[T])};for("string"!=typeof y&&(P=y,y=void 0),y=y||"fx";p--;)(v=dn.get(T[p],y+"queueHooks"))&&v.empty&&(w++,v.empty.add(S));return S(),g.promise(P)}});var Je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,me=new RegExp("^(?:([+-])=|)("+Je+")([a-z%]*)$","i"),Se=["Top","Right","Bottom","Left"],W=Ve.documentElement,F=function(y){return z.contains(y.ownerDocument,y)},U={composed:!0};W.getRootNode&&(F=function(y){return z.contains(y.ownerDocument,y)||y.getRootNode(U)===y.ownerDocument});var X=function(y,P){return"none"===(y=P||y).style.display||""===y.style.display&&F(y)&&"none"===z.css(y,"display")};function He(y,P,v,w){var g,T,p=20,S=w?function(){return w.cur()}:function(){return z.css(y,P,"")},b=S(),D=v&&v[3]||(z.cssNumber[P]?"":"px"),I=y.nodeType&&(z.cssNumber[P]||"px"!==D&&+b)&&me.exec(z.css(y,P));if(I&&I[3]!==D){for(D=D||I[3],I=+(b/=2)||1;p--;)z.style(y,P,I+D),(1-T)*(1-(T=S()/b||.5))<=0&&(p=0),I/=T;z.style(y,P,(I*=2)+D),v=v||[]}return v&&(I=+I||+b||0,g=v[1]?I+(v[1]+1)*v[2]:+v[2],w&&(w.unit=D,w.start=I,w.end=g)),g}var Qt={};function Wt(y){var P,v=y.ownerDocument,w=y.nodeName,g=Qt[w];return g||(P=v.body.appendChild(v.createElement(w)),g=z.css(P,"display"),P.parentNode.removeChild(P),"none"===g&&(g="block"),Qt[w]=g,g)}function Ze(y,P){for(var v,w,g=[],T=0,p=y.length;T<p;T++)(w=y[T]).style&&(v=w.style.display,P?("none"===v&&(g[T]=dn.get(w,"display")||null,g[T]||(w.style.display="")),""===w.style.display&&X(w)&&(g[T]=Wt(w))):"none"!==v&&(g[T]="none",dn.set(w,"display",v)));for(T=0;T<p;T++)null!=g[T]&&(y[T].style.display=g[T]);return y}z.fn.extend({show:function(){return Ze(this,!0)},hide:function(){return Ze(this)},toggle:function(y){return"boolean"==typeof y?y?this.show():this.hide():this.each(function(){X(this)?z(this).show():z(this).hide()})}});var P,v,jt=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Fe=/^$|^module$|\/(?:java|ecma)script/i;P=Ve.createDocumentFragment().appendChild(Ve.createElement("div")),(v=Ve.createElement("input")).setAttribute("type","radio"),v.setAttribute("checked","checked"),v.setAttribute("name","t"),P.appendChild(v),st.checkClone=P.cloneNode(!0).cloneNode(!0).lastChild.checked,P.innerHTML="<textarea>x</textarea>",st.noCloneChecked=!!P.cloneNode(!0).lastChild.defaultValue,P.innerHTML="<option></option>",st.option=!!P.lastChild;var Lt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function At(y,P){var v;return v=void 0!==y.getElementsByTagName?y.getElementsByTagName(P||"*"):void 0!==y.querySelectorAll?y.querySelectorAll(P||"*"):[],void 0===P||P&&bt(y,P)?z.merge([y],v):v}function mn(y,P){for(var v=0,w=y.length;v<w;v++)dn.set(y[v],"globalEval",!P||dn.get(P[v],"globalEval"))}Lt.tbody=Lt.tfoot=Lt.colgroup=Lt.caption=Lt.thead,Lt.th=Lt.td,st.option||(Lt.optgroup=Lt.option=[1,"<select multiple='multiple'>","</select>"]);var In=/<|&#?\w+;/;function On(y,P,v,w,g){for(var T,p,S,b,D,I,q=P.createDocumentFragment(),te=[],ye=0,pt=y.length;ye<pt;ye++)if((T=y[ye])||0===T)if("object"===Qe(T))z.merge(te,T.nodeType?[T]:T);else if(In.test(T)){for(p=p||q.appendChild(P.createElement("div")),S=(he.exec(T)||["",""])[1].toLowerCase(),p.innerHTML=(b=Lt[S]||Lt._default)[1]+z.htmlPrefilter(T)+b[2],I=b[0];I--;)p=p.lastChild;z.merge(te,p.childNodes),(p=q.firstChild).textContent=""}else te.push(P.createTextNode(T));for(q.textContent="",ye=0;T=te[ye++];)if(w&&z.inArray(T,w)>-1)g&&g.push(T);else if(D=F(T),p=At(q.appendChild(T),"script"),D&&mn(p),v)for(I=0;T=p[I++];)Fe.test(T.type||"")&&v.push(T);return q}var Ri=/^([^.]*)(?:\.(.+)|)/;function Sn(){return!0}function _i(){return!1}function an(y,P){return y===function(){try{return Ve.activeElement}catch(y){}}()==("focus"===P)}function Oi(y,P,v,w,g,T){var p,S;if("object"==typeof P){for(S in"string"!=typeof v&&(w=w||v,v=void 0),P)Oi(y,S,v,w,P[S],T);return y}if(null==w&&null==g?(g=v,w=v=void 0):null==g&&("string"==typeof v?(g=w,w=void 0):(g=w,w=v,v=void 0)),!1===g)g=_i;else if(!g)return y;return 1===T&&(p=g,(g=function(b){return z().off(b),p.apply(this,arguments)}).guid=p.guid||(p.guid=z.guid++)),y.each(function(){z.event.add(this,P,g,w,v)})}function Ti(y,P,v){v?(dn.set(y,P,!1),z.event.add(y,P,{namespace:!1,handler:function(w){var g,T,p=dn.get(this,P);if(1&w.isTrigger&&this[P]){if(p.length)(z.event.special[P]||{}).delegateType&&w.stopPropagation();else if(p=se.call(arguments),dn.set(this,P,p),g=v(this,P),this[P](),p!==(T=dn.get(this,P))||g?dn.set(this,P,!1):T={},p!==T)return w.stopImmediatePropagation(),w.preventDefault(),T&&T.value}else p.length&&(dn.set(this,P,{value:z.event.trigger(z.extend(p[0],z.Event.prototype),p.slice(1),this)}),w.stopImmediatePropagation())}})):void 0===dn.get(y,P)&&z.event.add(y,P,Sn)}z.event={global:{},add:function(y,P,v,w,g){var T,p,S,b,D,I,q,te,ye,pt,qt,Yt=dn.get(y);if(Qn(y))for(v.handler&&(v=(T=v).handler,g=T.selector),g&&z.find.matchesSelector(W,g),v.guid||(v.guid=z.guid++),(b=Yt.events)||(b=Yt.events=Object.create(null)),(p=Yt.handle)||(p=Yt.handle=function(Un){return void 0!==z&&z.event.triggered!==Un.type?z.event.dispatch.apply(y,arguments):void 0}),D=(P=(P||"").match(sn)||[""]).length;D--;)ye=qt=(S=Ri.exec(P[D])||[])[1],pt=(S[2]||"").split(".").sort(),ye&&(q=z.event.special[ye]||{},q=z.event.special[ye=(g?q.delegateType:q.bindType)||ye]||{},I=z.extend({type:ye,origType:qt,data:w,handler:v,guid:v.guid,selector:g,needsContext:g&&z.expr.match.needsContext.test(g),namespace:pt.join(".")},T),(te=b[ye])||((te=b[ye]=[]).delegateCount=0,(!q.setup||!1===q.setup.call(y,w,pt,p))&&y.addEventListener&&y.addEventListener(ye,p)),q.add&&(q.add.call(y,I),I.handler.guid||(I.handler.guid=v.guid)),g?te.splice(te.delegateCount++,0,I):te.push(I),z.event.global[ye]=!0)},remove:function(y,P,v,w,g){var T,p,S,b,D,I,q,te,ye,pt,qt,Yt=dn.hasData(y)&&dn.get(y);if(Yt&&(b=Yt.events)){for(D=(P=(P||"").match(sn)||[""]).length;D--;)if(ye=qt=(S=Ri.exec(P[D])||[])[1],pt=(S[2]||"").split(".").sort(),ye){for(q=z.event.special[ye]||{},te=b[ye=(w?q.delegateType:q.bindType)||ye]||[],S=S[2]&&new RegExp("(^|\\.)"+pt.join("\\.(?:.*\\.|)")+"(\\.|$)"),p=T=te.length;T--;)I=te[T],(g||qt===I.origType)&&(!v||v.guid===I.guid)&&(!S||S.test(I.namespace))&&(!w||w===I.selector||"**"===w&&I.selector)&&(te.splice(T,1),I.selector&&te.delegateCount--,q.remove&&q.remove.call(y,I));p&&!te.length&&((!q.teardown||!1===q.teardown.call(y,pt,Yt.handle))&&z.removeEvent(y,ye,Yt.handle),delete b[ye])}else for(ye in b)z.event.remove(y,ye+P[D],v,w,!0);z.isEmptyObject(b)&&dn.remove(y,"handle events")}},dispatch:function(y){var P,v,w,g,T,p,S=new Array(arguments.length),b=z.event.fix(y),D=(dn.get(this,"events")||Object.create(null))[b.type]||[],I=z.event.special[b.type]||{};for(S[0]=b,P=1;P<arguments.length;P++)S[P]=arguments[P];if(b.delegateTarget=this,!I.preDispatch||!1!==I.preDispatch.call(this,b)){for(p=z.event.handlers.call(this,b,D),P=0;(g=p[P++])&&!b.isPropagationStopped();)for(b.currentTarget=g.elem,v=0;(T=g.handlers[v++])&&!b.isImmediatePropagationStopped();)(!b.rnamespace||!1===T.namespace||b.rnamespace.test(T.namespace))&&(b.handleObj=T,b.data=T.data,void 0!==(w=((z.event.special[T.origType]||{}).handle||T.handler).apply(g.elem,S))&&!1===(b.result=w)&&(b.preventDefault(),b.stopPropagation()));return I.postDispatch&&I.postDispatch.call(this,b),b.result}},handlers:function(y,P){var v,w,g,T,p,S=[],b=P.delegateCount,D=y.target;if(b&&D.nodeType&&!("click"===y.type&&y.button>=1))for(;D!==this;D=D.parentNode||this)if(1===D.nodeType&&("click"!==y.type||!0!==D.disabled)){for(T=[],p={},v=0;v<b;v++)void 0===p[g=(w=P[v]).selector+" "]&&(p[g]=w.needsContext?z(g,this).index(D)>-1:z.find(g,this,null,[D]).length),p[g]&&T.push(w);T.length&&S.push({elem:D,handlers:T})}return D=this,b<P.length&&S.push({elem:D,handlers:P.slice(b)}),S},addProp:function(y,P){Object.defineProperty(z.Event.prototype,y,{enumerable:!0,configurable:!0,get:Me(P)?function(){if(this.originalEvent)return P(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[y]},set:function(v){Object.defineProperty(this,y,{enumerable:!0,configurable:!0,writable:!0,value:v})}})},fix:function(y){return y[z.expando]?y:new z.Event(y)},special:{load:{noBubble:!0},click:{setup:function(y){var P=this||y;return jt.test(P.type)&&P.click&&bt(P,"input")&&Ti(P,"click",Sn),!1},trigger:function(y){var P=this||y;return jt.test(P.type)&&P.click&&bt(P,"input")&&Ti(P,"click"),!0},_default:function(y){var P=y.target;return jt.test(P.type)&&P.click&&bt(P,"input")&&dn.get(P,"click")||bt(P,"a")}},beforeunload:{postDispatch:function(y){void 0!==y.result&&y.originalEvent&&(y.originalEvent.returnValue=y.result)}}}},z.removeEvent=function(y,P,v){y.removeEventListener&&y.removeEventListener(P,v)},z.Event=function(y,P){if(!(this instanceof z.Event))return new z.Event(y,P);y&&y.type?(this.originalEvent=y,this.type=y.type,this.isDefaultPrevented=y.defaultPrevented||void 0===y.defaultPrevented&&!1===y.returnValue?Sn:_i,this.target=y.target&&3===y.target.nodeType?y.target.parentNode:y.target,this.currentTarget=y.currentTarget,this.relatedTarget=y.relatedTarget):this.type=y,P&&z.extend(this,P),this.timeStamp=y&&y.timeStamp||Date.now(),this[z.expando]=!0},z.Event.prototype={constructor:z.Event,isDefaultPrevented:_i,isPropagationStopped:_i,isImmediatePropagationStopped:_i,isSimulated:!1,preventDefault:function(){var y=this.originalEvent;this.isDefaultPrevented=Sn,y&&!this.isSimulated&&y.preventDefault()},stopPropagation:function(){var y=this.originalEvent;this.isPropagationStopped=Sn,y&&!this.isSimulated&&y.stopPropagation()},stopImmediatePropagation:function(){var y=this.originalEvent;this.isImmediatePropagationStopped=Sn,y&&!this.isSimulated&&y.stopImmediatePropagation(),this.stopPropagation()}},z.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},z.event.addProp),z.each({focus:"focusin",blur:"focusout"},function(y,P){z.event.special[y]={setup:function(){return Ti(this,y,an),!1},trigger:function(){return Ti(this,y),!0},_default:function(){return!0},delegateType:P}}),z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(y,P){z.event.special[y]={delegateType:P,bindType:P,handle:function(v){var w,g=this,T=v.relatedTarget,p=v.handleObj;return(!T||T!==g&&!z.contains(g,T))&&(v.type=p.origType,w=p.handler.apply(this,arguments),v.type=P),w}}}),z.fn.extend({on:function(y,P,v,w){return Oi(this,y,P,v,w)},one:function(y,P,v,w){return Oi(this,y,P,v,w,1)},off:function(y,P,v){var w,g;if(y&&y.preventDefault&&y.handleObj)return w=y.handleObj,z(y.delegateTarget).off(w.namespace?w.origType+"."+w.namespace:w.origType,w.selector,w.handler),this;if("object"==typeof y){for(g in y)this.off(g,P,y[g]);return this}return(!1===P||"function"==typeof P)&&(v=P,P=void 0),!1===v&&(v=_i),this.each(function(){z.event.remove(this,y,v,P)})}});var Vi=/<script|<style|<link/i,Ji=/checked\s*(?:[^=]|=\s*.checked.)/i,pi=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function uo(y,P){return bt(y,"table")&&bt(11!==P.nodeType?P:P.firstChild,"tr")&&z(y).children("tbody")[0]||y}function Hi(y){return y.type=(null!==y.getAttribute("type"))+"/"+y.type,y}function To(y){return"true/"===(y.type||"").slice(0,5)?y.type=y.type.slice(5):y.removeAttribute("type"),y}function Fo(y,P){var v,w,g,p,S,b;if(1===P.nodeType){if(dn.hasData(y)&&(b=dn.get(y).events))for(g in dn.remove(P,"handle events"),b)for(v=0,w=b[g].length;v<w;v++)z.event.add(P,g,b[g][v]);Mn.hasData(y)&&(p=Mn.access(y),S=z.extend({},p),Mn.set(P,S))}}function Fi(y,P){var v=P.nodeName.toLowerCase();"input"===v&&jt.test(y.type)?P.checked=y.checked:("input"===v||"textarea"===v)&&(P.defaultValue=y.defaultValue)}function li(y,P,v,w){P=de(P);var g,T,p,S,b,D,I=0,q=y.length,te=q-1,ye=P[0],pt=Me(ye);if(pt||q>1&&"string"==typeof ye&&!st.checkClone&&Ji.test(ye))return y.each(function(qt){var Yt=y.eq(qt);pt&&(P[0]=ye.call(this,qt,Yt.html())),li(Yt,P,v,w)});if(q&&(T=(g=On(P,y[0].ownerDocument,!1,y,w)).firstChild,1===g.childNodes.length&&(g=T),T||w)){for(S=(p=z.map(At(g,"script"),Hi)).length;I<q;I++)b=g,I!==te&&(b=z.clone(b,!0,!0),S&&z.merge(p,At(b,"script"))),v.call(y[I],b,I);if(S)for(D=p[p.length-1].ownerDocument,z.map(p,To),I=0;I<S;I++)Fe.test((b=p[I]).type||"")&&!dn.access(b,"globalEval")&&z.contains(D,b)&&(b.src&&"module"!==(b.type||"").toLowerCase()?z._evalUrl&&!b.noModule&&z._evalUrl(b.src,{nonce:b.nonce||b.getAttribute("nonce")},D):je(b.textContent.replace(pi,""),b,D))}return y}function po(y,P,v){for(var w,g=P?z.filter(P,y):y,T=0;null!=(w=g[T]);T++)!v&&1===w.nodeType&&z.cleanData(At(w)),w.parentNode&&(v&&F(w)&&mn(At(w,"script")),w.parentNode.removeChild(w));return y}z.extend({htmlPrefilter:function(y){return y},clone:function(y,P,v){var w,g,T,p,S=y.cloneNode(!0),b=F(y);if(!(st.noCloneChecked||1!==y.nodeType&&11!==y.nodeType||z.isXMLDoc(y)))for(p=At(S),w=0,g=(T=At(y)).length;w<g;w++)Fi(T[w],p[w]);if(P)if(v)for(T=T||At(y),p=p||At(S),w=0,g=T.length;w<g;w++)Fo(T[w],p[w]);else Fo(y,S);return(p=At(S,"script")).length>0&&mn(p,!b&&At(y,"script")),S},cleanData:function(y){for(var P,v,w,g=z.event.special,T=0;void 0!==(v=y[T]);T++)if(Qn(v)){if(P=v[dn.expando]){if(P.events)for(w in P.events)g[w]?z.event.remove(v,w):z.removeEvent(v,w,P.handle);v[dn.expando]=void 0}v[Mn.expando]&&(v[Mn.expando]=void 0)}}}),z.fn.extend({detach:function(y){return po(this,y,!0)},remove:function(y){return po(this,y)},text:function(y){return cn(this,function(P){return void 0===P?z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=P)})},null,y,arguments.length)},append:function(){return li(this,arguments,function(y){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||uo(this,y).appendChild(y)})},prepend:function(){return li(this,arguments,function(y){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var P=uo(this,y);P.insertBefore(y,P.firstChild)}})},before:function(){return li(this,arguments,function(y){this.parentNode&&this.parentNode.insertBefore(y,this)})},after:function(){return li(this,arguments,function(y){this.parentNode&&this.parentNode.insertBefore(y,this.nextSibling)})},empty:function(){for(var y,P=0;null!=(y=this[P]);P++)1===y.nodeType&&(z.cleanData(At(y,!1)),y.textContent="");return this},clone:function(y,P){return y=null!=y&&y,P=null==P?y:P,this.map(function(){return z.clone(this,y,P)})},html:function(y){return cn(this,function(P){var v=this[0]||{},w=0,g=this.length;if(void 0===P&&1===v.nodeType)return v.innerHTML;if("string"==typeof P&&!Vi.test(P)&&!Lt[(he.exec(P)||["",""])[1].toLowerCase()]){P=z.htmlPrefilter(P);try{for(;w<g;w++)1===(v=this[w]||{}).nodeType&&(z.cleanData(At(v,!1)),v.innerHTML=P);v=0}catch(T){}}v&&this.empty().append(P)},null,y,arguments.length)},replaceWith:function(){var y=[];return li(this,arguments,function(P){var v=this.parentNode;z.inArray(this,y)<0&&(z.cleanData(At(this)),v&&v.replaceChild(P,this))},y)}}),z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(y,P){z.fn[y]=function(v){for(var w,g=[],T=z(v),p=T.length-1,S=0;S<=p;S++)w=S===p?this:this.clone(!0),z(T[S])[P](w),ge.apply(g,w.get());return this.pushStack(g)}});var bo=new RegExp("^("+Je+")(?!px)[a-z%]+$","i"),yo=function(y){var P=y.ownerDocument.defaultView;return(!P||!P.opener)&&(P=c),P.getComputedStyle(y)},vo=function(y,P,v){var w,g,T={};for(g in P)T[g]=y.style[g],y.style[g]=P[g];for(g in w=v.call(y),P)y.style[g]=T[g];return w},fo=new RegExp(Se.join("|"),"i");function nt(y,P,v){var w,g,T,p,S=y.style;return(v=v||yo(y))&&(""===(p=v.getPropertyValue(P)||v[P])&&!F(y)&&(p=z.style(y,P)),!st.pixelBoxStyles()&&bo.test(p)&&fo.test(P)&&(w=S.width,g=S.minWidth,T=S.maxWidth,S.minWidth=S.maxWidth=S.width=p,p=v.width,S.width=w,S.minWidth=g,S.maxWidth=T)),void 0!==p?p+"":p}function Ot(y,P){return{get:function(){if(!y())return(this.get=P).apply(this,arguments);delete this.get}}}!function(){function y(){if(D){b.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",D.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",W.appendChild(b).appendChild(D);var I=c.getComputedStyle(D);v="1%"!==I.top,S=12===P(I.marginLeft),D.style.right="60%",T=36===P(I.right),w=36===P(I.width),D.style.position="absolute",g=12===P(D.offsetWidth/3),W.removeChild(b),D=null}}function P(I){return Math.round(parseFloat(I))}var v,w,g,T,p,S,b=Ve.createElement("div"),D=Ve.createElement("div");!D.style||(D.style.backgroundClip="content-box",D.cloneNode(!0).style.backgroundClip="",st.clearCloneStyle="content-box"===D.style.backgroundClip,z.extend(st,{boxSizingReliable:function(){return y(),w},pixelBoxStyles:function(){return y(),T},pixelPosition:function(){return y(),v},reliableMarginLeft:function(){return y(),S},scrollboxSize:function(){return y(),g},reliableTrDimensions:function(){var I,q,te,ye;return null==p&&(I=Ve.createElement("table"),q=Ve.createElement("tr"),te=Ve.createElement("div"),I.style.cssText="position:absolute;left:-11111px;border-collapse:separate",q.style.cssText="border:1px solid",q.style.height="1px",te.style.height="9px",te.style.display="block",W.appendChild(I).appendChild(q).appendChild(te),ye=c.getComputedStyle(q),p=parseInt(ye.height,10)+parseInt(ye.borderTopWidth,10)+parseInt(ye.borderBottomWidth,10)===q.offsetHeight,W.removeChild(I)),p}}))}();var $=["Webkit","Moz","ms"],De=Ve.createElement("div").style,$e={};function Bt(y){return z.cssProps[y]||$e[y]||(y in De?y:$e[y]=function(y){for(var P=y[0].toUpperCase()+y.slice(1),v=$.length;v--;)if((y=$[v]+P)in De)return y}(y)||y)}var St=/^(none|table(?!-c[ea]).+)/,en=/^--/,An={position:"absolute",visibility:"hidden",display:"block"},it={letterSpacing:"0",fontWeight:"400"};function Ye(y,P,v){var w=me.exec(P);return w?Math.max(0,w[2]-(v||0))+(w[3]||"px"):P}function Oe(y,P,v,w,g,T){var p="width"===P?1:0,S=0,b=0;if(v===(w?"border":"content"))return 0;for(;p<4;p+=2)"margin"===v&&(b+=z.css(y,v+Se[p],!0,g)),w?("content"===v&&(b-=z.css(y,"padding"+Se[p],!0,g)),"margin"!==v&&(b-=z.css(y,"border"+Se[p]+"Width",!0,g))):(b+=z.css(y,"padding"+Se[p],!0,g),"padding"!==v?b+=z.css(y,"border"+Se[p]+"Width",!0,g):S+=z.css(y,"border"+Se[p]+"Width",!0,g));return!w&&T>=0&&(b+=Math.max(0,Math.ceil(y["offset"+P[0].toUpperCase()+P.slice(1)]-T-b-S-.5))||0),b}function ht(y,P,v){var w=yo(y),T=(!st.boxSizingReliable()||v)&&"border-box"===z.css(y,"boxSizing",!1,w),p=T,S=nt(y,P,w),b="offset"+P[0].toUpperCase()+P.slice(1);if(bo.test(S)){if(!v)return S;S="auto"}return(!st.boxSizingReliable()&&T||!st.reliableTrDimensions()&&bt(y,"tr")||"auto"===S||!parseFloat(S)&&"inline"===z.css(y,"display",!1,w))&&y.getClientRects().length&&(T="border-box"===z.css(y,"boxSizing",!1,w),(p=b in y)&&(S=y[b])),(S=parseFloat(S)||0)+Oe(y,P,v||(T?"border":"content"),p,w,S)+"px"}function Ct(y,P,v,w,g){return new Ct.prototype.init(y,P,v,w,g)}z.extend({cssHooks:{opacity:{get:function(y,P){if(P){var v=nt(y,"opacity");return""===v?"1":v}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(y,P,v,w){if(y&&3!==y.nodeType&&8!==y.nodeType&&y.style){var g,T,p,S=Pn(P),b=en.test(P),D=y.style;if(b||(P=Bt(S)),p=z.cssHooks[P]||z.cssHooks[S],void 0===v)return p&&"get"in p&&void 0!==(g=p.get(y,!1,w))?g:D[P];if("string"==(T=typeof v)&&(g=me.exec(v))&&g[1]&&(v=He(y,P,g),T="number"),null==v||v!=v)return;"number"===T&&!b&&(v+=g&&g[3]||(z.cssNumber[S]?"":"px")),!st.clearCloneStyle&&""===v&&0===P.indexOf("background")&&(D[P]="inherit"),(!p||!("set"in p)||void 0!==(v=p.set(y,v,w)))&&(b?D.setProperty(P,v):D[P]=v)}},css:function(y,P,v,w){var g,T,p,S=Pn(P);return en.test(P)||(P=Bt(S)),(p=z.cssHooks[P]||z.cssHooks[S])&&"get"in p&&(g=p.get(y,!0,v)),void 0===g&&(g=nt(y,P,w)),"normal"===g&&P in it&&(g=it[P]),""===v||v?(T=parseFloat(g),!0===v||isFinite(T)?T||0:g):g}}),z.each(["height","width"],function(y,P){z.cssHooks[P]={get:function(v,w,g){if(w)return!St.test(z.css(v,"display"))||v.getClientRects().length&&v.getBoundingClientRect().width?ht(v,P,g):vo(v,An,function(){return ht(v,P,g)})},set:function(v,w,g){var T,p=yo(v),S=!st.scrollboxSize()&&"absolute"===p.position,D=(S||g)&&"border-box"===z.css(v,"boxSizing",!1,p),I=g?Oe(v,P,g,D,p):0;return D&&S&&(I-=Math.ceil(v["offset"+P[0].toUpperCase()+P.slice(1)]-parseFloat(p[P])-Oe(v,P,"border",!1,p)-.5)),I&&(T=me.exec(w))&&"px"!==(T[3]||"px")&&(v.style[P]=w,w=z.css(v,P)),Ye(0,w,I)}}}),z.cssHooks.marginLeft=Ot(st.reliableMarginLeft,function(y,P){if(P)return(parseFloat(nt(y,"marginLeft"))||y.getBoundingClientRect().left-vo(y,{marginLeft:0},function(){return y.getBoundingClientRect().left}))+"px"}),z.each({margin:"",padding:"",border:"Width"},function(y,P){z.cssHooks[y+P]={expand:function(v){for(var w=0,g={},T="string"==typeof v?v.split(" "):[v];w<4;w++)g[y+Se[w]+P]=T[w]||T[w-2]||T[0];return g}},"margin"!==y&&(z.cssHooks[y+P].set=Ye)}),z.fn.extend({css:function(y,P){return cn(this,function(v,w,g){var T,p,S={},b=0;if(Array.isArray(w)){for(T=yo(v),p=w.length;b<p;b++)S[w[b]]=z.css(v,w[b],!1,T);return S}return void 0!==g?z.style(v,w,g):z.css(v,w)},y,P,arguments.length>1)}}),z.Tween=Ct,(Ct.prototype={constructor:Ct,init:function(y,P,v,w,g,T){this.elem=y,this.prop=v,this.easing=g||z.easing._default,this.options=P,this.start=this.now=this.cur(),this.end=w,this.unit=T||(z.cssNumber[v]?"":"px")},cur:function(){var y=Ct.propHooks[this.prop];return y&&y.get?y.get(this):Ct.propHooks._default.get(this)},run:function(y){var P,v=Ct.propHooks[this.prop];return this.pos=P=this.options.duration?z.easing[this.easing](y,this.options.duration*y,0,1,this.options.duration):y,this.now=(this.end-this.start)*P+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),v&&v.set?v.set(this):Ct.propHooks._default.set(this),this}}).init.prototype=Ct.prototype,(Ct.propHooks={_default:{get:function(y){var P;return 1!==y.elem.nodeType||null!=y.elem[y.prop]&&null==y.elem.style[y.prop]?y.elem[y.prop]:(P=z.css(y.elem,y.prop,""))&&"auto"!==P?P:0},set:function(y){z.fx.step[y.prop]?z.fx.step[y.prop](y):1!==y.elem.nodeType||!z.cssHooks[y.prop]&&null==y.elem.style[Bt(y.prop)]?y.elem[y.prop]=y.now:z.style(y.elem,y.prop,y.now+y.unit)}}}).scrollTop=Ct.propHooks.scrollLeft={set:function(y){y.elem.nodeType&&y.elem.parentNode&&(y.elem[y.prop]=y.now)}},z.easing={linear:function(y){return y},swing:function(y){return.5-Math.cos(y*Math.PI)/2},_default:"swing"},z.fx=Ct.prototype.init,z.fx.step={};var pn,Ce,Te=/^(?:toggle|show|hide)$/,oe=/queueHooks$/;function Xe(){Ce&&(!1===Ve.hidden&&c.requestAnimationFrame?c.requestAnimationFrame(Xe):c.setTimeout(Xe,z.fx.interval),z.fx.tick())}function Dt(){return c.setTimeout(function(){pn=void 0}),pn=Date.now()}function zt(y,P){var v,w=0,g={height:y};for(P=P?1:0;w<4;w+=2-P)g["margin"+(v=Se[w])]=g["padding"+v]=y;return P&&(g.opacity=g.width=y),g}function ln(y,P,v){for(var w,g=(wn.tweeners[P]||[]).concat(wn.tweeners["*"]),T=0,p=g.length;T<p;T++)if(w=g[T].call(v,P,y))return w}function wn(y,P,v){var w,g,T=0,p=wn.prefilters.length,S=z.Deferred().always(function(){delete b.elem}),b=function(){if(g)return!1;for(var q=pn||Dt(),te=Math.max(0,D.startTime+D.duration-q),pt=1-(te/D.duration||0),qt=0,Yt=D.tweens.length;qt<Yt;qt++)D.tweens[qt].run(pt);return S.notifyWith(y,[D,pt,te]),pt<1&&Yt?te:(Yt||S.notifyWith(y,[D,1,0]),S.resolveWith(y,[D]),!1)},D=S.promise({elem:y,props:z.extend({},P),opts:z.extend(!0,{specialEasing:{},easing:z.easing._default},v),originalProperties:P,originalOptions:v,startTime:pn||Dt(),duration:v.duration,tweens:[],createTween:function(q,te){var ye=z.Tween(y,D.opts,q,te,D.opts.specialEasing[q]||D.opts.easing);return D.tweens.push(ye),ye},stop:function(q){var te=0,ye=q?D.tweens.length:0;if(g)return this;for(g=!0;te<ye;te++)D.tweens[te].run(1);return q?(S.notifyWith(y,[D,1,0]),S.resolveWith(y,[D,q])):S.rejectWith(y,[D,q]),this}}),I=D.props;for(function(y,P){var v,w,g,T,p;for(v in y)if(g=P[w=Pn(v)],T=y[v],Array.isArray(T)&&(g=T[1],T=y[v]=T[0]),v!==w&&(y[w]=T,delete y[v]),(p=z.cssHooks[w])&&"expand"in p)for(v in T=p.expand(T),delete y[w],T)v in y||(y[v]=T[v],P[v]=g);else P[w]=g}(I,D.opts.specialEasing);T<p;T++)if(w=wn.prefilters[T].call(D,y,I,D.opts))return Me(w.stop)&&(z._queueHooks(D.elem,D.opts.queue).stop=w.stop.bind(w)),w;return z.map(I,ln,D),Me(D.opts.start)&&D.opts.start.call(y,D),D.progress(D.opts.progress).done(D.opts.done,D.opts.complete).fail(D.opts.fail).always(D.opts.always),z.fx.timer(z.extend(b,{elem:y,anim:D,queue:D.opts.queue})),D}z.Animation=z.extend(wn,{tweeners:{"*":[function(y,P){var v=this.createTween(y,P);return He(v.elem,y,me.exec(P),v),v}]},tweener:function(y,P){Me(y)?(P=y,y=["*"]):y=y.match(sn);for(var v,w=0,g=y.length;w<g;w++)(wn.tweeners[v=y[w]]=wn.tweeners[v]||[]).unshift(P)},prefilters:[function(y,P,v){var w,g,T,p,S,b,D,I,q="width"in P||"height"in P,te=this,ye={},pt=y.style,qt=y.nodeType&&X(y),Yt=dn.get(y,"fxshow");for(w in v.queue||(null==(p=z._queueHooks(y,"fx")).unqueued&&(p.unqueued=0,S=p.empty.fire,p.empty.fire=function(){p.unqueued||S()}),p.unqueued++,te.always(function(){te.always(function(){p.unqueued--,z.queue(y,"fx").length||p.empty.fire()})})),P)if(Te.test(g=P[w])){if(delete P[w],T=T||"toggle"===g,g===(qt?"hide":"show")){if("show"!==g||!Yt||void 0===Yt[w])continue;qt=!0}ye[w]=Yt&&Yt[w]||z.style(y,w)}if((b=!z.isEmptyObject(P))||!z.isEmptyObject(ye))for(w in q&&1===y.nodeType&&(v.overflow=[pt.overflow,pt.overflowX,pt.overflowY],null==(D=Yt&&Yt.display)&&(D=dn.get(y,"display")),"none"===(I=z.css(y,"display"))&&(D?I=D:(Ze([y],!0),D=y.style.display||D,I=z.css(y,"display"),Ze([y]))),("inline"===I||"inline-block"===I&&null!=D)&&"none"===z.css(y,"float")&&(b||(te.done(function(){pt.display=D}),null==D&&(D="none"===(I=pt.display)?"":I)),pt.display="inline-block")),v.overflow&&(pt.overflow="hidden",te.always(function(){pt.overflow=v.overflow[0],pt.overflowX=v.overflow[1],pt.overflowY=v.overflow[2]})),b=!1,ye)b||(Yt?"hidden"in Yt&&(qt=Yt.hidden):Yt=dn.access(y,"fxshow",{display:D}),T&&(Yt.hidden=!qt),qt&&Ze([y],!0),te.done(function(){for(w in qt||Ze([y]),dn.remove(y,"fxshow"),ye)z.style(y,w,ye[w])})),b=ln(qt?Yt[w]:0,w,te),w in Yt||(Yt[w]=b.start,qt&&(b.end=b.start,b.start=0))}],prefilter:function(y,P){P?wn.prefilters.unshift(y):wn.prefilters.push(y)}}),z.speed=function(y,P,v){var w=y&&"object"==typeof y?z.extend({},y):{complete:v||!v&&P||Me(y)&&y,duration:y,easing:v&&P||P&&!Me(P)&&P};return z.fx.off?w.duration=0:"number"!=typeof w.duration&&(w.duration=w.duration in z.fx.speeds?z.fx.speeds[w.duration]:z.fx.speeds._default),(null==w.queue||!0===w.queue)&&(w.queue="fx"),w.old=w.complete,w.complete=function(){Me(w.old)&&w.old.call(this),w.queue&&z.dequeue(this,w.queue)},w},z.fn.extend({fadeTo:function(y,P,v,w){return this.filter(X).css("opacity",0).show().end().animate({opacity:P},y,v,w)},animate:function(y,P,v,w){var g=z.isEmptyObject(y),T=z.speed(P,v,w),p=function(){var S=wn(this,z.extend({},y),T);(g||dn.get(this,"finish"))&&S.stop(!0)};return p.finish=p,g||!1===T.queue?this.each(p):this.queue(T.queue,p)},stop:function(y,P,v){var w=function(g){var T=g.stop;delete g.stop,T(v)};return"string"!=typeof y&&(v=P,P=y,y=void 0),P&&this.queue(y||"fx",[]),this.each(function(){var g=!0,T=null!=y&&y+"queueHooks",p=z.timers,S=dn.get(this);if(T)S[T]&&S[T].stop&&w(S[T]);else for(T in S)S[T]&&S[T].stop&&oe.test(T)&&w(S[T]);for(T=p.length;T--;)p[T].elem===this&&(null==y||p[T].queue===y)&&(p[T].anim.stop(v),g=!1,p.splice(T,1));(g||!v)&&z.dequeue(this,y)})},finish:function(y){return!1!==y&&(y=y||"fx"),this.each(function(){var P,v=dn.get(this),w=v[y+"queue"],g=v[y+"queueHooks"],T=z.timers,p=w?w.length:0;for(v.finish=!0,z.queue(this,y,[]),g&&g.stop&&g.stop.call(this,!0),P=T.length;P--;)T[P].elem===this&&T[P].queue===y&&(T[P].anim.stop(!0),T.splice(P,1));for(P=0;P<p;P++)w[P]&&w[P].finish&&w[P].finish.call(this);delete v.finish})}}),z.each(["toggle","show","hide"],function(y,P){var v=z.fn[P];z.fn[P]=function(w,g,T){return null==w||"boolean"==typeof w?v.apply(this,arguments):this.animate(zt(P,!0),w,g,T)}}),z.each({slideDown:zt("show"),slideUp:zt("hide"),slideToggle:zt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(y,P){z.fn[y]=function(v,w,g){return this.animate(P,v,w,g)}}),z.timers=[],z.fx.tick=function(){var y,P=0,v=z.timers;for(pn=Date.now();P<v.length;P++)!(y=v[P])()&&v[P]===y&&v.splice(P--,1);v.length||z.fx.stop(),pn=void 0},z.fx.timer=function(y){z.timers.push(y),z.fx.start()},z.fx.interval=13,z.fx.start=function(){Ce||(Ce=!0,Xe())},z.fx.stop=function(){Ce=null},z.fx.speeds={slow:600,fast:200,_default:400},z.fn.delay=function(y,P){return y=z.fx&&z.fx.speeds[y]||y,this.queue(P=P||"fx",function(v,w){var g=c.setTimeout(v,y);w.stop=function(){c.clearTimeout(g)}})},function(){var y=Ve.createElement("input"),v=Ve.createElement("select").appendChild(Ve.createElement("option"));y.type="checkbox",st.checkOn=""!==y.value,st.optSelected=v.selected,(y=Ve.createElement("input")).value="t",y.type="radio",st.radioValue="t"===y.value}();var Yn,Li=z.expr.attrHandle;z.fn.extend({attr:function(y,P){return cn(this,z.attr,y,P,arguments.length>1)},removeAttr:function(y){return this.each(function(){z.removeAttr(this,y)})}}),z.extend({attr:function(y,P,v){var w,g,T=y.nodeType;if(3!==T&&8!==T&&2!==T)return void 0===y.getAttribute?z.prop(y,P,v):((1!==T||!z.isXMLDoc(y))&&(g=z.attrHooks[P.toLowerCase()]||(z.expr.match.bool.test(P)?Yn:void 0)),void 0!==v?null===v?void z.removeAttr(y,P):g&&"set"in g&&void 0!==(w=g.set(y,v,P))?w:(y.setAttribute(P,v+""),v):g&&"get"in g&&null!==(w=g.get(y,P))?w:null==(w=z.find.attr(y,P))?void 0:w)},attrHooks:{type:{set:function(y,P){if(!st.radioValue&&"radio"===P&&bt(y,"input")){var v=y.value;return y.setAttribute("type",P),v&&(y.value=v),P}}}},removeAttr:function(y,P){var v,w=0,g=P&&P.match(sn);if(g&&1===y.nodeType)for(;v=g[w++];)y.removeAttribute(v)}}),Yn={set:function(y,P,v){return!1===P?z.removeAttr(y,v):y.setAttribute(v,v),v}},z.each(z.expr.match.bool.source.match(/\w+/g),function(y,P){var v=Li[P]||z.find.attr;Li[P]=function(w,g,T){var p,S,b=g.toLowerCase();return T||(S=Li[b],Li[b]=p,p=null!=v(w,g,T)?b:null,Li[b]=S),p}});var as=/^(?:input|select|textarea|button)$/i,Ko=/^(?:a|area)$/i;function Ni(y){return(y.match(sn)||[]).join(" ")}function oo(y){return y.getAttribute&&y.getAttribute("class")||""}function Co(y){return Array.isArray(y)?y:"string"==typeof y&&y.match(sn)||[]}z.fn.extend({prop:function(y,P){return cn(this,z.prop,y,P,arguments.length>1)},removeProp:function(y){return this.each(function(){delete this[z.propFix[y]||y]})}}),z.extend({prop:function(y,P,v){var w,g,T=y.nodeType;if(3!==T&&8!==T&&2!==T)return(1!==T||!z.isXMLDoc(y))&&(g=z.propHooks[P=z.propFix[P]||P]),void 0!==v?g&&"set"in g&&void 0!==(w=g.set(y,v,P))?w:y[P]=v:g&&"get"in g&&null!==(w=g.get(y,P))?w:y[P]},propHooks:{tabIndex:{get:function(y){var P=z.find.attr(y,"tabindex");return P?parseInt(P,10):as.test(y.nodeName)||Ko.test(y.nodeName)&&y.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),st.optSelected||(z.propHooks.selected={get:function(y){return null},set:function(y){}}),z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){z.propFix[this.toLowerCase()]=this}),z.fn.extend({addClass:function(y){var P,v,w,g,T,p,S,b=0;if(Me(y))return this.each(function(D){z(this).addClass(y.call(this,D,oo(this)))});if((P=Co(y)).length)for(;v=this[b++];)if(g=oo(v),w=1===v.nodeType&&" "+Ni(g)+" "){for(p=0;T=P[p++];)w.indexOf(" "+T+" ")<0&&(w+=T+" ");g!==(S=Ni(w))&&v.setAttribute("class",S)}return this},removeClass:function(y){var P,v,w,g,T,p,S,b=0;if(Me(y))return this.each(function(D){z(this).removeClass(y.call(this,D,oo(this)))});if(!arguments.length)return this.attr("class","");if((P=Co(y)).length)for(;v=this[b++];)if(g=oo(v),w=1===v.nodeType&&" "+Ni(g)+" "){for(p=0;T=P[p++];)for(;w.indexOf(" "+T+" ")>-1;)w=w.replace(" "+T+" "," ");g!==(S=Ni(w))&&v.setAttribute("class",S)}return this},toggleClass:function(y,P){var v=typeof y,w="string"===v||Array.isArray(y);return"boolean"==typeof P&&w?P?this.addClass(y):this.removeClass(y):Me(y)?this.each(function(g){z(this).toggleClass(y.call(this,g,oo(this),P),P)}):this.each(function(){var g,T,p,S;if(w)for(T=0,p=z(this),S=Co(y);g=S[T++];)p.hasClass(g)?p.removeClass(g):p.addClass(g);else(void 0===y||"boolean"===v)&&((g=oo(this))&&dn.set(this,"__className__",g),this.setAttribute&&this.setAttribute("class",g||!1===y?"":dn.get(this,"__className__")||""))})},hasClass:function(y){var P,v,w=0;for(P=" "+y+" ";v=this[w++];)if(1===v.nodeType&&(" "+Ni(oo(v))+" ").indexOf(P)>-1)return!0;return!1}});var So=/\r/g;z.fn.extend({val:function(y){var P,v,w,g=this[0];return arguments.length?(w=Me(y),this.each(function(T){var p;1===this.nodeType&&(null==(p=w?y.call(this,T,z(this).val()):y)?p="":"number"==typeof p?p+="":Array.isArray(p)&&(p=z.map(p,function(S){return null==S?"":S+""})),(!(P=z.valHooks[this.type]||z.valHooks[this.nodeName.toLowerCase()])||!("set"in P)||void 0===P.set(this,p,"value"))&&(this.value=p))})):g?(P=z.valHooks[g.type]||z.valHooks[g.nodeName.toLowerCase()])&&"get"in P&&void 0!==(v=P.get(g,"value"))?v:"string"==typeof(v=g.value)?v.replace(So,""):null==v?"":v:void 0}}),z.extend({valHooks:{option:{get:function(y){var P=z.find.attr(y,"value");return null!=P?P:Ni(z.text(y))}},select:{get:function(y){var P,v,w,g=y.options,T=y.selectedIndex,p="select-one"===y.type,S=p?null:[],b=p?T+1:g.length;for(w=T<0?b:p?T:0;w<b;w++)if(((v=g[w]).selected||w===T)&&!v.disabled&&(!v.parentNode.disabled||!bt(v.parentNode,"optgroup"))){if(P=z(v).val(),p)return P;S.push(P)}return S},set:function(y,P){for(var v,w,g=y.options,T=z.makeArray(P),p=g.length;p--;)((w=g[p]).selected=z.inArray(z.valHooks.option.get(w),T)>-1)&&(v=!0);return v||(y.selectedIndex=-1),T}}}}),z.each(["radio","checkbox"],function(){z.valHooks[this]={set:function(y,P){if(Array.isArray(P))return y.checked=z.inArray(z(y).val(),P)>-1}},st.checkOn||(z.valHooks[this].get=function(y){return null===y.getAttribute("value")?"on":y.value})}),st.focusin="onfocusin"in c;var fi=/^(?:focusinfocus|focusoutblur)$/,Do=function(y){y.stopPropagation()};z.extend(z.event,{trigger:function(y,P,v,w){var g,T,p,S,b,D,I,q,te=[v||Ve],ye=Pe.call(y,"type")?y.type:y,pt=Pe.call(y,"namespace")?y.namespace.split("."):[];if(T=q=p=v=v||Ve,3!==v.nodeType&&8!==v.nodeType&&!fi.test(ye+z.event.triggered)&&(ye.indexOf(".")>-1&&(pt=ye.split("."),ye=pt.shift(),pt.sort()),b=ye.indexOf(":")<0&&"on"+ye,(y=y[z.expando]?y:new z.Event(ye,"object"==typeof y&&y)).isTrigger=w?2:3,y.namespace=pt.join("."),y.rnamespace=y.namespace?new RegExp("(^|\\.)"+pt.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,y.result=void 0,y.target||(y.target=v),P=null==P?[y]:z.makeArray(P,[y]),I=z.event.special[ye]||{},w||!I.trigger||!1!==I.trigger.apply(v,P))){if(!w&&!I.noBubble&&!Ue(v)){for(fi.test((S=I.delegateType||ye)+ye)||(T=T.parentNode);T;T=T.parentNode)te.push(T),p=T;p===(v.ownerDocument||Ve)&&te.push(p.defaultView||p.parentWindow||c)}for(g=0;(T=te[g++])&&!y.isPropagationStopped();)q=T,y.type=g>1?S:I.bindType||ye,(D=(dn.get(T,"events")||Object.create(null))[y.type]&&dn.get(T,"handle"))&&D.apply(T,P),(D=b&&T[b])&&D.apply&&Qn(T)&&(y.result=D.apply(T,P),!1===y.result&&y.preventDefault());return y.type=ye,!w&&!y.isDefaultPrevented()&&(!I._default||!1===I._default.apply(te.pop(),P))&&Qn(v)&&b&&Me(v[ye])&&!Ue(v)&&((p=v[b])&&(v[b]=null),z.event.triggered=ye,y.isPropagationStopped()&&q.addEventListener(ye,Do),v[ye](),y.isPropagationStopped()&&q.removeEventListener(ye,Do),z.event.triggered=void 0,p&&(v[b]=p)),y.result}},simulate:function(y,P,v){var w=z.extend(new z.Event,v,{type:y,isSimulated:!0});z.event.trigger(w,null,P)}}),z.fn.extend({trigger:function(y,P){return this.each(function(){z.event.trigger(y,P,this)})},triggerHandler:function(y,P){var v=this[0];if(v)return z.event.trigger(y,P,v,!0)}}),st.focusin||z.each({focus:"focusin",blur:"focusout"},function(y,P){var v=function(w){z.event.simulate(P,w.target,z.event.fix(w))};z.event.special[P]={setup:function(){var w=this.ownerDocument||this.document||this,g=dn.access(w,P);g||w.addEventListener(y,v,!0),dn.access(w,P,(g||0)+1)},teardown:function(){var w=this.ownerDocument||this.document||this,g=dn.access(w,P)-1;g?dn.access(w,P,g):(w.removeEventListener(y,v,!0),dn.remove(w,P))}}});var Yi=c.location,ro={guid:Date.now()},zo=/\?/;z.parseXML=function(y){var P,v;if(!y||"string"!=typeof y)return null;try{P=(new c.DOMParser).parseFromString(y,"text/xml")}catch(w){}return v=P&&P.getElementsByTagName("parsererror")[0],(!P||v)&&z.error("Invalid XML: "+(v?z.map(v.childNodes,function(w){return w.textContent}).join("\n"):y)),P};var Xo=/\[\]$/,ho=/\r?\n/g,ki=/^(?:submit|button|image|reset|file)$/i,Ki=/^(?:input|select|textarea|keygen)/i;function $i(y,P,v,w){var g;if(Array.isArray(P))z.each(P,function(T,p){v||Xo.test(y)?w(y,p):$i(y+"["+("object"==typeof p&&null!=p?T:"")+"]",p,v,w)});else if(v||"object"!==Qe(P))w(y,P);else for(g in P)$i(y+"["+g+"]",P[g],v,w)}z.param=function(y,P){var v,w=[],g=function(T,p){var S=Me(p)?p():p;w[w.length]=encodeURIComponent(T)+"="+encodeURIComponent(null==S?"":S)};if(null==y)return"";if(Array.isArray(y)||y.jquery&&!z.isPlainObject(y))z.each(y,function(){g(this.name,this.value)});else for(v in y)$i(v,y[v],P,g);return w.join("&")},z.fn.extend({serialize:function(){return z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var y=z.prop(this,"elements");return y?z.makeArray(y):this}).filter(function(){var y=this.type;return this.name&&!z(this).is(":disabled")&&Ki.test(this.nodeName)&&!ki.test(y)&&(this.checked||!jt.test(y))}).map(function(y,P){var v=z(this).val();return null==v?null:Array.isArray(v)?z.map(v,function(w){return{name:P.name,value:w.replace(ho,"\r\n")}}):{name:P.name,value:v.replace(ho,"\r\n")}}).get()}});var ke=/%20/g,xt=/#.*$/,Y=/([?&])_=[^&]*/,Ae=/^(.*?):[ \t]*([^\r\n]*)$/gm,hn=/^(?:GET|HEAD)$/,Jn=/^\/\//,go={},Es={},Ss="*/".concat("*"),es=Ve.createElement("a");function $o(y){return function(P,v){"string"!=typeof P&&(v=P,P="*");var w,g=0,T=P.toLowerCase().match(sn)||[];if(Me(v))for(;w=T[g++];)"+"===w[0]?(w=w.slice(1)||"*",(y[w]=y[w]||[]).unshift(v)):(y[w]=y[w]||[]).push(v)}}function hs(y,P,v,w){var g={},T=y===Es;function p(S){var b;return g[S]=!0,z.each(y[S]||[],function(D,I){var q=I(P,v,w);return"string"!=typeof q||T||g[q]?T?!(b=q):void 0:(P.dataTypes.unshift(q),p(q),!1)}),b}return p(P.dataTypes[0])||!g["*"]&&p("*")}function ps(y,P){var v,w,g=z.ajaxSettings.flatOptions||{};for(v in P)void 0!==P[v]&&((g[v]?y:w||(w={}))[v]=P[v]);return w&&z.extend(!0,y,w),y}es.href=Yi.href,z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Yi.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Yi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ss,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(y,P){return P?ps(ps(y,z.ajaxSettings),P):ps(z.ajaxSettings,y)},ajaxPrefilter:$o(go),ajaxTransport:$o(Es),ajax:function(y,P){"object"==typeof y&&(P=y,y=void 0);var v,w,g,T,p,S,b,D,I,q,te=z.ajaxSetup({},P=P||{}),ye=te.context||te,pt=te.context&&(ye.nodeType||ye.jquery)?z(ye):z.event,qt=z.Deferred(),Yt=z.Callbacks("once memory"),Un=te.statusCode||{},Nn={},ii={},Dn="canceled",xn={readyState:0,getResponseHeader:function(ci){var Wn;if(b){if(!T)for(T={};Wn=Ae.exec(g);)T[Wn[1].toLowerCase()+" "]=(T[Wn[1].toLowerCase()+" "]||[]).concat(Wn[2]);Wn=T[ci.toLowerCase()+" "]}return null==Wn?null:Wn.join(", ")},getAllResponseHeaders:function(){return b?g:null},setRequestHeader:function(ci,Wn){return null==b&&(ci=ii[ci.toLowerCase()]=ii[ci.toLowerCase()]||ci,Nn[ci]=Wn),this},overrideMimeType:function(ci){return null==b&&(te.mimeType=ci),this},statusCode:function(ci){var Wn;if(ci)if(b)xn.always(ci[xn.status]);else for(Wn in ci)Un[Wn]=[Un[Wn],ci[Wn]];return this},abort:function(ci){var Wn=ci||Dn;return v&&v.abort(Wn),Zi(0,Wn),this}};if(qt.promise(xn),te.url=((y||te.url||Yi.href)+"").replace(Jn,Yi.protocol+"//"),te.type=P.method||P.type||te.method||te.type,te.dataTypes=(te.dataType||"*").toLowerCase().match(sn)||[""],null==te.crossDomain){S=Ve.createElement("a");try{S.href=te.url,S.href=S.href,te.crossDomain=es.protocol+"//"+es.host!=S.protocol+"//"+S.host}catch(ci){te.crossDomain=!0}}if(te.data&&te.processData&&"string"!=typeof te.data&&(te.data=z.param(te.data,te.traditional)),hs(go,te,P,xn),b)return xn;for(I in(D=z.event&&te.global)&&0==z.active++&&z.event.trigger("ajaxStart"),te.type=te.type.toUpperCase(),te.hasContent=!hn.test(te.type),w=te.url.replace(xt,""),te.hasContent?te.data&&te.processData&&0===(te.contentType||"").indexOf("application/x-www-form-urlencoded")&&(te.data=te.data.replace(ke,"+")):(q=te.url.slice(w.length),te.data&&(te.processData||"string"==typeof te.data)&&(w+=(zo.test(w)?"&":"?")+te.data,delete te.data),!1===te.cache&&(w=w.replace(Y,"$1"),q=(zo.test(w)?"&":"?")+"_="+ro.guid+++q),te.url=w+q),te.ifModified&&(z.lastModified[w]&&xn.setRequestHeader("If-Modified-Since",z.lastModified[w]),z.etag[w]&&xn.setRequestHeader("If-None-Match",z.etag[w])),(te.data&&te.hasContent&&!1!==te.contentType||P.contentType)&&xn.setRequestHeader("Content-Type",te.contentType),xn.setRequestHeader("Accept",te.dataTypes[0]&&te.accepts[te.dataTypes[0]]?te.accepts[te.dataTypes[0]]+("*"!==te.dataTypes[0]?", "+Ss+"; q=0.01":""):te.accepts["*"]),te.headers)xn.setRequestHeader(I,te.headers[I]);if(te.beforeSend&&(!1===te.beforeSend.call(ye,xn,te)||b))return xn.abort();if(Dn="abort",Yt.add(te.complete),xn.done(te.success),xn.fail(te.error),v=hs(Es,te,P,xn)){if(xn.readyState=1,D&&pt.trigger("ajaxSend",[xn,te]),b)return xn;te.async&&te.timeout>0&&(p=c.setTimeout(function(){xn.abort("timeout")},te.timeout));try{b=!1,v.send(Nn,Zi)}catch(ci){if(b)throw ci;Zi(-1,ci)}}else Zi(-1,"No Transport");function Zi(ci,Wn,ms,jo){var ao,Xi,_s,Vo,Go,Oo=Wn;b||(b=!0,p&&c.clearTimeout(p),v=void 0,g=jo||"",xn.readyState=ci>0?4:0,ao=ci>=200&&ci<300||304===ci,ms&&(Vo=function(y,P,v){for(var w,g,T,p,S=y.contents,b=y.dataTypes;"*"===b[0];)b.shift(),void 0===w&&(w=y.mimeType||P.getResponseHeader("Content-Type"));if(w)for(g in S)if(S[g]&&S[g].test(w)){b.unshift(g);break}if(b[0]in v)T=b[0];else{for(g in v){if(!b[0]||y.converters[g+" "+b[0]]){T=g;break}p||(p=g)}T=T||p}if(T)return T!==b[0]&&b.unshift(T),v[T]}(te,xn,ms)),!ao&&z.inArray("script",te.dataTypes)>-1&&z.inArray("json",te.dataTypes)<0&&(te.converters["text script"]=function(){}),Vo=function(y,P,v,w){var g,T,p,S,b,D={},I=y.dataTypes.slice();if(I[1])for(p in y.converters)D[p.toLowerCase()]=y.converters[p];for(T=I.shift();T;)if(y.responseFields[T]&&(v[y.responseFields[T]]=P),!b&&w&&y.dataFilter&&(P=y.dataFilter(P,y.dataType)),b=T,T=I.shift())if("*"===T)T=b;else if("*"!==b&&b!==T){if(!(p=D[b+" "+T]||D["* "+T]))for(g in D)if((S=g.split(" "))[1]===T&&(p=D[b+" "+S[0]]||D["* "+S[0]])){!0===p?p=D[g]:!0!==D[g]&&(T=S[0],I.unshift(S[1]));break}if(!0!==p)if(p&&y.throws)P=p(P);else try{P=p(P)}catch(q){return{state:"parsererror",error:p?q:"No conversion from "+b+" to "+T}}}return{state:"success",data:P}}(te,Vo,xn,ao),ao?(te.ifModified&&((Go=xn.getResponseHeader("Last-Modified"))&&(z.lastModified[w]=Go),(Go=xn.getResponseHeader("etag"))&&(z.etag[w]=Go)),204===ci||"HEAD"===te.type?Oo="nocontent":304===ci?Oo="notmodified":(Oo=Vo.state,Xi=Vo.data,ao=!(_s=Vo.error))):(_s=Oo,(ci||!Oo)&&(Oo="error",ci<0&&(ci=0))),xn.status=ci,xn.statusText=(Wn||Oo)+"",ao?qt.resolveWith(ye,[Xi,Oo,xn]):qt.rejectWith(ye,[xn,Oo,_s]),xn.statusCode(Un),Un=void 0,D&&pt.trigger(ao?"ajaxSuccess":"ajaxError",[xn,te,ao?Xi:_s]),Yt.fireWith(ye,[xn,Oo]),D&&(pt.trigger("ajaxComplete",[xn,te]),--z.active||z.event.trigger("ajaxStop")))}return xn},getJSON:function(y,P,v){return z.get(y,P,v,"json")},getScript:function(y,P){return z.get(y,void 0,P,"script")}}),z.each(["get","post"],function(y,P){z[P]=function(v,w,g,T){return Me(w)&&(T=T||g,g=w,w=void 0),z.ajax(z.extend({url:v,type:P,dataType:T,data:w,success:g},z.isPlainObject(v)&&v))}}),z.ajaxPrefilter(function(y){var P;for(P in y.headers)"content-type"===P.toLowerCase()&&(y.contentType=y.headers[P]||"")}),z._evalUrl=function(y,P,v){return z.ajax({url:y,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(w){z.globalEval(w,P,v)}})},z.fn.extend({wrapAll:function(y){var P;return this[0]&&(Me(y)&&(y=y.call(this[0])),P=z(y,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&P.insertBefore(this[0]),P.map(function(){for(var v=this;v.firstElementChild;)v=v.firstElementChild;return v}).append(this)),this},wrapInner:function(y){return Me(y)?this.each(function(P){z(this).wrapInner(y.call(this,P))}):this.each(function(){var P=z(this),v=P.contents();v.length?v.wrapAll(y):P.append(y)})},wrap:function(y){var P=Me(y);return this.each(function(v){z(this).wrapAll(P?y.call(this,v):y)})},unwrap:function(y){return this.parent(y).not("body").each(function(){z(this).replaceWith(this.childNodes)}),this}}),z.expr.pseudos.hidden=function(y){return!z.expr.pseudos.visible(y)},z.expr.pseudos.visible=function(y){return!!(y.offsetWidth||y.offsetHeight||y.getClientRects().length)},z.ajaxSettings.xhr=function(){try{return new c.XMLHttpRequest}catch(y){}};var Ws={0:200,1223:204},Uo=z.ajaxSettings.xhr();st.cors=!!Uo&&"withCredentials"in Uo,st.ajax=Uo=!!Uo,z.ajaxTransport(function(y){var P,v;if(st.cors||Uo&&!y.crossDomain)return{send:function(w,g){var T,p=y.xhr();if(p.open(y.type,y.url,y.async,y.username,y.password),y.xhrFields)for(T in y.xhrFields)p[T]=y.xhrFields[T];for(T in y.mimeType&&p.overrideMimeType&&p.overrideMimeType(y.mimeType),!y.crossDomain&&!w["X-Requested-With"]&&(w["X-Requested-With"]="XMLHttpRequest"),w)p.setRequestHeader(T,w[T]);P=function(S){return function(){P&&(P=v=p.onload=p.onerror=p.onabort=p.ontimeout=p.onreadystatechange=null,"abort"===S?p.abort():"error"===S?"number"!=typeof p.status?g(0,"error"):g(p.status,p.statusText):g(Ws[p.status]||p.status,p.statusText,"text"!==(p.responseType||"text")||"string"!=typeof p.responseText?{binary:p.response}:{text:p.responseText},p.getAllResponseHeaders()))}},p.onload=P(),v=p.onerror=p.ontimeout=P("error"),void 0!==p.onabort?p.onabort=v:p.onreadystatechange=function(){4===p.readyState&&c.setTimeout(function(){P&&v()})},P=P("abort");try{p.send(y.hasContent&&y.data||null)}catch(S){if(P)throw S}},abort:function(){P&&P()}}}),z.ajaxPrefilter(function(y){y.crossDomain&&(y.contents.script=!1)}),z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(y){return z.globalEval(y),y}}}),z.ajaxPrefilter("script",function(y){void 0===y.cache&&(y.cache=!1),y.crossDomain&&(y.type="GET")}),z.ajaxTransport("script",function(y){var P,v;if(y.crossDomain||y.scriptAttrs)return{send:function(w,g){P=z("<script>").attr(y.scriptAttrs||{}).prop({charset:y.scriptCharset,src:y.url}).on("load error",v=function(T){P.remove(),v=null,T&&g("error"===T.type?404:200,T.type)}),Ve.head.appendChild(P[0])},abort:function(){v&&v()}}});var y,hr=[],ts=/(=)\?(?=&|$)|\?\?/;z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var y=hr.pop()||z.expando+"_"+ro.guid++;return this[y]=!0,y}}),z.ajaxPrefilter("json jsonp",function(y,P,v){var w,g,T,p=!1!==y.jsonp&&(ts.test(y.url)?"url":"string"==typeof y.data&&0===(y.contentType||"").indexOf("application/x-www-form-urlencoded")&&ts.test(y.data)&&"data");if(p||"jsonp"===y.dataTypes[0])return w=y.jsonpCallback=Me(y.jsonpCallback)?y.jsonpCallback():y.jsonpCallback,p?y[p]=y[p].replace(ts,"$1"+w):!1!==y.jsonp&&(y.url+=(zo.test(y.url)?"&":"?")+y.jsonp+"="+w),y.converters["script json"]=function(){return T||z.error(w+" was not called"),T[0]},y.dataTypes[0]="json",g=c[w],c[w]=function(){T=arguments},v.always(function(){void 0===g?z(c).removeProp(w):c[w]=g,y[w]&&(y.jsonpCallback=P.jsonpCallback,hr.push(w)),T&&Me(g)&&g(T[0]),T=g=void 0}),"script"}),st.createHTMLDocument=((y=Ve.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===y.childNodes.length),z.parseHTML=function(y,P,v){return"string"!=typeof y?[]:("boolean"==typeof P&&(v=P,P=!1),P||(st.createHTMLDocument?((w=(P=Ve.implementation.createHTMLDocument("")).createElement("base")).href=Ve.location.href,P.head.appendChild(w)):P=Ve),T=!v&&[],(g=We.exec(y))?[P.createElement(g[1])]:(g=On([y],P,T),T&&T.length&&z(T).remove(),z.merge([],g.childNodes)));var w,g,T},z.fn.load=function(y,P,v){var w,g,T,p=this,S=y.indexOf(" ");return S>-1&&(w=Ni(y.slice(S)),y=y.slice(0,S)),Me(P)?(v=P,P=void 0):P&&"object"==typeof P&&(g="POST"),p.length>0&&z.ajax({url:y,type:g||"GET",dataType:"html",data:P}).done(function(b){T=arguments,p.html(w?z("<div>").append(z.parseHTML(b)).find(w):b)}).always(v&&function(b,D){p.each(function(){v.apply(this,T||[b.responseText,D,b])})}),this},z.expr.pseudos.animated=function(y){return z.grep(z.timers,function(P){return y===P.elem}).length},z.offset={setOffset:function(y,P,v){var w,g,T,p,S,b,I=z.css(y,"position"),q=z(y),te={};"static"===I&&(y.style.position="relative"),S=q.offset(),T=z.css(y,"top"),b=z.css(y,"left"),("absolute"===I||"fixed"===I)&&(T+b).indexOf("auto")>-1?(p=(w=q.position()).top,g=w.left):(p=parseFloat(T)||0,g=parseFloat(b)||0),Me(P)&&(P=P.call(y,v,z.extend({},S))),null!=P.top&&(te.top=P.top-S.top+p),null!=P.left&&(te.left=P.left-S.left+g),"using"in P?P.using.call(y,te):q.css(te)}},z.fn.extend({offset:function(y){if(arguments.length)return void 0===y?this:this.each(function(g){z.offset.setOffset(this,y,g)});var P,v,w=this[0];return w?w.getClientRects().length?{top:(P=w.getBoundingClientRect()).top+(v=w.ownerDocument.defaultView).pageYOffset,left:P.left+v.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var y,P,v,w=this[0],g={top:0,left:0};if("fixed"===z.css(w,"position"))P=w.getBoundingClientRect();else{for(P=this.offset(),v=w.ownerDocument,y=w.offsetParent||v.documentElement;y&&(y===v.body||y===v.documentElement)&&"static"===z.css(y,"position");)y=y.parentNode;y&&y!==w&&1===y.nodeType&&((g=z(y).offset()).top+=z.css(y,"borderTopWidth",!0),g.left+=z.css(y,"borderLeftWidth",!0))}return{top:P.top-g.top-z.css(w,"marginTop",!0),left:P.left-g.left-z.css(w,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var y=this.offsetParent;y&&"static"===z.css(y,"position");)y=y.offsetParent;return y||W})}}),z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(y,P){var v="pageYOffset"===P;z.fn[y]=function(w){return cn(this,function(g,T,p){var S;if(Ue(g)?S=g:9===g.nodeType&&(S=g.defaultView),void 0===p)return S?S[P]:g[T];S?S.scrollTo(v?S.pageXOffset:p,v?p:S.pageYOffset):g[T]=p},y,w,arguments.length)}}),z.each(["top","left"],function(y,P){z.cssHooks[P]=Ot(st.pixelPosition,function(v,w){if(w)return w=nt(v,P),bo.test(w)?z(v).position()[P]+"px":w})}),z.each({Height:"height",Width:"width"},function(y,P){z.each({padding:"inner"+y,content:P,"":"outer"+y},function(v,w){z.fn[w]=function(g,T){var p=arguments.length&&(v||"boolean"!=typeof g),S=v||(!0===g||!0===T?"margin":"border");return cn(this,function(b,D,I){var q;return Ue(b)?0===w.indexOf("outer")?b["inner"+y]:b.document.documentElement["client"+y]:9===b.nodeType?(q=b.documentElement,Math.max(b.body["scroll"+y],q["scroll"+y],b.body["offset"+y],q["offset"+y],q["client"+y])):void 0===I?z.css(b,D,S):z.style(b,D,I,S)},P,p?g:void 0,p)}})}),z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(y,P){z.fn[P]=function(v){return this.on(P,v)}}),z.fn.extend({bind:function(y,P,v){return this.on(y,null,P,v)},unbind:function(y,P){return this.off(y,null,P)},delegate:function(y,P,v,w){return this.on(P,y,v,w)},undelegate:function(y,P,v){return 1===arguments.length?this.off(y,"**"):this.off(P,y||"**",v)},hover:function(y,P){return this.mouseenter(y).mouseleave(P||y)}}),z.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(y,P){z.fn[P]=function(v,w){return arguments.length>0?this.on(P,null,v,w):this.trigger(P)}});var Qs=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;z.proxy=function(y,P){var v,w,g;if("string"==typeof P&&(v=y[P],P=y,y=v),Me(y))return w=se.call(arguments,2),(g=function(){return y.apply(P||this,w.concat(se.call(arguments)))}).guid=y.guid=y.guid||z.guid++,g},z.holdReady=function(y){y?z.readyWait++:z.ready(!0)},z.isArray=Array.isArray,z.parseJSON=JSON.parse,z.nodeName=bt,z.isFunction=Me,z.isWindow=Ue,z.camelCase=Pn,z.type=Qe,z.now=Date.now,z.isNumeric=function(y){var P=z.type(y);return("number"===P||"string"===P)&&!isNaN(y-parseFloat(y))},z.trim=function(y){return null==y?"":(y+"").replace(Qs,"")},void 0!==(n=function(){return z}.apply(Et,[]))&&(bn.exports=n);var No=c.jQuery,ls=c.$;return z.noConflict=function(y){return c.$===z&&(c.$=ls),y&&c.jQuery===z&&(c.jQuery=No),z},void 0===V&&(c.jQuery=c.$=z),z})},9344:(bn,Et,J)=>{"use strict";J.d(Et,{Rh:()=>kt,_W:()=>Nt});var n=J(639),c=J(7238),V=J(9765),pe=J(9075),ie=J(8583);const se=["toast-component",""];function de(at,Tt){if(1&at){const et=n.EpF();n.TgZ(0,"button",5),n.NdJ("click",function(){return n.CHM(et),n.oxw().remove()}),n.TgZ(1,"span",6),n._uU(2,"\xd7"),n.qZA(),n.qZA()}}function ge(at,Tt){if(1&at&&(n.ynx(0),n._uU(1),n.BQk()),2&at){const et=n.oxw(2);n.xp6(1),n.hij("[",et.duplicatesCount+1,"]")}}function we(at,Tt){if(1&at&&(n.TgZ(0,"div"),n._uU(1),n.YNc(2,ge,2,1,"ng-container",4),n.qZA()),2&at){const et=n.oxw();n.Tol(et.options.titleClass),n.uIk("aria-label",et.title),n.xp6(1),n.hij(" ",et.title," "),n.xp6(1),n.Q6J("ngIf",et.duplicatesCount)}}function re(at,Tt){if(1&at&&n._UZ(0,"div",7),2&at){const et=n.oxw();n.Tol(et.options.messageClass),n.Q6J("innerHTML",et.message,n.oJD)}}function xe(at,Tt){if(1&at&&(n.TgZ(0,"div",8),n._uU(1),n.qZA()),2&at){const et=n.oxw();n.Tol(et.options.messageClass),n.uIk("aria-label",et.message),n.xp6(1),n.hij(" ",et.message," ")}}function Pe(at,Tt){if(1&at&&(n.TgZ(0,"div"),n._UZ(1,"div",9),n.qZA()),2&at){const et=n.oxw();n.xp6(1),n.Udp("width",et.width+"%")}}function ut(at,Tt){if(1&at){const et=n.EpF();n.TgZ(0,"button",5),n.NdJ("click",function(){return n.CHM(et),n.oxw().remove()}),n.TgZ(1,"span",6),n._uU(2,"\xd7"),n.qZA(),n.qZA()}}function dt(at,Tt){if(1&at&&(n.ynx(0),n._uU(1),n.BQk()),2&at){const et=n.oxw(2);n.xp6(1),n.hij("[",et.duplicatesCount+1,"]")}}function st(at,Tt){if(1&at&&(n.TgZ(0,"div"),n._uU(1),n.YNc(2,dt,2,1,"ng-container",4),n.qZA()),2&at){const et=n.oxw();n.Tol(et.options.titleClass),n.uIk("aria-label",et.title),n.xp6(1),n.hij(" ",et.title," "),n.xp6(1),n.Q6J("ngIf",et.duplicatesCount)}}function Me(at,Tt){if(1&at&&n._UZ(0,"div",7),2&at){const et=n.oxw();n.Tol(et.options.messageClass),n.Q6J("innerHTML",et.message,n.oJD)}}function Ue(at,Tt){if(1&at&&(n.TgZ(0,"div",8),n._uU(1),n.qZA()),2&at){const et=n.oxw();n.Tol(et.options.messageClass),n.uIk("aria-label",et.message),n.xp6(1),n.hij(" ",et.message," ")}}function Ve(at,Tt){if(1&at&&(n.TgZ(0,"div"),n._UZ(1,"div",9),n.qZA()),2&at){const et=n.oxw();n.xp6(1),n.Udp("width",et.width+"%")}}class Qe{constructor(Tt,et,mt,on,un,cn){this.toastId=Tt,this.config=et,this.message=mt,this.title=on,this.toastType=un,this.toastRef=cn,this._onTap=new V.xQ,this._onAction=new V.xQ,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(Tt){this._onAction.next(Tt)}onAction(){return this._onAction.asObservable()}}const ue={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},z=new n.OlP("ToastConfig");class Le{constructor(Tt,et){this.component=Tt,this.injector=et}attach(Tt,et){return this._attachedHost=Tt,Tt.attach(this,et)}detach(){const Tt=this._attachedHost;if(Tt)return this._attachedHost=void 0,Tt.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Tt){this._attachedHost=Tt}}class Ie extends class{attach(Tt,et){return this._attachedPortal=Tt,this.attachComponentPortal(Tt,et)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Tt){this._disposeFn=Tt}}{constructor(Tt,et,mt){super(),this._hostDomElement=Tt,this._componentFactoryResolver=et,this._appRef=mt}attachComponentPortal(Tt,et){const mt=this._componentFactoryResolver.resolveComponentFactory(Tt.component);let on;return on=mt.create(Tt.injector),this._appRef.attachView(on.hostView),this.setDisposeFn(()=>{this._appRef.detachView(on.hostView),on.destroy()}),et?this._hostDomElement.insertBefore(this._getComponentRootNode(on),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(on)),on}_getComponentRootNode(Tt){return Tt.hostView.rootNodes[0]}}let be=(()=>{class at{constructor(et){this._document=et}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const et=this._document.createElement("div");et.classList.add("overlay-container"),this._document.body.appendChild(et),this._containerElement=et}}return at.\u0275fac=function(et){return new(et||at)(n.LFG(ie.K0))},at.\u0275prov=n.Yz7({factory:function(){return new at(n.LFG(ie.K0))},token:at,providedIn:"root"}),at})();class Be{constructor(Tt){this._portalHost=Tt}attach(Tt,et=!0){return this._portalHost.attach(Tt,et)}detach(){return this._portalHost.detach()}}let bt=(()=>{class at{constructor(et,mt,on,un){this._overlayContainer=et,this._componentFactoryResolver=mt,this._appRef=on,this._document=un,this._paneElements=new Map}create(et,mt){return this._createOverlayRef(this.getPaneElement(et,mt))}getPaneElement(et="",mt){return this._paneElements.get(mt)||this._paneElements.set(mt,{}),this._paneElements.get(mt)[et]||(this._paneElements.get(mt)[et]=this._createPaneElement(et,mt)),this._paneElements.get(mt)[et]}_createPaneElement(et,mt){const on=this._document.createElement("div");return on.id="toast-container",on.classList.add(et),on.classList.add("toast-container"),mt?mt.getContainerElement().appendChild(on):this._overlayContainer.getContainerElement().appendChild(on),on}_createPortalHost(et){return new Ie(et,this._componentFactoryResolver,this._appRef)}_createOverlayRef(et){return new Be(this._createPortalHost(et))}}return at.\u0275fac=function(et){return new(et||at)(n.LFG(be),n.LFG(n._Vd),n.LFG(n.z2F),n.LFG(ie.K0))},at.\u0275prov=n.Yz7({factory:function(){return new at(n.LFG(be),n.LFG(n._Vd),n.LFG(n.z2F),n.LFG(ie.K0))},token:at,providedIn:"root"}),at})();class We{constructor(Tt){this._overlayRef=Tt,this.duplicatesCount=0,this._afterClosed=new V.xQ,this._activate=new V.xQ,this._manualClose=new V.xQ,this._resetTimeout=new V.xQ,this._countDuplicate=new V.xQ}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(Tt,et){Tt&&this._resetTimeout.next(),et&&this._countDuplicate.next(++this.duplicatesCount)}}class Xt{constructor(Tt,et){this._toastPackage=Tt,this._parentInjector=et}get(Tt,et,mt){return Tt===Qe?this._toastPackage:this._parentInjector.get(Tt,et,mt)}}let Nt=(()=>{class at{constructor(et,mt,on,un,cn){this.overlay=mt,this._injector=on,this.sanitizer=un,this.ngZone=cn,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},et.default),et.config),et.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},et.default.iconClasses),et.config.iconClasses))}show(et,mt,on={},un=""){return this._preBuildNotification(un,et,mt,this.applyConfig(on))}success(et,mt,on={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",et,mt,this.applyConfig(on))}error(et,mt,on={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",et,mt,this.applyConfig(on))}info(et,mt,on={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",et,mt,this.applyConfig(on))}warning(et,mt,on={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",et,mt,this.applyConfig(on))}clear(et){for(const mt of this.toasts)if(void 0!==et){if(mt.toastId===et)return void mt.toastRef.manualClose()}else mt.toastRef.manualClose()}remove(et){const mt=this._findToast(et);if(!mt||(mt.activeToast.toastRef.close(),this.toasts.splice(mt.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const on=this.toasts[this.currentlyActive].toastRef;on.isInactive()||(this.currentlyActive=this.currentlyActive+1,on.activate())}return!0}findDuplicate(et="",mt="",on,un){const{includeTitleDuplicates:cn}=this.toastrConfig;for(const Rn of this.toasts){const vi=cn&&Rn.title===et;if((!cn||vi)&&Rn.message===mt)return Rn.toastRef.onDuplicate(on,un),Rn}return null}applyConfig(et={}){return Object.assign(Object.assign({},this.toastrConfig),et)}_findToast(et){for(let mt=0;mt<this.toasts.length;mt++)if(this.toasts[mt].toastId===et)return{index:mt,activeToast:this.toasts[mt]};return null}_preBuildNotification(et,mt,on,un){return un.onActivateTick?this.ngZone.run(()=>this._buildNotification(et,mt,on,un)):this._buildNotification(et,mt,on,un)}_buildNotification(et,mt,on,un){if(!un.toastComponent)throw new Error("toastComponent required");const cn=this.findDuplicate(on,mt,this.toastrConfig.resetTimeoutOnDuplicate&&un.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&on||mt)&&this.toastrConfig.preventDuplicates&&null!==cn)return cn;this.previousToastMessage=mt;let Rn=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Rn=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const vi=this.overlay.create(un.positionClass,this.overlayContainer);this.index=this.index+1;let Ci=mt;mt&&un.enableHtml&&(Ci=this.sanitizer.sanitize(n.q3G.HTML,mt));const Pn=new We(vi),Qn=new Qe(this.index,un,Ci,on,et,Pn),ai=new Xt(Qn,this._injector),dn=new Le(un.toastComponent,ai),Mn=vi.attach(dn,this.toastrConfig.newestOnTop);Pn.componentInstance=Mn.instance;const si={toastId:this.index,title:on||"",message:mt||"",toastRef:Pn,onShown:Pn.afterActivate(),onHidden:Pn.afterClosed(),onTap:Qn.onTap(),onAction:Qn.onAction(),portal:Mn};return Rn||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{si.toastRef.activate()})),this.toasts.push(si),si}}return at.\u0275fac=function(et){return new(et||at)(n.LFG(z),n.LFG(bt),n.LFG(n.zs3),n.LFG(pe.H7),n.LFG(n.R0b))},at.\u0275prov=n.Yz7({factory:function(){return new at(n.LFG(z),n.LFG(bt),n.LFG(n.gxx),n.LFG(pe.H7),n.LFG(n.R0b))},token:at,providedIn:"root"}),at})(),Ut=(()=>{class at{constructor(et,mt,on){this.toastrService=et,this.toastPackage=mt,this.ngZone=on,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=mt.message,this.title=mt.title,this.options=mt.config,this.originalTimeout=mt.config.timeOut,this.toastClasses=`${mt.toastType} ${mt.config.toastClass}`,this.sub=mt.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=mt.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=mt.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=mt.toastRef.countDuplicate().subscribe(un=>{this.duplicatesCount=un})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const et=(new Date).getTime();this.width=(this.hideTime-et)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(et,mt){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(et),mt)):this.timeout=setTimeout(()=>et(),mt)}outsideInterval(et,mt){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(et),mt)):this.intervalId=setInterval(()=>et(),mt)}runInsideAngular(et){this.ngZone?this.ngZone.run(()=>et()):et()}}return at.\u0275fac=function(et){return new(et||at)(n.Y36(Nt),n.Y36(Qe),n.Y36(n.R0b))},at.\u0275cmp=n.Xpm({type:at,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(et,mt){1&et&&n.NdJ("click",function(){return mt.tapToast()})("mouseenter",function(){return mt.stickAround()})("mouseleave",function(){return mt.delayedHideToast()}),2&et&&(n.d8E("@flyInOut",mt.state),n.Tol(mt.toastClasses),n.Udp("display",mt.displayStyle))},attrs:se,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alertdialog","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alertdialog","aria-live","polite",3,"innerHTML"],["role","alertdialog","aria-live","polite"],[1,"toast-progress"]],template:function(et,mt){1&et&&(n.YNc(0,de,3,0,"button",0),n.YNc(1,we,3,5,"div",1),n.YNc(2,re,1,3,"div",2),n.YNc(3,xe,2,4,"div",3),n.YNc(4,Pe,2,2,"div",4)),2&et&&(n.Q6J("ngIf",mt.options.closeButton),n.xp6(1),n.Q6J("ngIf",mt.title),n.xp6(1),n.Q6J("ngIf",mt.message&&mt.options.enableHtml),n.xp6(1),n.Q6J("ngIf",mt.message&&!mt.options.enableHtml),n.xp6(1),n.Q6J("ngIf",mt.options.progressBar))},directives:[ie.O5],encapsulation:2,data:{animation:[(0,c.X$)("flyInOut",[(0,c.SB)("inactive",(0,c.oB)({opacity:0})),(0,c.SB)("active",(0,c.oB)({opacity:1})),(0,c.SB)("removed",(0,c.oB)({opacity:0})),(0,c.eR)("inactive => active",(0,c.jt)("{{ easeTime }}ms {{ easing }}")),(0,c.eR)("active => removed",(0,c.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),at})();const zn=Object.assign(Object.assign({},ue),{toastComponent:Ut});let kt=(()=>{class at{static forRoot(et={}){return{ngModule:at,providers:[{provide:z,useValue:{default:zn,config:et}}]}}}return at.\u0275fac=function(et){return new(et||at)},at.\u0275mod=n.oAB({type:at}),at.\u0275inj=n.cJS({imports:[[ie.ez]]}),at})(),Ht=(()=>{class at{constructor(et,mt,on){this.toastrService=et,this.toastPackage=mt,this.appRef=on,this.width=-1,this.toastClasses="",this.state="inactive",this.message=mt.message,this.title=mt.title,this.options=mt.config,this.originalTimeout=mt.config.timeOut,this.toastClasses=`${mt.toastType} ${mt.config.toastClass}`,this.sub=mt.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=mt.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=mt.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=mt.toastRef.countDuplicate().subscribe(un=>{this.duplicatesCount=un})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const et=(new Date).getTime();this.width=(this.hideTime-et)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return at.\u0275fac=function(et){return new(et||at)(n.Y36(Nt),n.Y36(Qe),n.Y36(n.z2F))},at.\u0275cmp=n.Xpm({type:at,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(et,mt){1&et&&n.NdJ("click",function(){return mt.tapToast()})("mouseenter",function(){return mt.stickAround()})("mouseleave",function(){return mt.delayedHideToast()}),2&et&&(n.Tol(mt.toastClasses),n.Udp("display",mt.displayStyle))},attrs:se,decls:5,vars:5,consts:[["class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert","aria-live","polite",3,"class","innerHTML",4,"ngIf"],["role","alert","aria-live","polite",3,"class",4,"ngIf"],[4,"ngIf"],["aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert","aria-live","polite",3,"innerHTML"],["role","alert","aria-live","polite"],[1,"toast-progress"]],template:function(et,mt){1&et&&(n.YNc(0,ut,3,0,"button",0),n.YNc(1,st,3,5,"div",1),n.YNc(2,Me,1,3,"div",2),n.YNc(3,Ue,2,4,"div",3),n.YNc(4,Ve,2,2,"div",4)),2&et&&(n.Q6J("ngIf",mt.options.closeButton),n.xp6(1),n.Q6J("ngIf",mt.title),n.xp6(1),n.Q6J("ngIf",mt.message&&mt.options.enableHtml),n.xp6(1),n.Q6J("ngIf",mt.message&&!mt.options.enableHtml),n.xp6(1),n.Q6J("ngIf",mt.options.progressBar))},directives:[ie.O5],encapsulation:2}),at})();Object.assign(Object.assign({},ue),{toastComponent:Ht})},5396:(bn,Et,J)=>{"use strict";J.d(Et,{UQ:()=>je,fx:()=>Qe,US:()=>ct});var n=J(639),c=J(7238),V=J(8583),pe=J(3013);function ie(ue,z){if(1&ue&&(n.TgZ(0,"span",9),n._uU(1),n.qZA()),2&ue){const Le=n.oxw();n.xp6(1),n.hij(" ",Le.header," ")}}function se(ue,z){1&ue&&n.GkF(0)}function de(ue,z){1&ue&&n.Hsn(0,1,["*ngIf","hasHeaderFacet"])}function ge(ue,z){1&ue&&n.GkF(0)}function we(ue,z){if(1&ue&&(n.ynx(0),n.YNc(1,ge,1,0,"ng-container",5),n.BQk()),2&ue){const Le=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",Le.contentTemplate)}}const re=["*",[["p-header"]]],xe=function(ue){return{"p-accordion-tab-active":ue}},Pe=function(ue,z){return{"p-highlight":ue,"p-disabled":z}},ut=function(ue){return{transitionParams:ue}},dt=function(ue){return{value:"visible",params:ue}},st=function(ue){return{value:"hidden",params:ue}},Me=["*","p-header"],Ue=["*"];let Ve=0,ct=(()=>{class ue{constructor(Le,ve){this.changeDetector=ve,this.cache=!0,this.selectedChange=new n.vpe,this.transitionOptions="400ms cubic-bezier(0.86, 0, 0.07, 1)",this.id="p-accordiontab-"+Ve++,this.accordion=Le}get selected(){return this._selected}set selected(Le){this._selected=Le,this.loaded||(this._selected&&this.cache&&(this.loaded=!0),this.changeDetector.detectChanges())}ngAfterContentInit(){this.templates.forEach(Le=>{switch(Le.getType()){case"content":this.contentTemplate=Le.template;break;case"header":this.headerTemplate=Le.template;break;default:this.contentTemplate=Le.template}})}toggle(Le){if(this.disabled)return!1;let ve=this.findTabIndex();if(this.selected)this.selected=!1,this.accordion.onClose.emit({originalEvent:Le,index:ve});else{if(!this.accordion.multiple)for(var Ie=0;Ie<this.accordion.tabs.length;Ie++)this.accordion.tabs[Ie].selected=!1,this.accordion.tabs[Ie].selectedChange.emit(!1),this.accordion.tabs[Ie].changeDetector.markForCheck();this.selected=!0,this.loaded=!0,this.accordion.onOpen.emit({originalEvent:Le,index:ve})}this.selectedChange.emit(this.selected),this.accordion.updateActiveIndex(),this.changeDetector.markForCheck(),Le.preventDefault()}findTabIndex(){let Le=-1;for(var ve=0;ve<this.accordion.tabs.length;ve++)if(this.accordion.tabs[ve]==this){Le=ve;break}return Le}get hasHeaderFacet(){return this.headerFacet&&this.headerFacet.length>0}onKeydown(Le){(32===Le.which||13===Le.which)&&(this.toggle(Le),Le.preventDefault())}ngOnDestroy(){this.accordion.tabs.splice(this.findTabIndex(),1)}}return ue.\u0275fac=function(Le){return new(Le||ue)(n.Y36((0,n.Gpc)(()=>je)),n.Y36(n.sBO))},ue.\u0275cmp=n.Xpm({type:ue,selectors:[["p-accordionTab"]],contentQueries:function(Le,ve,Ie){if(1&Le&&(n.Suo(Ie,pe.h4,4),n.Suo(Ie,pe.jx,4)),2&Le){let be;n.iGM(be=n.CRH())&&(ve.headerFacet=be),n.iGM(be=n.CRH())&&(ve.templates=be)}},inputs:{header:"header",disabled:"disabled",cache:"cache",transitionOptions:"transitionOptions",selected:"selected"},outputs:{selectedChange:"selectedChange"},ngContentSelectors:Me,decls:11,vars:28,consts:[[1,"p-accordion-tab",3,"ngClass"],[1,"p-accordion-header",3,"ngClass"],["role","tab",1,"p-accordion-header-link",3,"click","keydown"],[1,"p-accordion-toggle-icon",3,"ngClass"],["class","p-accordion-header-text",4,"ngIf"],[4,"ngTemplateOutlet"],[4,"ngIf"],["role","region",1,"p-toggleable-content"],[1,"p-accordion-content"],[1,"p-accordion-header-text"]],template:function(Le,ve){1&Le&&(n.F$t(re),n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"a",2),n.NdJ("click",function(be){return ve.toggle(be)})("keydown",function(be){return ve.onKeydown(be)}),n._UZ(3,"span",3),n.YNc(4,ie,2,1,"span",4),n.YNc(5,se,1,0,"ng-container",5),n.YNc(6,de,1,0,"ng-content",6),n.qZA(),n.qZA(),n.TgZ(7,"div",7),n.TgZ(8,"div",8),n.Hsn(9),n.YNc(10,we,2,1,"ng-container",6),n.qZA(),n.qZA(),n.qZA()),2&Le&&(n.Q6J("ngClass",n.VKq(15,xe,ve.selected)),n.xp6(1),n.Q6J("ngClass",n.WLB(17,Pe,ve.selected,ve.disabled)),n.xp6(1),n.uIk("tabindex",ve.disabled?null:0)("id",ve.id)("aria-controls",ve.id+"-content")("aria-expanded",ve.selected),n.xp6(1),n.Q6J("ngClass",ve.selected?ve.accordion.collapseIcon:ve.accordion.expandIcon),n.xp6(1),n.Q6J("ngIf",!ve.hasHeaderFacet),n.xp6(1),n.Q6J("ngTemplateOutlet",ve.headerTemplate),n.xp6(1),n.Q6J("ngIf",ve.hasHeaderFacet),n.xp6(1),n.Q6J("@tabContent",ve.selected?n.VKq(22,dt,n.VKq(20,ut,ve.transitionOptions)):n.VKq(26,st,n.VKq(24,ut,ve.transitionOptions))),n.uIk("id",ve.id+"-content")("aria-hidden",!ve.selected)("aria-labelledby",ve.id),n.xp6(3),n.Q6J("ngIf",ve.contentTemplate&&(ve.cache?ve.loaded:ve.selected)))},directives:[V.mk,V.O5,V.tP],styles:[".p-accordion-header-link{cursor:pointer;display:flex;align-items:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;position:relative;text-decoration:none}.p-accordion-header-link:focus{z-index:1}.p-accordion-header-text{line-height:1}"],encapsulation:2,data:{animation:[(0,c.X$)("tabContent",[(0,c.SB)("hidden",(0,c.oB)({height:"0",overflow:"hidden"})),(0,c.SB)("visible",(0,c.oB)({height:"*"})),(0,c.eR)("visible <=> hidden",[(0,c.oB)({overflow:"hidden"}),(0,c.jt)("{{transitionParams}}")]),(0,c.eR)("void => *",(0,c.jt)(0))])]},changeDetection:0}),ue})(),je=(()=>{class ue{constructor(Le,ve){this.el=Le,this.changeDetector=ve,this.onClose=new n.vpe,this.onOpen=new n.vpe,this.expandIcon="pi pi-fw pi-chevron-right",this.collapseIcon="pi pi-fw pi-chevron-down",this.activeIndexChange=new n.vpe,this.tabs=[]}ngAfterContentInit(){this.initTabs(),this.tabListSubscription=this.tabList.changes.subscribe(Le=>{this.initTabs()})}initTabs(){this.tabs=this.tabList.toArray(),this.updateSelectionState(),this.changeDetector.markForCheck()}getBlockableElement(){return this.el.nativeElement.children[0]}get activeIndex(){return this._activeIndex}set activeIndex(Le){this._activeIndex=Le,this.preventActiveIndexPropagation?this.preventActiveIndexPropagation=!1:this.updateSelectionState()}updateSelectionState(){if(this.tabs&&this.tabs.length&&null!=this._activeIndex)for(let Le=0;Le<this.tabs.length;Le++){let ve=this.multiple?this._activeIndex.includes(Le):Le===this._activeIndex;ve!==this.tabs[Le].selected&&(this.tabs[Le].selected=ve,this.tabs[Le].selectedChange.emit(ve),this.tabs[Le].changeDetector.markForCheck())}}updateActiveIndex(){let Le=this.multiple?[]:null;this.tabs.forEach((ve,Ie)=>{if(ve.selected){if(!this.multiple)return void(Le=Ie);Le.push(Ie)}}),this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(Le)}ngOnDestroy(){this.tabListSubscription&&this.tabListSubscription.unsubscribe()}}return ue.\u0275fac=function(Le){return new(Le||ue)(n.Y36(n.SBq),n.Y36(n.sBO))},ue.\u0275cmp=n.Xpm({type:ue,selectors:[["p-accordion"]],contentQueries:function(Le,ve,Ie){if(1&Le&&n.Suo(Ie,ct,4),2&Le){let be;n.iGM(be=n.CRH())&&(ve.tabList=be)}},inputs:{multiple:"multiple",style:"style",styleClass:"styleClass",expandIcon:"expandIcon",collapseIcon:"collapseIcon",activeIndex:"activeIndex"},outputs:{onClose:"onClose",onOpen:"onOpen",activeIndexChange:"activeIndexChange"},ngContentSelectors:Ue,decls:2,vars:4,consts:[["role","tablist",3,"ngClass","ngStyle"]],template:function(Le,ve){1&Le&&(n.F$t(),n.TgZ(0,"div",0),n.Hsn(1),n.qZA()),2&Le&&(n.Tol(ve.styleClass),n.Q6J("ngClass","p-accordion p-component")("ngStyle",ve.style))},directives:[V.mk,V.PC],encapsulation:2,changeDetection:0}),ue})(),Qe=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275mod=n.oAB({type:ue}),ue.\u0275inj=n.cJS({imports:[[V.ez],pe.m8]}),ue})()},3013:(bn,Et,J)=>{"use strict";J.d(Et,{wB:()=>we,YP:()=>re,a6:()=>se,pg:()=>Me,iZ:()=>xe,$_:()=>Ve,h4:()=>Ue,F0:()=>dt,b4:()=>de,jx:()=>ct,m8:()=>je,ws:()=>ge});var n=J(639),c=J(9765),V=J(6988),pe=J(8583);const ie=["*"];let se=(()=>{class ue{}return ue.STARTS_WITH="startsWith",ue.CONTAINS="contains",ue.NOT_CONTAINS="notContains",ue.ENDS_WITH="endsWith",ue.EQUALS="equals",ue.NOT_EQUALS="notEquals",ue.IN="in",ue.LESS_THAN="lt",ue.LESS_THAN_OR_EQUAL_TO="lte",ue.GREATER_THAN="gt",ue.GREATER_THAN_OR_EQUAL_TO="gte",ue.BETWEEN="between",ue.IS="is",ue.IS_NOT="isNot",ue.BEFORE="before",ue.AFTER="after",ue.DATE_IS="dateIs",ue.DATE_IS_NOT="dateIsNot",ue.DATE_BEFORE="dateBefore",ue.DATE_AFTER="dateAfter",ue})(),de=(()=>{class ue{constructor(){this.ripple=!1,this.filterMatchModeOptions={text:[se.STARTS_WITH,se.CONTAINS,se.NOT_CONTAINS,se.ENDS_WITH,se.EQUALS,se.NOT_EQUALS],numeric:[se.EQUALS,se.NOT_EQUALS,se.LESS_THAN,se.LESS_THAN_OR_EQUAL_TO,se.GREATER_THAN,se.GREATER_THAN_OR_EQUAL_TO],date:[se.DATE_IS,se.DATE_IS_NOT,se.DATE_BEFORE,se.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new c.xQ,this.translationObserver=this.translationSource.asObservable()}getTranslation(Le){return this.translation[Le]}setTranslation(Le){this.translation=Object.assign(Object.assign({},this.translation),Le),this.translationSource.next(this.translation)}}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275prov=n.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),ge=(()=>{class ue{}return ue.STARTS_WITH="startsWith",ue.CONTAINS="contains",ue.NOT_CONTAINS="notContains",ue.ENDS_WITH="endsWith",ue.EQUALS="equals",ue.NOT_EQUALS="notEquals",ue.NO_FILTER="noFilter",ue.LT="lt",ue.LTE="lte",ue.GT="gt",ue.GTE="gte",ue.IS="is",ue.IS_NOT="isNot",ue.BEFORE="before",ue.AFTER="after",ue.CLEAR="clear",ue.APPLY="apply",ue.MATCH_ALL="matchAll",ue.MATCH_ANY="matchAny",ue.ADD_RULE="addRule",ue.REMOVE_RULE="removeRule",ue.ACCEPT="accept",ue.REJECT="reject",ue.CHOOSE="choose",ue.UPLOAD="upload",ue.CANCEL="cancel",ue.DAY_NAMES="dayNames",ue.DAY_NAMES_SHORT="dayNamesShort",ue.DAY_NAMES_MIN="dayNamesMin",ue.MONTH_NAMES="monthNames",ue.MONTH_NAMES_SHORT="monthNamesShort",ue.TODAY="today",ue.WEEK_HEADER="weekHeader",ue.WEAK="weak",ue.MEDIUM="medium",ue.STRONG="strong",ue.PASSWORD_PROMPT="passwordPrompt",ue.EMPTY_MESSAGE="emptyMessage",ue.EMPTY_FILTER_MESSAGE="emptyFilterMessage",ue})();var we=(()=>{return(ue=we||(we={}))[ue.ACCEPT=0]="ACCEPT",ue[ue.REJECT=1]="REJECT",ue[ue.CANCEL=2]="CANCEL",we;var ue})();let re=(()=>{class ue{constructor(){this.requireConfirmationSource=new c.xQ,this.acceptConfirmationSource=new c.xQ,this.requireConfirmation$=this.requireConfirmationSource.asObservable(),this.accept=this.acceptConfirmationSource.asObservable()}confirm(Le){return this.requireConfirmationSource.next(Le),this}close(){return this.requireConfirmationSource.next(null),this}onAccept(){this.acceptConfirmationSource.next()}}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275prov=n.Yz7({token:ue,factory:ue.\u0275fac}),ue})(),xe=(()=>{class ue{constructor(){this.filters={startsWith:(Le,ve,Ie)=>{if(null==ve||""===ve.trim())return!0;if(null==Le)return!1;let be=V.gb.removeAccents(ve.toString()).toLocaleLowerCase(Ie);return V.gb.removeAccents(Le.toString()).toLocaleLowerCase(Ie).slice(0,be.length)===be},contains:(Le,ve,Ie)=>{if(null==ve||"string"==typeof ve&&""===ve.trim())return!0;if(null==Le)return!1;let be=V.gb.removeAccents(ve.toString()).toLocaleLowerCase(Ie);return-1!==V.gb.removeAccents(Le.toString()).toLocaleLowerCase(Ie).indexOf(be)},notContains:(Le,ve,Ie)=>{if(null==ve||"string"==typeof ve&&""===ve.trim())return!0;if(null==Le)return!1;let be=V.gb.removeAccents(ve.toString()).toLocaleLowerCase(Ie);return-1===V.gb.removeAccents(Le.toString()).toLocaleLowerCase(Ie).indexOf(be)},endsWith:(Le,ve,Ie)=>{if(null==ve||""===ve.trim())return!0;if(null==Le)return!1;let be=V.gb.removeAccents(ve.toString()).toLocaleLowerCase(Ie),Be=V.gb.removeAccents(Le.toString()).toLocaleLowerCase(Ie);return-1!==Be.indexOf(be,Be.length-be.length)},equals:(Le,ve,Ie)=>null==ve||"string"==typeof ve&&""===ve.trim()||null!=Le&&(Le.getTime&&ve.getTime?Le.getTime()===ve.getTime():V.gb.removeAccents(Le.toString()).toLocaleLowerCase(Ie)==V.gb.removeAccents(ve.toString()).toLocaleLowerCase(Ie)),notEquals:(Le,ve,Ie)=>!(null==ve||"string"==typeof ve&&""===ve.trim()||null!=Le&&(Le.getTime&&ve.getTime?Le.getTime()===ve.getTime():V.gb.removeAccents(Le.toString()).toLocaleLowerCase(Ie)==V.gb.removeAccents(ve.toString()).toLocaleLowerCase(Ie))),in:(Le,ve)=>{if(null==ve||0===ve.length)return!0;for(let Ie=0;Ie<ve.length;Ie++)if(V.gb.equals(Le,ve[Ie]))return!0;return!1},between:(Le,ve)=>null==ve||null==ve[0]||null==ve[1]||null!=Le&&(Le.getTime?ve[0].getTime()<=Le.getTime()&&Le.getTime()<=ve[1].getTime():ve[0]<=Le&&Le<=ve[1]),lt:(Le,ve,Ie)=>null==ve||null!=Le&&(Le.getTime&&ve.getTime?Le.getTime()<ve.getTime():Le<ve),lte:(Le,ve,Ie)=>null==ve||null!=Le&&(Le.getTime&&ve.getTime?Le.getTime()<=ve.getTime():Le<=ve),gt:(Le,ve,Ie)=>null==ve||null!=Le&&(Le.getTime&&ve.getTime?Le.getTime()>ve.getTime():Le>ve),gte:(Le,ve,Ie)=>null==ve||null!=Le&&(Le.getTime&&ve.getTime?Le.getTime()>=ve.getTime():Le>=ve),is:(Le,ve,Ie)=>this.filters.equals(Le,ve,Ie),isNot:(Le,ve,Ie)=>this.filters.notEquals(Le,ve,Ie),before:(Le,ve,Ie)=>this.filters.lt(Le,ve,Ie),after:(Le,ve,Ie)=>this.filters.gt(Le,ve,Ie),dateIs:(Le,ve)=>null==ve||null!=Le&&Le.toDateString()===ve.toDateString(),dateIsNot:(Le,ve)=>null==ve||null!=Le&&Le.toDateString()!==ve.toDateString(),dateBefore:(Le,ve)=>null==ve||null!=Le&&Le.getTime()<ve.getTime(),dateAfter:(Le,ve)=>null==ve||null!=Le&&Le.getTime()>ve.getTime()}}filter(Le,ve,Ie,be,Be){let bt=[];if(Le)for(let We of Le)for(let Xt of ve){let Nt=V.gb.resolveFieldData(We,Xt);if(this.filters[be](Nt,Ie,Be)){bt.push(We);break}}return bt}register(Le,ve){this.filters[Le]=ve}}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275prov=n.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),dt=(()=>{class ue{constructor(){this.clickSource=new c.xQ,this.clickObservable=this.clickSource.asObservable()}add(Le){Le&&this.clickSource.next(Le)}}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275prov=n.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),Me=(()=>{class ue{}return ue.AND="and",ue.OR="or",ue})(),Ue=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275cmp=n.Xpm({type:ue,selectors:[["p-header"]],ngContentSelectors:ie,decls:1,vars:0,template:function(Le,ve){1&Le&&(n.F$t(),n.Hsn(0))},encapsulation:2}),ue})(),Ve=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275cmp=n.Xpm({type:ue,selectors:[["p-footer"]],ngContentSelectors:ie,decls:1,vars:0,template:function(Le,ve){1&Le&&(n.F$t(),n.Hsn(0))},encapsulation:2}),ue})(),ct=(()=>{class ue{constructor(Le){this.template=Le}getType(){return this.name}}return ue.\u0275fac=function(Le){return new(Le||ue)(n.Y36(n.Rgc))},ue.\u0275dir=n.lG2({type:ue,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),ue})(),je=(()=>{class ue{}return ue.\u0275fac=function(Le){return new(Le||ue)},ue.\u0275mod=n.oAB({type:ue}),ue.\u0275inj=n.cJS({imports:[[pe.ez]]}),ue})()},4207:(bn,Et,J)=>{"use strict";J.d(Et,{Hq:()=>Pe,hJ:()=>dt});var n=J(639),c=J(1818),V=J(8583),pe=J(9309);let Pe=(()=>{class st{constructor(Ue){this.el=Ue,this.iconPos="left",this.loadingIcon="pi pi-spinner pi-spin",this._loading=!1}ngAfterViewInit(){this._initialStyleClass=this.el.nativeElement.className,c.p.addMultipleClasses(this.el.nativeElement,this.getStyleClass()),this.icon&&this.createIconEl();let Ue=document.createElement("span");this.icon&&!this.label&&Ue.setAttribute("aria-hidden","true"),Ue.className="p-button-label",this.label?Ue.appendChild(document.createTextNode(this.label)):Ue.innerHTML="&nbsp;",this.el.nativeElement.appendChild(Ue),this.initialized=!0}getStyleClass(){let Ue="p-button p-component";return this.icon&&!this.label&&(Ue+=" p-button-icon-only"),this.loading&&(Ue+=" p-disabled p-button-loading",!this.icon&&this.label&&(Ue+=" p-button-loading-label-only")),Ue}setStyleClass(){let Ue=this.getStyleClass();this.el.nativeElement.className=Ue+" "+this._initialStyleClass}createIconEl(){let Ue=document.createElement("span");Ue.className="p-button-icon",Ue.setAttribute("aria-hidden","true");let Ve=this.label?"p-button-icon-"+this.iconPos:null;Ve&&c.p.addClass(Ue,Ve),c.p.addMultipleClasses(Ue,this.getIconClass());let ct=c.p.findSingle(this.el.nativeElement,".p-button-label");ct?this.el.nativeElement.insertBefore(Ue,ct):this.el.nativeElement.appendChild(Ue)}getIconClass(){return this.loading?"p-button-loading-icon "+this.loadingIcon:this._icon}setIconClass(){let Ue=c.p.findSingle(this.el.nativeElement,".p-button-icon");Ue?Ue.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIconEl()}removeIconElement(){let Ue=c.p.findSingle(this.el.nativeElement,".p-button-icon");this.el.nativeElement.removeChild(Ue)}get label(){return this._label}set label(Ue){this._label=Ue,this.initialized&&(c.p.findSingle(this.el.nativeElement,".p-button-label").textContent=this._label||"&nbsp;",this.setIconClass(),this.setStyleClass())}get icon(){return this._icon}set icon(Ue){this._icon=Ue,this.initialized&&(this.setIconClass(),this.setStyleClass())}get loading(){return this._loading}set loading(Ue){this._loading=Ue,this.initialized&&(this.loading||this.icon?this.setIconClass():this.removeIconElement(),this.setStyleClass())}ngOnDestroy(){this.initialized=!1}}return st.\u0275fac=function(Ue){return new(Ue||st)(n.Y36(n.SBq))},st.\u0275dir=n.lG2({type:st,selectors:[["","pButton",""]],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),st})(),dt=(()=>{class st{}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275mod=n.oAB({type:st}),st.\u0275inj=n.cJS({imports:[[V.ez,pe.T]]}),st})()},8598:(bn,Et,J)=>{"use strict";J.d(Et,{f:()=>Je,_8:()=>me});var n=J(639),c=J(7238),V=J(8583),pe=J(4207),ie=J(9309),se=J(1818),de=J(3013),ge=J(665),we=J(6988);const re=["container"],xe=["inputfield"],Pe=["contentWrapper"];function ut(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"button",7),n.NdJ("click",function(X){n.CHM(F),n.oxw();const He=n.MAs(1);return n.oxw().onButtonClick(X,He)}),n.qZA()}if(2&Se){const F=n.oxw(2);n.Q6J("icon",F.icon)("disabled",F.disabled)}}function dt(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"input",4,5),n.NdJ("focus",function(X){return n.CHM(F),n.oxw().onInputFocus(X)})("keydown",function(X){return n.CHM(F),n.oxw().onInputKeydown(X)})("click",function(){return n.CHM(F),n.oxw().onInputClick()})("blur",function(X){return n.CHM(F),n.oxw().onInputBlur(X)})("input",function(X){return n.CHM(F),n.oxw().onUserInput(X)}),n.qZA(),n.YNc(2,ut,1,2,"button",6)}if(2&Se){const F=n.oxw();n.Tol(F.inputStyleClass),n.Q6J("value",F.inputFieldValue)("readonly",F.readonlyInput)("ngStyle",F.inputStyle)("placeholder",F.placeholder||"")("disabled",F.disabled)("ngClass","p-inputtext p-component"),n.uIk("id",F.inputId)("name",F.name)("required",F.required)("aria-required",F.required)("tabindex",F.tabindex)("inputmode",F.touchUI?"off":null)("aria-labelledby",F.ariaLabelledBy),n.xp6(2),n.Q6J("ngIf",F.showIcon)}}function st(Se,W){1&Se&&n.GkF(0)}function Me(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"button",27),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(4).onContainerButtonKeydown(X)})("click",function(X){return n.CHM(F),n.oxw(4).onPrevButtonClick(X)}),n._UZ(1,"span",28),n.qZA()}}function Ue(Se,W){if(1&Se&&(n.TgZ(0,"span",29),n._uU(1),n.qZA()),2&Se){const F=n.oxw().$implicit,U=n.oxw(3);n.xp6(1),n.Oqu(U.getTranslation("monthNames")[F.month])}}function Ve(Se,W){if(1&Se&&(n.TgZ(0,"option",32),n._uU(1),n.qZA()),2&Se){const F=W.$implicit,U=W.index,X=n.oxw(2).$implicit;n.Q6J("value",U)("selected",U===X.month),n.xp6(1),n.Oqu(F)}}function ct(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"select",30),n.NdJ("change",function(X){return n.CHM(F),n.oxw(4).onMonthDropdownChange(X.target.value)}),n.YNc(1,Ve,2,3,"option",31),n.qZA()}if(2&Se){const F=n.oxw(4);n.xp6(1),n.Q6J("ngForOf",F.getTranslation("monthNames"))}}function je(Se,W){if(1&Se&&(n.TgZ(0,"option",32),n._uU(1),n.qZA()),2&Se){const F=W.$implicit,U=n.oxw(5);n.Q6J("value",F)("selected",F===U.currentYear),n.xp6(1),n.Oqu(F)}}function Qe(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"select",33),n.NdJ("change",function(X){return n.CHM(F),n.oxw(4).onYearDropdownChange(X.target.value)}),n.YNc(1,je,2,3,"option",31),n.qZA()}if(2&Se){const F=n.oxw(4);n.xp6(1),n.Q6J("ngForOf",F.yearOptions)}}function ue(Se,W){if(1&Se&&(n.TgZ(0,"span",34),n._uU(1),n.qZA()),2&Se){const F=n.oxw().$implicit,U=n.oxw(3);n.xp6(1),n.Oqu("month"===U.view?U.currentYear:F.year)}}function z(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"button",35),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(4).onContainerButtonKeydown(X)})("click",function(X){return n.CHM(F),n.oxw(4).onNextButtonClick(X)}),n._UZ(1,"span",36),n.qZA()}}function Le(Se,W){if(1&Se&&(n.TgZ(0,"th",42),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.qZA()),2&Se){const F=n.oxw(5);n.xp6(2),n.Oqu(F.getTranslation("weekHeader"))}}function ve(Se,W){if(1&Se&&(n.TgZ(0,"th",43),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.qZA()),2&Se){const F=W.$implicit;n.xp6(2),n.Oqu(F)}}function Ie(Se,W){if(1&Se&&(n.TgZ(0,"td",46),n.TgZ(1,"span",47),n._uU(2),n.qZA(),n.qZA()),2&Se){const F=n.oxw().index,U=n.oxw(2).$implicit;n.xp6(2),n.hij(" ",U.weekNumbers[F]," ")}}function be(Se,W){if(1&Se&&(n.ynx(0),n._uU(1),n.BQk()),2&Se){const F=n.oxw(2).$implicit;n.xp6(1),n.Oqu(F.day)}}function Be(Se,W){1&Se&&n.GkF(0)}const bt=function(Se,W){return{"p-highlight":Se,"p-disabled":W}},We=function(Se){return{$implicit:Se}};function Xt(Se,W){if(1&Se){const F=n.EpF();n.ynx(0),n.TgZ(1,"span",49),n.NdJ("click",function(X){n.CHM(F);const He=n.oxw().$implicit;return n.oxw(6).onDateSelect(X,He)})("keydown",function(X){n.CHM(F);const He=n.oxw().$implicit,Qt=n.oxw(3).index;return n.oxw(3).onDateCellKeydown(X,He,Qt)}),n.YNc(2,be,2,1,"ng-container",11),n.YNc(3,Be,1,0,"ng-container",50),n.qZA(),n.BQk()}if(2&Se){const F=n.oxw().$implicit,U=n.oxw(6);n.xp6(1),n.Q6J("ngClass",n.WLB(4,bt,U.isSelected(F),!F.selectable)),n.xp6(1),n.Q6J("ngIf",!U.dateTemplate),n.xp6(1),n.Q6J("ngTemplateOutlet",U.dateTemplate)("ngTemplateOutletContext",n.VKq(7,We,F))}}const Nt=function(Se,W){return{"p-datepicker-other-month":Se,"p-datepicker-today":W}};function Ut(Se,W){if(1&Se&&(n.TgZ(0,"td",48),n.YNc(1,Xt,4,9,"ng-container",11),n.qZA()),2&Se){const F=W.$implicit,U=n.oxw(6);n.Q6J("ngClass",n.WLB(2,Nt,F.otherMonth,F.today)),n.xp6(1),n.Q6J("ngIf",!F.otherMonth||U.showOtherMonths)}}function zn(Se,W){if(1&Se&&(n.TgZ(0,"tr"),n.YNc(1,Ie,3,1,"td",44),n.YNc(2,Ut,2,5,"td",45),n.qZA()),2&Se){const F=W.$implicit,U=n.oxw(5);n.xp6(1),n.Q6J("ngIf",U.showWeek),n.xp6(1),n.Q6J("ngForOf",F)}}function kt(Se,W){if(1&Se&&(n.TgZ(0,"div",37),n.TgZ(1,"table",38),n.TgZ(2,"thead"),n.TgZ(3,"tr"),n.YNc(4,Le,3,1,"th",39),n.YNc(5,ve,3,1,"th",40),n.qZA(),n.qZA(),n.TgZ(6,"tbody"),n.YNc(7,zn,3,2,"tr",41),n.qZA(),n.qZA(),n.qZA()),2&Se){const F=n.oxw().$implicit,U=n.oxw(3);n.xp6(4),n.Q6J("ngIf",U.showWeek),n.xp6(1),n.Q6J("ngForOf",U.weekDays),n.xp6(2),n.Q6J("ngForOf",F.dates)}}function _n(Se,W){if(1&Se&&(n.TgZ(0,"div",17),n.TgZ(1,"div",18),n.YNc(2,Me,2,0,"button",19),n.TgZ(3,"div",20),n.YNc(4,Ue,2,1,"span",21),n.YNc(5,ct,2,1,"select",22),n.YNc(6,Qe,2,1,"select",23),n.YNc(7,ue,2,1,"span",24),n.qZA(),n.YNc(8,z,2,0,"button",25),n.qZA(),n.YNc(9,kt,8,3,"div",26),n.qZA()),2&Se){const F=W.index,U=n.oxw(3);n.xp6(2),n.Q6J("ngIf",0===F),n.xp6(2),n.Q6J("ngIf",!U.monthNavigator&&"month"!==U.view),n.xp6(1),n.Q6J("ngIf",U.monthNavigator&&"month"!==U.view&&1===U.numberOfMonths),n.xp6(1),n.Q6J("ngIf",U.yearNavigator&&1===U.numberOfMonths),n.xp6(1),n.Q6J("ngIf",!U.yearNavigator),n.xp6(1),n.Q6J("ngIf",1===U.numberOfMonths||F===U.numberOfMonths-1),n.xp6(1),n.Q6J("ngIf","date"===U.view)}}function Ht(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"span",53),n.NdJ("click",function(X){const Qt=n.CHM(F).index;return n.oxw(4).onMonthSelect(X,Qt)})("keydown",function(X){const Qt=n.CHM(F).index;return n.oxw(4).onMonthCellKeydown(X,Qt)}),n._uU(1),n.qZA()}if(2&Se){const F=W.$implicit,U=W.index,X=n.oxw(4);n.Q6J("ngClass",n.WLB(2,bt,X.isMonthSelected(U),!X.isSelectable(1,U,X.currentYear,!1))),n.xp6(1),n.hij(" ",F," ")}}function sn(Se,W){if(1&Se&&(n.TgZ(0,"div",51),n.YNc(1,Ht,2,5,"span",52),n.qZA()),2&Se){const F=n.oxw(3);n.xp6(1),n.Q6J("ngForOf",F.monthPickerValues)}}function tt(Se,W){if(1&Se&&(n.ynx(0),n.TgZ(1,"div",14),n.YNc(2,_n,10,7,"div",15),n.qZA(),n.YNc(3,sn,2,1,"div",16),n.BQk()),2&Se){const F=n.oxw(2);n.xp6(2),n.Q6J("ngForOf",F.months),n.xp6(1),n.Q6J("ngIf","month"===F.view)}}function at(Se,W){1&Se&&(n.ynx(0),n._uU(1,"0"),n.BQk())}function Tt(Se,W){1&Se&&(n.ynx(0),n._uU(1,"0"),n.BQk())}function et(Se,W){if(1&Se&&(n.TgZ(0,"div",59),n.TgZ(1,"span"),n._uU(2),n.qZA(),n.qZA()),2&Se){const F=n.oxw(3);n.xp6(2),n.Oqu(F.timeSeparator)}}function mt(Se,W){1&Se&&(n.ynx(0),n._uU(1,"0"),n.BQk())}function on(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"div",64),n.TgZ(1,"button",56),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(3).onContainerButtonKeydown(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(3).incrementSecond(X)})("mousedown",function(X){return n.CHM(F),n.oxw(3).onTimePickerElementMouseDown(X,2,1)})("mouseup",function(X){return n.CHM(F),n.oxw(3).onTimePickerElementMouseUp(X)})("mouseleave",function(){return n.CHM(F),n.oxw(3).onTimePickerElementMouseLeave()}),n._UZ(2,"span",57),n.qZA(),n.TgZ(3,"span"),n.YNc(4,mt,2,0,"ng-container",11),n._uU(5),n.qZA(),n.TgZ(6,"button",56),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(3).onContainerButtonKeydown(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(3).decrementSecond(X)})("mousedown",function(X){return n.CHM(F),n.oxw(3).onTimePickerElementMouseDown(X,2,-1)})("mouseup",function(X){return n.CHM(F),n.oxw(3).onTimePickerElementMouseUp(X)})("mouseleave",function(){return n.CHM(F),n.oxw(3).onTimePickerElementMouseLeave()}),n._UZ(7,"span",58),n.qZA(),n.qZA()}if(2&Se){const F=n.oxw(3);n.xp6(4),n.Q6J("ngIf",F.currentSecond<10),n.xp6(1),n.Oqu(F.currentSecond)}}function un(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"div",65),n.TgZ(1,"button",66),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(3).onContainerButtonKeydown(X)})("click",function(X){return n.CHM(F),n.oxw(3).toggleAMPM(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(3).toggleAMPM(X)}),n._UZ(2,"span",57),n.qZA(),n.TgZ(3,"span"),n._uU(4),n.qZA(),n.TgZ(5,"button",66),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(3).onContainerButtonKeydown(X)})("click",function(X){return n.CHM(F),n.oxw(3).toggleAMPM(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(3).toggleAMPM(X)}),n._UZ(6,"span",58),n.qZA(),n.qZA()}if(2&Se){const F=n.oxw(3);n.xp6(4),n.Oqu(F.pm?"PM":"AM")}}function cn(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"div",54),n.TgZ(1,"div",55),n.TgZ(2,"button",56),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(2).onContainerButtonKeydown(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(2).incrementHour(X)})("mousedown",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseDown(X,0,1)})("mouseup",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseUp(X)})("mouseleave",function(){return n.CHM(F),n.oxw(2).onTimePickerElementMouseLeave()}),n._UZ(3,"span",57),n.qZA(),n.TgZ(4,"span"),n.YNc(5,at,2,0,"ng-container",11),n._uU(6),n.qZA(),n.TgZ(7,"button",56),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(2).onContainerButtonKeydown(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(2).decrementHour(X)})("mousedown",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseDown(X,0,-1)})("mouseup",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseUp(X)})("mouseleave",function(){return n.CHM(F),n.oxw(2).onTimePickerElementMouseLeave()}),n._UZ(8,"span",58),n.qZA(),n.qZA(),n.TgZ(9,"div",59),n.TgZ(10,"span"),n._uU(11),n.qZA(),n.qZA(),n.TgZ(12,"div",60),n.TgZ(13,"button",56),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(2).onContainerButtonKeydown(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(2).incrementMinute(X)})("mousedown",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseDown(X,1,1)})("mouseup",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseUp(X)})("mouseleave",function(){return n.CHM(F),n.oxw(2).onTimePickerElementMouseLeave()}),n._UZ(14,"span",57),n.qZA(),n.TgZ(15,"span"),n.YNc(16,Tt,2,0,"ng-container",11),n._uU(17),n.qZA(),n.TgZ(18,"button",56),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(2).onContainerButtonKeydown(X)})("keydown.enter",function(X){return n.CHM(F),n.oxw(2).decrementMinute(X)})("mousedown",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseDown(X,1,-1)})("mouseup",function(X){return n.CHM(F),n.oxw(2).onTimePickerElementMouseUp(X)})("mouseleave",function(){return n.CHM(F),n.oxw(2).onTimePickerElementMouseLeave()}),n._UZ(19,"span",58),n.qZA(),n.qZA(),n.YNc(20,et,3,1,"div",61),n.YNc(21,on,8,2,"div",62),n.YNc(22,un,7,1,"div",63),n.qZA()}if(2&Se){const F=n.oxw(2);n.xp6(5),n.Q6J("ngIf",F.currentHour<10),n.xp6(1),n.Oqu(F.currentHour),n.xp6(5),n.Oqu(F.timeSeparator),n.xp6(5),n.Q6J("ngIf",F.currentMinute<10),n.xp6(1),n.Oqu(F.currentMinute),n.xp6(3),n.Q6J("ngIf",F.showSeconds),n.xp6(1),n.Q6J("ngIf",F.showSeconds),n.xp6(1),n.Q6J("ngIf","12"==F.hourFormat)}}const Rn=function(Se){return[Se]};function vi(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"div",67),n.TgZ(1,"button",68),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(2).onContainerButtonKeydown(X)})("click",function(X){return n.CHM(F),n.oxw(2).onTodayButtonClick(X)}),n.qZA(),n.TgZ(2,"button",68),n.NdJ("keydown",function(X){return n.CHM(F),n.oxw(2).onContainerButtonKeydown(X)})("click",function(X){return n.CHM(F),n.oxw(2).onClearButtonClick(X)}),n.qZA(),n.qZA()}if(2&Se){const F=n.oxw(2);n.xp6(1),n.Q6J("label",F.getTranslation("today"))("ngClass",n.VKq(4,Rn,F.todayButtonStyleClass)),n.xp6(1),n.Q6J("label",F.getTranslation("clear"))("ngClass",n.VKq(6,Rn,F.clearButtonStyleClass))}}function Ci(Se,W){1&Se&&n.GkF(0)}const Pn=function(Se,W,F,U,X,He){return{"p-datepicker p-component":!0,"p-datepicker-inline":Se,"p-disabled":W,"p-datepicker-timeonly":F,"p-datepicker-multiple-month":U,"p-datepicker-monthpicker":X,"p-datepicker-touch-ui":He}},Qn=function(Se,W){return{showTransitionParams:Se,hideTransitionParams:W}},ai=function(Se){return{value:"visibleTouchUI",params:Se}},dn=function(Se){return{value:"visible",params:Se}};function Mn(Se,W){if(1&Se){const F=n.EpF();n.TgZ(0,"div",8,9),n.NdJ("@overlayAnimation.start",function(X){return n.CHM(F),n.oxw().onOverlayAnimationStart(X)})("@overlayAnimation.done",function(X){return n.CHM(F),n.oxw().onOverlayAnimationDone(X)})("click",function(X){return n.CHM(F),n.oxw().onOverlayClick(X)}),n.Hsn(2),n.YNc(3,st,1,0,"ng-container",10),n.YNc(4,tt,4,2,"ng-container",11),n.YNc(5,cn,23,8,"div",12),n.YNc(6,vi,3,8,"div",13),n.Hsn(7,1),n.YNc(8,Ci,1,0,"ng-container",10),n.qZA()}if(2&Se){const F=n.oxw();n.Tol(F.panelStyleClass),n.Q6J("ngStyle",F.panelStyle)("ngClass",n.HTZ(11,Pn,F.inline,F.disabled,F.timeOnly,F.numberOfMonths>1,"month"===F.view,F.touchUI))("@overlayAnimation",F.touchUI?n.VKq(21,ai,n.WLB(18,Qn,F.showTransitionOptions,F.hideTransitionOptions)):n.VKq(26,dn,n.WLB(23,Qn,F.showTransitionOptions,F.hideTransitionOptions)))("@.disabled",!0===F.inline),n.xp6(3),n.Q6J("ngTemplateOutlet",F.headerTemplate),n.xp6(1),n.Q6J("ngIf",!F.timeOnly),n.xp6(1),n.Q6J("ngIf",F.showTime||F.timeOnly),n.xp6(1),n.Q6J("ngIf",F.showButtonBar),n.xp6(2),n.Q6J("ngTemplateOutlet",F.footerTemplate)}}const si=[[["p-header"]],[["p-footer"]]],io=function(Se,W,F,U){return{"p-calendar":!0,"p-calendar-w-btn":Se,"p-calendar-timeonly":W,"p-calendar-disabled":F,"p-focus":U}},Qi=["p-header","p-footer"],Pt={provide:ge.JU,useExisting:(0,n.Gpc)(()=>Je),multi:!0};let Je=(()=>{class Se{constructor(F,U,X,He,Qt,Wt){this.el=F,this.renderer=U,this.cd=X,this.zone=He,this.config=Qt,this.overlayService=Wt,this.multipleSeparator=",",this.rangeSeparator="-",this.inline=!1,this.showOtherMonths=!0,this.icon="pi pi-calendar",this.shortYearCutoff="+10",this.hourFormat="24",this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.showOnFocus=!0,this.showWeek=!1,this.dataType="date",this.selectionMode="single",this.todayButtonStyleClass="p-button-text",this.clearButtonStyleClass="p-button-text",this.autoZIndex=!0,this.baseZIndex=0,this.keepInvalid=!1,this.hideOnDateTimeSelect=!0,this.numberOfMonths=1,this.view="date",this.timeSeparator=":",this.focusTrap=!0,this.firstDayOfWeek=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.onFocus=new n.vpe,this.onBlur=new n.vpe,this.onClose=new n.vpe,this.onSelect=new n.vpe,this.onInput=new n.vpe,this.onTodayClick=new n.vpe,this.onClearClick=new n.vpe,this.onMonthChange=new n.vpe,this.onYearChange=new n.vpe,this.onClickOutside=new n.vpe,this.onShow=new n.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.inputFieldValue=null,this.navigationState=null,this.convertTo24Hour=function(Ze,jt){return"12"==this.hourFormat?12===Ze?jt?12:0:jt?Ze+12:Ze:Ze}}set content(F){this.contentViewChild=F,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):this.initFocusableCell())}get defaultDate(){return this._defaultDate}set defaultDate(F){if(this._defaultDate=F,this.initialized){const U=F||new Date;this.currentMonth=U.getMonth(),this.currentYear=U.getFullYear(),this.initTime(U),this.createMonths(this.currentMonth,this.currentYear)}}get minDate(){return this._minDate}set minDate(F){this._minDate=F,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(F){this._maxDate=F,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(F){this._disabledDates=F,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(F){this._disabledDays=F,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(F){if(this._yearRange=F,F){const U=F.split(":"),X=parseInt(U[0]),He=parseInt(U[1]);this.populateYearOptions(X,He)}}get showTime(){return this._showTime}set showTime(F){this._showTime=F,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get locale(){return this._locale}set locale(F){console.warn("Locale property has no effect, use new i18n API instead.")}ngOnInit(){const F=this.defaultDate||new Date;this.currentMonth=F.getMonth(),this.currentYear=F.getFullYear(),"date"===this.view?(this.createWeekDays(),this.initTime(F),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7):"month"===this.view&&this.createMonthPickerValues(),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(F=>{switch(F.getType()){case"date":this.dateTemplate=F.template;break;case"disabledDate":this.disabledDateTemplate=F.template;break;case"header":this.headerTemplate=F.template;break;case"footer":this.footerTemplate=F.template;break;default:this.dateTemplate=F.template}})}getTranslation(F){return this.config.getTranslation(F)}populateYearOptions(F,U){this.yearOptions=[];for(let X=F;X<=U;X++)this.yearOptions.push(X)}createWeekDays(){this.weekDays=[];let F=this.firstDayOfWeek,U=this.getTranslation(de.ws.DAY_NAMES_MIN);for(let X=0;X<7;X++)this.weekDays.push(U[F]),F=6==F?0:++F}createMonthPickerValues(){this.monthPickerValues=[];let F=this.getTranslation(de.ws.MONTH_NAMES_SHORT);for(let U=0;U<=11;U++)this.monthPickerValues.push(F[U])}createMonths(F,U){this.months=this.months=[];for(let X=0;X<this.numberOfMonths;X++){let He=F+X,Qt=U;He>11&&(He=He%11-1,Qt=U+1),this.months.push(this.createMonth(He,Qt))}}getWeekNumber(F){let U=new Date(F.getTime());U.setDate(U.getDate()+4-(U.getDay()||7));let X=U.getTime();return U.setMonth(0),U.setDate(1),Math.floor(Math.round((X-U.getTime())/864e5)/7)+1}createMonth(F,U){let X=[],He=this.getFirstDayOfMonthIndex(F,U),Qt=this.getDaysCountInMonth(F,U),Wt=this.getDaysCountInPrevMonth(F,U),Ze=1,jt=new Date,he=[],Fe=Math.ceil((Qt+He)/7);for(let Lt=0;Lt<Fe;Lt++){let At=[];if(0==Lt){for(let In=Wt-He+1;In<=Wt;In++){let On=this.getPreviousMonthAndYear(F,U);At.push({day:In,month:On.month,year:On.year,otherMonth:!0,today:this.isToday(jt,In,On.month,On.year),selectable:this.isSelectable(In,On.month,On.year,!0)})}let mn=7-At.length;for(let In=0;In<mn;In++)At.push({day:Ze,month:F,year:U,today:this.isToday(jt,Ze,F,U),selectable:this.isSelectable(Ze,F,U,!1)}),Ze++}else for(let mn=0;mn<7;mn++){if(Ze>Qt){let In=this.getNextMonthAndYear(F,U);At.push({day:Ze-Qt,month:In.month,year:In.year,otherMonth:!0,today:this.isToday(jt,Ze-Qt,In.month,In.year),selectable:this.isSelectable(Ze-Qt,In.month,In.year,!0)})}else At.push({day:Ze,month:F,year:U,today:this.isToday(jt,Ze,F,U),selectable:this.isSelectable(Ze,F,U,!1)});Ze++}this.showWeek&&he.push(this.getWeekNumber(new Date(At[0].year,At[0].month,At[0].day))),X.push(At)}return{month:F,year:U,dates:X,weekNumbers:he}}initTime(F){this.pm=F.getHours()>11,this.showTime?(this.currentMinute=F.getMinutes(),this.currentSecond=F.getSeconds(),this.setCurrentHourPM(F.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(F){F.stopPropagation(),this.disabled?F.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(F){F.stopPropagation(),this.disabled?F.preventDefault():(this.isMonthNavigate=!0,"month"===this.view?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){if(this.currentYear--,this.yearNavigator&&this.currentYear<this.yearOptions[0]){let F=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]-F,this.yearOptions[this.yearOptions.length-1]-F)}}incrementYear(){if(this.currentYear++,this.yearNavigator&&this.currentYear>this.yearOptions[this.yearOptions.length-1]){let F=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]+F,this.yearOptions[this.yearOptions.length-1]+F)}}onDateSelect(F,U){!this.disabled&&U.selectable?(this.isMultipleSelection()&&this.isSelected(U)?(this.value=this.value.filter((X,He)=>!this.isDateEquals(X,U)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(U)&&this.selectDate(U),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{F.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),F.preventDefault()):F.preventDefault()}shouldSelectDate(F){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(F,U){se.p.hasClass(F.target,"p-disabled")||this.onDateSelect(F,{year:this.currentYear,month:U,day:1,selectable:!0})}updateInputfield(){let F="";if(this.value)if(this.isSingleSelection())F=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let U=0;U<this.value.length;U++)F+=this.formatDateTime(this.value[U]),U!==this.value.length-1&&(F+=this.multipleSeparator+" ");else if(this.isRangeSelection()&&this.value&&this.value.length){let X=this.value[1];F=this.formatDateTime(this.value[0]),X&&(F+=" "+this.rangeSeparator+" "+this.formatDateTime(X))}this.inputFieldValue=F,this.updateFilledState(),this.inputfieldViewChild&&this.inputfieldViewChild.nativeElement&&(this.inputfieldViewChild.nativeElement.value=this.inputFieldValue)}formatDateTime(F){let U=null;return F&&(this.timeOnly?U=this.formatTime(F):(U=this.formatDate(F,this.getDateFormat()),this.showTime&&(U+=" "+this.formatTime(F)))),U}setCurrentHourPM(F){"12"==this.hourFormat?(this.pm=F>11,this.currentHour=F>=12?12==F?12:F-12:0==F?12:F):this.currentHour=F}selectDate(F){let U=new Date(F.year,F.month,F.day);if(this.showTime&&(U.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),U.setMinutes(this.currentMinute),U.setSeconds(this.currentSecond)),this.minDate&&this.minDate>U&&(U=this.minDate,this.setCurrentHourPM(U.getHours()),this.currentMinute=U.getMinutes(),this.currentSecond=U.getSeconds()),this.maxDate&&this.maxDate<U&&(U=this.maxDate,this.setCurrentHourPM(U.getHours()),this.currentMinute=U.getMinutes(),this.currentSecond=U.getSeconds()),this.isSingleSelection())this.updateModel(U);else if(this.isMultipleSelection())this.updateModel(this.value?[...this.value,U]:[U]);else if(this.isRangeSelection())if(this.value&&this.value.length){let X=this.value[0],He=this.value[1];!He&&U.getTime()>=X.getTime()?He=U:(X=U,He=null),this.updateModel([X,He])}else this.updateModel([U,null]);this.onSelect.emit(U)}updateModel(F){if(this.value=F,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let U=null;this.value&&(U=this.value.map(X=>this.formatDateTime(X))),this.onModelChange(U)}}getFirstDayOfMonthIndex(F,U){let X=new Date;X.setDate(1),X.setMonth(F),X.setFullYear(U);let He=X.getDay()+this.getSundayIndex();return He>=7?He-7:He}getDaysCountInMonth(F,U){return 32-this.daylightSavingAdjust(new Date(U,F,32)).getDate()}getDaysCountInPrevMonth(F,U){let X=this.getPreviousMonthAndYear(F,U);return this.getDaysCountInMonth(X.month,X.year)}getPreviousMonthAndYear(F,U){let X,He;return 0===F?(X=11,He=U-1):(X=F-1,He=U),{month:X,year:He}}getNextMonthAndYear(F,U){let X,He;return 11===F?(X=0,He=U+1):(X=F+1,He=U),{month:X,year:He}}getSundayIndex(){return this.firstDayOfWeek>0?7-this.firstDayOfWeek:0}isSelected(F){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,F);if(this.isMultipleSelection()){let U=!1;for(let X of this.value)if(U=this.isDateEquals(X,F),U)break;return U}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],F)||this.isDateEquals(this.value[1],F)||this.isDateBetween(this.value[0],this.value[1],F):this.isDateEquals(this.value[0],F):void 0}isMonthSelected(F){let U=this.value?Array.isArray(this.value)?this.value[0].getDate():this.value.getDate():1;return this.isSelected({year:this.currentYear,month:F,day:U,selectable:!0})}isDateEquals(F,U){return!!F&&F.getDate()===U.day&&F.getMonth()===U.month&&F.getFullYear()===U.year}isDateBetween(F,U,X){if(F&&U){let Qt=new Date(X.year,X.month,X.day);return F.getTime()<=Qt.getTime()&&U.getTime()>=Qt.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(F,U,X,He){return F.getDate()===U&&F.getMonth()===X&&F.getFullYear()===He}isSelectable(F,U,X,He){let Qt=!0,Wt=!0,Ze=!0,jt=!0;return!(He&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>X||this.minDate.getFullYear()===X&&(this.minDate.getMonth()>U||this.minDate.getMonth()===U&&this.minDate.getDate()>F))&&(Qt=!1),this.maxDate&&(this.maxDate.getFullYear()<X||this.maxDate.getFullYear()===X&&(this.maxDate.getMonth()<U||this.maxDate.getMonth()===U&&this.maxDate.getDate()<F))&&(Wt=!1),this.disabledDates&&(Ze=!this.isDateDisabled(F,U,X)),this.disabledDays&&(jt=!this.isDayDisabled(F,U,X)),Qt&&Wt&&Ze&&jt)}isDateDisabled(F,U,X){if(this.disabledDates)for(let He of this.disabledDates)if(He.getFullYear()===X&&He.getMonth()===U&&He.getDate()===F)return!0;return!1}isDayDisabled(F,U,X){if(this.disabledDays){let Qt=new Date(X,U,F).getDay();return-1!==this.disabledDays.indexOf(Qt)}return!1}onInputFocus(F){this.focus=!0,this.showOnFocus&&this.showOverlay(),this.onFocus.emit(F)}onInputClick(){this.showOnFocus&&!this.overlayVisible&&this.showOverlay()}onInputBlur(F){this.focus=!1,this.onBlur.emit(F),this.keepInvalid||this.updateInputfield(),this.onModelTouched()}onButtonClick(F,U){this.overlayVisible?this.hideOverlay():(U.focus(),this.showOverlay())}onOverlayClick(F){this.overlayService.add({originalEvent:F,target:this.el.nativeElement})}onPrevButtonClick(F){this.navigationState={backward:!0,button:!0},this.navBackward(F)}onNextButtonClick(F){this.navigationState={backward:!1,button:!0},this.navForward(F)}onContainerButtonKeydown(F){switch(F.which){case 9:this.inline||this.trapFocus(F);break;case 27:this.overlayVisible=!1,F.preventDefault()}}onInputKeydown(F){this.isKeydown=!0,40===F.keyCode&&this.contentViewChild?this.trapFocus(F):27===F.keyCode||13===F.keyCode?this.overlayVisible&&(this.overlayVisible=!1,F.preventDefault()):9===F.keyCode&&this.contentViewChild&&(se.p.getFocusableElements(this.contentViewChild.nativeElement).forEach(U=>U.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(F,U,X){const He=F.currentTarget,Qt=He.parentElement;switch(F.which){case 40:{He.tabIndex="-1";let Wt=se.p.index(Qt),Ze=Qt.parentElement.nextElementSibling;Ze?se.p.hasClass(Ze.children[Wt].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(F)):(Ze.children[Wt].children[0].tabIndex="0",Ze.children[Wt].children[0].focus()):(this.navigationState={backward:!1},this.navForward(F)),F.preventDefault();break}case 38:{He.tabIndex="-1";let Wt=se.p.index(Qt),Ze=Qt.parentElement.previousElementSibling;if(Ze){let jt=Ze.children[Wt].children[0];se.p.hasClass(jt,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(F)):(jt.tabIndex="0",jt.focus())}else this.navigationState={backward:!0},this.navBackward(F);F.preventDefault();break}case 37:{He.tabIndex="-1";let Wt=Qt.previousElementSibling;if(Wt){let Ze=Wt.children[0];se.p.hasClass(Ze,"p-disabled")||se.p.hasClass(Ze.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,X):(Ze.tabIndex="0",Ze.focus())}else this.navigateToMonth(!0,X);F.preventDefault();break}case 39:{He.tabIndex="-1";let Wt=Qt.nextElementSibling;if(Wt){let Ze=Wt.children[0];se.p.hasClass(Ze,"p-disabled")?this.navigateToMonth(!1,X):(Ze.tabIndex="0",Ze.focus())}else this.navigateToMonth(!1,X);F.preventDefault();break}case 13:this.onDateSelect(F,U),F.preventDefault();break;case 27:this.overlayVisible=!1,F.preventDefault();break;case 9:this.inline||this.trapFocus(F)}}onMonthCellKeydown(F,U){const X=F.currentTarget;switch(F.which){case 38:case 40:{X.tabIndex="-1";var He=X.parentElement.children,Qt=se.p.index(X);let Wt=He[40===F.which?Qt+3:Qt-3];Wt&&(Wt.tabIndex="0",Wt.focus()),F.preventDefault();break}case 37:{X.tabIndex="-1";let Wt=X.previousElementSibling;Wt&&(Wt.tabIndex="0",Wt.focus()),F.preventDefault();break}case 39:{X.tabIndex="-1";let Wt=X.nextElementSibling;Wt&&(Wt.tabIndex="0",Wt.focus()),F.preventDefault();break}case 13:this.onMonthSelect(F,U),F.preventDefault();break;case 27:this.overlayVisible=!1,F.preventDefault();break;case 9:this.inline||this.trapFocus(F)}}navigateToMonth(F,U){if(F)if(1===this.numberOfMonths||0===U)this.navigationState={backward:!0},this.navBackward(event);else{let He=se.p.find(this.contentViewChild.nativeElement.children[U-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),Qt=He[He.length-1];Qt.tabIndex="0",Qt.focus()}else if(1===this.numberOfMonths||U===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let He=se.p.findSingle(this.contentViewChild.nativeElement.children[U+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");He.tabIndex="0",He.focus()}}updateFocus(){let F;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?se.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():se.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let U=se.p.find(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");F=U[U.length-1]}else F=se.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");F&&(F.tabIndex="0",F.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){let F;if("month"===this.view){let U=se.p.find(this.contentViewChild.nativeElement,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),X=se.p.findSingle(this.contentViewChild.nativeElement,".p-monthpicker .p-monthpicker-month.p-highlight");U.forEach(He=>He.tabIndex=-1),F=X||U[0],0===U.length&&se.p.find(this.contentViewChild.nativeElement,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(Qt=>Qt.tabIndex=-1)}else if(F=se.p.findSingle(this.contentViewChild.nativeElement,"span.p-highlight"),!F){F=se.p.findSingle(this.contentViewChild.nativeElement,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)")||se.p.findSingle(this.contentViewChild.nativeElement,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}F&&(F.tabIndex="0")}trapFocus(F){let U=se.p.getFocusableElements(this.contentViewChild.nativeElement);if(U&&U.length>0)if(U[0].ownerDocument.activeElement){let X=U.indexOf(U[0].ownerDocument.activeElement);if(F.shiftKey)if(-1==X||0===X)if(this.focusTrap)U[U.length-1].focus();else{if(-1===X)return this.hideOverlay();if(0===X)return}else U[X-1].focus();else if(-1==X||X===U.length-1){if(!this.focusTrap&&-1!=X)return this.hideOverlay();U[0].focus()}else U[X+1].focus()}else U[0].focus();F.preventDefault()}onMonthDropdownChange(F){this.currentMonth=parseInt(F),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}onYearDropdownChange(F){this.currentYear=parseInt(F),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}validateTime(F,U,X,He){let Qt=this.value;const Wt=this.convertTo24Hour(F,He);this.isRangeSelection()&&(Qt=this.value[1]||this.value[0]),this.isMultipleSelection()&&(Qt=this.value[this.value.length-1]);const Ze=Qt?Qt.toDateString():null;return!(this.minDate&&Ze&&this.minDate.toDateString()===Ze&&(this.minDate.getHours()>Wt||this.minDate.getHours()===Wt&&(this.minDate.getMinutes()>U||this.minDate.getMinutes()===U&&this.minDate.getSeconds()>X))||this.maxDate&&Ze&&this.maxDate.toDateString()===Ze&&(this.maxDate.getHours()<Wt||this.maxDate.getHours()===Wt&&(this.maxDate.getMinutes()<U||this.maxDate.getMinutes()===U&&this.maxDate.getSeconds()<X)))}incrementHour(F){let X=this.currentHour+this.stepHour,He=this.pm;"24"==this.hourFormat?X=X>=24?X-24:X:"12"==this.hourFormat&&(this.currentHour<12&&X>11&&(He=!this.pm),X=X>=13?X-12:X),this.validateTime(X,this.currentMinute,this.currentSecond,He)&&(this.currentHour=X,this.pm=He),F.preventDefault()}onTimePickerElementMouseDown(F,U,X){this.disabled||(this.repeat(F,null,U,X),F.preventDefault())}onTimePickerElementMouseUp(F){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(F,U,X,He){let Qt=U||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(F,100,X,He),this.cd.markForCheck()},Qt),X){case 0:1===He?this.incrementHour(F):this.decrementHour(F);break;case 1:1===He?this.incrementMinute(F):this.decrementMinute(F);break;case 2:1===He?this.incrementSecond(F):this.decrementSecond(F)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(F){let U=this.currentHour-this.stepHour,X=this.pm;"24"==this.hourFormat?U=U<0?24+U:U:"12"==this.hourFormat&&(12===this.currentHour&&(X=!this.pm),U=U<=0?12+U:U),this.validateTime(U,this.currentMinute,this.currentSecond,X)&&(this.currentHour=U,this.pm=X),F.preventDefault()}incrementMinute(F){let U=this.currentMinute+this.stepMinute;U=U>59?U-60:U,this.validateTime(this.currentHour,U,this.currentSecond,this.pm)&&(this.currentMinute=U),F.preventDefault()}decrementMinute(F){let U=this.currentMinute-this.stepMinute;U=U<0?60+U:U,this.validateTime(this.currentHour,U,this.currentSecond,this.pm)&&(this.currentMinute=U),F.preventDefault()}incrementSecond(F){let U=this.currentSecond+this.stepSecond;U=U>59?U-60:U,this.validateTime(this.currentHour,this.currentMinute,U,this.pm)&&(this.currentSecond=U),F.preventDefault()}decrementSecond(F){let U=this.currentSecond-this.stepSecond;U=U<0?60+U:U,this.validateTime(this.currentHour,this.currentMinute,U,this.pm)&&(this.currentSecond=U),F.preventDefault()}updateTime(){let F=this.value;this.isRangeSelection()&&(F=this.value[1]||this.value[0]),this.isMultipleSelection()&&(F=this.value[this.value.length-1]),F=F?new Date(F.getTime()):new Date,F.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),F.setMinutes(this.currentMinute),F.setSeconds(this.currentSecond),this.isRangeSelection()&&(F=this.value[1]?[this.value[0],F]:[F,null]),this.isMultipleSelection()&&(F=[...this.value.slice(0,-1),F]),this.updateModel(F),this.onSelect.emit(F),this.updateInputfield()}toggleAMPM(F){const U=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,U)&&(this.pm=U,this.updateTime()),F.preventDefault()}onUserInput(F){if(!this.isKeydown)return;this.isKeydown=!1;let U=F.target.value;try{let X=this.parseValueFromString(U);this.isValidSelection(X)&&(this.updateModel(X),this.updateUI())}catch(X){this.updateModel(null)}this.filled=null!=U&&U.length,this.onInput.emit(F)}isValidSelection(F){let U=!0;return this.isSingleSelection()?this.isSelectable(F.getDate(),F.getMonth(),F.getFullYear(),!1)||(U=!1):F.every(X=>this.isSelectable(X.getDate(),X.getMonth(),X.getFullYear(),!1))&&this.isRangeSelection()&&(U=F.length>1&&F[1]>F[0]),U}parseValueFromString(F){if(!F||0===F.trim().length)return null;let U;if(this.isSingleSelection())U=this.parseDateTime(F);else if(this.isMultipleSelection()){let X=F.split(this.multipleSeparator);U=[];for(let He of X)U.push(this.parseDateTime(He.trim()))}else if(this.isRangeSelection()){let X=F.split(" "+this.rangeSeparator+" ");U=[];for(let He=0;He<X.length;He++)U[He]=this.parseDateTime(X[He].trim())}return U}parseDateTime(F){let U,X=F.split(" ");if(this.timeOnly)U=new Date,this.populateTime(U,X[0],X[1]);else{const He=this.getDateFormat();if(this.showTime){let Qt="12"==this.hourFormat?X.pop():null,Wt=X.pop();U=this.parseDate(X.join(" "),He),this.populateTime(U,Wt,Qt)}else U=this.parseDate(F,He)}return U}populateTime(F,U,X){if("12"==this.hourFormat&&!X)throw"Invalid Time";this.pm="PM"===X||"pm"===X;let He=this.parseTime(U);F.setHours(He.hour),F.setMinutes(He.minute),F.setSeconds(He.second)}updateUI(){let F=this.value||this.defaultDate||new Date;Array.isArray(F)&&(F=F[0]),this.currentMonth=F.getMonth(),this.currentYear=F.getFullYear(),this.createMonths(this.currentMonth,this.currentYear),(this.showTime||this.timeOnly)&&(this.setCurrentHourPM(F.getHours()),this.currentMinute=F.getMinutes(),this.currentSecond=F.getSeconds())}showOverlay(){this.overlayVisible||(this.updateUI(),this.overlayVisible=!0)}hideOverlay(){this.overlayVisible=!1,this.clearTimePickerTimer(),this.touchUI&&this.disableModality(),this.cd.markForCheck()}toggle(){this.inline||(this.overlayVisible?this.hideOverlay():(this.showOverlay(),this.inputfieldViewChild.nativeElement.focus()))}onOverlayAnimationStart(F){switch(F.toState){case"visible":case"visibleTouchUI":this.inline||(this.overlay=F.element,this.appendOverlay(),this.autoZIndex&&(this.touchUI?we.P9.set("modal",this.overlay,this.baseZIndex||this.config.zIndex.modal):we.P9.set("overlay",this.overlay,this.baseZIndex||this.config.zIndex.overlay)),this.alignOverlay(),this.onShow.emit(F));break;case"void":this.onOverlayHide(),this.onClose.emit(F)}}onOverlayAnimationDone(F){switch(F.toState){case"visible":case"visibleTouchUI":this.inline||(this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener());break;case"void":this.autoZIndex&&we.P9.clear(F.element)}}appendOverlay(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):se.p.appendChild(this.overlay,this.appendTo))}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}alignOverlay(){this.touchUI?this.enableModality(this.overlay):this.appendTo?se.p.absolutePosition(this.overlay,this.inputfieldViewChild.nativeElement):se.p.relativePosition(this.overlay,this.inputfieldViewChild.nativeElement)}enableModality(F){this.mask||(this.mask=document.createElement("div"),this.mask.style.zIndex=String(parseInt(F.style.zIndex)-1),se.p.addMultipleClasses(this.mask,"p-component-overlay p-datepicker-mask p-datepicker-mask-scrollblocker"),this.maskClickListener=this.renderer.listen(this.mask,"click",X=>{this.disableModality()}),document.body.appendChild(this.mask),se.p.addClass(document.body,"p-overflow-hidden"))}disableModality(){if(this.mask){document.body.removeChild(this.mask);let U,F=document.body.children;for(let X=0;X<F.length;X++)if(se.p.hasClass(F[X],"p-datepicker-mask-scrollblocker")){U=!0;break}U||se.p.removeClass(document.body,"p-overflow-hidden"),this.unbindMaskClickListener(),this.mask=null}}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}writeValue(F){this.value=F,this.value&&"string"==typeof this.value&&(this.value=this.parseValueFromString(this.value)),this.updateInputfield(),this.updateUI(),this.cd.markForCheck()}registerOnChange(F){this.onModelChange=F}registerOnTouched(F){this.onModelTouched=F}setDisabledState(F){this.disabled=F,this.cd.markForCheck()}getDateFormat(){return this.dateFormat||this.getTranslation("dateFormat")}formatDate(F,U){if(!F)return"";let X;const He=he=>{const Fe=X+1<U.length&&U.charAt(X+1)===he;return Fe&&X++,Fe},Qt=(he,Fe,Lt)=>{let At=""+Fe;if(He(he))for(;At.length<Lt;)At="0"+At;return At},Wt=(he,Fe,Lt,At)=>He(he)?At[Fe]:Lt[Fe];let Ze="",jt=!1;if(F)for(X=0;X<U.length;X++)if(jt)"'"!==U.charAt(X)||He("'")?Ze+=U.charAt(X):jt=!1;else switch(U.charAt(X)){case"d":Ze+=Qt("d",F.getDate(),2);break;case"D":Ze+=Wt("D",F.getDay(),this.getTranslation(de.ws.DAY_NAMES_SHORT),this.getTranslation(de.ws.DAY_NAMES));break;case"o":Ze+=Qt("o",Math.round((new Date(F.getFullYear(),F.getMonth(),F.getDate()).getTime()-new Date(F.getFullYear(),0,0).getTime())/864e5),3);break;case"m":Ze+=Qt("m",F.getMonth()+1,2);break;case"M":Ze+=Wt("M",F.getMonth(),this.getTranslation(de.ws.MONTH_NAMES_SHORT),this.getTranslation(de.ws.MONTH_NAMES));break;case"y":Ze+=He("y")?F.getFullYear():(F.getFullYear()%100<10?"0":"")+F.getFullYear()%100;break;case"@":Ze+=F.getTime();break;case"!":Ze+=1e4*F.getTime()+this.ticksTo1970;break;case"'":He("'")?Ze+="'":jt=!0;break;default:Ze+=U.charAt(X)}return Ze}formatTime(F){if(!F)return"";let U="",X=F.getHours(),He=F.getMinutes(),Qt=F.getSeconds();return"12"==this.hourFormat&&X>11&&12!=X&&(X-=12),U+="12"==this.hourFormat&&0===X?12:X<10?"0"+X:X,U+=":",U+=He<10?"0"+He:He,this.showSeconds&&(U+=":",U+=Qt<10?"0"+Qt:Qt),"12"==this.hourFormat&&(U+=F.getHours()>11?" PM":" AM"),U}parseTime(F){let U=F.split(":");if(U.length!==(this.showSeconds?3:2))throw"Invalid time";let He=parseInt(U[0]),Qt=parseInt(U[1]),Wt=this.showSeconds?parseInt(U[2]):null;if(isNaN(He)||isNaN(Qt)||He>23||Qt>59||"12"==this.hourFormat&&He>12||this.showSeconds&&(isNaN(Wt)||Wt>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==He&&this.pm?He+=12:!this.pm&&12===He&&(He-=12)),{hour:He,minute:Qt,second:Wt}}parseDate(F,U){if(null==U||null==F)throw"Invalid arguments";if(""===(F="object"==typeof F?F.toString():F+""))return null;let X,He,Qt,mn,Wt=0,Ze="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),jt=-1,he=-1,Fe=-1,Lt=-1,At=!1,In=_i=>{let an=X+1<U.length&&U.charAt(X+1)===_i;return an&&X++,an},On=_i=>{let an=In(_i),Di="@"===_i?14:"!"===_i?20:"y"===_i&&an?4:"o"===_i?3:2,Ti=new RegExp("^\\d{"+("y"===_i?Di:1)+","+Di+"}"),Vi=F.substring(Wt).match(Ti);if(!Vi)throw"Missing number at position "+Wt;return Wt+=Vi[0].length,parseInt(Vi[0],10)},Ri=(_i,an,Di)=>{let Oi=-1,Ti=In(_i)?Di:an,Vi=[];for(let Ji=0;Ji<Ti.length;Ji++)Vi.push([Ji,Ti[Ji]]);Vi.sort((Ji,pi)=>-(Ji[1].length-pi[1].length));for(let Ji=0;Ji<Vi.length;Ji++){let pi=Vi[Ji][1];if(F.substr(Wt,pi.length).toLowerCase()===pi.toLowerCase()){Oi=Vi[Ji][0],Wt+=pi.length;break}}if(-1!==Oi)return Oi+1;throw"Unknown name at position "+Wt},Sn=()=>{if(F.charAt(Wt)!==U.charAt(X))throw"Unexpected literal at position "+Wt;Wt++};for("month"===this.view&&(Fe=1),X=0;X<U.length;X++)if(At)"'"!==U.charAt(X)||In("'")?Sn():At=!1;else switch(U.charAt(X)){case"d":Fe=On("d");break;case"D":Ri("D",this.getTranslation(de.ws.DAY_NAMES_SHORT),this.getTranslation(de.ws.DAY_NAMES));break;case"o":Lt=On("o");break;case"m":he=On("m");break;case"M":he=Ri("M",this.getTranslation(de.ws.MONTH_NAMES_SHORT),this.getTranslation(de.ws.MONTH_NAMES));break;case"y":jt=On("y");break;case"@":mn=new Date(On("@")),jt=mn.getFullYear(),he=mn.getMonth()+1,Fe=mn.getDate();break;case"!":mn=new Date((On("!")-this.ticksTo1970)/1e4),jt=mn.getFullYear(),he=mn.getMonth()+1,Fe=mn.getDate();break;case"'":In("'")?Sn():At=!0;break;default:Sn()}if(Wt<F.length&&(Qt=F.substr(Wt),!/^\s+/.test(Qt)))throw"Extra/unparsed characters found in date: "+Qt;if(-1===jt?jt=(new Date).getFullYear():jt<100&&(jt+=(new Date).getFullYear()-(new Date).getFullYear()%100+(jt<=Ze?0:-100)),Lt>-1)for(he=1,Fe=Lt;He=this.getDaysCountInMonth(jt,he-1),!(Fe<=He);)he++,Fe-=He;if(mn=this.daylightSavingAdjust(new Date(jt,he-1,Fe)),mn.getFullYear()!==jt||mn.getMonth()+1!==he||mn.getDate()!==Fe)throw"Invalid date";return mn}daylightSavingAdjust(F){return F?(F.setHours(F.getHours()>12?F.getHours()+2:0),F):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(F){let U=new Date,X={day:U.getDate(),month:U.getMonth(),year:U.getFullYear(),otherMonth:U.getMonth()!==this.currentMonth||U.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(F,X),this.onTodayClick.emit(F)}onClearButtonClick(F){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(F)}bindDocumentClickListener(){this.documentClickListener||this.zone.runOutsideAngular(()=>{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",U=>{this.isOutsideClicked(U)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(U),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener))}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new se.V(this.containerViewChild.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(F){return!(this.el.nativeElement.isSameNode(F.target)||this.isNavIconClicked(F)||this.el.nativeElement.contains(F.target)||this.overlay&&this.overlay.contains(F.target))}isNavIconClicked(F){return se.p.hasClass(F.target,"p-datepicker-prev")||se.p.hasClass(F.target,"p-datepicker-prev-icon")||se.p.hasClass(F.target,"p-datepicker-next")||se.p.hasClass(F.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!se.p.isAndroid()&&this.hideOverlay()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindMaskClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.disableModality()}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&we.P9.clear(this.overlay),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}}return Se.\u0275fac=function(F){return new(F||Se)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(n.R0b),n.Y36(de.b4),n.Y36(de.F0))},Se.\u0275cmp=n.Xpm({type:Se,selectors:[["p-calendar"]],contentQueries:function(F,U,X){if(1&F&&n.Suo(X,de.jx,4),2&F){let He;n.iGM(He=n.CRH())&&(U.templates=He)}},viewQuery:function(F,U){if(1&F&&(n.Gf(re,5),n.Gf(xe,5),n.Gf(Pe,5)),2&F){let X;n.iGM(X=n.CRH())&&(U.containerViewChild=X.first),n.iGM(X=n.CRH())&&(U.inputfieldViewChild=X.first),n.iGM(X=n.CRH())&&(U.content=X.first)}},hostVars:4,hostBindings:function(F,U){2&F&&n.ekj("p-inputwrapper-filled",U.filled)("p-inputwrapper-focus",U.focus)},inputs:{style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",numberOfMonths:"numberOfMonths",view:"view",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",firstDayOfWeek:"firstDayOfWeek",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",defaultDate:"defaultDate",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",locale:"locale"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[n._Bn([Pt])],ngContentSelectors:Qi,decls:4,vars:11,consts:[[3,"ngClass","ngStyle"],["container",""],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","autocomplete","off",3,"value","readonly","ngStyle","placeholder","disabled","ngClass","focus","keydown","click","blur","input"],["inputfield",""],["type","button","pButton","","pRipple","","class","p-datepicker-trigger","tabindex","0",3,"icon","disabled","click",4,"ngIf"],["type","button","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger",3,"icon","disabled","click"],[3,"ngStyle","ngClass","click"],["contentWrapper",""],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["class","p-datepicker-month",4,"ngIf"],["tabindex","0","class","p-datepicker-month",3,"change",4,"ngIf"],["tabindex","0","class","p-datepicker-year",3,"change",4,"ngIf"],["class","p-datepicker-year",4,"ngIf"],["class","p-datepicker-next p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],[1,"p-datepicker-prev-icon","pi","pi-chevron-left"],[1,"p-datepicker-month"],["tabindex","0",1,"p-datepicker-month",3,"change"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["tabindex","0",1,"p-datepicker-year",3,"change"],[1,"p-datepicker-year"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[1,"p-datepicker-next-icon","pi","pi-chevron-right"],[1,"p-datepicker-calendar-container"],[1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],[3,"ngClass"],["draggable","false","pRipple","",3,"ngClass","click","keydown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"ngClass","click","keydown"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","mousedown","mouseup","mouseleave"],[1,"pi","pi-chevron-up"],[1,"pi","pi-chevron-down"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"label","ngClass","keydown","click"]],template:function(F,U){1&F&&(n.F$t(si),n.TgZ(0,"span",0,1),n.YNc(2,dt,3,16,"ng-template",2),n.YNc(3,Mn,9,28,"div",3),n.qZA()),2&F&&(n.Tol(U.styleClass),n.Q6J("ngClass",n.l5B(6,io,U.showIcon,U.timeOnly,U.disabled,U.focus))("ngStyle",U.style),n.xp6(2),n.Q6J("ngIf",!U.inline),n.xp6(1),n.Q6J("ngIf",U.inline||U.overlayVisible))},directives:[V.mk,V.PC,V.O5,pe.Hq,ie.H,V.tP,V.sg],styles:[".p-calendar{position:relative;display:inline-flex}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{position:static}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-next,.p-datepicker-prev{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;margin:0 auto}.p-datepicker td>span,.p-monthpicker-month{justify-content:center;align-items:center;cursor:pointer;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker,.p-timepicker button{display:flex;justify-content:center;align-items:center}.p-timepicker button{cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-calendar .p-datepicker-touch-ui,.p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}"],encapsulation:2,data:{animation:[(0,c.X$)("overlayAnimation",[(0,c.SB)("visibleTouchUI",(0,c.oB)({transform:"translate(-50%,-50%)",opacity:1})),(0,c.eR)("void => visible",[(0,c.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,c.jt)("{{showTransitionParams}}",(0,c.oB)({opacity:1,transform:"*"}))]),(0,c.eR)("visible => void",[(0,c.jt)("{{hideTransitionParams}}",(0,c.oB)({opacity:0}))]),(0,c.eR)("void => visibleTouchUI",[(0,c.oB)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),(0,c.jt)("{{showTransitionParams}}")]),(0,c.eR)("visibleTouchUI => void",[(0,c.jt)("{{hideTransitionParams}}",(0,c.oB)({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0}),Se})(),me=(()=>{class Se{}return Se.\u0275fac=function(F){return new(F||Se)},Se.\u0275mod=n.oAB({type:Se}),Se.\u0275inj=n.cJS({imports:[[V.ez,pe.hJ,de.m8,ie.T],pe.hJ,de.m8]}),Se})()},4654:(bn,Et,J)=>{"use strict";J.d(Et,{S:()=>Ul,C:()=>yd});var n=J(639),c=J(8583);const pe="undefined"==typeof window?function(a){return a()}:window.requestAnimationFrame;function ie(a,s,o){const l=o||(_=>Array.prototype.slice.call(_));let d=!1,f=[];return function(..._){f=l(_),d||(d=!0,pe.call(window,()=>{d=!1,a.apply(s,f)}))}}const de=a=>"start"===a?"left":"end"===a?"right":"center",ge=(a,s,o)=>"start"===a?s:"end"===a?o:(s+o)/2;function re(){}const xe=function(){let a=0;return function(){return a++}}();function Pe(a){return null==a}function ut(a){if(Array.isArray&&Array.isArray(a))return!0;const s=Object.prototype.toString.call(a);return"[object"===s.substr(0,7)&&"Array]"===s.substr(-6)}function dt(a){return null!==a&&"[object Object]"===Object.prototype.toString.call(a)}const st=a=>("number"==typeof a||a instanceof Number)&&isFinite(+a);function Me(a,s){return st(a)?a:s}function Ue(a,s){return void 0===a?s:a}const ct=(a,s)=>"string"==typeof a&&a.endsWith("%")?parseFloat(a)/100*s:+a;function je(a,s,o){if(a&&"function"==typeof a.call)return a.apply(o,s)}function Qe(a,s,o,l){let d,f,_;if(ut(a))if(f=a.length,l)for(d=f-1;d>=0;d--)s.call(o,a[d],d);else for(d=0;d<f;d++)s.call(o,a[d],d);else if(dt(a))for(_=Object.keys(a),f=_.length,d=0;d<f;d++)s.call(o,a[_[d]],_[d])}function ue(a,s){let o,l,d,f;if(!a||!s||a.length!==s.length)return!1;for(o=0,l=a.length;o<l;++o)if(d=a[o],f=s[o],d.datasetIndex!==f.datasetIndex||d.index!==f.index)return!1;return!0}function z(a){if(ut(a))return a.map(z);if(dt(a)){const s=Object.create(null),o=Object.keys(a),l=o.length;let d=0;for(;d<l;++d)s[o[d]]=z(a[o[d]]);return s}return a}function Le(a){return-1===["__proto__","prototype","constructor"].indexOf(a)}function ve(a,s,o,l){if(!Le(a))return;const d=s[a],f=o[a];dt(d)&&dt(f)?Ie(d,f,l):s[a]=z(f)}function Ie(a,s,o){const l=ut(s)?s:[s],d=l.length;if(!dt(a))return a;const f=(o=o||{}).merger||ve;for(let _=0;_<d;++_){if(!dt(s=l[_]))continue;const M=Object.keys(s);for(let R=0,L=M.length;R<L;++R)f(M[R],a,s,o)}return a}function be(a,s){return Ie(a,s,{merger:Be})}function Be(a,s,o){if(!Le(a))return;const l=s[a],d=o[a];dt(l)&&dt(d)?be(l,d):Object.prototype.hasOwnProperty.call(s,a)||(s[a]=z(d))}function Nt(a,s){const o=a.indexOf(".",s);return-1===o?a.length:o}function Ut(a,s){if(""===s)return a;let o=0,l=Nt(s,o);for(;a&&l>o;)a=a[s.substr(o,l-o)],o=l+1,l=Nt(s,o);return a}function zn(a){return a.charAt(0).toUpperCase()+a.slice(1)}const kt=a=>void 0!==a,_n=a=>"function"==typeof a,sn=Math.PI,tt=2*sn,at=tt+sn,Tt=Number.POSITIVE_INFINITY,et=sn/180,mt=sn/2,on=sn/4,un=2*sn/3,cn=Math.log10,Rn=Math.sign;function vi(a){const s=Math.round(a);a=Qn(a,s,a/1e3)?s:a;const o=Math.pow(10,Math.floor(cn(a))),l=a/o;return(l<=1?1:l<=2?2:l<=5?5:10)*o}function Pn(a){return!isNaN(parseFloat(a))&&isFinite(a)}function Qn(a,s,o){return Math.abs(a-s)<o}function dn(a,s,o){let l,d,f;for(l=0,d=a.length;l<d;l++)f=a[l][o],isNaN(f)||(s.min=Math.min(s.min,f),s.max=Math.max(s.max,f))}function Mn(a){return a*(sn/180)}function si(a){return a*(180/sn)}function io(a){if(!st(a))return;let s=1,o=0;for(;Math.round(a*s)/s!==a;)s*=10,o++;return o}function Pt(a,s){return Math.sqrt(Math.pow(s.x-a.x,2)+Math.pow(s.y-a.y,2))}function Je(a,s){return(a-s+at)%tt-sn}function me(a){return(a%tt+tt)%tt}function Se(a,s,o,l){const d=me(a),f=me(s),_=me(o),M=me(f-d),R=me(_-d),L=me(d-f),G=me(d-_);return d===f||d===_||l&&f===_||M>R&&L<G}function W(a,s,o){return Math.max(s,Math.min(o,a))}const U=a=>0===a||1===a,X=(a,s,o)=>-Math.pow(2,10*(a-=1))*Math.sin((a-s)*tt/o),He=(a,s,o)=>Math.pow(2,-10*a)*Math.sin((a-s)*tt/o)+1,Qt={linear:a=>a,easeInQuad:a=>a*a,easeOutQuad:a=>-a*(a-2),easeInOutQuad:a=>(a/=.5)<1?.5*a*a:-.5*(--a*(a-2)-1),easeInCubic:a=>a*a*a,easeOutCubic:a=>(a-=1)*a*a+1,easeInOutCubic:a=>(a/=.5)<1?.5*a*a*a:.5*((a-=2)*a*a+2),easeInQuart:a=>a*a*a*a,easeOutQuart:a=>-((a-=1)*a*a*a-1),easeInOutQuart:a=>(a/=.5)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2),easeInQuint:a=>a*a*a*a*a,easeOutQuint:a=>(a-=1)*a*a*a*a+1,easeInOutQuint:a=>(a/=.5)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2),easeInSine:a=>1-Math.cos(a*mt),easeOutSine:a=>Math.sin(a*mt),easeInOutSine:a=>-.5*(Math.cos(sn*a)-1),easeInExpo:a=>0===a?0:Math.pow(2,10*(a-1)),easeOutExpo:a=>1===a?1:1-Math.pow(2,-10*a),easeInOutExpo:a=>U(a)?a:a<.5?.5*Math.pow(2,10*(2*a-1)):.5*(2-Math.pow(2,-10*(2*a-1))),easeInCirc:a=>a>=1?a:-(Math.sqrt(1-a*a)-1),easeOutCirc:a=>Math.sqrt(1-(a-=1)*a),easeInOutCirc:a=>(a/=.5)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1),easeInElastic:a=>U(a)?a:X(a,.075,.3),easeOutElastic:a=>U(a)?a:He(a,.075,.3),easeInOutElastic(a){const s=.1125;return U(a)?a:a<.5?.5*X(2*a,s,.45):.5+.5*He(2*a-1,s,.45)},easeInBack(a){const s=1.70158;return a*a*((s+1)*a-s)},easeOutBack(a){const s=1.70158;return(a-=1)*a*((s+1)*a+s)+1},easeInOutBack(a){let s=1.70158;return(a/=.5)<1?a*a*((1+(s*=1.525))*a-s)*.5:.5*((a-=2)*a*((1+(s*=1.525))*a+s)+2)},easeInBounce:a=>1-Qt.easeOutBounce(1-a),easeOutBounce(a){const s=7.5625,o=2.75;return a<1/o?s*a*a:a<2/o?s*(a-=1.5/o)*a+.75:a<2.5/o?s*(a-=2.25/o)*a+.9375:s*(a-=2.625/o)*a+.984375},easeInOutBounce:a=>a<.5?.5*Qt.easeInBounce(2*a):.5*Qt.easeOutBounce(2*a-1)+.5},Wt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Ze="0123456789ABCDEF",jt=a=>Ze[15&a],he=a=>Ze[(240&a)>>4]+Ze[15&a],Fe=a=>(240&a)>>4==(15&a);function In(a){return a+.5|0}const On=(a,s,o)=>Math.max(Math.min(a,o),s);function Ri(a){return On(In(2.55*a),0,255)}function Sn(a){return On(In(255*a),0,255)}function _i(a){return On(In(a/2.55)/100,0,1)}function an(a){return On(In(100*a),0,100)}const Di=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,Vi=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Ji(a,s,o){const l=s*Math.min(o,1-o),d=(f,_=(f+a/30)%12)=>o-l*Math.max(Math.min(_-3,9-_,1),-1);return[d(0),d(8),d(4)]}function pi(a,s,o){const l=(d,f=(d+a/60)%6)=>o-o*s*Math.max(Math.min(f,4-f,1),0);return[l(5),l(3),l(1)]}function uo(a,s,o){const l=Ji(a,1,.5);let d;for(s+o>1&&(d=1/(s+o),s*=d,o*=d),d=0;d<3;d++)l[d]*=1-s-o,l[d]+=s;return l}function Hi(a){const o=a.r/255,l=a.g/255,d=a.b/255,f=Math.max(o,l,d),_=Math.min(o,l,d),M=(f+_)/2;let R,L,G;return f!==_&&(G=f-_,L=M>.5?G/(2-f-_):G/(f+_),R=f===o?(l-d)/G+(l<d?6:0):f===l?(d-o)/G+2:(o-l)/G+4,R=60*R+.5),[0|R,L||0,M]}function To(a,s,o,l){return(Array.isArray(s)?a(s[0],s[1],s[2]):a(s,o,l)).map(Sn)}function Fo(a,s,o){return To(Ji,a,s,o)}function po(a){return(a%360+360)%360}const fo={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},nt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let $;function $e(a,s,o){if(a){let l=Hi(a);l[s]=Math.max(0,Math.min(l[s]+l[s]*o,0===s?360:1)),l=Fo(l),a.r=l[0],a.g=l[1],a.b=l[2]}}function Vt(a,s){return a&&Object.assign(s||{},a)}function Bt(a){var s={r:0,g:0,b:0,a:255};return Array.isArray(a)?a.length>=3&&(s={r:a[0],g:a[1],b:a[2],a:255},a.length>3&&(s.a=Sn(a[3]))):(s=Vt(a,{r:0,g:0,b:0,a:1})).a=Sn(s.a),s}function St(a){return"r"===a.charAt(0)?function(a){const s=Di.exec(a);let l,d,f,o=255;if(s){if(s[7]!==l){const _=+s[7];o=255&(s[8]?Ri(_):255*_)}return l=+s[1],d=+s[3],f=+s[5],l=255&(s[2]?Ri(l):l),d=255&(s[4]?Ri(d):d),f=255&(s[6]?Ri(f):f),{r:l,g:d,b:f,a:o}}}(a):function(a){const s=Vi.exec(a);let l,o=255;if(!s)return;s[5]!==l&&(o=s[6]?Ri(+s[5]):Sn(+s[5]));const d=po(+s[2]),f=+s[3]/100,_=+s[4]/100;return l="hwb"===s[1]?function(a,s,o){return To(uo,a,s,o)}(d,f,_):"hsv"===s[1]?function(a,s,o){return To(pi,a,s,o)}(d,f,_):Fo(d,f,_),{r:l[0],g:l[1],b:l[2],a:o}}(a)}class en{constructor(s){if(s instanceof en)return s;const o=typeof s;let l;"object"===o?l=Bt(s):"string"===o&&(l=function(a){var o,s=a.length;return"#"===a[0]&&(4===s||5===s?o={r:255&17*Wt[a[1]],g:255&17*Wt[a[2]],b:255&17*Wt[a[3]],a:5===s?17*Wt[a[4]]:255}:(7===s||9===s)&&(o={r:Wt[a[1]]<<4|Wt[a[2]],g:Wt[a[3]]<<4|Wt[a[4]],b:Wt[a[5]]<<4|Wt[a[6]],a:9===s?Wt[a[7]]<<4|Wt[a[8]]:255})),o}(s)||function(a){$||($=function(){const a={},s=Object.keys(nt),o=Object.keys(fo);let l,d,f,_,M;for(l=0;l<s.length;l++){for(_=M=s[l],d=0;d<o.length;d++)f=o[d],M=M.replace(f,fo[f]);f=parseInt(nt[_],16),a[M]=[f>>16&255,f>>8&255,255&f]}return a}(),$.transparent=[0,0,0,0]);const s=$[a.toLowerCase()];return s&&{r:s[0],g:s[1],b:s[2],a:4===s.length?s[3]:255}}(s)||St(s)),this._rgb=l,this._valid=!!l}get valid(){return this._valid}get rgb(){var s=Vt(this._rgb);return s&&(s.a=_i(s.a)),s}set rgb(s){this._rgb=Bt(s)}rgbString(){return this._valid?(a=this._rgb)&&(a.a<255?`rgba(${a.r}, ${a.g}, ${a.b}, ${_i(a.a)})`:`rgb(${a.r}, ${a.g}, ${a.b})`):this._rgb;var a}hexString(){return this._valid?(s=function(a){return Fe(a.r)&&Fe(a.g)&&Fe(a.b)&&Fe(a.a)}(a=this._rgb)?jt:he,a&&"#"+s(a.r)+s(a.g)+s(a.b)+(a.a<255?s(a.a):"")):this._rgb;var a,s}hslString(){return this._valid?function(a){if(!a)return;const s=Hi(a),o=s[0],l=an(s[1]),d=an(s[2]);return a.a<255?`hsla(${o}, ${l}%, ${d}%, ${_i(a.a)})`:`hsl(${o}, ${l}%, ${d}%)`}(this._rgb):this._rgb}mix(s,o){const l=this;if(s){const d=l.rgb,f=s.rgb;let _;const M=o===_?.5:o,R=2*M-1,L=d.a-f.a,G=((R*L==-1?R:(R+L)/(1+R*L))+1)/2;_=1-G,d.r=255&G*d.r+_*f.r+.5,d.g=255&G*d.g+_*f.g+.5,d.b=255&G*d.b+_*f.b+.5,d.a=M*d.a+(1-M)*f.a,l.rgb=d}return l}clone(){return new en(this.rgb)}alpha(s){return this._rgb.a=Sn(s),this}clearer(s){return this._rgb.a*=1-s,this}greyscale(){const s=this._rgb,o=In(.3*s.r+.59*s.g+.11*s.b);return s.r=s.g=s.b=o,this}opaquer(s){return this._rgb.a*=1+s,this}negate(){const s=this._rgb;return s.r=255-s.r,s.g=255-s.g,s.b=255-s.b,this}lighten(s){return $e(this._rgb,2,s),this}darken(s){return $e(this._rgb,2,-s),this}saturate(s){return $e(this._rgb,1,s),this}desaturate(s){return $e(this._rgb,1,-s),this}rotate(s){return function(a,s){var o=Hi(a);o[0]=po(o[0]+s),o=Fo(o),a.r=o[0],a.g=o[1],a.b=o[2]}(this._rgb,s),this}}function An(a){return new en(a)}const it=a=>a instanceof CanvasGradient||a instanceof CanvasPattern;function Ye(a){return it(a)?a:An(a)}function Oe(a){return it(a)?a:An(a).saturate(.5).darken(.1).hexString()}const ht=Object.create(null),Ct=Object.create(null);function pn(a,s){if(!s)return a;const o=s.split(".");for(let l=0,d=o.length;l<d;++l){const f=o[l];a=a[f]||(a[f]=Object.create(null))}return a}function Ce(a,s,o){return"string"==typeof s?Ie(pn(a,s),o):Ie(pn(a,""),s)}var oe=new class{constructor(s){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,l)=>Oe(l.backgroundColor),this.hoverBorderColor=(o,l)=>Oe(l.borderColor),this.hoverColor=(o,l)=>Oe(l.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(s)}set(s,o){return Ce(this,s,o)}get(s){return pn(this,s)}describe(s,o){return Ce(Ct,s,o)}override(s,o){return Ce(ht,s,o)}route(s,o,l,d){const f=pn(this,s),_=pn(this,l),M="_"+o;Object.defineProperties(f,{[M]:{value:f[o],writable:!0},[o]:{enumerable:!0,get(){const R=this[M],L=_[d];return dt(R)?Object.assign({},L,R):Ue(R,L)},set(R){this[M]=R}}})}}({_scriptable:a=>!a.startsWith("on"),_indexable:a=>"events"!==a,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Dt(a,s,o,l,d){let f=s[d];return f||(f=s[d]=a.measureText(d).width,o.push(d)),f>l&&(l=f),l}function zt(a,s,o,l){let d=(l=l||{}).data=l.data||{},f=l.garbageCollect=l.garbageCollect||[];l.font!==s&&(d=l.data={},f=l.garbageCollect=[],l.font=s),a.save(),a.font=s;let _=0;const M=o.length;let R,L,G,ne,ae;for(R=0;R<M;R++)if(ne=o[R],null!=ne&&!0!==ut(ne))_=Dt(a,d,f,_,ne);else if(ut(ne))for(L=0,G=ne.length;L<G;L++)ae=ne[L],null!=ae&&!ut(ae)&&(_=Dt(a,d,f,_,ae));a.restore();const Re=f.length/2;if(Re>o.length){for(R=0;R<Re;R++)delete d[f[R]];f.splice(0,Re)}return _}function ln(a,s,o){const l=a.currentDevicePixelRatio,d=0!==o?Math.max(o/2,.5):0;return Math.round((s-d)*l)/l+d}function Xn(a,s){(s=s||a.getContext("2d")).save(),s.resetTransform(),s.clearRect(0,0,a.width,a.height),s.restore()}function Hn(a,s,o,l){let d,f,_,M,R;const L=s.pointStyle,G=s.rotation,ne=s.radius;let ae=(G||0)*et;if(L&&"object"==typeof L&&(d=L.toString(),"[object HTMLImageElement]"===d||"[object HTMLCanvasElement]"===d))return a.save(),a.translate(o,l),a.rotate(ae),a.drawImage(L,-L.width/2,-L.height/2,L.width,L.height),void a.restore();if(!(isNaN(ne)||ne<=0)){switch(a.beginPath(),L){default:a.arc(o,l,ne,0,tt),a.closePath();break;case"triangle":a.moveTo(o+Math.sin(ae)*ne,l-Math.cos(ae)*ne),ae+=un,a.lineTo(o+Math.sin(ae)*ne,l-Math.cos(ae)*ne),ae+=un,a.lineTo(o+Math.sin(ae)*ne,l-Math.cos(ae)*ne),a.closePath();break;case"rectRounded":R=.516*ne,M=ne-R,f=Math.cos(ae+on)*M,_=Math.sin(ae+on)*M,a.arc(o-f,l-_,R,ae-sn,ae-mt),a.arc(o+_,l-f,R,ae-mt,ae),a.arc(o+f,l+_,R,ae,ae+mt),a.arc(o-_,l+f,R,ae+mt,ae+sn),a.closePath();break;case"rect":if(!G){M=Math.SQRT1_2*ne,a.rect(o-M,l-M,2*M,2*M);break}ae+=on;case"rectRot":f=Math.cos(ae)*ne,_=Math.sin(ae)*ne,a.moveTo(o-f,l-_),a.lineTo(o+_,l-f),a.lineTo(o+f,l+_),a.lineTo(o-_,l+f),a.closePath();break;case"crossRot":ae+=on;case"cross":f=Math.cos(ae)*ne,_=Math.sin(ae)*ne,a.moveTo(o-f,l-_),a.lineTo(o+f,l+_),a.moveTo(o+_,l-f),a.lineTo(o-_,l+f);break;case"star":f=Math.cos(ae)*ne,_=Math.sin(ae)*ne,a.moveTo(o-f,l-_),a.lineTo(o+f,l+_),a.moveTo(o+_,l-f),a.lineTo(o-_,l+f),ae+=on,f=Math.cos(ae)*ne,_=Math.sin(ae)*ne,a.moveTo(o-f,l-_),a.lineTo(o+f,l+_),a.moveTo(o+_,l-f),a.lineTo(o-_,l+f);break;case"line":f=Math.cos(ae)*ne,_=Math.sin(ae)*ne,a.moveTo(o-f,l-_),a.lineTo(o+f,l+_);break;case"dash":a.moveTo(o,l),a.lineTo(o+Math.cos(ae)*ne,l+Math.sin(ae)*ne)}a.fill(),s.borderWidth>0&&a.stroke()}}function wn(a,s,o){return o=o||.5,!s||a&&a.x>s.left-o&&a.x<s.right+o&&a.y>s.top-o&&a.y<s.bottom+o}function Yn(a,s){a.save(),a.beginPath(),a.rect(s.left,s.top,s.right-s.left,s.bottom-s.top),a.clip()}function Li(a){a.restore()}function as(a,s,o,l,d){if(!s)return a.lineTo(o.x,o.y);if("middle"===d){const f=(s.x+o.x)/2;a.lineTo(f,s.y),a.lineTo(f,o.y)}else"after"===d!=!!l?a.lineTo(s.x,o.y):a.lineTo(o.x,s.y);a.lineTo(o.x,o.y)}function Ko(a,s,o,l){if(!s)return a.lineTo(o.x,o.y);a.bezierCurveTo(l?s.cp1x:s.cp2x,l?s.cp1y:s.cp2y,l?o.cp2x:o.cp1x,l?o.cp2y:o.cp1y,o.x,o.y)}function Ni(a,s,o,l,d,f={}){const _=ut(s)?s:[s],M=f.strokeWidth>0&&""!==f.strokeColor;let R,L;for(a.save(),a.font=d.string,function(a,s){s.translation&&a.translate(s.translation[0],s.translation[1]),Pe(s.rotation)||a.rotate(s.rotation),s.color&&(a.fillStyle=s.color),s.textAlign&&(a.textAlign=s.textAlign),s.textBaseline&&(a.textBaseline=s.textBaseline)}(a,f),R=0;R<_.length;++R)L=_[R],M&&(f.strokeColor&&(a.strokeStyle=f.strokeColor),Pe(f.strokeWidth)||(a.lineWidth=f.strokeWidth),a.strokeText(L,o,l,f.maxWidth)),a.fillText(L,o,l,f.maxWidth),Co(a,o,l,L,f),l+=d.lineHeight;a.restore()}function Co(a,s,o,l,d){if(d.strikethrough||d.underline){const f=a.measureText(l),_=s-f.actualBoundingBoxLeft,M=s+f.actualBoundingBoxRight,R=o-f.actualBoundingBoxAscent,L=o+f.actualBoundingBoxDescent,G=d.strikethrough?(R+L)/2:L;a.strokeStyle=a.fillStyle,a.beginPath(),a.lineWidth=d.decorationWidth||2,a.moveTo(_,G),a.lineTo(M,G),a.stroke()}}function So(a,s){const{x:o,y:l,w:d,h:f,radius:_}=s;a.arc(o+_.topLeft,l+_.topLeft,_.topLeft,-mt,sn,!0),a.lineTo(o,l+f-_.bottomLeft),a.arc(o+_.bottomLeft,l+f-_.bottomLeft,_.bottomLeft,sn,mt,!0),a.lineTo(o+d-_.bottomRight,l+f),a.arc(o+d-_.bottomRight,l+f-_.bottomRight,_.bottomRight,mt,0,!0),a.lineTo(o+d,l+_.topRight),a.arc(o+d-_.topRight,l+_.topRight,_.topRight,0,-mt,!0),a.lineTo(o+_.topLeft,l)}const fi=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Do=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Yi(a,s){const o=(""+a).match(fi);if(!o||"normal"===o[1])return 1.2*s;switch(a=+o[2],o[3]){case"px":return a;case"%":a/=100}return s*a}const ro=a=>+a||0;function zo(a,s){const o={},l=dt(s),d=l?Object.keys(s):s,f=dt(a)?l?_=>Ue(a[_],a[s[_]]):_=>a[_]:()=>a;for(const _ of d)o[_]=ro(f(_));return o}function Xo(a){return zo(a,{top:"y",right:"x",bottom:"y",left:"x"})}function ho(a){return zo(a,["topLeft","topRight","bottomLeft","bottomRight"])}function ki(a){const s=Xo(a);return s.width=s.left+s.right,s.height=s.top+s.bottom,s}function Ki(a,s){let o=Ue((a=a||{}).size,(s=s||oe.font).size);"string"==typeof o&&(o=parseInt(o,10));let l=Ue(a.style,s.style);l&&!(""+l).match(Do)&&(console.warn('Invalid font style specified: "'+l+'"'),l="");const d={family:Ue(a.family,s.family),lineHeight:Yi(Ue(a.lineHeight,s.lineHeight),o),size:o,style:l,weight:Ue(a.weight,s.weight),string:""};return d.string=function(a){return!a||Pe(a.size)||Pe(a.family)?null:(a.style?a.style+" ":"")+(a.weight?a.weight+" ":"")+a.size+"px "+a.family}(d),d}function $i(a,s,o,l){let f,_,M,d=!0;for(f=0,_=a.length;f<_;++f)if(M=a[f],void 0!==M&&(void 0!==s&&"function"==typeof M&&(M=M(s),d=!1),void 0!==o&&ut(M)&&(M=M[o%M.length],d=!1),void 0!==M))return l&&!d&&(l.cacheable=!1),M}function xt(a,s,o){o=o||(_=>a[_]<s);let f,l=a.length-1,d=0;for(;l-d>1;)f=d+l>>1,o(f)?d=f:l=f;return{lo:d,hi:l}}const Y=(a,s,o)=>xt(a,o,l=>a[l][s]<o),Ae=(a,s,o)=>xt(a,o,l=>a[l][s]>=o),hn=["push","pop","shift","splice","unshift"];function go(a,s){const o=a._chartjs;if(!o)return;const l=o.listeners,d=l.indexOf(s);-1!==d&&l.splice(d,1),!(l.length>0)&&(hn.forEach(f=>{delete a[f]}),delete a._chartjs)}function Es(a){const s=new Set;let o,l;for(o=0,l=a.length;o<l;++o)s.add(a[o]);return s.size===l?a:Array.from(s)}function Ss(a,s=[""],o=a,l,d=(()=>a[0])){kt(l)||(l=v("_fallback",a));const f={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:a,_rootScopes:o,_fallback:l,_getTarget:d,override:_=>Ss([_,...a],s,o,l)};return new Proxy(f,{deleteProperty:(_,M)=>(delete _[M],delete _._keys,delete a[0][M],!0),get:(_,M)=>dr(_,M,()=>function(a,s,o,l){let d;for(const f of s)if(d=v(hs(f,a),o),kt(d))return ps(a,d)?No(o,l,a,d):d}(M,s,a,_)),getOwnPropertyDescriptor:(_,M)=>Reflect.getOwnPropertyDescriptor(_._scopes[0],M),getPrototypeOf:()=>Reflect.getPrototypeOf(a[0]),has:(_,M)=>w(_).includes(M),ownKeys:_=>w(_),set:(_,M,R)=>((_._storage||(_._storage=d()))[M]=R,delete _[M],delete _._keys,!0)})}function es(a,s,o,l){const d={_cacheable:!1,_proxy:a,_context:s,_subProxy:o,_stack:new Set,_descriptors:$o(a,l),setContext:f=>es(a,f,o,l),override:f=>es(a.override(f),s,o,l)};return new Proxy(d,{deleteProperty:(f,_)=>(delete f[_],delete a[_],!0),get:(f,_,M)=>dr(f,_,()=>function(a,s,o){const{_proxy:l,_context:d,_subProxy:f,_descriptors:_}=a;let M=l[s];return _n(M)&&_.isScriptable(s)&&(M=function(a,s,o,l){const{_proxy:d,_context:f,_subProxy:_,_stack:M}=o;if(M.has(a))throw new Error("Recursion detected: "+Array.from(M).join("->")+"->"+a);return M.add(a),s=s(f,_||l),M.delete(a),dt(s)&&(s=No(d._scopes,d,a,s)),s}(s,M,a,o)),ut(M)&&M.length&&(M=function(a,s,o,l){const{_proxy:d,_context:f,_subProxy:_,_descriptors:M}=o;if(kt(f.index)&&l(a))s=s[f.index%s.length];else if(dt(s[0])){const R=s,L=d._scopes.filter(G=>G!==R);s=[];for(const G of R){const ne=No(L,d,a,G);s.push(es(ne,f,_&&_[a],M))}}return s}(s,M,a,_.isIndexable)),ps(s,M)&&(M=es(M,d,f&&f[s],_)),M}(f,_,M)),getOwnPropertyDescriptor:(f,_)=>f._descriptors.allKeys?Reflect.has(a,_)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(a,_),getPrototypeOf:()=>Reflect.getPrototypeOf(a),has:(f,_)=>Reflect.has(a,_),ownKeys:()=>Reflect.ownKeys(a),set:(f,_,M)=>(a[_]=M,delete f[_],!0)})}function $o(a,s={scriptable:!0,indexable:!0}){const{_scriptable:o=s.scriptable,_indexable:l=s.indexable,_allKeys:d=s.allKeys}=a;return{allKeys:d,scriptable:o,indexable:l,isScriptable:_n(o)?o:()=>o,isIndexable:_n(l)?l:()=>l}}const hs=(a,s)=>a?a+zn(s):s,ps=(a,s)=>dt(s)&&"adapters"!==a;function dr(a,s,o){let l=a[s];return kt(l)||(l=o(),kt(l)&&(a[s]=l)),l}function hr(a,s,o){return _n(a)?a(s,o):a}const ts=(a,s)=>!0===a?s:"string"==typeof a?Ut(s,a):void 0;function Qs(a,s,o,l){for(const d of s){const f=ts(o,d);if(f){a.add(f);const _=hr(f._fallback,o,f);if(kt(_)&&_!==o&&_!==l)return _}else if(!1===f&&kt(l)&&o!==l)return null}return!1}function No(a,s,o,l){const d=s._rootScopes,f=hr(s._fallback,o,l),_=[...a,...d],M=new Set;M.add(l);let R=ls(M,_,o,f||o);return!(null===R||kt(f)&&f!==o&&(R=ls(M,_,f,R),null===R))&&Ss(Array.from(M),[""],d,f,()=>function(a,s,o){const l=a._getTarget();s in l||(l[s]={});const d=l[s];return ut(d)&&dt(o)?o:d}(s,o,l))}function ls(a,s,o,l){for(;o;)o=Qs(a,s,o,l);return o}function v(a,s){for(const o of s){if(!o)continue;const l=o[a];if(kt(l))return l}}function w(a){let s=a._keys;return s||(s=a._keys=function(a){const s=new Set;for(const o of a)for(const l of Object.keys(o).filter(d=>!d.startsWith("_")))s.add(l);return Array.from(s)}(a._scopes)),s}const T=Number.EPSILON||1e-14,p=(a,s)=>s<a.length&&!a[s].skip&&a[s],S=a=>"x"===a?"y":"x";function b(a,s,o,l){const d=a.skip?s:a,f=s,_=o.skip?s:o,M=Pt(f,d),R=Pt(_,f);let L=M/(M+R),G=R/(M+R);L=isNaN(L)?0:L,G=isNaN(G)?0:G;const ne=l*L,ae=l*G;return{previous:{x:f.x-ne*(_.x-d.x),y:f.y-ne*(_.y-d.y)},next:{x:f.x+ae*(_.x-d.x),y:f.y+ae*(_.y-d.y)}}}function te(a,s,o){return Math.max(Math.min(a,o),s)}function pt(a,s,o,l,d){let f,_,M,R;if(s.spanGaps&&(a=a.filter(L=>!L.skip)),"monotone"===s.cubicInterpolationMode)!function(a,s="x"){const o=S(s),l=a.length,d=Array(l).fill(0),f=Array(l);let _,M,R,L=p(a,0);for(_=0;_<l;++_)if(M=R,R=L,L=p(a,_+1),R){if(L){const G=L[s]-R[s];d[_]=0!==G?(L[o]-R[o])/G:0}f[_]=M?L?Rn(d[_-1])!==Rn(d[_])?0:(d[_-1]+d[_])/2:d[_-1]:d[_]}(function(a,s,o){const l=a.length;let d,f,_,M,R,L=p(a,0);for(let G=0;G<l-1;++G)if(R=L,L=p(a,G+1),R&&L){if(Qn(s[G],0,T)){o[G]=o[G+1]=0;continue}d=o[G]/s[G],f=o[G+1]/s[G],M=Math.pow(d,2)+Math.pow(f,2),!(M<=9)&&(_=3/Math.sqrt(M),o[G]=d*_*s[G],o[G+1]=f*_*s[G])}})(a,d,f),function(a,s,o="x"){const l=S(o),d=a.length;let f,_,M,R=p(a,0);for(let L=0;L<d;++L){if(_=M,M=R,R=p(a,L+1),!M)continue;const G=M[o],ne=M[l];_&&(f=(G-_[o])/3,M[`cp1${o}`]=G-f,M[`cp1${l}`]=ne-f*s[L]),R&&(f=(R[o]-G)/3,M[`cp2${o}`]=G+f,M[`cp2${l}`]=ne+f*s[L])}}(a,f,s)}(a,d);else{let L=l?a[a.length-1]:a[0];for(f=0,_=a.length;f<_;++f)M=a[f],R=b(L,M,a[Math.min(f+1,_-(l?0:1))%_],s.tension),M.cp1x=R.previous.x,M.cp1y=R.previous.y,M.cp2x=R.next.x,M.cp2y=R.next.y,L=M}s.capBezierPoints&&function(a,s){let o,l,d,f,_,M=wn(a[0],s);for(o=0,l=a.length;o<l;++o)_=f,f=M,M=o<l-1&&wn(a[o+1],s),f&&(d=a[o],_&&(d.cp1x=te(d.cp1x,s.left,s.right),d.cp1y=te(d.cp1y,s.top,s.bottom)),M&&(d.cp2x=te(d.cp2x,s.left,s.right),d.cp2y=te(d.cp2y,s.top,s.bottom)))}(a,o)}function qt(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Yt(a){let s=a.parentNode;return s&&"[object ShadowRoot]"===s.toString()&&(s=s.host),s}function Un(a,s,o){let l;return"string"==typeof a?(l=parseInt(a,10),-1!==a.indexOf("%")&&(l=l/100*s.parentNode[o])):l=a,l}const Nn=a=>window.getComputedStyle(a,null),Dn=["top","right","bottom","left"];function xn(a,s,o){const l={};o=o?"-"+o:"";for(let d=0;d<4;d++){const f=Dn[d];l[f]=parseFloat(a[s+"-"+f+o])||0}return l.width=l.left+l.right,l.height=l.top+l.bottom,l}function Wn(a,s){const{canvas:o,currentDevicePixelRatio:l}=s,d=Nn(o),f="border-box"===d.boxSizing,_=xn(d,"padding"),M=xn(d,"border","width"),{x:R,y:L,box:G}=function(a,s){const o=a.native||a,l=o.touches,d=l&&l.length?l[0]:o,{offsetX:f,offsetY:_}=d;let R,L,M=!1;if(((a,s,o)=>(a>0||s>0)&&(!o||!o.shadowRoot))(f,_,o.target))R=f,L=_;else{const G=s.getBoundingClientRect();R=d.clientX-G.left,L=d.clientY-G.top,M=!0}return{x:R,y:L,box:M}}(a,o),ne=_.left+(G&&M.left),ae=_.top+(G&&M.top);let{width:Re,height:ot}=s;return f&&(Re-=_.width+M.width,ot-=_.height+M.height),{x:Math.round((R-ne)/Re*o.width/l),y:Math.round((L-ae)/ot*o.height/l)}}const jo=a=>Math.round(10*a)/10;function Xi(a,s,o){const l=s||1,d=Math.floor(a.height*l),f=Math.floor(a.width*l);a.height=d/l,a.width=f/l;const _=a.canvas;return _.style&&(o||!_.style.height&&!_.style.width)&&(_.style.height=`${a.height}px`,_.style.width=`${a.width}px`),(a.currentDevicePixelRatio!==l||_.height!==d||_.width!==f)&&(a.currentDevicePixelRatio=l,_.height=d,_.width=f,a.ctx.setTransform(l,0,0,l,0,0),!0)}const _s=function(){let a=!1;try{const s={get passive(){return a=!0,!1}};window.addEventListener("test",null,s),window.removeEventListener("test",null,s)}catch(s){}return a}();function Vo(a,s){const o=function(a,s){return Nn(a).getPropertyValue(s)}(a,s),l=o&&o.match(/^(\d+)(\.\d+)?px$/);return l?+l[1]:void 0}function Go(a,s,o,l){return{x:a.x+o*(s.x-a.x),y:a.y+o*(s.y-a.y)}}function Oo(a,s,o,l){return{x:a.x+o*(s.x-a.x),y:"middle"===l?o<.5?a.y:s.y:"after"===l?o<1?a.y:s.y:o>0?s.y:a.y}}function cs(a,s,o,l){const d={x:a.cp2x,y:a.cp2y},f={x:s.cp1x,y:s.cp1y},_=Go(a,d,o),M=Go(d,f,o),R=Go(f,s,o),L=Go(_,M,o),G=Go(M,R,o);return Go(L,G,o)}const Js=new Map;function Ds(a,s,o){return function(a,s){s=s||{};const o=a+JSON.stringify(s);let l=Js.get(o);return l||(l=new Intl.NumberFormat(a,s),Js.set(o,l)),l}(s,o).format(a)}function Us(a,s,o){return a?function(a,s){return{x:o=>a+a+s-o,setWidth(o){s=o},textAlign:o=>"center"===o?o:"right"===o?"left":"right",xPlus:(o,l)=>o-l,leftForLtr:(o,l)=>o-l}}(s,o):{x:a=>a,setWidth(a){},textAlign:a=>a,xPlus:(a,s)=>a+s,leftForLtr:(a,s)=>a}}function Zo(a,s){let o,l;("ltr"===s||"rtl"===s)&&(o=a.canvas.style,l=[o.getPropertyValue("direction"),o.getPropertyPriority("direction")],o.setProperty("direction",s,"important"),a.prevTextDirection=l)}function Lr(a,s){void 0!==s&&(delete a.prevTextDirection,a.canvas.style.setProperty("direction",s[0],s[1]))}function Fs(a){return"angle"===a?{between:Se,compare:Je,normalize:me}:{between:(s,o,l)=>s>=Math.min(o,l)&&s<=Math.max(l,o),compare:(s,o)=>s-o,normalize:s=>s}}function tn({start:a,end:s,count:o,loop:l,style:d}){return{start:a%o,end:s%o,loop:l&&(s-a+1)%o==0,style:d}}function Tr(a,s,o){if(!o)return[a];const{property:l,start:d,end:f}=o,_=s.length,{compare:M,between:R,normalize:L}=Fs(l),{start:G,end:ne,loop:ae,style:Re}=function(a,s,o){const{property:l,start:d,end:f}=o,{between:_,normalize:M}=Fs(l),R=s.length;let ae,Re,{start:L,end:G,loop:ne}=a;if(ne){for(L+=R,G+=R,ae=0,Re=R;ae<Re&&_(M(s[L%R][l]),d,f);++ae)L--,G--;L%=R,G%=R}return G<L&&(G+=R),{start:L,end:G,loop:ne,style:a.style}}(a,s,o),ot=[];let It,Rt,Tn,wt=!1,_t=null;for(let Ln=G,ri=G;Ln<=ne;++Ln)Rt=s[Ln%_],!Rt.skip&&(It=L(Rt[l]),It!==Tn&&(wt=R(It,d,f),null===_t&&(wt||R(d,Tn,It)&&0!==M(d,Tn))&&(_t=0===M(It,d)?Ln:ri),null!==_t&&(!wt||0===M(f,It)||R(f,Tn,It))&&(ot.push(tn({start:_t,end:Ln,loop:ae,count:_,style:Re})),_t=null),ri=Ln,Tn=It));return null!==_t&&ot.push(tn({start:_t,end:ne,loop:ae,count:_,style:Re})),ot}function mo(a,s){const o=[],l=a.segments;for(let d=0;d<l.length;d++){const f=Tr(l[d],a.points,s);f.length&&o.push(...f)}return o}function pr(a){return{backgroundColor:a.backgroundColor,borderCapStyle:a.borderCapStyle,borderDash:a.borderDash,borderDashOffset:a.borderDashOffset,borderJoinStyle:a.borderJoinStyle,borderWidth:a.borderWidth,borderColor:a.borderColor}}function fr(a,s){return s&&JSON.stringify(a)!==JSON.stringify(s)}var ko=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(s,o,l,d){const _=o.duration;o.listeners[d].forEach(M=>M({chart:s,initial:o.initial,numSteps:_,currentStep:Math.min(l-o.start,_)}))}_refresh(){const s=this;s._request||(s._running=!0,s._request=pe.call(window,()=>{s._update(),s._request=null,s._running&&s._refresh()}))}_update(s=Date.now()){const o=this;let l=0;o._charts.forEach((d,f)=>{if(!d.running||!d.items.length)return;const _=d.items;let L,M=_.length-1,R=!1;for(;M>=0;--M)L=_[M],L._active?(L._total>d.duration&&(d.duration=L._total),L.tick(s),R=!0):(_[M]=_[_.length-1],_.pop());R&&(f.draw(),o._notify(f,d,s,"progress")),_.length||(d.running=!1,o._notify(f,d,s,"complete"),d.initial=!1),l+=_.length}),o._lastDate=s,0===l&&(o._running=!1)}_getAnims(s){const o=this._charts;let l=o.get(s);return l||(l={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},o.set(s,l)),l}listen(s,o,l){this._getAnims(s).listeners[o].push(l)}add(s,o){!o||!o.length||this._getAnims(s).items.push(...o)}has(s){return this._getAnims(s).items.length>0}start(s){const o=this._charts.get(s);!o||(o.running=!0,o.start=Date.now(),o.duration=o.items.reduce((l,d)=>Math.max(l,d._duration),0),this._refresh())}running(s){if(!this._running)return!1;const o=this._charts.get(s);return!(!o||!o.running||!o.items.length)}stop(s){const o=this._charts.get(s);if(!o||!o.items.length)return;const l=o.items;let d=l.length-1;for(;d>=0;--d)l[d].cancel();o.items=[],this._notify(s,o,Date.now(),"complete")}remove(s){return this._charts.delete(s)}};const yi="transparent",qo={boolean:(a,s,o)=>o>.5?s:a,color(a,s,o){const l=Ye(a||yi),d=l.valid&&Ye(s||yi);return d&&d.valid?d.mix(l,o).hexString():s},number:(a,s,o)=>a+(s-a)*o};class ea{constructor(s,o,l,d){const f=o[l];d=$i([s.to,d,f,s.from]);const _=$i([s.from,f,d]);this._active=!0,this._fn=s.fn||qo[s.type||typeof _],this._easing=Qt[s.easing]||Qt.linear,this._start=Math.floor(Date.now()+(s.delay||0)),this._duration=this._total=Math.floor(s.duration),this._loop=!!s.loop,this._target=o,this._prop=l,this._from=_,this._to=d,this._promises=void 0}active(){return this._active}update(s,o,l){const d=this;if(d._active){d._notify(!1);const f=d._target[d._prop],_=l-d._start,M=d._duration-_;d._start=l,d._duration=Math.floor(Math.max(M,s.duration)),d._total+=_,d._loop=!!s.loop,d._to=$i([s.to,o,f,s.from]),d._from=$i([s.from,f,o])}}cancel(){const s=this;s._active&&(s.tick(Date.now()),s._active=!1,s._notify(!1))}tick(s){const o=this,l=s-o._start,d=o._duration,f=o._prop,_=o._from,M=o._loop,R=o._to;let L;if(o._active=_!==R&&(M||l<d),!o._active)return o._target[f]=R,void o._notify(!0);l<0?o._target[f]=_:(L=l/d%2,L=M&&L>1?2-L:L,L=o._easing(Math.min(1,Math.max(0,L))),o._target[f]=o._fn(_,R,L))}wait(){const s=this._promises||(this._promises=[]);return new Promise((o,l)=>{s.push({res:o,rej:l})})}_notify(s){const o=s?"res":"rej",l=this._promises||[];for(let d=0;d<l.length;d++)l[d][o]()}}oe.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const no=Object.keys(oe.animation);oe.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:a=>"onProgress"!==a&&"onComplete"!==a&&"fn"!==a}),oe.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),oe.describe("animations",{_fallback:"animation"}),oe.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:a=>0|a}}}});class er{constructor(s,o){this._chart=s,this._properties=new Map,this.configure(o)}configure(s){if(!dt(s))return;const o=this._properties;Object.getOwnPropertyNames(s).forEach(l=>{const d=s[l];if(!dt(d))return;const f={};for(const _ of no)f[_]=d[_];(ut(d.properties)&&d.properties||[l]).forEach(_=>{(_===l||!o.has(_))&&o.set(_,f)})})}_animateOptions(s,o){const l=o.options,d=function(a,s){if(!s)return;let o=a.options;if(o)return o.$shared&&(a.options=o=Object.assign({},o,{$shared:!1,$animations:{}})),o;a.options=s}(s,l);if(!d)return[];const f=this._createAnimations(d,l);return l.$shared&&function(a,s){const o=[],l=Object.keys(s);for(let d=0;d<l.length;d++){const f=a[l[d]];f&&f.active()&&o.push(f.wait())}return Promise.all(o)}(s.options.$animations,l).then(()=>{s.options=l},()=>{}),f}_createAnimations(s,o){const l=this._properties,d=[],f=s.$animations||(s.$animations={}),_=Object.keys(o),M=Date.now();let R;for(R=_.length-1;R>=0;--R){const L=_[R];if("$"===L.charAt(0))continue;if("options"===L){d.push(...this._animateOptions(s,o));continue}const G=o[L];let ne=f[L];const ae=l.get(L);if(ne){if(ae&&ne.active()){ne.update(ae,G,M);continue}ne.cancel()}ae&&ae.duration?(f[L]=ne=new ea(ae,s,L,G),d.push(ne)):s[L]=G}return d}update(s,o){if(0===this._properties.size)return void Object.assign(s,o);const l=this._createAnimations(s,o);return l.length?(ko.add(this._chart,l),!0):void 0}}function vs(a,s){const o=a&&a.options||{},l=o.reverse,d=void 0===o.min?s:0,f=void 0===o.max?s:0;return{start:l?f:d,end:l?d:f}}function Vr(a,s){const o=[],l=a._getSortedDatasetMetas(s);let d,f;for(d=0,f=l.length;d<f;++d)o.push(l[d].index);return o}function Br(a,s,o,l){const d=a.keys,f="single"===l.mode;let _,M,R,L;if(null!==s){for(_=0,M=d.length;_<M;++_){if(R=+d[_],R===o){if(l.all)continue;break}L=a.values[R],st(L)&&(f||0===s||Rn(s)===Rn(L))&&(s+=L)}return s}}function nr(a,s){const o=a&&a.options.stacked;return o||void 0===o&&void 0!==s.stack}function gr(a,s,o){const l=a[s]||(a[s]={});return l[o]||(l[o]={})}function mr(a,s,o){for(const l of s.getMatchingVisibleMetas("bar").reverse()){const d=a[l.index];if(o&&d>0||!o&&d<0)return l.index}return null}function ir(a,s){const{chart:o,_cachedMeta:l}=a,d=o._stacks||(o._stacks={}),{iScale:f,vScale:_,index:M}=l,R=f.axis,L=_.axis,G=function(a,s,o){return`${a.id}.${s.id}.${o.stack||o.type}`}(f,_,l),ne=s.length;let ae;for(let Re=0;Re<ne;++Re){const ot=s[Re],{[R]:wt,[L]:_t}=ot;ae=(ot._stacks||(ot._stacks={}))[L]=gr(d,G,wt),ae[M]=_t,ae._top=mr(ae,_,!0),ae._bottom=mr(ae,_,!1)}}function Vs(a,s){const o=a.scales;return Object.keys(o).filter(l=>o[l].axis===s).shift()}function is(a,s){const o=a.controller.index,l=a.vScale&&a.vScale.axis;if(l){s=s||a._parsed;for(const d of s){const f=d._stacks;if(!f||void 0===f[l]||void 0===f[l][o])return;delete f[l][o]}}}const fe=a=>"reset"===a||"none"===a,qe=(a,s)=>s?a:Object.assign({},a);let lt=(()=>{class a{constructor(o,l){this.chart=o,this._ctx=o.ctx,this.index=l,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const o=this,l=o._cachedMeta;o.configure(),o.linkScales(),l._stacked=nr(l.vScale,l),o.addElements()}updateIndex(o){this.index!==o&&is(this._cachedMeta),this.index=o}linkScales(){const o=this,l=o.chart,d=o._cachedMeta,f=o.getDataset(),_=(Re,ot,wt,_t)=>"x"===Re?ot:"r"===Re?_t:wt,M=d.xAxisID=Ue(f.xAxisID,Vs(l,"x")),R=d.yAxisID=Ue(f.yAxisID,Vs(l,"y")),L=d.rAxisID=Ue(f.rAxisID,Vs(l,"r")),G=d.indexAxis,ne=d.iAxisID=_(G,M,R,L),ae=d.vAxisID=_(G,R,M,L);d.xScale=o.getScaleForId(M),d.yScale=o.getScaleForId(R),d.rScale=o.getScaleForId(L),d.iScale=o.getScaleForId(ne),d.vScale=o.getScaleForId(ae)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(o){return this.chart.scales[o]}_getOtherScale(o){const l=this._cachedMeta;return o===l.iScale?l.vScale:l.iScale}reset(){this._update("reset")}_destroy(){const o=this._cachedMeta;this._data&&go(this._data,this),o._stacked&&is(o)}_dataCheck(){const o=this,l=o.getDataset(),d=l.data||(l.data=[]),f=o._data;if(dt(d))o._data=function(a){const s=Object.keys(a),o=new Array(s.length);let l,d,f;for(l=0,d=s.length;l<d;++l)f=s[l],o[l]={x:f,y:a[f]};return o}(d);else if(f!==d){if(f){go(f,o);const _=o._cachedMeta;is(_),_._parsed=[]}d&&Object.isExtensible(d)&&function(a,s){a._chartjs?a._chartjs.listeners.push(s):(Object.defineProperty(a,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[s]}}),hn.forEach(o=>{const l="_onData"+zn(o),d=a[o];Object.defineProperty(a,o,{configurable:!0,enumerable:!1,value(...f){const _=d.apply(this,f);return a._chartjs.listeners.forEach(M=>{"function"==typeof M[l]&&M[l](...f)}),_}})}))}(d,o),o._syncList=[],o._data=d}}addElements(){const o=this,l=o._cachedMeta;o._dataCheck(),o.datasetElementType&&(l.dataset=new o.datasetElementType)}buildOrUpdateElements(o){const l=this,d=l._cachedMeta,f=l.getDataset();let _=!1;l._dataCheck();const M=d._stacked;d._stacked=nr(d.vScale,d),d.stack!==f.stack&&(_=!0,is(d),d.stack=f.stack),l._resyncElements(o),(_||M!==d._stacked)&&ir(l,d._parsed)}configure(){const o=this,l=o.chart.config,d=l.datasetScopeKeys(o._type),f=l.getOptionScopes(o.getDataset(),d,!0);o.options=l.createResolver(f,o.getContext()),o._parsing=o.options.parsing}parse(o,l){const d=this,{_cachedMeta:f,_data:_}=d,{iScale:M,_stacked:R}=f,L=M.axis;let ae,Re,ot,G=0===o&&l===_.length||f._sorted,ne=o>0&&f._parsed[o-1];if(!1===d._parsing)f._parsed=_,f._sorted=!0,ot=_;else{ot=ut(_[o])?d.parseArrayData(f,_,o,l):dt(_[o])?d.parseObjectData(f,_,o,l):d.parsePrimitiveData(f,_,o,l);const wt=()=>null===Re[L]||ne&&Re[L]<ne[L];for(ae=0;ae<l;++ae)f._parsed[ae+o]=Re=ot[ae],G&&(wt()&&(G=!1),ne=Re);f._sorted=G}R&&ir(d,ot)}parsePrimitiveData(o,l,d,f){const{iScale:_,vScale:M}=o,R=_.axis,L=M.axis,G=_.getLabels(),ne=_===M,ae=new Array(f);let Re,ot,wt;for(Re=0,ot=f;Re<ot;++Re)wt=Re+d,ae[Re]={[R]:ne||_.parse(G[wt],wt),[L]:M.parse(l[wt],wt)};return ae}parseArrayData(o,l,d,f){const{xScale:_,yScale:M}=o,R=new Array(f);let L,G,ne,ae;for(L=0,G=f;L<G;++L)ne=L+d,ae=l[ne],R[L]={x:_.parse(ae[0],ne),y:M.parse(ae[1],ne)};return R}parseObjectData(o,l,d,f){const{xScale:_,yScale:M}=o,{xAxisKey:R="x",yAxisKey:L="y"}=this._parsing,G=new Array(f);let ne,ae,Re,ot;for(ne=0,ae=f;ne<ae;++ne)Re=ne+d,ot=l[Re],G[ne]={x:_.parse(Ut(ot,R),Re),y:M.parse(Ut(ot,L),Re)};return G}getParsed(o){return this._cachedMeta._parsed[o]}getDataElement(o){return this._cachedMeta.data[o]}applyStack(o,l,d){const _=this._cachedMeta,M=l[o.axis];return Br({keys:Vr(this.chart,!0),values:l._stacks[o.axis]},M,_.index,{mode:d})}updateRangeFromParsed(o,l,d,f){const _=d[l.axis];let M=null===_?NaN:_;const R=f&&d._stacks[l.axis];f&&R&&(f.values=R,o.min=Math.min(o.min,M),o.max=Math.max(o.max,M),M=Br(f,_,this._cachedMeta.index,{all:!0})),o.min=Math.min(o.min,M),o.max=Math.max(o.max,M)}getMinMax(o,l){const d=this,f=d._cachedMeta,_=f._parsed,M=f._sorted&&o===f.iScale,R=_.length,L=d._getOtherScale(o),G=l&&f._stacked&&{keys:Vr(d.chart,!0),values:null},ne={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:ae,max:Re}=function(a){const{min:s,max:o,minDefined:l,maxDefined:d}=a.getUserBounds();return{min:l?s:Number.NEGATIVE_INFINITY,max:d?o:Number.POSITIVE_INFINITY}}(L);let ot,wt,_t,It;function Rt(){return _t=_[ot],wt=_t[o.axis],It=_t[L.axis],!st(wt)||ae>It||Re<It}for(ot=0;ot<R&&(Rt()||(d.updateRangeFromParsed(ne,o,_t,G),!M));++ot);if(M)for(ot=R-1;ot>=0;--ot)if(!Rt()){d.updateRangeFromParsed(ne,o,_t,G);break}return ne}getAllParsedValues(o){const l=this._cachedMeta._parsed,d=[];let f,_,M;for(f=0,_=l.length;f<_;++f)M=l[f][o.axis],st(M)&&d.push(M);return d}getMaxOverflow(){return!1}getLabelAndValue(o){const d=this._cachedMeta,f=d.iScale,_=d.vScale,M=this.getParsed(o);return{label:f?""+f.getLabelForValue(M[f.axis]):"",value:_?""+_.getLabelForValue(M[_.axis]):""}}_update(o){const l=this,d=l._cachedMeta;l.configure(),l._cachedDataOpts={},l.update(o||"default"),d._clip=function(a){let s,o,l,d;return dt(a)?(s=a.top,o=a.right,l=a.bottom,d=a.left):s=o=l=d=a,{top:s,right:o,bottom:l,left:d,disabled:!1===a}}(Ue(l.options.clip,function(a,s,o){if(!1===o)return!1;const l=vs(a,o),d=vs(s,o);return{top:d.end,right:l.end,bottom:d.start,left:l.start}}(d.xScale,d.yScale,l.getMaxOverflow())))}update(o){}draw(){const o=this,l=o._ctx,f=o._cachedMeta,_=f.data||[],M=o.chart.chartArea,R=[],L=o._drawStart||0,G=o._drawCount||_.length-L;let ne;for(f.dataset&&f.dataset.draw(l,M,L,G),ne=L;ne<L+G;++ne){const ae=_[ne];ae.hidden||(ae.active?R.push(ae):ae.draw(l,M))}for(ne=0;ne<R.length;++ne)R[ne].draw(l,M)}getStyle(o,l){const d=l?"active":"default";return void 0===o&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(d):this.resolveDataElementOptions(o||0,d)}getContext(o,l,d){const f=this,_=f.getDataset();let M;if(o>=0&&o<f._cachedMeta.data.length){const R=f._cachedMeta.data[o];M=R.$context||(R.$context=function(a,s,o){return Object.assign(Object.create(a),{active:!1,dataIndex:s,parsed:void 0,raw:void 0,element:o,index:s,mode:"default",type:"data"})}(f.getContext(),o,R)),M.parsed=f.getParsed(o),M.raw=_.data[o],M.index=M.dataIndex=o}else M=f.$context||(f.$context=function(a,s){return Object.assign(Object.create(a),{active:!1,dataset:void 0,datasetIndex:s,index:s,mode:"default",type:"dataset"})}(f.chart.getContext(),f.index)),M.dataset=_,M.index=M.datasetIndex=f.index;return M.active=!!l,M.mode=d,M}resolveDatasetElementOptions(o){return this._resolveElementOptions(this.datasetElementType.id,o)}resolveDataElementOptions(o,l){return this._resolveElementOptions(this.dataElementType.id,l,o)}_resolveElementOptions(o,l="default",d){const f=this,_="active"===l,M=f._cachedDataOpts,R=o+"-"+l,L=M[R],G=f.enableOptionSharing&&kt(d);if(L)return qe(L,G);const ne=f.chart.config,ae=ne.datasetElementScopeKeys(f._type,o),Re=_?[`${o}Hover`,"hover",o,""]:[o,""],ot=ne.getOptionScopes(f.getDataset(),ae),wt=Object.keys(oe.elements[o]),It=ne.resolveNamedOptions(ot,wt,()=>f.getContext(d,_),Re);return It.$shared&&(It.$shared=G,M[R]=Object.freeze(qe(It,G))),It}_resolveAnimations(o,l,d){const f=this,_=f.chart,M=f._cachedDataOpts,R=`animation-${l}`,L=M[R];if(L)return L;let G;if(!1!==_.options.animation){const ae=f.chart.config,Re=ae.datasetAnimationScopeKeys(f._type,l),ot=ae.getOptionScopes(f.getDataset(),Re);G=ae.createResolver(ot,f.getContext(o,d,l))}const ne=new er(_,G&&G.animations);return G&&G._cacheable&&(M[R]=Object.freeze(ne)),ne}getSharedOptions(o){if(o.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},o))}includeOptions(o,l){return!l||fe(o)||this.chart._animationsDisabled}updateElement(o,l,d,f){fe(f)?Object.assign(o,d):this._resolveAnimations(l,f).update(o,d)}updateSharedOptions(o,l,d){o&&!fe(l)&&this._resolveAnimations(void 0,l).update(o,d)}_setStyle(o,l,d,f){o.active=f;const _=this.getStyle(l,f);this._resolveAnimations(l,d,f).update(o,{options:!f&&this.getSharedOptions(_)||_})}removeHoverStyle(o,l,d){this._setStyle(o,d,"active",!1)}setHoverStyle(o,l,d){this._setStyle(o,d,"active",!0)}_removeDatasetHoverStyle(){const o=this._cachedMeta.dataset;o&&this._setStyle(o,void 0,"active",!1)}_setDatasetHoverStyle(){const o=this._cachedMeta.dataset;o&&this._setStyle(o,void 0,"active",!0)}_resyncElements(o){const l=this,d=l._data,f=l._cachedMeta.data;for(const[L,G,ne]of l._syncList)l[L](G,ne);l._syncList=[];const _=f.length,M=d.length,R=Math.min(M,_);R&&l.parse(0,R),M>_?l._insertElements(_,M-_,o):M<_&&l._removeElements(M,_-M)}_insertElements(o,l,d=!0){const f=this,_=f._cachedMeta,M=_.data,R=o+l;let L;const G=ne=>{for(ne.length+=l,L=ne.length-1;L>=R;L--)ne[L]=ne[L-l]};for(G(M),L=o;L<R;++L)M[L]=new f.dataElementType;f._parsing&&G(_._parsed),f.parse(o,l),d&&f.updateElements(M,o,l,"reset")}updateElements(o,l,d,f){}_removeElements(o,l){const f=this._cachedMeta;if(this._parsing){const _=f._parsed.splice(o,l);f._stacked&&is(f,_)}f.data.splice(o,l)}_sync(o){if(this._parsing)this._syncList.push(o);else{const[l,d,f]=o;this[l](d,f)}}_onDataPush(){const o=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-o,o])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(o,l){this._sync(["_removeElements",o,l]),this._sync(["_insertElements",o,arguments.length-2])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}return a.defaults={},a})();function yt(a){const s=function(a){if(!a._cache.$bar){const s=a.getMatchingVisibleMetas("bar");let o=[];for(let l=0,d=s.length;l<d;l++)o=o.concat(s[l].controller.getAllParsedValues(a));a._cache.$bar=Es(o.sort((l,d)=>l-d))}return a._cache.$bar}(a);let l,d,f,_,o=a._length;const M=()=>{32767===f||-32768===f||(kt(_)&&(o=Math.min(o,Math.abs(f-_)||o)),_=f)};for(l=0,d=s.length;l<d;++l)f=a.getPixelForValue(s[l]),M();for(_=void 0,l=0,d=a.ticks.length;l<d;++l)f=a.getPixelForTick(l),M();return o}function Cn(a,s,o,l){return ut(a)?function(a,s,o,l){const d=o.parse(a[0],l),f=o.parse(a[1],l),_=Math.min(d,f),M=Math.max(d,f);let R=_,L=M;Math.abs(_)>Math.abs(M)&&(R=M,L=_),s[o.axis]=L,s._custom={barStart:R,barEnd:L,start:d,end:f,min:_,max:M}}(a,s,o,l):s[o.axis]=o.parse(a,l),s}function Vn(a,s,o,l){const d=a.iScale,f=a.vScale,_=d.getLabels(),M=d===f,R=[];let L,G,ne,ae;for(L=o,G=o+l;L<G;++L)ae=s[L],ne={},ne[d.axis]=M||d.parse(_[L],L),R.push(Cn(ae,ne,f,L));return R}function jn(a){return a&&void 0!==a.barStart&&void 0!==a.barEnd}function Ii(a,s,o,l){let d=s.borderSkipped;const f={};if(!d)return void(a.borderSkipped=f);const{start:_,end:M,reverse:R,top:L,bottom:G}=function(a){let s,o,l,d,f;return a.horizontal?(s=a.base>a.x,o="left",l="right"):(s=a.base<a.y,o="bottom",l="top"),s?(d="end",f="start"):(d="start",f="end"),{start:o,end:l,reverse:s,top:d,bottom:f}}(a);"middle"===d&&o&&(a.enableBorderRadius=!0,(o._top||0)===l?d=L:(o._bottom||0)===l?d=G:(f[Zn(G,_,M,R)]=!0,d=L)),f[Zn(d,_,M,R)]=!0,a.borderSkipped=f}function Zn(a,s,o,l){return a=l?Lo(a=function(a,s,o){return a===s?o:a===o?s:a}(a,s,o),o,s):Lo(a,s,o)}function Lo(a,s,o){return"start"===a?s:"end"===a?o:a}lt.prototype.datasetElementType=null,lt.prototype.dataElementType=null;let Ui=(()=>{class a extends lt{parsePrimitiveData(o,l,d,f){return Vn(o,l,d,f)}parseArrayData(o,l,d,f){return Vn(o,l,d,f)}parseObjectData(o,l,d,f){const{iScale:_,vScale:M}=o,{xAxisKey:R="x",yAxisKey:L="y"}=this._parsing,G="x"===_.axis?R:L,ne="x"===M.axis?R:L,ae=[];let Re,ot,wt,_t;for(Re=d,ot=d+f;Re<ot;++Re)_t=l[Re],wt={},wt[_.axis]=_.parse(Ut(_t,G),Re),ae.push(Cn(Ut(_t,ne),wt,M,Re));return ae}updateRangeFromParsed(o,l,d,f){super.updateRangeFromParsed(o,l,d,f);const _=d._custom;_&&l===this._cachedMeta.vScale&&(o.min=Math.min(o.min,_.min),o.max=Math.max(o.max,_.max))}getMaxOverflow(){return 0}getLabelAndValue(o){const d=this._cachedMeta,{iScale:f,vScale:_}=d,M=this.getParsed(o),R=M._custom,L=jn(R)?"["+R.start+", "+R.end+"]":""+_.getLabelForValue(M[_.axis]);return{label:""+f.getLabelForValue(M[f.axis]),value:L}}initialize(){const o=this;o.enableOptionSharing=!0,super.initialize(),o._cachedMeta.stack=o.getDataset().stack}update(o){const d=this._cachedMeta;this.updateElements(d.data,0,d.data.length,o)}updateElements(o,l,d,f){const _=this,M="reset"===f,{index:R,_cachedMeta:{vScale:L}}=_,G=L.getBasePixel(),ne=L.isHorizontal(),ae=_._getRuler(),Re=_.resolveDataElementOptions(l,f),ot=_.getSharedOptions(Re),wt=_.includeOptions(f,ot);_.updateSharedOptions(ot,f,Re);for(let _t=l;_t<l+d;_t++){const It=_.getParsed(_t),Rt=M||Pe(It[L.axis])?{base:G,head:G}:_._calculateBarValuePixels(_t),Tn=_._calculateBarIndexPixels(_t,ae),vn=(It._stacks||{})[L.axis],rn={horizontal:ne,base:Rt.base,enableBorderRadius:!vn||jn(It._custom)||R===vn._top||R===vn._bottom,x:ne?Rt.head:Tn.center,y:ne?Tn.center:Rt.head,height:ne?Tn.size:Math.abs(Rt.size),width:ne?Math.abs(Rt.size):Tn.size};wt&&(rn.options=ot||_.resolveDataElementOptions(_t,o[_t].active?"active":f)),Ii(rn,rn.options||o[_t].options,vn,R),_.updateElement(o[_t],_t,rn,f)}}_getStacks(o,l){const _=this._cachedMeta.iScale,M=_.getMatchingVisibleMetas(this._type),R=_.options.stacked,L=M.length,G=[];let ne,ae;for(ne=0;ne<L;++ne)if(ae=M[ne],ae.controller.options.grouped){if(void 0!==l){const Re=ae.controller.getParsed(l)[ae.controller._cachedMeta.vScale.axis];if(Pe(Re)||isNaN(Re))continue}if((!1===R||-1===G.indexOf(ae.stack)||void 0===R&&void 0===ae.stack)&&G.push(ae.stack),ae.index===o)break}return G.length||G.push(void 0),G}_getStackCount(o){return this._getStacks(void 0,o).length}_getStackIndex(o,l,d){const f=this._getStacks(o,d),_=void 0!==l?f.indexOf(l):-1;return-1===_?f.length-1:_}_getRuler(){const o=this,l=o.options,d=o._cachedMeta,f=d.iScale,_=[];let M,R;for(M=0,R=d.data.length;M<R;++M)_.push(f.getPixelForValue(o.getParsed(M)[f.axis],M));const L=l.barThickness;return{min:L||yt(f),pixels:_,start:f._startPixel,end:f._endPixel,stackCount:o._getStackCount(),scale:f,grouped:l.grouped,ratio:L?1:l.categoryPercentage*l.barPercentage}}_calculateBarValuePixels(o){const l=this,{_cachedMeta:{vScale:d,_stacked:f},options:{base:_,minBarLength:M}}=l,R=_||0,L=l.getParsed(o),G=L._custom,ne=jn(G);let wt,_t,ae=L[d.axis],Re=0,ot=f?l.applyStack(d,L,f):ae;ot!==ae&&(Re=ot-ae,ot=ae),ne&&(ae=G.barStart,ot=G.barEnd-G.barStart,0!==ae&&Rn(ae)!==Rn(G.barEnd)&&(Re=0),Re+=ae);const It=Pe(_)||ne?Re:_;let Rt=d.getPixelForValue(It);if(wt=l.chart.getDataVisibility(o)?d.getPixelForValue(Re+ot):Rt,_t=wt-Rt,Math.abs(_t)<M&&(_t=function(a,s,o){return 0!==a?Rn(a):(s.isHorizontal()?1:-1)*(s.min>=o?1:-1)}(_t,d,R)*M,ae===R&&(Rt-=_t/2),wt=Rt+_t),Rt===d.getPixelForValue(R)){const Tn=Rn(_t)*d.getLineWidthForValue(R)/2;Rt+=Tn,_t-=Tn}return{size:_t,base:Rt,head:wt,center:wt+_t/2}}_calculateBarIndexPixels(o,l){const d=this,f=l.scale,_=d.options,M=_.skipNull,R=Ue(_.maxBarThickness,1/0);let L,G;if(l.grouped){const ne=M?d._getStackCount(o):l.stackCount,ae="flex"===_.barThickness?function(a,s,o,l){const d=s.pixels,f=d[a];let _=a>0?d[a-1]:null,M=a<d.length-1?d[a+1]:null;const R=o.categoryPercentage;null===_&&(_=f-(null===M?s.end-s.start:M-f)),null===M&&(M=f+f-_);const L=f-(f-Math.min(_,M))/2*R;return{chunk:Math.abs(M-_)/2*R/l,ratio:o.barPercentage,start:L}}(o,l,_,ne):function(a,s,o,l){const d=o.barThickness;let f,_;return Pe(d)?(f=s.min*o.categoryPercentage,_=o.barPercentage):(f=d*l,_=1),{chunk:f/l,ratio:_,start:s.pixels[a]-f/2}}(o,l,_,ne),Re=d._getStackIndex(d.index,d._cachedMeta.stack,M?o:void 0);L=ae.start+ae.chunk*Re+ae.chunk/2,G=Math.min(R,ae.chunk*ae.ratio)}else L=f.getPixelForValue(d.getParsed(o)[f.axis],o),G=Math.min(R,l.min*l.ratio);return{base:L-G/2,head:L+G/2,center:L,size:G}}draw(){const o=this,l=o._cachedMeta,d=l.vScale,f=l.data,_=f.length;let M=0;for(;M<_;++M)null!==o.getParsed(M)[d.axis]&&f[M].draw(o._ctx)}}return a.id="bar",a.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},a.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}},a})(),so=(()=>{class a extends lt{initialize(){this.enableOptionSharing=!0,super.initialize()}parseObjectData(o,l,d,f){const{xScale:_,yScale:M}=o,{xAxisKey:R="x",yAxisKey:L="y"}=this._parsing,G=[];let ne,ae,Re;for(ne=d,ae=d+f;ne<ae;++ne)Re=l[ne],G.push({x:_.parse(Ut(Re,R),ne),y:M.parse(Ut(Re,L),ne),_custom:Re&&Re.r&&+Re.r});return G}getMaxOverflow(){const{data:o,_parsed:l}=this._cachedMeta;let d=0;for(let f=o.length-1;f>=0;--f)d=Math.max(d,o[f].size()/2,l[f]._custom);return d>0&&d}getLabelAndValue(o){const d=this._cachedMeta,{xScale:f,yScale:_}=d,M=this.getParsed(o),R=f.getLabelForValue(M.x),L=_.getLabelForValue(M.y),G=M._custom;return{label:d.label,value:"("+R+", "+L+(G?", "+G:"")+")"}}update(o){const d=this._cachedMeta.data;this.updateElements(d,0,d.length,o)}updateElements(o,l,d,f){const _=this,M="reset"===f,{iScale:R,vScale:L}=_._cachedMeta,G=_.resolveDataElementOptions(l,f),ne=_.getSharedOptions(G),ae=_.includeOptions(f,ne),Re=R.axis,ot=L.axis;for(let wt=l;wt<l+d;wt++){const _t=o[wt],It=!M&&_.getParsed(wt),Rt={},Tn=Rt[Re]=M?R.getPixelForDecimal(.5):R.getPixelForValue(It[Re]),vn=Rt[ot]=M?L.getBasePixel():L.getPixelForValue(It[ot]);Rt.skip=isNaN(Tn)||isNaN(vn),ae&&(Rt.options=_.resolveDataElementOptions(wt,_t.active?"active":f),M&&(Rt.options.radius=0)),_.updateElement(_t,wt,Rt,f)}_.updateSharedOptions(ne,f,G)}resolveDataElementOptions(o,l){const d=this.getParsed(o);let f=super.resolveDataElementOptions(o,l);f.$shared&&(f=Object.assign({},f,{$shared:!1}));const _=f.radius;return"active"!==l&&(f.radius=0),f.radius+=Ue(d&&d._custom,_),f}}return a.id="bubble",a.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},a.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}},a})(),ks=(()=>{class a extends lt{constructor(o,l){super(o,l),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(o,l){const d=this.getDataset().data,f=this._cachedMeta;let _,M;for(_=o,M=o+l;_<M;++_)f._parsed[_]=+d[_]}_getRotation(){return Mn(this.options.rotation-90)}_getCircumference(){return Mn(this.options.circumference)}_getRotationExtents(){let o=tt,l=-tt;const d=this;for(let f=0;f<d.chart.data.datasets.length;++f)if(d.chart.isDatasetVisible(f)){const _=d.chart.getDatasetMeta(f).controller,M=_._getRotation(),R=_._getCircumference();o=Math.min(o,M),l=Math.max(l,M+R)}return{rotation:o,circumference:l-o}}update(o){const l=this,d=l.chart,{chartArea:f}=d,_=l._cachedMeta,M=_.data,R=l.getMaxBorderWidth()+l.getMaxOffset(M)+l.options.spacing,L=Math.max((Math.min(f.width,f.height)-R)/2,0),G=Math.min(((a,s)=>"string"==typeof a&&a.endsWith("%")?parseFloat(a)/100:a/s)(l.options.cutout,L),1),ne=l._getRingWeight(l.index),{circumference:ae,rotation:Re}=l._getRotationExtents(),{ratioX:ot,ratioY:wt,offsetX:_t,offsetY:It}=function(a,s,o){let l=1,d=1,f=0,_=0;if(s<tt){const M=a,R=M+s,L=Math.cos(M),G=Math.sin(M),ne=Math.cos(R),ae=Math.sin(R),Re=(Tn,vn,rn)=>Se(Tn,M,R,!0)?1:Math.max(vn,vn*o,rn,rn*o),ot=(Tn,vn,rn)=>Se(Tn,M,R,!0)?-1:Math.min(vn,vn*o,rn,rn*o),wt=Re(0,L,ne),_t=Re(mt,G,ae),It=ot(sn,L,ne),Rt=ot(sn+mt,G,ae);l=(wt-It)/2,d=(_t-Rt)/2,f=-(wt+It)/2,_=-(_t+Rt)/2}return{ratioX:l,ratioY:d,offsetX:f,offsetY:_}}(Re,ae,G),vn=Math.max(Math.min((f.width-R)/ot,(f.height-R)/wt)/2,0),rn=ct(l.options.radius,vn),Fn=(rn-Math.max(rn*G,0))/l._getVisibleDatasetWeightTotal();l.offsetX=_t*rn,l.offsetY=It*rn,_.total=l.calculateTotal(),l.outerRadius=rn-Fn*l._getRingWeightOffset(l.index),l.innerRadius=Math.max(l.outerRadius-Fn*ne,0),l.updateElements(M,0,M.length,o)}_circumference(o,l){const d=this,f=d.options,_=d._cachedMeta,M=d._getCircumference();return l&&f.animation.animateRotate||!this.chart.getDataVisibility(o)||null===_._parsed[o]||_.data[o].hidden?0:d.calculateCircumference(_._parsed[o]*M/tt)}updateElements(o,l,d,f){const _=this,M="reset"===f,R=_.chart,L=R.chartArea,ae=(L.left+L.right)/2,Re=(L.top+L.bottom)/2,ot=M&&R.options.animation.animateScale,wt=ot?0:_.innerRadius,_t=ot?0:_.outerRadius,It=_.resolveDataElementOptions(l,f),Rt=_.getSharedOptions(It),Tn=_.includeOptions(f,Rt);let rn,vn=_._getRotation();for(rn=0;rn<l;++rn)vn+=_._circumference(rn,M);for(rn=l;rn<l+d;++rn){const kn=_._circumference(rn,M),Fn=o[rn],Ln={x:ae+_.offsetX,y:Re+_.offsetY,startAngle:vn,endAngle:vn+kn,circumference:kn,outerRadius:_t,innerRadius:wt};Tn&&(Ln.options=Rt||_.resolveDataElementOptions(rn,Fn.active?"active":f)),vn+=kn,_.updateElement(Fn,rn,Ln,f)}_.updateSharedOptions(Rt,f,It)}calculateTotal(){const o=this._cachedMeta,l=o.data;let f,d=0;for(f=0;f<l.length;f++){const _=o._parsed[f];null!==_&&!isNaN(_)&&this.chart.getDataVisibility(f)&&!l[f].hidden&&(d+=Math.abs(_))}return d}calculateCircumference(o){const l=this._cachedMeta.total;return l>0&&!isNaN(o)?tt*(Math.abs(o)/l):0}getLabelAndValue(o){const f=this.chart,_=f.data.labels||[],M=Ds(this._cachedMeta._parsed[o],f.options.locale);return{label:_[o]||"",value:M}}getMaxBorderWidth(o){const l=this;let d=0;const f=l.chart;let _,M,R,L,G;if(!o)for(_=0,M=f.data.datasets.length;_<M;++_)if(f.isDatasetVisible(_)){R=f.getDatasetMeta(_),o=R.data,L=R.controller,L!==l&&L.configure();break}if(!o)return 0;for(_=0,M=o.length;_<M;++_)G=L.resolveDataElementOptions(_),"inner"!==G.borderAlign&&(d=Math.max(d,G.borderWidth||0,G.hoverBorderWidth||0));return d}getMaxOffset(o){let l=0;for(let d=0,f=o.length;d<f;++d){const _=this.resolveDataElementOptions(d);l=Math.max(l,_.offset||0,_.hoverOffset||0)}return l}_getRingWeightOffset(o){let l=0;for(let d=0;d<o;++d)this.chart.isDatasetVisible(d)&&(l+=this._getRingWeight(d));return l}_getRingWeight(o){return Math.max(Ue(this.chart.data.datasets[o].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}return a.id="doughnut",a.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},a.descriptors={_scriptable:s=>"spacing"!==s,_indexable:s=>"spacing"!==s},a.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(s){const o=s.data;if(o.labels.length&&o.datasets.length){const{labels:{pointStyle:l}}=s.legend.options;return o.labels.map((d,f)=>{const M=s.getDatasetMeta(0).controller.getStyle(f);return{text:d,fillStyle:M.backgroundColor,strokeStyle:M.borderColor,lineWidth:M.borderWidth,pointStyle:l,hidden:!s.getDataVisibility(f),index:f}})}return[]}},onClick(s,o,l){l.chart.toggleDataVisibility(o.index),l.chart.update()}},tooltip:{callbacks:{title:()=>"",label(s){let o=s.label;const l=": "+s.formattedValue;return ut(o)?(o=o.slice(),o[0]+=l):o+=l,o}}}}},a})(),Io=(()=>{class a extends lt{initialize(){this.enableOptionSharing=!0,super.initialize()}update(o){const l=this,d=l._cachedMeta,{dataset:f,data:_=[],_dataset:M}=d,R=l.chart._animationsDisabled;let{start:L,count:G}=function(a,s,o){const l=s.length;let d=0,f=l;if(a._sorted){const{iScale:_,_parsed:M}=a,R=_.axis,{min:L,max:G,minDefined:ne,maxDefined:ae}=_.getUserBounds();ne&&(d=W(Math.min(Y(M,_.axis,L).lo,o?l:Y(s,R,_.getPixelForValue(L)).lo),0,l-1)),f=ae?W(Math.max(Y(M,_.axis,G).hi+1,o?0:Y(s,R,_.getPixelForValue(G)).hi+1),d,l)-d:l-d}return{start:d,count:f}}(d,_,R);l._drawStart=L,l._drawCount=G,function(a){const{xScale:s,yScale:o,_scaleRanges:l}=a,d={xmin:s.min,xmax:s.max,ymin:o.min,ymax:o.max};if(!l)return a._scaleRanges=d,!0;const f=l.xmin!==s.min||l.xmax!==s.max||l.ymin!==o.min||l.ymax!==o.max;return Object.assign(l,d),f}(d)&&(L=0,G=_.length),f._datasetIndex=l.index,f._decimated=!!M._decimated,f.points=_;const ne=l.resolveDatasetElementOptions(o);l.options.showLine||(ne.borderWidth=0),ne.segment=l.options.segment,l.updateElement(f,void 0,{animated:!R,options:ne},o),l.updateElements(_,L,G,o)}updateElements(o,l,d,f){const _=this,M="reset"===f,{iScale:R,vScale:L,_stacked:G}=_._cachedMeta,ne=_.resolveDataElementOptions(l,f),ae=_.getSharedOptions(ne),Re=_.includeOptions(f,ae),ot=R.axis,wt=L.axis,_t=_.options.spanGaps,It=Pn(_t)?_t:Number.POSITIVE_INFINITY,Rt=_.chart._animationsDisabled||M||"none"===f;let Tn=l>0&&_.getParsed(l-1);for(let vn=l;vn<l+d;++vn){const rn=o[vn],kn=_.getParsed(vn),Fn=Rt?rn:{},Ln=Pe(kn[wt]),ri=Fn[ot]=R.getPixelForValue(kn[ot],vn),to=Fn[wt]=M||Ln?L.getBasePixel():L.getPixelForValue(G?_.applyStack(L,kn,G):kn[wt],vn);Fn.skip=isNaN(ri)||isNaN(to)||Ln,Fn.stop=vn>0&&kn[ot]-Tn[ot]>It,Fn.parsed=kn,Re&&(Fn.options=ae||_.resolveDataElementOptions(vn,rn.active?"active":f)),Rt||_.updateElement(rn,vn,Fn,f),Tn=kn}_.updateSharedOptions(ae,f,ne)}getMaxOverflow(){const o=this,l=o._cachedMeta,d=l.dataset,f=d.options&&d.options.borderWidth||0,_=l.data||[];if(!_.length)return f;const M=_[0].size(o.resolveDataElementOptions(0)),R=_[_.length-1].size(o.resolveDataElementOptions(_.length-1));return Math.max(f,M,R)/2}draw(){const o=this._cachedMeta;o.dataset.updateControlPoints(this.chart.chartArea,o.iScale.axis),super.draw()}}return a.id="line",a.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},a.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}},a})();var il=Object.freeze({__proto__:null,BarController:Ui,BubbleController:so,DoughnutController:ks,LineController:Io,PolarAreaController:(()=>{class a extends lt{constructor(o,l){super(o,l),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(o){const f=this.chart,_=f.data.labels||[],M=Ds(this._cachedMeta._parsed[o].r,f.options.locale);return{label:_[o]||"",value:M}}update(o){const l=this._cachedMeta.data;this._updateRadius(),this.updateElements(l,0,l.length,o)}_updateRadius(){const o=this,l=o.chart,d=l.chartArea,f=l.options,_=Math.min(d.right-d.left,d.bottom-d.top),M=Math.max(_/2,0),L=(M-Math.max(f.cutoutPercentage?M/100*f.cutoutPercentage:1,0))/l.getVisibleDatasetCount();o.outerRadius=M-L*o.index,o.innerRadius=o.outerRadius-L}updateElements(o,l,d,f){const _=this,M="reset"===f,R=_.chart,L=_.getDataset(),ne=R.options.animation,ae=_._cachedMeta.rScale,Re=ae.xCenter,ot=ae.yCenter,wt=ae.getIndexAngle(0)-.5*sn;let It,_t=wt;const Rt=360/_.countVisibleElements();for(It=0;It<l;++It)_t+=_._computeAngle(It,f,Rt);for(It=l;It<l+d;It++){const Tn=o[It];let vn=_t,rn=_t+_._computeAngle(It,f,Rt),kn=R.getDataVisibility(It)?ae.getDistanceFromCenterForValue(L.data[It]):0;_t=rn,M&&(ne.animateScale&&(kn=0),ne.animateRotate&&(vn=rn=wt));const Fn={x:Re,y:ot,innerRadius:0,outerRadius:kn,startAngle:vn,endAngle:rn,options:_.resolveDataElementOptions(It,Tn.active?"active":f)};_.updateElement(Tn,It,Fn,f)}}countVisibleElements(){const o=this.getDataset();let d=0;return this._cachedMeta.data.forEach((f,_)=>{!isNaN(o.data[_])&&this.chart.getDataVisibility(_)&&d++}),d}_computeAngle(o,l,d){return this.chart.getDataVisibility(o)?Mn(this.resolveDataElementOptions(o,l).angle||d):0}}return a.id="polarArea",a.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},a.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(s){const o=s.data;if(o.labels.length&&o.datasets.length){const{labels:{pointStyle:l}}=s.legend.options;return o.labels.map((d,f)=>{const M=s.getDatasetMeta(0).controller.getStyle(f);return{text:d,fillStyle:M.backgroundColor,strokeStyle:M.borderColor,lineWidth:M.borderWidth,pointStyle:l,hidden:!s.getDataVisibility(f),index:f}})}return[]}},onClick(s,o,l){l.chart.toggleDataVisibility(o.index),l.chart.update()}},tooltip:{callbacks:{title:()=>"",label:s=>s.chart.data.labels[s.dataIndex]+": "+s.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}},a})(),PieController:(()=>{class a extends ks{}return a.id="pie",a.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"},a})(),RadarController:(()=>{class a extends lt{getLabelAndValue(o){const d=this._cachedMeta.vScale,f=this.getParsed(o);return{label:d.getLabels()[o],value:""+d.getLabelForValue(f[d.axis])}}update(o){const l=this,d=l._cachedMeta,f=d.dataset,_=d.data||[],M=d.iScale.getLabels();if(f.points=_,"resize"!==o){const R=l.resolveDatasetElementOptions(o);l.options.showLine||(R.borderWidth=0),l.updateElement(f,void 0,{_loop:!0,_fullLoop:M.length===_.length,options:R},o)}l.updateElements(_,0,_.length,o)}updateElements(o,l,d,f){const _=this,M=_.getDataset(),R=_._cachedMeta.rScale,L="reset"===f;for(let G=l;G<l+d;G++){const ne=o[G],ae=_.resolveDataElementOptions(G,ne.active?"active":f),Re=R.getPointPositionForValue(G,M.data[G]),ot=L?R.xCenter:Re.x,wt=L?R.yCenter:Re.y,_t={x:ot,y:wt,angle:Re.angle,skip:isNaN(ot)||isNaN(wt),options:ae};_.updateElement(ne,G,_t,f)}}}return a.id="radar",a.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},a.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}},a})(),ScatterController:(()=>{class a extends Io{}return a.id="scatter",a.defaults={showLine:!1,fill:!1},a.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:s=>"("+s.label+", "+s.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}},a})()});function Cs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var _r={_date:(()=>{class a{constructor(o){this.options=o||{}}formats(){return Cs()}parse(o,l){return Cs()}format(o,l){return Cs()}add(o,l,d){return Cs()}diff(o,l,d){return Cs()}startOf(o,l,d){return Cs()}endOf(o,l){return Cs()}}return a.override=function(s){Object.assign(a.prototype,s)},a})()};function Er(a,s){return"native"in a?{x:a.x,y:a.y}:Wn(a,s)}function ol(a,s,o,l){const{controller:d,data:f,_sorted:_}=a,M=d._cachedMeta.iScale;if(M&&s===M.axis&&_&&f.length){const R=M._reversePixels?Ae:Y;if(!l)return R(f,s,o);if(d._sharedOptions){const L=f[0],G="function"==typeof L.getRange&&L.getRange(s);if(G){const ne=R(f,s,o-G),ae=R(f,s,o+G);return{lo:ne.lo,hi:ae.hi}}}}return{lo:0,hi:f.length-1}}function Ta(a,s,o,l,d){const f=a.getSortedVisibleDatasetMetas(),_=o[s];for(let M=0,R=f.length;M<R;++M){const{index:L,data:G}=f[M],{lo:ne,hi:ae}=ol(f[M],s,_,d);for(let Re=ne;Re<=ae;++Re){const ot=G[Re];ot.skip||l(ot,L,Re)}}}function rl(a,s,o,l){const d=[];return wn(s,a.chartArea,a._minPadding)&&Ta(a,o,s,function(_,M,R){_.inRange(s.x,s.y,l)&&d.push({element:_,datasetIndex:M,index:R})},!0),d}function Va(a,s,o,l,d){const f=function(a){const s=-1!==a.indexOf("x"),o=-1!==a.indexOf("y");return function(l,d){const f=s?Math.abs(l.x-d.x):0,_=o?Math.abs(l.y-d.y):0;return Math.sqrt(Math.pow(f,2)+Math.pow(_,2))}}(o);let _=Number.POSITIVE_INFINITY,M=[];return wn(s,a.chartArea,a._minPadding)&&Ta(a,o,s,function(L,G,ne){if(l&&!L.inRange(s.x,s.y,d))return;const ae=L.getCenterPoint(d);if(!wn(ae,a.chartArea,a._minPadding)&&!L.inRange(s.x,s.y,d))return;const Re=f(s,ae);Re<_?(M=[{element:L,datasetIndex:G,index:ne}],_=Re):Re===_&&M.push({element:L,datasetIndex:G,index:ne})}),M}function jr(a,s,o,l){const d=Er(s,a),f=[],_=o.axis,M="x"===_?"inXRange":"inYRange";let R=!1;return function(a,s){const o=a.getSortedVisibleDatasetMetas();let l,d,f;for(let _=0,M=o.length;_<M;++_){({index:l,data:d}=o[_]);for(let R=0,L=d.length;R<L;++R)f=d[R],f.skip||s(f,l,R)}}(a,(L,G,ne)=>{L[M](d[_],l)&&f.push({element:L,datasetIndex:G,index:ne}),L.inRange(d.x,d.y,l)&&(R=!0)}),o.intersect&&!R?[]:f}var Ba={modes:{index(a,s,o,l){const d=Er(s,a),f=o.axis||"x",_=o.intersect?rl(a,d,f,l):Va(a,d,f,!1,l),M=[];return _.length?(a.getSortedVisibleDatasetMetas().forEach(R=>{const L=_[0].index,G=R.data[L];G&&!G.skip&&M.push({element:G,datasetIndex:R.index,index:L})}),M):[]},dataset(a,s,o,l){const d=Er(s,a),f=o.axis||"xy";let _=o.intersect?rl(a,d,f,l):Va(a,d,f,!1,l);if(_.length>0){const M=_[0].datasetIndex,R=a.getDatasetMeta(M).data;_=[];for(let L=0;L<R.length;++L)_.push({element:R[L],datasetIndex:M,index:L})}return _},point:(a,s,o,l)=>rl(a,Er(s,a),o.axis||"xy",l),nearest:(a,s,o,l)=>Va(a,Er(s,a),o.axis||"xy",o.intersect,l),x:(a,s,o,l)=>(o.axis="x",jr(a,s,o,l)),y:(a,s,o,l)=>(o.axis="y",jr(a,s,o,l))}};const Ma=["left","top","right","bottom"];function or(a,s){return a.filter(o=>o.pos===s)}function ta(a,s){return a.filter(o=>-1===Ma.indexOf(o.pos)&&o.box.axis===s)}function na(a,s){return a.sort((o,l)=>{const d=s?l:o,f=s?o:l;return d.weight===f.weight?d.index-f.index:d.weight-f.weight})}function Zr(a,s,o,l){return Math.max(a[o],s[o])+Math.max(a[l],s[l])}function Sa(a,s){a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}function Sr(a,s,o,l){const{pos:d,box:f}=o,_=a.maxPadding;if(!dt(d)){o.size&&(a[d]-=o.size);const ne=l[o.stack]||{size:0,count:1};ne.size=Math.max(ne.size,o.horizontal?f.height:f.width),o.size=ne.size/ne.count,a[d]+=o.size}f.getPadding&&Sa(_,f.getPadding());const M=Math.max(0,s.outerWidth-Zr(_,a,"left","right")),R=Math.max(0,s.outerHeight-Zr(_,a,"top","bottom")),L=M!==a.w,G=R!==a.h;return a.w=M,a.h=R,o.horizontal?{same:L,other:G}:{same:G,other:L}}function A(a,s){const o=s.maxPadding;return function(d){const f={left:0,top:0,right:0,bottom:0};return d.forEach(_=>{f[_]=Math.max(s[_],o[_])}),f}(a?["left","right"]:["top","bottom"])}function k(a,s,o,l){const d=[];let f,_,M,R,L,G;for(f=0,_=a.length,L=0;f<_;++f){M=a[f],R=M.box,R.update(M.width||s.w,M.height||s.h,A(M.horizontal,s));const{same:ne,other:ae}=Sr(s,o,M,l);L|=ne&&d.length,G=G||ae,R.fullSize||d.push(M)}return L&&k(d,s,o,l)||G}function j(a,s,o,l,d){a.top=o,a.left=s,a.right=s+l,a.bottom=o+d,a.width=l,a.height=d}function K(a,s,o,l){const d=o.padding;let{x:f,y:_}=s;for(const M of a){const R=M.box,L=l[M.stack]||{count:1,placed:0,weight:1},G=M.stackWeight/L.weight||1;if(M.horizontal){const ne=s.w*G,ae=L.size||R.height;kt(L.start)&&(_=L.start),R.fullSize?j(R,d.left,_,o.outerWidth-d.right-d.left,ae):j(R,s.left+L.placed,_,ne,ae),L.start=_,L.placed+=ne,_=R.bottom}else{const ne=s.h*G,ae=L.size||R.width;kt(L.start)&&(f=L.start),R.fullSize?j(R,f,d.top,ae,o.outerHeight-d.bottom-d.top):j(R,f,s.top+L.placed,ae,ne),L.start=f,L.placed+=ne,f=R.right}}s.x=f,s.y=_}oe.set("layout",{padding:{top:0,right:0,bottom:0,left:0}});var le={addBox(a,s){a.boxes||(a.boxes=[]),s.fullSize=s.fullSize||!1,s.position=s.position||"top",s.weight=s.weight||0,s._layers=s._layers||function(){return[{z:0,draw(o){s.draw(o)}}]},a.boxes.push(s)},removeBox(a,s){const o=a.boxes?a.boxes.indexOf(s):-1;-1!==o&&a.boxes.splice(o,1)},configure(a,s,o){s.fullSize=o.fullSize,s.position=o.position,s.weight=o.weight},update(a,s,o,l){if(!a)return;const d=ki(a.options.layout.padding),f=Math.max(s-d.width,0),_=Math.max(o-d.height,0),M=function(a){const s=function(a){const s=[];let o,l,d,f,_,M;for(o=0,l=(a||[]).length;o<l;++o)d=a[o],({position:f,options:{stack:_,stackWeight:M=1}}=d),s.push({index:o,box:d,pos:f,horizontal:d.isHorizontal(),weight:d.weight,stack:_&&f+_,stackWeight:M});return s}(a),o=na(s.filter(L=>L.box.fullSize),!0),l=na(or(s,"left"),!0),d=na(or(s,"right")),f=na(or(s,"top"),!0),_=na(or(s,"bottom")),M=ta(s,"x"),R=ta(s,"y");return{fullSize:o,leftAndTop:l.concat(f),rightAndBottom:d.concat(R).concat(_).concat(M),chartArea:or(s,"chartArea"),vertical:l.concat(d).concat(R),horizontal:f.concat(_).concat(M)}}(a.boxes),R=M.vertical,L=M.horizontal;Qe(a.boxes,wt=>{"function"==typeof wt.beforeLayout&&wt.beforeLayout()});const G=R.reduce((wt,_t)=>_t.box.options&&!1===_t.box.options.display?wt:wt+1,0)||1,ne=Object.freeze({outerWidth:s,outerHeight:o,padding:d,availableWidth:f,availableHeight:_,vBoxMaxWidth:f/2/G,hBoxMaxHeight:_/2}),ae=Object.assign({},d);Sa(ae,ki(l));const Re=Object.assign({maxPadding:ae,w:f,h:_,x:d.left,y:d.top},d),ot=function(a,s){const o=function(a){const s={};for(const o of a){const{stack:l,pos:d,stackWeight:f}=o;if(!l||!Ma.includes(d))continue;const _=s[l]||(s[l]={count:0,placed:0,weight:0,size:0});_.count++,_.weight+=f}return s}(a),{vBoxMaxWidth:l,hBoxMaxHeight:d}=s;let f,_,M;for(f=0,_=a.length;f<_;++f){M=a[f];const{fullSize:R}=M.box,L=o[M.stack],G=L&&M.stackWeight/L.weight;M.horizontal?(M.width=G?G*l:R&&s.availableWidth,M.height=d):(M.width=l,M.height=G?G*d:R&&s.availableHeight)}return o}(R.concat(L),ne);k(M.fullSize,Re,ne,ot),k(R,Re,ne,ot),k(L,Re,ne,ot)&&k(R,Re,ne,ot),function(a){const s=a.maxPadding;function o(l){const d=Math.max(s[l]-a[l],0);return a[l]+=d,d}a.y+=o("top"),a.x+=o("left"),o("right"),o("bottom")}(Re),K(M.leftAndTop,Re,ne,ot),Re.x+=Re.w,Re.y+=Re.h,K(M.rightAndBottom,Re,ne,ot),a.chartArea={left:Re.left,top:Re.top,right:Re.left+Re.w,bottom:Re.top+Re.h,height:Re.h,width:Re.w},Qe(M.chartArea,wt=>{const _t=wt.box;Object.assign(_t,a.chartArea),_t.update(Re.w,Re.h)})}};class ze{acquireContext(s,o){}releaseContext(s){return!1}addEventListener(s,o,l){}removeEventListener(s,o,l){}getDevicePixelRatio(){return 1}getMaximumSize(s,o,l,d){return o=Math.max(0,o||s.width),l=l||s.height,{width:o,height:Math.max(0,d?Math.floor(o/d):l)}}isAttached(s){return!0}}class rt extends ze{acquireContext(s){return s&&s.getContext&&s.getContext("2d")||null}}const Zt="$chartjs",En={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Gn=a=>null===a||""===a,lo=!!_s&&{passive:!0};function qr(a,s,o){a.canvas.removeEventListener(s,o,lo)}function sr(a,s,o){const l=a.canvas,f=l&&Yt(l)||l,_=new MutationObserver(M=>{const R=Yt(f);M.forEach(L=>{for(let G=0;G<L.addedNodes.length;G++){const ne=L.addedNodes[G];(ne===f||ne===R)&&o(L.target)}})});return _.observe(document,{childList:!0,subtree:!0}),_}function Ha(a,s,o){const l=a.canvas,d=l&&Yt(l);if(!d)return;const f=new MutationObserver(_=>{_.forEach(M=>{for(let R=0;R<M.removedNodes.length;R++)if(M.removedNodes[R]===l){o();break}})});return f.observe(d,{childList:!0}),f}const rr=new Map;let eo=0;function Da(){const a=window.devicePixelRatio;a!==eo&&(eo=a,rr.forEach((s,o)=>{o.currentDevicePixelRatio!==a&&s()}))}function qu(a,s,o){const l=a.canvas,d=l&&Yt(l);if(!d)return;const f=ie((M,R)=>{const L=d.clientWidth;o(M,R),L<d.clientWidth&&o()},window),_=new ResizeObserver(M=>{const R=M[0],L=R.contentRect.width,G=R.contentRect.height;0===L&&0===G||f(L,G)});return _.observe(d),function(a,s){rr.size||window.addEventListener("resize",Da),rr.set(a,s)}(a,f),_}function Xl(a,s,o){o&&o.disconnect(),"resize"===s&&function(a){rr.delete(a),rr.size||window.removeEventListener("resize",Da)}(a)}function Yu(a,s,o){const l=a.canvas,d=ie(f=>{null!==a.ctx&&o(function(a,s){const o=En[a.type]||a.type,{x:l,y:d}=Wn(a,s);return{type:o,chart:s,native:a,x:void 0!==l?l:null,y:void 0!==d?d:null}}(f,a))},a,f=>{const _=f[0];return[_,_.offsetX,_.offsetY]});return function(a,s,o){a.addEventListener(s,o,lo)}(l,s,d),d}class lh extends ze{acquireContext(s,o){const l=s&&s.getContext&&s.getContext("2d");return l&&l.canvas===s?(function(a,s){const o=a.style,l=a.getAttribute("height"),d=a.getAttribute("width");if(a[Zt]={initial:{height:l,width:d,style:{display:o.display,height:o.height,width:o.width}}},o.display=o.display||"block",o.boxSizing=o.boxSizing||"border-box",Gn(d)){const f=Vo(a,"width");void 0!==f&&(a.width=f)}if(Gn(l))if(""===a.style.height)a.height=a.width/(s||2);else{const f=Vo(a,"height");void 0!==f&&(a.height=f)}}(s,o),l):null}releaseContext(s){const o=s.canvas;if(!o[Zt])return!1;const l=o[Zt].initial;["height","width"].forEach(f=>{const _=l[f];Pe(_)?o.removeAttribute(f):o.setAttribute(f,_)});const d=l.style||{};return Object.keys(d).forEach(f=>{o.style[f]=d[f]}),o.width=o.width,delete o[Zt],!0}addEventListener(s,o,l){this.removeEventListener(s,o),(s.$proxies||(s.$proxies={}))[o]=({attach:sr,detach:Ha,resize:qu}[o]||Yu)(s,o,l)}removeEventListener(s,o){const l=s.$proxies||(s.$proxies={}),d=l[o];d&&(({attach:Xl,detach:Xl,resize:Xl}[o]||qr)(s,o,d),l[o]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(s,o,l,d){return function(a,s,o,l){const d=Nn(a),f=xn(d,"margin"),_=Un(d.maxWidth,a,"clientWidth")||Tt,M=Un(d.maxHeight,a,"clientHeight")||Tt,R=function(a,s,o){let l,d;if(void 0===s||void 0===o){const f=Yt(a);if(f){const _=f.getBoundingClientRect(),M=Nn(f),R=xn(M,"border","width"),L=xn(M,"padding");s=_.width-L.width-R.width,o=_.height-L.height-R.height,l=Un(M.maxWidth,f,"clientWidth"),d=Un(M.maxHeight,f,"clientHeight")}else s=a.clientWidth,o=a.clientHeight}return{width:s,height:o,maxWidth:l||Tt,maxHeight:d||Tt}}(a,s,o);let{width:L,height:G}=R;if("content-box"===d.boxSizing){const ne=xn(d,"border","width"),ae=xn(d,"padding");L-=ae.width+ne.width,G-=ae.height+ne.height}return L=Math.max(0,L-f.width),G=Math.max(0,l?Math.floor(L/l):G-f.height),L=jo(Math.min(L,_,R.maxWidth)),G=jo(Math.min(G,M,R.maxHeight)),L&&!G&&(G=jo(L/2)),{width:L,height:G}}(s,o,l,d)}isAttached(s){const o=Yt(s);return!(!o||!o.isConnected)}}class br{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(s){const{x:o,y:l}=this.getProps(["x","y"],s);return{x:o,y:l}}hasValue(){return Pn(this.x)&&Pn(this.y)}getProps(s,o){const l=this,d=this.$animations;if(!o||!d)return l;const f={};return s.forEach(_=>{f[_]=d[_]&&d[_].active()?d[_]._to:l[_]}),f}}br.defaults={},br.defaultRoutes=void 0;const Yc={values:a=>ut(a)?a:""+a,numeric(a,s,o){if(0===a)return"0";const l=this.chart.options.locale;let d,f=a;if(o.length>1){const L=Math.max(Math.abs(o[0].value),Math.abs(o[o.length-1].value));(L<1e-4||L>1e15)&&(d="scientific"),f=function(a,s){let o=s.length>3?s[2].value-s[1].value:s[1].value-s[0].value;return Math.abs(o)>=1&&a!==Math.floor(a)&&(o=a-Math.floor(a)),o}(a,o)}const _=cn(Math.abs(f)),M=Math.max(Math.min(-1*Math.floor(_),20),0),R={notation:d,minimumFractionDigits:M,maximumFractionDigits:M};return Object.assign(R,this.options.ticks.format),Ds(a,l,R)},logarithmic(a,s,o){if(0===a)return"0";const l=a/Math.pow(10,Math.floor(cn(a)));return 1===l||2===l||5===l?Yc.numeric.call(this,a,s,o):""}};var Yr={formatters:Yc};function x(a,s,o,l,d){const f=Ue(l,0),_=Math.min(Ue(d,a.length),a.length);let R,L,G,M=0;for(o=Math.ceil(o),d&&(R=d-l,o=R/Math.floor(R/o)),G=f;G<0;)M++,G=Math.round(f+M*o);for(L=Math.max(f,0);L<_;L++)L===G&&(s.push(a[L]),M++,G=Math.round(f+M*o))}oe.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(a,s)=>s.lineWidth,tickColor:(a,s)=>s.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Yr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),oe.route("scale.ticks","color","","color"),oe.route("scale.grid","color","","borderColor"),oe.route("scale.grid","borderColor","","borderColor"),oe.route("scale.title","color","","color"),oe.describe("scale",{_fallback:!1,_scriptable:a=>!a.startsWith("before")&&!a.startsWith("after")&&"callback"!==a&&"parser"!==a,_indexable:a=>"borderDash"!==a&&"tickBorderDash"!==a}),oe.describe("scales",{_fallback:"scale"}),oe.describe("scale.ticks",{_scriptable:a=>"backdropPadding"!==a&&"callback"!==a,_indexable:a=>"backdropPadding"!==a});const Q=(a,s,o)=>"top"===s||"left"===s?a[s]+o:a[s]-o;function ce(a,s){const o=[],l=a.length/s,d=a.length;let f=0;for(;f<d;f+=l)o.push(a[Math.floor(f)]);return o}function Ne(a,s,o){const l=a.ticks.length,d=Math.min(s,l-1),f=a._startPixel,_=a._endPixel,M=1e-6;let L,R=a.getPixelForTick(d);if(!(o&&(L=1===l?Math.max(R-f,_-R):0===s?(a.getPixelForTick(1)-R)/2:(R-a.getPixelForTick(d-1))/2,R+=d<s?L:-L,R<f-M||R>_+M)))return R}function vt(a){return a.drawTicks?a.tickLength:0}function Gt(a,s){if(!a.display)return 0;const o=Ki(a.font,s),l=ki(a.padding);return(ut(a.text)?a.text.length:1)*o.lineHeight+l.height}function gi(a,s,o){let l=de(a);return(o&&"right"!==s||!o&&"right"===s)&&(l=(a=>"left"===a?"right":"right"===a?"left":a)(l)),l}class $n extends br{constructor(s){super(),this.id=s.id,this.type=s.type,this.options=void 0,this.ctx=s.ctx,this.chart=s.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(s){const o=this;o.options=s.setContext(o.getContext()),o.axis=s.axis,o._userMin=o.parse(s.min),o._userMax=o.parse(s.max),o._suggestedMin=o.parse(s.suggestedMin),o._suggestedMax=o.parse(s.suggestedMax)}parse(s,o){return s}getUserBounds(){let{_userMin:s,_userMax:o,_suggestedMin:l,_suggestedMax:d}=this;return s=Me(s,Number.POSITIVE_INFINITY),o=Me(o,Number.NEGATIVE_INFINITY),l=Me(l,Number.POSITIVE_INFINITY),d=Me(d,Number.NEGATIVE_INFINITY),{min:Me(s,l),max:Me(o,d),minDefined:st(s),maxDefined:st(o)}}getMinMax(s){const o=this;let M,{min:l,max:d,minDefined:f,maxDefined:_}=o.getUserBounds();if(f&&_)return{min:l,max:d};const R=o.getMatchingVisibleMetas();for(let L=0,G=R.length;L<G;++L)M=R[L].controller.getMinMax(o,s),f||(l=Math.min(l,M.min)),_||(d=Math.max(d,M.max));return{min:Me(l,Me(d,l)),max:Me(d,Me(l,d))}}getPadding(){const s=this;return{left:s.paddingLeft||0,top:s.paddingTop||0,right:s.paddingRight||0,bottom:s.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const s=this.chart.data;return this.options.labels||(this.isHorizontal()?s.xLabels:s.yLabels)||s.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){je(this.options.beforeUpdate,[this])}update(s,o,l){const d=this,f=d.options.ticks,_=f.sampleSize;d.beforeUpdate(),d.maxWidth=s,d.maxHeight=o,d._margins=l=Object.assign({left:0,right:0,top:0,bottom:0},l),d.ticks=null,d._labelSizes=null,d._gridLineItems=null,d._labelItems=null,d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d._maxLength=d.isHorizontal()?d.width+l.left+l.right:d.height+l.top+l.bottom,d._dataLimitsCached||(d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d._range=function(a,s){const{min:o,max:l}=a;return{min:o-Math.abs(ct(s,o)),max:l+ct(s,l)}}(d,d.options.grace),d._dataLimitsCached=!0),d.beforeBuildTicks(),d.ticks=d.buildTicks()||[],d.afterBuildTicks();const M=_<d.ticks.length;d._convertTicksToLabels(M?ce(d.ticks,_):d.ticks),d.configure(),d.beforeCalculateLabelRotation(),d.calculateLabelRotation(),d.afterCalculateLabelRotation(),f.display&&(f.autoSkip||"auto"===f.source)&&(d.ticks=function(a,s){const o=a.options.ticks,l=o.maxTicksLimit||function(a){const s=a.options.offset,o=a._tickSize();return Math.floor(Math.min(a._length/o+(s?0:1),a._maxLength/o))}(a),d=o.major.enabled?function(a){const s=[];let o,l;for(o=0,l=a.length;o<l;o++)a[o].major&&s.push(o);return s}(s):[],f=d.length,_=d[0],M=d[f-1],R=[];if(f>l)return function(a,s,o,l){let _,d=0,f=o[0];for(l=Math.ceil(l),_=0;_<a.length;_++)_===f&&(s.push(a[_]),d++,f=o[d*l])}(s,R,d,f/l),R;const L=function(a,s,o){const l=function(a){const s=a.length;let o,l;if(s<2)return!1;for(l=a[0],o=1;o<s;++o)if(a[o]-a[o-1]!==l)return!1;return l}(a),d=s.length/o;if(!l)return Math.max(d,1);const f=function(a){const s=[],o=Math.sqrt(a);let l;for(l=1;l<o;l++)a%l==0&&(s.push(l),s.push(a/l));return o===(0|o)&&s.push(o),s.sort((d,f)=>d-f).pop(),s}(l);for(let _=0,M=f.length-1;_<M;_++){const R=f[_];if(R>d)return R}return Math.max(d,1)}(d,s,l);if(f>0){let G,ne;const ae=f>1?Math.round((M-_)/(f-1)):null;for(x(s,R,L,Pe(ae)?0:_-ae,_),G=0,ne=f-1;G<ne;G++)x(s,R,L,d[G],d[G+1]);return x(s,R,L,M,Pe(ae)?s.length:M+ae),R}return x(s,R,L),R}(d,d.ticks),d._labelSizes=null),M&&d._convertTicksToLabels(d.ticks),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate()}configure(){const s=this;let l,d,o=s.options.reverse;s.isHorizontal()?(l=s.left,d=s.right):(l=s.top,d=s.bottom,o=!o),s._startPixel=l,s._endPixel=d,s._reversePixels=o,s._length=d-l,s._alignToPixels=s.options.alignToPixels}afterUpdate(){je(this.options.afterUpdate,[this])}beforeSetDimensions(){je(this.options.beforeSetDimensions,[this])}setDimensions(){const s=this;s.isHorizontal()?(s.width=s.maxWidth,s.left=0,s.right=s.width):(s.height=s.maxHeight,s.top=0,s.bottom=s.height),s.paddingLeft=0,s.paddingTop=0,s.paddingRight=0,s.paddingBottom=0}afterSetDimensions(){je(this.options.afterSetDimensions,[this])}_callHooks(s){const o=this;o.chart.notifyPlugins(s,o.getContext()),je(o.options[s],[o])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){je(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(s){const o=this,l=o.options.ticks;let d,f,_;for(d=0,f=s.length;d<f;d++)_=s[d],_.label=je(l.callback,[_.value,d,s],o)}afterTickToLabelConversion(){je(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){je(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const s=this,o=s.options,l=o.ticks,d=s.ticks.length,f=l.minRotation||0,_=l.maxRotation;let R,L,G,M=f;if(!s._isVisible()||!l.display||f>=_||d<=1||!s.isHorizontal())return void(s.labelRotation=f);const ne=s._getLabelSizes(),ae=ne.widest.width,Re=ne.highest.height,ot=W(s.chart.width-ae,0,s.maxWidth);R=o.offset?s.maxWidth/d:ot/(d-1),ae+6>R&&(R=ot/(d-(o.offset?.5:1)),L=s.maxHeight-vt(o.grid)-l.padding-Gt(o.title,s.chart.options.font),G=Math.sqrt(ae*ae+Re*Re),M=si(Math.min(Math.asin(W((ne.highest.height+6)/R,-1,1)),Math.asin(W(L/G,-1,1))-Math.asin(W(Re/G,-1,1)))),M=Math.max(f,Math.min(_,M))),s.labelRotation=M}afterCalculateLabelRotation(){je(this.options.afterCalculateLabelRotation,[this])}beforeFit(){je(this.options.beforeFit,[this])}fit(){const s=this,o={width:0,height:0},{chart:l,options:{ticks:d,title:f,grid:_}}=s,M=s._isVisible(),R=s.isHorizontal();if(M){const L=Gt(f,l.options.font);if(R?(o.width=s.maxWidth,o.height=vt(_)+L):(o.height=s.maxHeight,o.width=vt(_)+L),d.display&&s.ticks.length){const{first:G,last:ne,widest:ae,highest:Re}=s._getLabelSizes(),ot=2*d.padding,wt=Mn(s.labelRotation),_t=Math.cos(wt),It=Math.sin(wt);R?o.height=Math.min(s.maxHeight,o.height+(d.mirror?0:It*ae.width+_t*Re.height)+ot):o.width=Math.min(s.maxWidth,o.width+(d.mirror?0:_t*ae.width+It*Re.height)+ot),s._calculatePadding(G,ne,It,_t)}}s._handleMargins(),R?(s.width=s._length=l.width-s._margins.left-s._margins.right,s.height=o.height):(s.width=o.width,s.height=s._length=l.height-s._margins.top-s._margins.bottom)}_calculatePadding(s,o,l,d){const f=this,{ticks:{align:_,padding:M},position:R}=f.options,L=0!==f.labelRotation,G="top"!==R&&"x"===f.axis;if(f.isHorizontal()){const ne=f.getPixelForTick(0)-f.left,ae=f.right-f.getPixelForTick(f.ticks.length-1);let Re=0,ot=0;L?G?(Re=d*s.width,ot=l*o.height):(Re=l*s.height,ot=d*o.width):"start"===_?ot=o.width:"end"===_?Re=s.width:(Re=s.width/2,ot=o.width/2),f.paddingLeft=Math.max((Re-ne+M)*f.width/(f.width-ne),0),f.paddingRight=Math.max((ot-ae+M)*f.width/(f.width-ae),0)}else{let ne=o.height/2,ae=s.height/2;"start"===_?(ne=0,ae=s.height):"end"===_&&(ne=o.height,ae=0),f.paddingTop=ne+M,f.paddingBottom=ae+M}}_handleMargins(){const s=this;s._margins&&(s._margins.left=Math.max(s.paddingLeft,s._margins.left),s._margins.top=Math.max(s.paddingTop,s._margins.top),s._margins.right=Math.max(s.paddingRight,s._margins.right),s._margins.bottom=Math.max(s.paddingBottom,s._margins.bottom))}afterFit(){je(this.options.afterFit,[this])}isHorizontal(){const{axis:s,position:o}=this.options;return"top"===o||"bottom"===o||"x"===s}isFullSize(){return this.options.fullSize}_convertTicksToLabels(s){const o=this;let l,d;for(o.beforeTickToLabelConversion(),o.generateTickLabels(s),l=0,d=s.length;l<d;l++)Pe(s[l].label)&&(s.splice(l,1),d--,l--);o.afterTickToLabelConversion()}_getLabelSizes(){const s=this;let o=s._labelSizes;if(!o){const l=s.options.ticks.sampleSize;let d=s.ticks;l<d.length&&(d=ce(d,l)),s._labelSizes=o=s._computeLabelSizes(d,d.length)}return o}_computeLabelSizes(s,o){const{ctx:l,_longestTextCache:d}=this,f=[],_=[];let L,G,ne,ae,Re,ot,wt,_t,It,Rt,Tn,M=0,R=0;for(L=0;L<o;++L){if(ae=s[L].label,Re=this._resolveTickFontOptions(L),l.font=ot=Re.string,wt=d[ot]=d[ot]||{data:{},gc:[]},_t=Re.lineHeight,It=Rt=0,Pe(ae)||ut(ae)){if(ut(ae))for(G=0,ne=ae.length;G<ne;++G)Tn=ae[G],!Pe(Tn)&&!ut(Tn)&&(It=Dt(l,wt.data,wt.gc,It,Tn),Rt+=_t)}else It=Dt(l,wt.data,wt.gc,It,ae),Rt=_t;f.push(It),_.push(Rt),M=Math.max(It,M),R=Math.max(Rt,R)}!function(a,s){Qe(a,o=>{const l=o.gc,d=l.length/2;let f;if(d>s){for(f=0;f<d;++f)delete o.data[l[f]];l.splice(0,d)}})}(d,o);const vn=f.indexOf(M),rn=_.indexOf(R),kn=Fn=>({width:f[Fn]||0,height:_[Fn]||0});return{first:kn(0),last:kn(o-1),widest:kn(vn),highest:kn(rn),widths:f,heights:_}}getLabelForValue(s){return s}getPixelForValue(s,o){return NaN}getValueForPixel(s){}getPixelForTick(s){const o=this.ticks;return s<0||s>o.length-1?null:this.getPixelForValue(o[s].value)}getPixelForDecimal(s){const o=this;o._reversePixels&&(s=1-s);const l=o._startPixel+s*o._length;return W(o._alignToPixels?ln(o.chart,l,0):l,-32768,32767)}getDecimalForPixel(s){const o=(s-this._startPixel)/this._length;return this._reversePixels?1-o:o}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:s,max:o}=this;return s<0&&o<0?o:s>0&&o>0?s:0}getContext(s){const o=this,l=o.ticks||[];if(s>=0&&s<l.length){const d=l[s];return d.$context||(d.$context=function(a,s,o){return Object.assign(Object.create(a),{tick:o,index:s,type:"tick"})}(o.getContext(),s,d))}return o.$context||(o.$context=function(a,s){return Object.assign(Object.create(a),{scale:s,type:"scale"})}(o.chart.getContext(),o))}_tickSize(){const s=this,o=s.options.ticks,l=Mn(s.labelRotation),d=Math.abs(Math.cos(l)),f=Math.abs(Math.sin(l)),_=s._getLabelSizes(),M=o.autoSkipPadding||0,R=_?_.widest.width+M:0,L=_?_.highest.height+M:0;return s.isHorizontal()?L*d>R*f?R/d:L/f:L*f<R*d?L/d:R/f}_isVisible(){const s=this.options.display;return"auto"!==s?!!s:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(s){const o=this,l=o.axis,d=o.chart,f=o.options,{grid:_,position:M}=f,R=_.offset,L=o.isHorizontal(),ne=o.ticks.length+(R?1:0),ae=vt(_),Re=[],ot=_.setContext(o.getContext()),wt=ot.drawBorder?ot.borderWidth:0,_t=wt/2,It=function(hi){return ln(d,hi,wt)};let Rt,Tn,vn,rn,kn,Fn,Ln,ri,to,Gi,Ho,ji;if("top"===M)Rt=It(o.bottom),Fn=o.bottom-ae,ri=Rt-_t,Gi=It(s.top)+_t,ji=s.bottom;else if("bottom"===M)Rt=It(o.top),Gi=s.top,ji=It(s.bottom)-_t,Fn=Rt+_t,ri=o.top+ae;else if("left"===M)Rt=It(o.right),kn=o.right-ae,Ln=Rt-_t,to=It(s.left)+_t,Ho=s.right;else if("right"===M)Rt=It(o.left),to=s.left,Ho=It(s.right)-_t,kn=Rt+_t,Ln=o.left+ae;else if("x"===l){if("center"===M)Rt=It((s.top+s.bottom)/2+.5);else if(dt(M)){const hi=Object.keys(M)[0];Rt=It(o.chart.scales[hi].getPixelForValue(M[hi]))}Gi=s.top,ji=s.bottom,Fn=Rt+_t,ri=Fn+ae}else if("y"===l){if("center"===M)Rt=It((s.left+s.right)/2);else if(dt(M)){const hi=Object.keys(M)[0];Rt=It(o.chart.scales[hi].getPixelForValue(M[hi]))}kn=Rt-_t,Ln=kn-ae,to=s.left,Ho=s.right}const ss=Ue(f.ticks.maxTicksLimit,ne),Ps=Math.max(1,Math.ceil(ne/ss));for(Tn=0;Tn<ne;Tn+=Ps){const hi=_.setContext(o.getContext(Tn)),Is=hi.lineWidth,la=hi.color,Cl=_.borderDash||[],wl=hi.borderDashOffset,Ya=hi.tickWidth,$a=hi.tickColor,Ga=hi.tickBorderDash||[],xl=hi.tickBorderDashOffset;vn=Ne(o,Tn,R),void 0!==vn&&(rn=ln(d,vn,Is),L?kn=Ln=to=Ho=rn:Fn=ri=Gi=ji=rn,Re.push({tx1:kn,ty1:Fn,tx2:Ln,ty2:ri,x1:to,y1:Gi,x2:Ho,y2:ji,width:Is,color:la,borderDash:Cl,borderDashOffset:wl,tickWidth:Ya,tickColor:$a,tickBorderDash:Ga,tickBorderDashOffset:xl}))}return o._ticksLength=ne,o._borderValue=Rt,Re}_computeLabelItems(s){const o=this,l=o.axis,d=o.options,{position:f,ticks:_}=d,M=o.isHorizontal(),R=o.ticks,{align:L,crossAlign:G,padding:ne,mirror:ae}=_,Re=vt(d.grid),ot=Re+ne,wt=ae?-ne:ot,_t=-Mn(o.labelRotation),It=[];let Rt,Tn,vn,rn,kn,Fn,Ln,ri,to,Gi,Ho,ji,ss="middle";if("top"===f)Fn=o.bottom-wt,Ln=o._getXAxisLabelAlignment();else if("bottom"===f)Fn=o.top+wt,Ln=o._getXAxisLabelAlignment();else if("left"===f){const hi=o._getYAxisLabelAlignment(Re);Ln=hi.textAlign,kn=hi.x}else if("right"===f){const hi=o._getYAxisLabelAlignment(Re);Ln=hi.textAlign,kn=hi.x}else if("x"===l){if("center"===f)Fn=(s.top+s.bottom)/2+ot;else if(dt(f)){const hi=Object.keys(f)[0];Fn=o.chart.scales[hi].getPixelForValue(f[hi])+ot}Ln=o._getXAxisLabelAlignment()}else if("y"===l){if("center"===f)kn=(s.left+s.right)/2-ot;else if(dt(f)){const hi=Object.keys(f)[0];kn=o.chart.scales[hi].getPixelForValue(f[hi])}Ln=o._getYAxisLabelAlignment(Re).textAlign}"y"===l&&("start"===L?ss="top":"end"===L&&(ss="bottom"));const Ps=o._getLabelSizes();for(Rt=0,Tn=R.length;Rt<Tn;++Rt){vn=R[Rt],rn=vn.label;const hi=_.setContext(o.getContext(Rt));ri=o.getPixelForTick(Rt)+_.labelOffset,to=o._resolveTickFontOptions(Rt),Gi=to.lineHeight,Ho=ut(rn)?rn.length:1;const Is=Ho/2,la=hi.color,Cl=hi.textStrokeColor,wl=hi.textStrokeWidth;let Ya;if(M?(kn=ri,ji="top"===f?"near"===G||0!==_t?-Ho*Gi+Gi/2:"center"===G?-Ps.highest.height/2-Is*Gi+Gi:Gi/2-Ps.highest.height:"near"===G||0!==_t?Gi/2:"center"===G?Ps.highest.height/2-Is*Gi:Ps.highest.height-Ho*Gi,ae&&(ji*=-1)):(Fn=ri,ji=(1-Ho)*Gi/2),hi.showLabelBackdrop){const $a=ki(hi.backdropPadding),Ga=Ps.heights[Rt],xl=Ps.widths[Rt];let jl=Fn+ji-$a.top,Wa=kn-$a.left;switch(ss){case"middle":jl-=Ga/2;break;case"bottom":jl-=Ga}switch(Ln){case"center":Wa-=xl/2;break;case"right":Wa-=xl}Ya={left:Wa,top:jl,width:xl+$a.width,height:Ga+$a.height,color:hi.backdropColor}}It.push({rotation:_t,label:rn,font:to,color:la,strokeColor:Cl,strokeWidth:wl,textOffset:ji,textAlign:Ln,textBaseline:ss,translation:[kn,Fn],backdrop:Ya})}return It}_getXAxisLabelAlignment(){const{position:o,ticks:l}=this.options;if(-Mn(this.labelRotation))return"top"===o?"left":"right";let f="center";return"start"===l.align?f="left":"end"===l.align&&(f="right"),f}_getYAxisLabelAlignment(s){const o=this,{position:l,ticks:{crossAlign:d,mirror:f,padding:_}}=o.options,R=s+_,L=o._getLabelSizes().widest.width;let G,ne;return"left"===l?f?(ne=o.right+_,"near"===d?G="left":"center"===d?(G="center",ne+=L/2):(G="right",ne+=L)):(ne=o.right-R,"near"===d?G="right":"center"===d?(G="center",ne-=L/2):(G="left",ne=o.left)):"right"===l?f?(ne=o.left+_,"near"===d?G="right":"center"===d?(G="center",ne-=L/2):(G="left",ne-=L)):(ne=o.left+R,"near"===d?G="left":"center"===d?(G="center",ne+=L/2):(G="right",ne=o.right)):G="right",{textAlign:G,x:ne}}_computeLabelArea(){const s=this;if(s.options.ticks.mirror)return;const o=s.chart,l=s.options.position;return"left"===l||"right"===l?{top:0,left:s.left,bottom:o.height,right:s.right}:"top"===l||"bottom"===l?{top:s.top,left:0,bottom:s.bottom,right:o.width}:void 0}drawBackground(){const{ctx:s,options:{backgroundColor:o},left:l,top:d,width:f,height:_}=this;o&&(s.save(),s.fillStyle=o,s.fillRect(l,d,f,_),s.restore())}getLineWidthForValue(s){const o=this,l=o.options.grid;if(!o._isVisible()||!l.display)return 0;const f=o.ticks.findIndex(_=>_.value===s);return f>=0?l.setContext(o.getContext(f)).lineWidth:0}drawGrid(s){const o=this,l=o.options.grid,d=o.ctx,f=o._gridLineItems||(o._gridLineItems=o._computeGridLineItems(s));let _,M;const R=(L,G,ne)=>{!ne.width||!ne.color||(d.save(),d.lineWidth=ne.width,d.strokeStyle=ne.color,d.setLineDash(ne.borderDash||[]),d.lineDashOffset=ne.borderDashOffset,d.beginPath(),d.moveTo(L.x,L.y),d.lineTo(G.x,G.y),d.stroke(),d.restore())};if(l.display)for(_=0,M=f.length;_<M;++_){const L=f[_];l.drawOnChartArea&&R({x:L.x1,y:L.y1},{x:L.x2,y:L.y2},L),l.drawTicks&&R({x:L.tx1,y:L.ty1},{x:L.tx2,y:L.ty2},{color:L.tickColor,width:L.tickWidth,borderDash:L.tickBorderDash,borderDashOffset:L.tickBorderDashOffset})}}drawBorder(){const s=this,{chart:o,ctx:l,options:{grid:d}}=s,f=d.setContext(s.getContext()),_=d.drawBorder?f.borderWidth:0;if(!_)return;const M=d.setContext(s.getContext(0)).lineWidth,R=s._borderValue;let L,G,ne,ae;s.isHorizontal()?(L=ln(o,s.left,_)-_/2,G=ln(o,s.right,M)+M/2,ne=ae=R):(ne=ln(o,s.top,_)-_/2,ae=ln(o,s.bottom,M)+M/2,L=G=R),l.save(),l.lineWidth=f.borderWidth,l.strokeStyle=f.borderColor,l.beginPath(),l.moveTo(L,ne),l.lineTo(G,ae),l.stroke(),l.restore()}drawLabels(s){const o=this;if(!o.options.ticks.display)return;const d=o.ctx,f=o._computeLabelArea();f&&Yn(d,f);const _=o._labelItems||(o._labelItems=o._computeLabelItems(s));let M,R;for(M=0,R=_.length;M<R;++M){const L=_[M],G=L.font,ne=L.label;L.backdrop&&(d.fillStyle=L.backdrop.color,d.fillRect(L.backdrop.left,L.backdrop.top,L.backdrop.width,L.backdrop.height)),Ni(d,ne,0,L.textOffset,G,L)}f&&Li(d)}drawTitle(){const{ctx:s,options:{position:o,title:l,reverse:d}}=this;if(!l.display)return;const f=Ki(l.font),_=ki(l.padding),M=l.align;let R=f.lineHeight/2;"bottom"===o||"center"===o||dt(o)?(R+=_.bottom,ut(l.text)&&(R+=f.lineHeight*(l.text.length-1))):R+=_.top;const{titleX:L,titleY:G,maxWidth:ne,rotation:ae}=function(a,s,o,l){const{top:d,left:f,bottom:_,right:M,chart:R}=a,{chartArea:L,scales:G}=R;let ae,Re,ot,ne=0;const wt=_-d,_t=M-f;if(a.isHorizontal()){if(Re=ge(l,f,M),dt(o)){const It=Object.keys(o)[0];ot=G[It].getPixelForValue(o[It])+wt-s}else ot="center"===o?(L.bottom+L.top)/2+wt-s:Q(a,o,s);ae=M-f}else{if(dt(o)){const It=Object.keys(o)[0];Re=G[It].getPixelForValue(o[It])-_t+s}else Re="center"===o?(L.left+L.right)/2-_t+s:Q(a,o,s);ot=ge(l,_,d),ne="left"===o?-mt:mt}return{titleX:Re,titleY:ot,maxWidth:ae,rotation:ne}}(this,R,o,M);Ni(s,l.text,0,0,f,{color:l.color,maxWidth:ne,rotation:ae,textAlign:gi(M,o,d),textBaseline:"middle",translation:[L,G]})}draw(s){const o=this;!o._isVisible()||(o.drawBackground(),o.drawGrid(s),o.drawBorder(),o.drawTitle(),o.drawLabels(s))}_layers(){const s=this,o=s.options,l=o.ticks&&o.ticks.z||0,d=Ue(o.grid&&o.grid.z,-1);return s._isVisible()&&s.draw===$n.prototype.draw?[{z:d,draw(f){s.drawBackground(),s.drawGrid(f),s.drawTitle()}},{z:d+1,draw(){s.drawBorder()}},{z:l,draw(f){s.drawLabels(f)}}]:[{z:l,draw(f){s.draw(f)}}]}getMatchingVisibleMetas(s){const o=this,l=o.chart.getSortedVisibleDatasetMetas(),d=o.axis+"AxisID",f=[];let _,M;for(_=0,M=l.length;_<M;++_){const R=l[_];R[d]===o.id&&(!s||R.type===s)&&f.push(R)}return f}_resolveTickFontOptions(s){return Ki(this.options.ticks.setContext(this.getContext(s)).font)}_maxDigits(){const s=this,o=s._resolveTickFontOptions(0).lineHeight;return(s.isHorizontal()?s.width:s.height)/o}}class oi{constructor(s,o,l){this.type=s,this.scope=o,this.override=l,this.items=Object.create(null)}isForType(s){return Object.prototype.isPrototypeOf.call(this.type.prototype,s.prototype)}register(s){const o=this,l=Object.getPrototypeOf(s);let d;var a;"id"in(a=l)&&"defaults"in a&&(d=o.register(l));const f=o.items,_=s.id,M=o.scope+"."+_;if(!_)throw new Error("class does not have id: "+s);return _ in f||(f[_]=s,function(a,s,o){const l=Ie(Object.create(null),[o?oe.get(o):{},oe.get(s),a.defaults]);oe.set(s,l),a.defaultRoutes&&function(a,s){Object.keys(s).forEach(o=>{const l=o.split("."),d=l.pop(),f=[a].concat(l).join("."),_=s[o].split("."),M=_.pop(),R=_.join(".");oe.route(f,d,R,M)})}(s,a.defaultRoutes),a.descriptors&&oe.describe(s,a.descriptors)}(s,M,d),o.override&&oe.override(s.id,s.overrides)),M}get(s){return this.items[s]}unregister(s){const o=this.items,l=s.id,d=this.scope;l in o&&delete o[l],d&&l in oe[d]&&(delete oe[d][l],this.override&&delete ht[l])}}var wo=new class{constructor(){this.controllers=new oi(lt,"datasets",!0),this.elements=new oi(br,"elements"),this.plugins=new oi(Object,"plugins"),this.scales=new oi($n,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...s){this._each("register",s)}remove(...s){this._each("unregister",s)}addControllers(...s){this._each("register",s,this.controllers)}addElements(...s){this._each("register",s,this.elements)}addPlugins(...s){this._each("register",s,this.plugins)}addScales(...s){this._each("register",s,this.scales)}getController(s){return this._get(s,this.controllers,"controller")}getElement(s){return this._get(s,this.elements,"element")}getPlugin(s){return this._get(s,this.plugins,"plugin")}getScale(s){return this._get(s,this.scales,"scale")}removeControllers(...s){this._each("unregister",s,this.controllers)}removeElements(...s){this._each("unregister",s,this.elements)}removePlugins(...s){this._each("unregister",s,this.plugins)}removeScales(...s){this._each("unregister",s,this.scales)}_each(s,o,l){const d=this;[...o].forEach(f=>{const _=l||d._getRegistryForType(f);l||_.isForType(f)||_===d.plugins&&f.id?d._exec(s,_,f):Qe(f,M=>{const R=l||d._getRegistryForType(M);d._exec(s,R,M)})})}_exec(s,o,l){const d=zn(s);je(l["before"+d],[],l),o[s](l),je(l["after"+d],[],l)}_getRegistryForType(s){for(let o=0;o<this._typedRegistries.length;o++){const l=this._typedRegistries[o];if(l.isForType(s))return l}return this.plugins}_get(s,o,l){const d=o.get(s);if(void 0===d)throw new Error('"'+s+'" is not a registered '+l+".");return d}};class Oa{constructor(){this._init=[]}notify(s,o,l,d){const f=this;"beforeInit"===o&&(f._init=f._createDescriptors(s,!0),f._notify(f._init,s,"install"));const _=d?f._descriptors(s).filter(d):f._descriptors(s),M=f._notify(_,s,o,l);return"destroy"===o&&(f._notify(_,s,"stop"),f._notify(f._init,s,"uninstall")),M}_notify(s,o,l,d){d=d||{};for(const f of s){const _=f.plugin;if(!1===je(_[l],[o,d,f.options],_)&&d.cancelable)return!1}return!0}invalidate(){Pe(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(s){if(this._cache)return this._cache;const o=this._cache=this._createDescriptors(s);return this._notifyStateChanges(s),o}_createDescriptors(s,o){const l=s&&s.config,d=Ue(l.options&&l.options.plugins,{}),f=function(a){const s=[],o=Object.keys(wo.plugins.items);for(let d=0;d<o.length;d++)s.push(wo.getPlugin(o[d]));const l=a.plugins||[];for(let d=0;d<l.length;d++){const f=l[d];-1===s.indexOf(f)&&s.push(f)}return s}(l);return!1!==d||o?function(a,s,o,l){const d=[],f=a.getContext();for(let _=0;_<s.length;_++){const M=s[_],L=Qo(o[M.id],l);null!==L&&d.push({plugin:M,options:Zs(a.config,M,L,f)})}return d}(s,f,d,o):[]}_notifyStateChanges(s){const o=this._oldCache||[],l=this._cache,d=(f,_)=>f.filter(M=>!_.some(R=>M.plugin.id===R.plugin.id));this._notify(d(o,l),s,"stop"),this._notify(d(l,o),s,"start")}}function Qo(a,s){return s||!1!==a?!0===a?{}:a:null}function Zs(a,s,o,l){const d=a.pluginScopeKeys(s),f=a.getOptionScopes(o,d);return a.createResolver(f,l,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function vr(a,s){return((s.datasets||{})[a]||{}).indexAxis||s.indexAxis||(oe.datasets[a]||{}).indexAxis||"x"}function hl(a,s){return"x"===a||"y"===a?a:s.axis||function(a){return"top"===a||"bottom"===a?"x":"left"===a||"right"===a?"y":void 0}(s.position)||a.charAt(0).toLowerCase()}function Bn(a){const s=a.options||(a.options={});s.plugins=Ue(s.plugins,{}),s.scales=function(a,s){const o=ht[a.type]||{scales:{}},l=s.scales||{},d=vr(a.type,s),f=Object.create(null),_=Object.create(null);return Object.keys(l).forEach(M=>{const R=l[M],L=hl(M,R),G=function(a,s){return a===s?"_index_":"_value_"}(L,d),ne=o.scales||{};f[L]=f[L]||M,_[M]=be(Object.create(null),[{axis:L},R,ne[L],ne[G]])}),a.data.datasets.forEach(M=>{const R=M.type||a.type,L=M.indexAxis||vr(R,s),ne=(ht[R]||{}).scales||{};Object.keys(ne).forEach(ae=>{const Re=function(a,s){let o=a;return"_index_"===a?o=s:"_value_"===a&&(o="x"===s?"y":"x"),o}(ae,L),ot=M[Re+"AxisID"]||f[Re]||Re;_[ot]=_[ot]||Object.create(null),be(_[ot],[{axis:Re},l[ot],ne[ae]])})}),Object.keys(_).forEach(M=>{const R=_[M];be(R,[oe.scales[R.type],oe.scale])}),_}(a,s)}function ti(a){return(a=a||{}).datasets=a.datasets||[],a.labels=a.labels||[],a}const Bi=new Map,Ro=new Set;function os(a,s){let o=Bi.get(a);return o||(o=s(),Bi.set(a,o),Ro.add(o)),o}const ds=(a,s,o)=>{const l=Ut(s,o);void 0!==l&&a.add(l)};class co{constructor(s){var a;this._config=((a=(a=s)||{}).data=ti(a.data),Bn(a),a),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(s){this._config.type=s}get data(){return this._config.data}set data(s){this._config.data=ti(s)}get options(){return this._config.options}set options(s){this._config.options=s}get plugins(){return this._config.plugins}update(){const s=this._config;this.clearCache(),Bn(s)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(s){return os(s,()=>[[`datasets.${s}`,""]])}datasetAnimationScopeKeys(s,o){return os(`${s}.transition.${o}`,()=>[[`datasets.${s}.transitions.${o}`,`transitions.${o}`],[`datasets.${s}`,""]])}datasetElementScopeKeys(s,o){return os(`${s}-${o}`,()=>[[`datasets.${s}.elements.${o}`,`datasets.${s}`,`elements.${o}`,""]])}pluginScopeKeys(s){const o=s.id;return os(`${this.type}-plugin-${o}`,()=>[[`plugins.${o}`,...s.additionalOptionScopes||[]]])}_cachedScopes(s,o){const l=this._scopeCache;let d=l.get(s);return(!d||o)&&(d=new Map,l.set(s,d)),d}getOptionScopes(s,o,l){const{options:d,type:f}=this,_=this._cachedScopes(s,l),M=_.get(o);if(M)return M;const R=new Set;o.forEach(G=>{s&&(R.add(s),G.forEach(ne=>ds(R,s,ne))),G.forEach(ne=>ds(R,d,ne)),G.forEach(ne=>ds(R,ht[f]||{},ne)),G.forEach(ne=>ds(R,oe,ne)),G.forEach(ne=>ds(R,Ct,ne))});const L=Array.from(R);return 0===L.length&&L.push(Object.create(null)),Ro.has(o)&&_.set(o,L),L}chartOptionScopes(){const{options:s,type:o}=this;return[s,ht[o]||{},oe.datasets[o]||{},{type:o},oe,Ct]}resolveNamedOptions(s,o,l,d=[""]){const f={$shared:!0},{resolver:_,subPrefixes:M}=Eo(this._resolverCache,s,d);let R=_;(function(a,s){const{isScriptable:o,isIndexable:l}=$o(a);for(const d of s)if(o(d)&&_n(a[d])||l(d)&&ut(a[d]))return!0;return!1})(_,o)&&(f.$shared=!1,R=es(_,l=_n(l)?l():l,this.createResolver(s,l,M)));for(const L of o)f[L]=R[L];return f}createResolver(s,o,l=[""],d){const{resolver:f}=Eo(this._resolverCache,s,l);return dt(o)?es(f,o,void 0,d):f}}function Eo(a,s,o){let l=a.get(s);l||(l=new Map,a.set(s,l));const d=o.join();let f=l.get(d);return f||(f={resolver:Ss(s,o),subPrefixes:o.filter(M=>!M.toLowerCase().includes("hover"))},l.set(d,f)),f}const Or=["top","bottom","left","right","chartArea"];function za(a,s){return"top"===a||"bottom"===a||-1===Or.indexOf(a)&&"x"===s}function kr(a,s){return function(o,l){return o[a]===l[a]?o[s]-l[s]:o[a]-l[a]}}function Ua(a){const s=a.chart,o=s.options.animation;s.notifyPlugins("afterRender"),je(o&&o.onComplete,[a],s)}function rg(a){const s=a.chart,o=s.options.animation;je(o&&o.onProgress,[a],s)}function ja(a){return qt()&&"string"==typeof a?a=document.getElementById(a):a&&a.length&&(a=a[0]),a&&a.canvas&&(a=a.canvas),a}const Cr={},Ol=a=>{const s=ja(a);return Object.values(Cr).filter(o=>o.canvas===s).pop()};class Pr{constructor(s,o){const l=this,d=this.config=new co(o),f=ja(s),_=Ol(f);if(_)throw new Error("Canvas is already in use. Chart with ID '"+_.id+"' must be destroyed before the canvas can be reused.");const M=d.createResolver(d.chartOptionScopes(),l.getContext());var a;this.platform=new(d.platform||(a=f,!qt()||"undefined"!=typeof OffscreenCanvas&&a instanceof OffscreenCanvas?rt:lh));const R=l.platform.acquireContext(f,M.aspectRatio),L=R&&R.canvas,G=L&&L.height,ne=L&&L.width;this.id=xe(),this.ctx=R,this.canvas=L,this.width=ne,this.height=G,this._options=M,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Oa,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(a,s){let o;return function(){return s?(clearTimeout(o),o=setTimeout(a,s)):a(),s}}(()=>this.update("resize"),M.resizeDelay||0),Cr[l.id]=l,R&&L?(ko.listen(l,"complete",Ua),ko.listen(l,"progress",rg),l._initialize(),l.attached&&l.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:s,maintainAspectRatio:o},width:l,height:d,_aspectRatio:f}=this;return Pe(s)?o&&f?f:d?l/d:null:s}get data(){return this.config.data}set data(s){this.config.data=s}get options(){return this._options}set options(s){this.config.options=s}_initialize(){const s=this;return s.notifyPlugins("beforeInit"),s.options.responsive?s.resize():Xi(s,s.options.devicePixelRatio),s.bindEvents(),s.notifyPlugins("afterInit"),s}clear(){return Xn(this.canvas,this.ctx),this}stop(){return ko.stop(this),this}resize(s,o){ko.running(this)?this._resizeBeforeDraw={width:s,height:o}:this._resize(s,o)}_resize(s,o){const l=this,d=l.options,M=l.platform.getMaximumSize(l.canvas,s,o,d.maintainAspectRatio&&l.aspectRatio),R=d.devicePixelRatio||l.platform.getDevicePixelRatio();l.width=M.width,l.height=M.height,l._aspectRatio=l.aspectRatio,Xi(l,R,!0)&&(l.notifyPlugins("resize",{size:M}),je(d.onResize,[l,M],l),l.attached&&l._doResize()&&l.render())}ensureScalesHaveIDs(){Qe(this.options.scales||{},(l,d)=>{l.id=d})}buildOrUpdateScales(){const s=this,o=s.options,l=o.scales,d=s.scales,f=Object.keys(d).reduce((M,R)=>(M[R]=!1,M),{});let _=[];l&&(_=_.concat(Object.keys(l).map(M=>{const R=l[M],L=hl(M,R),G="r"===L,ne="x"===L;return{options:R,dposition:G?"chartArea":ne?"bottom":"left",dtype:G?"radialLinear":ne?"category":"linear"}}))),Qe(_,M=>{const R=M.options,L=R.id,G=hl(L,R),ne=Ue(R.type,M.dtype);(void 0===R.position||za(R.position,G)!==za(M.dposition))&&(R.position=M.dposition),f[L]=!0;let ae=null;L in d&&d[L].type===ne?ae=d[L]:(ae=new(wo.getScale(ne))({id:L,type:ne,ctx:s.ctx,chart:s}),d[ae.id]=ae),ae.init(R,o)}),Qe(f,(M,R)=>{M||delete d[R]}),Qe(d,M=>{le.configure(s,M,M.options),le.addBox(s,M)})}_updateMetasets(){const s=this,o=s._metasets,l=s.data.datasets.length,d=o.length;if(o.sort((f,_)=>f.index-_.index),d>l){for(let f=l;f<d;++f)s._destroyDatasetMeta(f);o.splice(l,d-l)}s._sortedMetasets=o.slice(0).sort(kr("order","index"))}_removeUnreferencedMetasets(){const s=this,{_metasets:o,data:{datasets:l}}=s;o.length>l.length&&delete s._stacks,o.forEach((d,f)=>{0===l.filter(_=>_===d._dataset).length&&s._destroyDatasetMeta(f)})}buildOrUpdateControllers(){const s=this,o=[],l=s.data.datasets;let d,f;for(s._removeUnreferencedMetasets(),d=0,f=l.length;d<f;d++){const _=l[d];let M=s.getDatasetMeta(d);const R=_.type||s.config.type;if(M.type&&M.type!==R&&(s._destroyDatasetMeta(d),M=s.getDatasetMeta(d)),M.type=R,M.indexAxis=_.indexAxis||vr(R,s.options),M.order=_.order||0,M.index=d,M.label=""+_.label,M.visible=s.isDatasetVisible(d),M.controller)M.controller.updateIndex(d),M.controller.linkScales();else{const L=wo.getController(R),{datasetElementType:G,dataElementType:ne}=oe.datasets[R];Object.assign(L.prototype,{dataElementType:wo.getElement(ne),datasetElementType:G&&wo.getElement(G)}),M.controller=new L(s,d),o.push(M.controller)}}return s._updateMetasets(),o}_resetElements(){const s=this;Qe(s.data.datasets,(o,l)=>{s.getDatasetMeta(l).controller.reset()},s)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(s){const o=this,l=o.config;l.update(),o._options=l.createResolver(l.chartOptionScopes(),o.getContext()),Qe(o.scales,L=>{le.removeBox(o,L)});const d=o._animationsDisabled=!o.options.animation;if(o.ensureScalesHaveIDs(),o.buildOrUpdateScales(),(!((a,s)=>{if(a.size!==s.size)return!1;for(const o of a)if(!s.has(o))return!1;return!0})(new Set(Object.keys(o._listeners)),new Set(o.options.events))||!!this._responsiveListeners!==o.options.responsive)&&(o.unbindEvents(),o.bindEvents()),o._plugins.invalidate(),!1===o.notifyPlugins("beforeUpdate",{mode:s,cancelable:!0}))return;const M=o.buildOrUpdateControllers();o.notifyPlugins("beforeElementsUpdate");let R=0;for(let L=0,G=o.data.datasets.length;L<G;L++){const{controller:ne}=o.getDatasetMeta(L),ae=!d&&-1===M.indexOf(ne);ne.buildOrUpdateElements(ae),R=Math.max(+ne.getMaxOverflow(),R)}o._minPadding=R,o._updateLayout(R),d||Qe(M,L=>{L.reset()}),o._updateDatasets(s),o.notifyPlugins("afterUpdate",{mode:s}),o._layers.sort(kr("z","_idx")),o._lastEvent&&o._eventHandler(o._lastEvent,!0),o.render()}_updateLayout(s){const o=this;if(!1===o.notifyPlugins("beforeLayout",{cancelable:!0}))return;le.update(o,o.width,o.height,s);const l=o.chartArea,d=l.width<=0||l.height<=0;o._layers=[],Qe(o.boxes,f=>{d&&"chartArea"===f.position||(f.configure&&f.configure(),o._layers.push(...f._layers()))},o),o._layers.forEach((f,_)=>{f._idx=_}),o.notifyPlugins("afterLayout")}_updateDatasets(s){const o=this,l="function"==typeof s;if(!1!==o.notifyPlugins("beforeDatasetsUpdate",{mode:s,cancelable:!0})){for(let d=0,f=o.data.datasets.length;d<f;++d)o._updateDataset(d,l?s({datasetIndex:d}):s);o.notifyPlugins("afterDatasetsUpdate",{mode:s})}}_updateDataset(s,o){const l=this,d=l.getDatasetMeta(s),f={meta:d,index:s,mode:o,cancelable:!0};!1!==l.notifyPlugins("beforeDatasetUpdate",f)&&(d.controller._update(o),f.cancelable=!1,l.notifyPlugins("afterDatasetUpdate",f))}render(){const s=this;!1!==s.notifyPlugins("beforeRender",{cancelable:!0})&&(ko.has(s)?s.attached&&!ko.running(s)&&ko.start(s):(s.draw(),Ua({chart:s})))}draw(){const s=this;let o;if(s._resizeBeforeDraw){const{width:d,height:f}=s._resizeBeforeDraw;s._resize(d,f),s._resizeBeforeDraw=null}if(s.clear(),s.width<=0||s.height<=0||!1===s.notifyPlugins("beforeDraw",{cancelable:!0}))return;const l=s._layers;for(o=0;o<l.length&&l[o].z<=0;++o)l[o].draw(s.chartArea);for(s._drawDatasets();o<l.length;++o)l[o].draw(s.chartArea);s.notifyPlugins("afterDraw")}_getSortedDatasetMetas(s){const l=this._sortedMetasets,d=[];let f,_;for(f=0,_=l.length;f<_;++f){const M=l[f];(!s||M.visible)&&d.push(M)}return d}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){const s=this;if(!1===s.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const o=s.getSortedVisibleDatasetMetas();for(let l=o.length-1;l>=0;--l)s._drawDataset(o[l]);s.notifyPlugins("afterDatasetsDraw")}_drawDataset(s){const o=this,l=o.ctx,d=s._clip,f=!d.disabled,_=o.chartArea,M={meta:s,index:s.index,cancelable:!0};!1!==o.notifyPlugins("beforeDatasetDraw",M)&&(f&&Yn(l,{left:!1===d.left?0:_.left-d.left,right:!1===d.right?o.width:_.right+d.right,top:!1===d.top?0:_.top-d.top,bottom:!1===d.bottom?o.height:_.bottom+d.bottom}),s.controller.draw(),f&&Li(l),M.cancelable=!1,o.notifyPlugins("afterDatasetDraw",M))}getElementsAtEventForMode(s,o,l,d){const f=Ba.modes[o];return"function"==typeof f?f(this,s,l,d):[]}getDatasetMeta(s){const l=this.data.datasets[s],d=this._metasets;let f=d.filter(_=>_&&_._dataset===l).pop();return f||(f={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:l&&l.order||0,index:s,_dataset:l,_parsed:[],_sorted:!1},d.push(f)),f}getContext(){return this.$context||(this.$context={chart:this,type:"chart"})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(s){const o=this.data.datasets[s];if(!o)return!1;const l=this.getDatasetMeta(s);return"boolean"==typeof l.hidden?!l.hidden:!o.hidden}setDatasetVisibility(s,o){this.getDatasetMeta(s).hidden=!o}toggleDataVisibility(s){this._hiddenIndices[s]=!this._hiddenIndices[s]}getDataVisibility(s){return!this._hiddenIndices[s]}_updateVisibility(s,o,l){const d=this,f=l?"show":"hide",_=d.getDatasetMeta(s),M=_.controller._resolveAnimations(void 0,f);kt(o)?(_.data[o].hidden=!l,d.update()):(d.setDatasetVisibility(s,l),M.update(_,{visible:l}),d.update(R=>R.datasetIndex===s?f:void 0))}hide(s,o){this._updateVisibility(s,o,!1)}show(s,o){this._updateVisibility(s,o,!0)}_destroyDatasetMeta(s){const o=this,l=o._metasets&&o._metasets[s];l&&l.controller&&(l.controller._destroy(),delete o._metasets[s])}destroy(){const s=this,{canvas:o,ctx:l}=s;let d,f;for(s.stop(),ko.remove(s),d=0,f=s.data.datasets.length;d<f;++d)s._destroyDatasetMeta(d);s.config.clearCache(),o&&(s.unbindEvents(),Xn(o,l),s.platform.releaseContext(l),s.canvas=null,s.ctx=null),s.notifyPlugins("destroy"),delete Cr[s.id]}toBase64Image(...s){return this.canvas.toDataURL(...s)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const s=this,o=s._listeners,l=s.platform,f=function(_,M,R){_.offsetX=M,_.offsetY=R,s._eventHandler(_)};Qe(s.options.events,_=>((_,M)=>{l.addEventListener(s,_,M),o[_]=M})(_,f))}bindResponsiveEvents(){const s=this;s._responsiveListeners||(s._responsiveListeners={});const o=s._responsiveListeners,l=s.platform,d=(L,G)=>{l.addEventListener(s,L,G),o[L]=G},f=(L,G)=>{o[L]&&(l.removeEventListener(s,L,G),delete o[L])},_=(L,G)=>{s.canvas&&s.resize(L,G)};let M;const R=()=>{f("attach",R),s.attached=!0,s.resize(),d("resize",_),d("detach",M)};M=()=>{s.attached=!1,f("resize",_),d("attach",R)},l.isAttached(s.canvas)?R():M()}unbindEvents(){const s=this;Qe(s._listeners,(o,l)=>{s.platform.removeEventListener(s,l,o)}),s._listeners={},Qe(s._responsiveListeners,(o,l)=>{s.platform.removeEventListener(s,l,o)}),s._responsiveListeners=void 0}updateHoverStyle(s,o,l){const d=l?"set":"remove";let f,_,M,R;for("dataset"===o&&(f=this.getDatasetMeta(s[0].datasetIndex),f.controller["_"+d+"DatasetHoverStyle"]()),M=0,R=s.length;M<R;++M){_=s[M];const L=_&&this.getDatasetMeta(_.datasetIndex).controller;L&&L[d+"HoverStyle"](_.element,_.datasetIndex,_.index)}}getActiveElements(){return this._active||[]}setActiveElements(s){const o=this,l=o._active||[],d=s.map(({datasetIndex:_,index:M})=>{const R=o.getDatasetMeta(_);if(!R)throw new Error("No dataset found at index "+_);return{datasetIndex:_,element:R.data[M],index:M}});!ue(d,l)&&(o._active=d,o._updateHoverStyles(d,l))}notifyPlugins(s,o,l){return this._plugins.notify(this,s,o,l)}_updateHoverStyles(s,o,l){const d=this,f=d.options.hover,_=(L,G)=>L.filter(ne=>!G.some(ae=>ne.datasetIndex===ae.datasetIndex&&ne.index===ae.index)),M=_(o,s),R=l?s:_(s,o);M.length&&d.updateHoverStyle(M,f.mode,!1),R.length&&f.mode&&d.updateHoverStyle(R,f.mode,!0)}_eventHandler(s,o){const l=this,d={event:s,replay:o,cancelable:!0},f=M=>(M.options.events||this.options.events).includes(s.type);if(!1===l.notifyPlugins("beforeEvent",d,f))return;const _=l._handleEvent(s,o);return d.cancelable=!1,l.notifyPlugins("afterEvent",d,f),(_||d.changed)&&l.render(),l}_handleEvent(s,o){const l=this,{_active:d=[],options:f}=l,_=f.hover;let R=[],L=!1,G=null;return"mouseout"!==s.type&&(R=l.getElementsAtEventForMode(s,_.mode,_,o),G="click"===s.type?l._lastEvent:s),l._lastEvent=null,wn(s,l.chartArea,l._minPadding)&&(je(f.onHover,[s,R,l],l),("mouseup"===s.type||"click"===s.type||"contextmenu"===s.type)&&je(f.onClick,[s,R,l],l)),L=!ue(R,d),(L||o)&&(l._active=R,l._updateHoverStyles(R,d,o)),l._lastEvent=G,L}}const Wu=()=>Qe(Pr.instances,a=>a._plugins.invalidate()),oa=!0;function tc(a,s,o){const{startAngle:l,pixelMargin:d,x:f,y:_,outerRadius:M,innerRadius:R}=s;let L=d/M;a.beginPath(),a.arc(f,_,M,l-L,o+L),R>d?(L=d/R,a.arc(f,_,R,o+L,l-L,!0)):a.arc(f,_,d,o+mt,l-mt),a.closePath(),a.clip()}function pl(a,s,o,l){return{x:o+a*Math.cos(s),y:l+a*Math.sin(s)}}function Gc(a,s,o,l,d){const{x:f,y:_,startAngle:M,pixelMargin:R,innerRadius:L}=s,G=Math.max(s.outerRadius+l+o-R,0),ne=L>0?L+l+o+R:0;let ae=0;const Re=d-M;if(l){const la=((L>0?L-l:0)+(G>0?G-l:0))/2;ae=(Re-(0!==la?Re*la/(la+l):Re))/2}const wt=(Re-Math.max(.001,Re*G-o/sn)/G)/2,_t=M+wt+ae,It=d-wt-ae,{outerStart:Rt,outerEnd:Tn,innerStart:vn,innerEnd:rn}=function(a,s,o,l){const d=function(a){return zo(a,["outerStart","outerEnd","innerStart","innerEnd"])}(a.options.borderRadius),f=(o-s)/2,_=Math.min(f,l*s/2),M=R=>{const L=(o-Math.min(f,R))*l/2;return W(R,0,Math.min(f,L))};return{outerStart:M(d.outerStart),outerEnd:M(d.outerEnd),innerStart:W(d.innerStart,0,_),innerEnd:W(d.innerEnd,0,_)}}(s,ne,G,It-_t),kn=G-Rt,Fn=G-Tn,Ln=_t+Rt/kn,ri=It-Tn/Fn,to=ne+vn,Gi=ne+rn,Ho=_t+vn/to,ji=It-rn/Gi;if(a.beginPath(),a.arc(f,_,G,Ln,ri),Tn>0){const hi=pl(Fn,ri,f,_);a.arc(hi.x,hi.y,Tn,ri,It+mt)}const ss=pl(Gi,It,f,_);if(a.lineTo(ss.x,ss.y),rn>0){const hi=pl(Gi,ji,f,_);a.arc(hi.x,hi.y,rn,It+mt,ji+Math.PI)}if(a.arc(f,_,ne,It-rn/ne,_t+vn/ne,!0),vn>0){const hi=pl(to,Ho,f,_);a.arc(hi.x,hi.y,vn,Ho+Math.PI,_t-mt)}const Ps=pl(kn,_t,f,_);if(a.lineTo(Ps.x,Ps.y),Rt>0){const hi=pl(kn,Ln,f,_);a.arc(hi.x,hi.y,Rt,_t-mt,Ln)}a.closePath()}Object.defineProperties(Pr,{defaults:{enumerable:oa,value:oe},instances:{enumerable:oa,value:Cr},overrides:{enumerable:oa,value:ht},registry:{enumerable:oa,value:wo},version:{enumerable:oa,value:"3.5.1"},getChart:{enumerable:oa,value:Ol},register:{enumerable:oa,value:(...a)=>{wo.add(...a),Wu()}},unregister:{enumerable:oa,value:(...a)=>{wo.remove(...a),Wu()}}});class Wc extends br{constructor(s){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,s&&Object.assign(this,s)}inRange(s,o,l){const d=this.getProps(["x","y"],l),{angle:f,distance:_}=function(a,s){const o=s.x-a.x,l=s.y-a.y,d=Math.sqrt(o*o+l*l);let f=Math.atan2(l,o);return f<-.5*sn&&(f+=tt),{angle:f,distance:d}}(d,{x:s,y:o}),{startAngle:M,endAngle:R,innerRadius:L,outerRadius:G,circumference:ne}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],l),ae=this.options.spacing/2;return(ne>=tt||Se(f,M,R))&&_>=L+ae&&_<=G+ae}getCenterPoint(s){const{x:o,y:l,startAngle:d,endAngle:f,innerRadius:_,outerRadius:M}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],s),{offset:R,spacing:L}=this.options,G=(d+f)/2,ne=(_+M+L+R)/2;return{x:o+Math.cos(G)*ne,y:l+Math.sin(G)*ne}}tooltipPosition(s){return this.getCenterPoint(s)}draw(s){const o=this,{options:l,circumference:d}=o,f=(l.offset||0)/2,_=(l.spacing||0)/2;if(o.pixelMargin="inner"===l.borderAlign?.33:0,o.fullCircles=d>tt?Math.floor(d/tt):0,0===d||o.innerRadius<0||o.outerRadius<0)return;s.save();let M=0;if(f){M=f/2;const L=(o.startAngle+o.endAngle)/2;s.translate(Math.cos(L)*M,Math.sin(L)*M),o.circumference>=sn&&(M=f)}s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor;const R=function(a,s,o,l){const{fullCircles:d,startAngle:f,circumference:_}=s;let M=s.endAngle;if(d){Gc(a,s,o,l,f+tt);for(let R=0;R<d;++R)a.fill();isNaN(_)||(M=f+_%tt,_%tt==0&&(M+=tt))}return Gc(a,s,o,l,M),a.fill(),M}(s,o,M,_);(function(a,s,o,l,d){const{options:f}=s,_="inner"===f.borderAlign;!f.borderWidth||(_?(a.lineWidth=2*f.borderWidth,a.lineJoin="round"):(a.lineWidth=f.borderWidth,a.lineJoin="bevel"),s.fullCircles&&function(a,s,o){const{x:l,y:d,startAngle:f,pixelMargin:_,fullCircles:M}=s,R=Math.max(s.outerRadius-_,0),L=s.innerRadius+_;let G;for(o&&tc(a,s,f+tt),a.beginPath(),a.arc(l,d,L,f+tt,f,!0),G=0;G<M;++G)a.stroke();for(a.beginPath(),a.arc(l,d,R,f,f+tt),G=0;G<M;++G)a.stroke()}(a,s,_),_&&tc(a,s,d),Gc(a,s,o,l,d),a.stroke())})(s,o,M,_,R),s.restore()}}function Qc(a,s,o=s){a.lineCap=Ue(o.borderCapStyle,s.borderCapStyle),a.setLineDash(Ue(o.borderDash,s.borderDash)),a.lineDashOffset=Ue(o.borderDashOffset,s.borderDashOffset),a.lineJoin=Ue(o.borderJoinStyle,s.borderJoinStyle),a.lineWidth=Ue(o.borderWidth,s.borderWidth),a.strokeStyle=Ue(o.borderColor,s.borderColor)}function dh(a,s,o){a.lineTo(o.x,o.y)}function Ju(a,s,o={}){const l=a.length,{start:d=0,end:f=l-1}=o,{start:_,end:M}=s,R=Math.max(d,_),L=Math.min(f,M);return{count:l,start:R,loop:s.loop,ilen:L<R&&!(d<_&&f<_||d>M&&f>M)?l+L-R:L-R}}function hh(a,s,o,l){const{points:d,options:f}=s,{count:_,start:M,loop:R,ilen:L}=Ju(d,o,l),G=function(a){return a.stepped?as:a.tension||"monotone"===a.cubicInterpolationMode?Ko:dh}(f);let Re,ot,wt,{move:ne=!0,reverse:ae}=l||{};for(Re=0;Re<=L;++Re)ot=d[(M+(ae?L-Re:Re))%_],!ot.skip&&(ne?(a.moveTo(ot.x,ot.y),ne=!1):G(a,wt,ot,ae,f.stepped),wt=ot);return R&&(ot=d[(M+(ae?L:0))%_],G(a,wt,ot,ae,f.stepped)),!!R}function ph(a,s,o,l){const d=s.points,{count:f,start:_,ilen:M}=Ju(d,o,l),{move:R=!0,reverse:L}=l||{};let ae,Re,ot,wt,_t,It,G=0,ne=0;const Rt=vn=>(_+(L?M-vn:vn))%f,Tn=()=>{wt!==_t&&(a.lineTo(G,_t),a.lineTo(G,wt),a.lineTo(G,It))};for(R&&(Re=d[Rt(0)],a.moveTo(Re.x,Re.y)),ae=0;ae<=M;++ae){if(Re=d[Rt(ae)],Re.skip)continue;const vn=Re.x,rn=Re.y,kn=0|vn;kn===ot?(rn<wt?wt=rn:rn>_t&&(_t=rn),G=(ne*G+vn)/++ne):(Tn(),a.lineTo(vn,rn),ot=kn,ne=0,wt=_t=rn),It=rn}Tn()}function gl(a){const s=a.options;return a._decimated||a._loop||s.tension||"monotone"===s.cubicInterpolationMode||s.stepped||s.borderDash&&s.borderDash.length?hh:ph}Wc.id="arc",Wc.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},Wc.defaultRoutes={backgroundColor:"backgroundColor"};const gh="function"==typeof Path2D;let Za=(()=>{class a extends br{constructor(o){super(),this.animated=!0,this.options=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,o&&Object.assign(this,o)}updateControlPoints(o,l){const d=this,f=d.options;!f.tension&&"monotone"!==f.cubicInterpolationMode||f.stepped||d._pointsUpdated||(pt(d._points,f,o,f.spanGaps?d._loop:d._fullLoop,l),d._pointsUpdated=!0)}set points(o){const l=this;l._points=o,delete l._segments,delete l._path,l._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(a,s){const o=a.points,l=a.options.spanGaps,d=o.length;if(!d)return[];const f=!!a._loop,{start:_,end:M}=function(a,s,o,l){let d=0,f=s-1;if(o&&!l)for(;d<s&&!a[d].skip;)d++;for(;d<s&&a[d].skip;)d++;for(d%=s,o&&(f+=d);f>d&&a[f%s].skip;)f--;return f%=s,{start:d,end:f}}(o,d,f,l);return function(a,s,o,l){return l&&l.setContext&&o?function(a,s,o,l){const d=pr(a.options),f=o.length,_=[];let M=s[0].start,R=M;for(const L of s){let ae,G=d,ne=o[M%f];for(R=M+1;R<=L.end;R++){const Re=o[R%f];ae=pr(l.setContext({type:"segment",p0:ne,p1:Re,p0DataIndex:(R-1)%f,p1DataIndex:R%f,datasetIndex:a._datasetIndex})),fr(ae,G)&&(_.push({start:M,end:R-1,loop:L.loop,style:G}),G=ae,M=R-1),ne=Re,G=ae}M<R-1&&(_.push({start:M,end:R-1,loop:L.loop,style:ae}),M=R-1)}return _}(a,s,o,l):s}(a,!0===l?[{start:_,end:M,loop:f}]:function(a,s,o,l){const d=a.length,f=[];let R,_=s,M=a[s];for(R=s+1;R<=o;++R){const L=a[R%d];L.skip||L.stop?M.skip||(f.push({start:s%d,end:(R-1)%d,loop:l=!1}),s=_=L.stop?R:null):(_=R,M.skip&&(s=R)),M=L}return null!==_&&f.push({start:s%d,end:_%d,loop:l}),f}(o,_,M<_?M+d:M,!!a._fullLoop&&0===_&&M===d-1),o,s)}(this,this.options.segment))}first(){const o=this.segments;return o.length&&this.points[o[0].start]}last(){const o=this.segments,d=o.length;return d&&this.points[o[d-1].end]}interpolate(o,l){const d=this,f=d.options,_=o[l],M=d.points,R=mo(d,{property:l,start:_,end:_});if(!R.length)return;const L=[],G=function(a){return a.stepped?Oo:a.tension||"monotone"===a.cubicInterpolationMode?cs:Go}(f);let ne,ae;for(ne=0,ae=R.length;ne<ae;++ne){const{start:Re,end:ot}=R[ne],wt=M[Re],_t=M[ot];if(wt===_t){L.push(wt);continue}const Rt=G(wt,_t,Math.abs((_-wt[l])/(_t[l]-wt[l])),f.stepped);Rt[l]=o[l],L.push(Rt)}return 1===L.length?L[0]:L}pathSegment(o,l,d){return gl(this)(o,this,l,d)}path(o,l,d){const f=this,_=f.segments,M=gl(f);let R=f._loop;l=l||0,d=d||f.points.length-l;for(const L of _)R&=M(o,f,L,{start:l,end:l+d-1});return!!R}draw(o,l,d,f){const _=this;!(_.points||[]).length||!(_.options||{}).borderWidth||(o.save(),function(a,s,o,l){gh&&1===s.segments.length?function(a,s,o,l){let d=s._path;d||(d=s._path=new Path2D,s.path(d,o,l)&&d.closePath()),Qc(a,s.options),a.stroke(d)}(a,s,o,l):function(a,s,o,l){const{segments:d,options:f}=s,_=gl(s);for(const M of d)Qc(a,f,M.style),a.beginPath(),_(a,s,M,{start:o,end:o+l-1})&&a.closePath(),a.stroke()}(a,s,o,l)}(o,_,d,f),o.restore(),_.animated&&(_._pointsUpdated=!1,_._path=void 0))}}return a.id="line",a.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},a.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},a.descriptors={_scriptable:!0,_indexable:s=>"borderDash"!==s&&"fill"!==s},a})();function ic(a,s,o,l){const d=a.options,{[o]:f}=a.getProps([o],l);return Math.abs(s-f)<d.radius+d.hitRadius}let Ku=(()=>{class a extends br{constructor(o){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,o&&Object.assign(this,o)}inRange(o,l,d){const f=this.options,{x:_,y:M}=this.getProps(["x","y"],d);return Math.pow(o-_,2)+Math.pow(l-M,2)<Math.pow(f.hitRadius+f.radius,2)}inXRange(o,l){return ic(this,o,"x",l)}inYRange(o,l){return ic(this,o,"y",l)}getCenterPoint(o){const{x:l,y:d}=this.getProps(["x","y"],o);return{x:l,y:d}}size(o){let l=(o=o||this.options||{}).radius||0;return l=Math.max(l,l&&o.hoverRadius||0),2*(l+(l&&o.borderWidth||0))}draw(o,l){const d=this,f=d.options;d.skip||f.radius<.1||!wn(d,l,d.size(f)/2)||(o.strokeStyle=f.borderColor,o.lineWidth=f.borderWidth,o.fillStyle=f.backgroundColor,Hn(o,f,d.x,d.y))}getRange(){const o=this.options||{};return o.radius+o.hitRadius}}return a.id="point",a.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},a.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},a})();function Kc(a,s){const{x:o,y:l,base:d,width:f,height:_}=a.getProps(["x","y","base","width","height"],s);let M,R,L,G,ne;return a.horizontal?(ne=_/2,M=Math.min(o,d),R=Math.max(o,d),L=l-ne,G=l+ne):(ne=f/2,M=o-ne,R=o+ne,L=Math.min(l,d),G=Math.max(l,d)),{left:M,top:L,right:R,bottom:G}}function sa(a,s,o,l){return a?0:W(s,o,l)}function Xc(a,s,o,l){const d=null===s,f=null===o,M=a&&!(d&&f)&&Kc(a,l);return M&&(d||s>=M.left&&s<=M.right)&&(f||o>=M.top&&o<=M.bottom)}function yh(a,s){a.rect(s.x,s.y,s.w,s.h)}function Ir(a,s,o={}){const l=a.x!==o.x?-s:0,d=a.y!==o.y?-s:0;return{x:a.x+l,y:a.y+d,w:a.w+((a.x+a.w!==o.x+o.w?s:0)-l),h:a.h+((a.y+a.h!==o.y+o.h?s:0)-d),radius:a.radius}}class ra extends br{constructor(s){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,s&&Object.assign(this,s)}draw(s){const o=this.options,{inner:l,outer:d}=function(a){const s=Kc(a),o=s.right-s.left,l=s.bottom-s.top,d=function(a,s,o){const d=a.borderSkipped,f=Xo(a.options.borderWidth);return{t:sa(d.top,f.top,0,o),r:sa(d.right,f.right,0,s),b:sa(d.bottom,f.bottom,0,o),l:sa(d.left,f.left,0,s)}}(a,o/2,l/2),f=function(a,s,o){const{enableBorderRadius:l}=a.getProps(["enableBorderRadius"]),d=a.options.borderRadius,f=ho(d),_=Math.min(s,o),M=a.borderSkipped,R=l||dt(d);return{topLeft:sa(!R||M.top||M.left,f.topLeft,0,_),topRight:sa(!R||M.top||M.right,f.topRight,0,_),bottomLeft:sa(!R||M.bottom||M.left,f.bottomLeft,0,_),bottomRight:sa(!R||M.bottom||M.right,f.bottomRight,0,_)}}(a,o/2,l/2);return{outer:{x:s.left,y:s.top,w:o,h:l,radius:f},inner:{x:s.left+d.l,y:s.top+d.t,w:o-d.l-d.r,h:l-d.t-d.b,radius:{topLeft:Math.max(0,f.topLeft-Math.max(d.t,d.l)),topRight:Math.max(0,f.topRight-Math.max(d.t,d.r)),bottomLeft:Math.max(0,f.bottomLeft-Math.max(d.b,d.l)),bottomRight:Math.max(0,f.bottomRight-Math.max(d.b,d.r))}}}}(this),f=(a=d.radius).topLeft||a.topRight||a.bottomLeft||a.bottomRight?So:yh,_=.33;var a;s.save(),(d.w!==l.w||d.h!==l.h)&&(s.beginPath(),f(s,Ir(d,_,l)),s.clip(),f(s,Ir(l,-_,d)),s.fillStyle=o.borderColor,s.fill("evenodd")),s.beginPath(),f(s,Ir(l,_,d)),s.fillStyle=o.backgroundColor,s.fill(),s.restore()}inRange(s,o,l){return Xc(this,s,o,l)}inXRange(s,o){return Xc(this,s,null,o)}inYRange(s,o){return Xc(this,null,s,o)}getCenterPoint(s){const{x:o,y:l,base:d,horizontal:f}=this.getProps(["x","y","base","horizontal"],s);return{x:f?(o+d)/2:o,y:f?l:(l+d)/2}}getRange(s){return"x"===s?this.width/2:this.height/2}}ra.id="bar",ra.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},ra.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var Xu=Object.freeze({__proto__:null,ArcElement:Wc,LineElement:Za,PointElement:Ku,BarElement:ra});function ed(a){if(a._decimated){const s=a._data;delete a._decimated,delete a._data,Object.defineProperty(a,"data",{value:s})}}function td(a){a.data.datasets.forEach(s=>{ed(s)})}var nd={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(a,s,o)=>{if(!o.enabled)return void td(a);const l=a.width;a.data.datasets.forEach((d,f)=>{const{_data:_,indexAxis:M}=d,R=a.getDatasetMeta(f),L=_||d.data;if("y"===$i([M,a.options.indexAxis])||"line"!==R.type)return;const G=a.scales[R.xAxisID];if("linear"!==G.type&&"time"!==G.type||a.options.parsing)return;let ot,{start:ne,count:ae}=function(a,s){const o=s.length;let d,l=0;const{iScale:f}=a,{min:_,max:M,minDefined:R,maxDefined:L}=f.getUserBounds();return R&&(l=W(Y(s,f.axis,_).lo,0,o-1)),d=L?W(Y(s,f.axis,M).hi+1,l,o)-l:o-l,{start:l,count:d}}(R,L);if(ae<=(o.threshold||4*l))ed(d);else{switch(Pe(_)&&(d._data=L,delete d.data,Object.defineProperty(d,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(wt){this._data=wt}})),o.algorithm){case"lttb":ot=function(a,s,o,l,d){const f=d.samples||l;if(f>=o)return a.slice(s,s+o);const _=[],M=(o-2)/(f-2);let R=0;const L=s+o-1;let ne,ae,Re,ot,wt,G=s;for(_[R++]=a[G],ne=0;ne<f-2;ne++){let Rt,_t=0,It=0;const Tn=Math.floor((ne+1)*M)+1+s,vn=Math.min(Math.floor((ne+2)*M)+1,o)+s,rn=vn-Tn;for(Rt=Tn;Rt<vn;Rt++)_t+=a[Rt].x,It+=a[Rt].y;_t/=rn,It/=rn;const kn=Math.floor(ne*M)+1+s,Fn=Math.min(Math.floor((ne+1)*M)+1,o)+s,{x:Ln,y:ri}=a[G];for(Re=ot=-1,Rt=kn;Rt<Fn;Rt++)ot=.5*Math.abs((Ln-_t)*(a[Rt].y-ri)-(Ln-a[Rt].x)*(It-ri)),ot>Re&&(Re=ot,ae=a[Rt],wt=Rt);_[R++]=ae,G=wt}return _[R++]=a[L],_}(L,ne,ae,l,o);break;case"min-max":ot=function(a,s,o,l){let _,M,R,L,G,ne,ae,Re,ot,wt,d=0,f=0;const _t=[],Rt=a[s].x,vn=a[s+o-1].x-Rt;for(_=s;_<s+o;++_){M=a[_],R=(M.x-Rt)/vn*l,L=M.y;const rn=0|R;if(rn===G)L<ot?(ot=L,ne=_):L>wt&&(wt=L,ae=_),d=(f*d+M.x)/++f;else{const kn=_-1;if(!Pe(ne)&&!Pe(ae)){const Fn=Math.min(ne,ae),Ln=Math.max(ne,ae);Fn!==Re&&Fn!==kn&&_t.push({...a[Fn],x:d}),Ln!==Re&&Ln!==kn&&_t.push({...a[Ln],x:d})}_>0&&kn!==Re&&_t.push(a[kn]),_t.push(M),G=rn,f=0,ot=wt=L,ne=ae=Re=_}}return _t}(L,ne,ae,l);break;default:throw new Error(`Unsupported decimation algorithm '${o.algorithm}'`)}d._decimated=ot}})},destroy(a){td(a)}};function Mh(a,s,o){const l=function(a){const s=a.options,o=s.fill;let l=Ue(o&&o.target,o);return void 0===l&&(l=!!s.backgroundColor),!1!==l&&null!==l&&(!0===l?"origin":l)}(a);if(dt(l))return!isNaN(l.value)&&l;let d=parseFloat(l);return st(d)&&Math.floor(d)===d?(("-"===l[0]||"+"===l[0])&&(d=s+d),!(d===s||d<0||d>=o)&&d):["origin","start","end","stack","shape"].indexOf(l)>=0&&l}class Sh{constructor(s){this.x=s.x,this.y=s.y,this.radius=s.radius}pathSegment(s,o,l){const{x:d,y:f,radius:_}=this;return s.arc(d,f,_,(o=o||{start:0,end:tt}).end,o.start,!0),!l.bounds}interpolate(s){const{x:o,y:l,radius:d}=this,f=s.angle;return{x:o+Math.cos(f)*d,y:l+Math.sin(f)*d,angle:f}}}function eu(a,s,o){for(;s>a;s--){const l=o[s];if(!isNaN(l.x)&&!isNaN(l.y))break}return s}const id=a=>"line"===a.type&&!a.hidden;function sd(a,s,o){const l=[];for(let d=0;d<o.length;d++){const f=o[d],{first:_,last:M,point:R}=cg(f,s,"x");if(!(!R||_&&M))if(_)l.unshift(R);else if(a.push(R),!M)break}a.push(...l)}function cg(a,s,o){const l=a.interpolate(s,o);if(!l)return{};const d=l[o],f=a.segments,_=a.points;let M=!1,R=!1;for(let L=0;L<f.length;L++){const G=f[L],ne=_[G.start][o],ae=_[G.end][o];if(d>=ne&&d<=ae){M=d===ne,R=d===ae;break}}return{first:M,last:R,point:l}}function Oh(a,s){let o=[],l=!1;return ut(a)?(l=!0,o=a):o=function(a,s){const{x:o=null,y:l=null}=a||{},d=s.points,f=[];return s.segments.forEach(({start:_,end:M})=>{M=eu(_,M,d);const R=d[_],L=d[M];null!==l?(f.push({x:R.x,y:l}),f.push({x:L.x,y:l})):null!==o&&(f.push({x:o,y:R.y}),f.push({x:o,y:L.y}))}),f}(a,s),o.length?new Za({points:o,options:{tension:0},_loop:l,_fullLoop:l}):null}function tu(a,s,o){let d=a[s].fill;const f=[s];let _;if(!o)return d;for(;!1!==d&&-1===f.indexOf(d);){if(!st(d))return d;if(_=a[d],!_)return!1;if(_.visible)return d;f.push(d),d=_.fill}return!1}function oc(a,s,o){a.beginPath(),s.path(a),a.lineTo(s.last().x,o),a.lineTo(s.first().x,o),a.closePath(),a.clip()}function Al(a,s,o,l){if(l)return;let d=s[a],f=o[a];return"angle"===a&&(d=me(d),f=me(f)),{property:a,start:d,end:f}}function kh(a,s,o,l){return a&&s?l(a[o],s[o]):a?a[o]:s?s[o]:0}function rd(a,s,o){const{top:l,bottom:d}=s.chart.chartArea,{property:f,start:_,end:M}=o||{};"x"===f&&(a.beginPath(),a.rect(_,l,M-_,d-l),a.clip())}function ad(a,s,o,l){const d=s.interpolate(o,l);d&&a.lineTo(d.x,d.y)}function ld(a,s){const{line:o,target:l,property:d,color:f,scale:_}=s,M=function(a,s,o){const l=a.segments,d=a.points,f=s.points,_=[];for(const M of l){let{start:R,end:L}=M;L=eu(R,L,d);const G=Al(o,d[R],d[L],M.loop);if(!s.segments){_.push({source:M,target:G,start:d[R],end:d[L]});continue}const ne=mo(s,G);for(const ae of ne){const Re=Al(o,f[ae.start],f[ae.end],ae.loop),ot=Tr(M,d,Re);for(const wt of ot)_.push({source:wt,target:ae,start:{[o]:kh(G,Re,"start",Math.max)},end:{[o]:kh(G,Re,"end",Math.min)}})}}return _}(o,l,d);for(const{source:R,target:L,start:G,end:ne}of M){const{style:{backgroundColor:ae=f}={}}=R,Re=!0!==l;a.save(),a.fillStyle=ae,rd(a,_,Re&&Al(d,G,ne)),a.beginPath();const ot=!!o.pathSegment(a,R);let wt;if(Re){ot?a.closePath():ad(a,l,ne,d);const _t=!!l.pathSegment(a,L,{move:ot,reverse:!0});wt=ot&&_t,wt||ad(a,l,G,d)}a.closePath(),a.fill(wt?"evenodd":"nonzero"),a.restore()}}function nu(a,s,o){const l=function(a){const{chart:s,fill:o,line:l}=a;if(st(o))return function(a,s){const o=a.getDatasetMeta(s);return o&&a.isDatasetVisible(s)?o.dataset:null}(s,o);if("stack"===o)return function(a){const{chart:s,scale:o,index:l,line:d}=a,f=[],_=d.segments,M=d.points,R=function(a,s){const o=[],l=a.getSortedVisibleDatasetMetas();for(let d=0;d<l.length;d++){const f=l[d];if(f.index===s)break;id(f)&&o.unshift(f.dataset)}return o}(s,l);R.push(Oh({x:null,y:o.bottom},d));for(let L=0;L<_.length;L++){const G=_[L];for(let ne=G.start;ne<=G.end;ne++)sd(f,M[ne],R)}return new Za({points:f,options:{}})}(a);if("shape"===o)return!0;const d=function(a){return(a.scale||{}).getPointPositionForValue?function(a){const{scale:s,fill:o}=a,l=s.options,d=s.getLabels().length,f=[],_=l.reverse?s.max:s.min;let R,L,G;if(G="start"===o?_:"end"===o?l.reverse?s.min:s.max:dt(o)?o.value:s.getBaseValue(),l.grid.circular)return L=s.getPointPositionForValue(0,_),new Sh({x:L.x,y:L.y,radius:s.getDistanceFromCenterForValue(G)});for(R=0;R<d;++R)f.push(s.getPointPositionForValue(R,G));return f}(a):function(a){const{scale:s={},fill:o}=a;let d,l=null;return"start"===o?l=s.bottom:"end"===o?l=s.top:dt(o)?l=s.getPixelForValue(o.value):s.getBasePixel&&(l=s.getBasePixel()),st(l)?(d=s.isHorizontal(),{x:d?l:null,y:d?null:l}):null}(a)}(a);return d instanceof Sh?d:Oh(d,l)}(s),{line:d,scale:f,axis:_}=s,M=d.options,R=M.fill,L=M.backgroundColor,{above:G=L,below:ne=L}=R||{};l&&d.points.length&&(Yn(a,o),function(a,s){const{line:o,target:l,above:d,below:f,area:_,scale:M}=s,R=o._loop?"angle":s.axis;a.save(),"x"===R&&f!==d&&(oc(a,l,_.top),ld(a,{line:o,target:l,color:d,scale:M,property:R}),a.restore(),a.save(),oc(a,l,_.bottom)),ld(a,{line:o,target:l,color:f,scale:M,property:R}),a.restore()}(a,{line:d,target:l,above:G,below:ne,area:o,scale:f,axis:_}),Li(a))}var cd={id:"filler",afterDatasetsUpdate(a,s,o){const l=(a.data.datasets||[]).length,d=[];let f,_,M,R;for(_=0;_<l;++_)f=a.getDatasetMeta(_),M=f.dataset,R=null,M&&M.options&&M instanceof Za&&(R={visible:a.isDatasetVisible(_),index:_,fill:Mh(M,_,l),chart:a,axis:f.controller.options.indexAxis,scale:f.vScale,line:M}),f.$filler=R,d.push(R);for(_=0;_<l;++_)R=d[_],R&&!1!==R.fill&&(R.fill=tu(d,_,o.propagate))},beforeDraw(a,s,o){const l="beforeDraw"===o.drawTime,d=a.getSortedVisibleDatasetMetas(),f=a.chartArea;for(let _=d.length-1;_>=0;--_){const M=d[_].$filler;!M||(M.line.updateControlPoints(f,M.axis),l&&nu(a.ctx,M,f))}},beforeDatasetsDraw(a,s,o){if("beforeDatasetsDraw"!==o.drawTime)return;const l=a.getSortedVisibleDatasetMetas();for(let d=l.length-1;d>=0;--d){const f=l[d].$filler;f&&nu(a.ctx,f,a.chartArea)}},beforeDatasetDraw(a,s,o){const l=s.meta.$filler;!l||!1===l.fill||"beforeDatasetDraw"!==o.drawTime||nu(a.ctx,l,a.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Rl=(a,s)=>{let{boxHeight:o=s,boxWidth:l=s}=a;return a.usePointStyle&&(o=Math.min(o,s),l=Math.min(l,s)),{boxWidth:l,boxHeight:o,itemHeight:Math.max(s,o)}};class sc extends br{constructor(s){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=s.chart,this.options=s.options,this.ctx=s.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(s,o,l){const d=this;d.maxWidth=s,d.maxHeight=o,d._margins=l,d.setDimensions(),d.buildLabels(),d.fit()}setDimensions(){const s=this;s.isHorizontal()?(s.width=s.maxWidth,s.left=s._margins.left,s.right=s.width):(s.height=s.maxHeight,s.top=s._margins.top,s.bottom=s.height)}buildLabels(){const s=this,o=s.options.labels||{};let l=je(o.generateLabels,[s.chart],s)||[];o.filter&&(l=l.filter(d=>o.filter(d,s.chart.data))),o.sort&&(l=l.sort((d,f)=>o.sort(d,f,s.chart.data))),s.options.reverse&&l.reverse(),s.legendItems=l}fit(){const s=this,{options:o,ctx:l}=s;if(!o.display)return void(s.width=s.height=0);const d=o.labels,f=Ki(d.font),_=f.size,M=s._computeTitleHeight(),{boxWidth:R,itemHeight:L}=Rl(d,_);let G,ne;l.font=f.string,s.isHorizontal()?(G=s.maxWidth,ne=s._fitRows(M,_,R,L)+10):(ne=s.maxHeight,G=s._fitCols(M,_,R,L)+10),s.width=Math.min(G,o.maxWidth||s.maxWidth),s.height=Math.min(ne,o.maxHeight||s.maxHeight)}_fitRows(s,o,l,d){const f=this,{ctx:_,maxWidth:M,options:{labels:{padding:R}}}=f,L=f.legendHitBoxes=[],G=f.lineWidths=[0],ne=d+R;let ae=s;_.textAlign="left",_.textBaseline="middle";let Re=-1,ot=-ne;return f.legendItems.forEach((wt,_t)=>{const It=l+o/2+_.measureText(wt.text).width;(0===_t||G[G.length-1]+It+2*R>M)&&(ae+=ne,G[G.length-(_t>0?0:1)]=0,ot+=ne,Re++),L[_t]={left:0,top:ot,row:Re,width:It,height:d},G[G.length-1]+=It+R}),ae}_fitCols(s,o,l,d){const f=this,{ctx:_,maxHeight:M,options:{labels:{padding:R}}}=f,L=f.legendHitBoxes=[],G=f.columnSizes=[],ne=M-s;let ae=R,Re=0,ot=0,wt=0,_t=0;return f.legendItems.forEach((It,Rt)=>{const Tn=l+o/2+_.measureText(It.text).width;Rt>0&&ot+d+2*R>ne&&(ae+=Re+R,G.push({width:Re,height:ot}),wt+=Re+R,_t++,Re=ot=0),L[Rt]={left:wt,top:ot,col:_t,width:Tn,height:d},Re=Math.max(Re,Tn),ot+=d+R}),ae+=Re,G.push({width:Re,height:ot}),ae}adjustHitBoxes(){const s=this;if(!s.options.display)return;const o=s._computeTitleHeight(),{legendHitBoxes:l,options:{align:d,labels:{padding:f},rtl:_}}=s,M=Us(_,s.left,s.width);if(this.isHorizontal()){let R=0,L=ge(d,s.left+f,s.right-s.lineWidths[R]);for(const G of l)R!==G.row&&(R=G.row,L=ge(d,s.left+f,s.right-s.lineWidths[R])),G.top+=s.top+o+f,G.left=M.leftForLtr(M.x(L),G.width),L+=G.width+f}else{let R=0,L=ge(d,s.top+o+f,s.bottom-s.columnSizes[R].height);for(const G of l)G.col!==R&&(R=G.col,L=ge(d,s.top+o+f,s.bottom-s.columnSizes[R].height)),G.top=L,G.left+=s.left+f,G.left=M.leftForLtr(M.x(G.left),G.width),L+=G.height+f}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){const s=this;if(s.options.display){const o=s.ctx;Yn(o,s),s._draw(),Li(o)}}_draw(){const s=this,{options:o,columnSizes:l,lineWidths:d,ctx:f}=s,{align:_,labels:M}=o,R=oe.color,L=Us(o.rtl,s.left,s.width),G=Ki(M.font),{color:ne,padding:ae}=M,Re=G.size,ot=Re/2;let wt;s.drawTitle(),f.textAlign=L.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.font=G.string;const{boxWidth:_t,boxHeight:It,itemHeight:Rt}=Rl(M,Re),rn=s.isHorizontal(),kn=this._computeTitleHeight();wt=rn?{x:ge(_,s.left+ae,s.right-d[0]),y:s.top+ae+kn,line:0}:{x:s.left+ae,y:ge(_,s.top+kn+ae,s.bottom-l[0].height),line:0},Zo(s.ctx,o.textDirection);const Fn=Rt+ae;s.legendItems.forEach((Ln,ri)=>{f.strokeStyle=Ln.fontColor||ne,f.fillStyle=Ln.fontColor||ne;const to=f.measureText(Ln.text).width,Gi=L.textAlign(Ln.textAlign||(Ln.textAlign=M.textAlign)),Ho=_t+ot+to;let ji=wt.x,ss=wt.y;L.setWidth(s.width),rn?ri>0&&ji+Ho+ae>s.right&&(ss=wt.y+=Fn,wt.line++,ji=wt.x=ge(_,s.left+ae,s.right-d[wt.line])):ri>0&&ss+Fn>s.bottom&&(ji=wt.x=ji+l[wt.line].width+ae,wt.line++,ss=wt.y=ge(_,s.top+kn+ae,s.bottom-l[wt.line].height)),function(Ln,ri,to){if(isNaN(_t)||_t<=0||isNaN(It)||It<0)return;f.save();const Gi=Ue(to.lineWidth,1);if(f.fillStyle=Ue(to.fillStyle,R),f.lineCap=Ue(to.lineCap,"butt"),f.lineDashOffset=Ue(to.lineDashOffset,0),f.lineJoin=Ue(to.lineJoin,"miter"),f.lineWidth=Gi,f.strokeStyle=Ue(to.strokeStyle,R),f.setLineDash(Ue(to.lineDash,[])),M.usePointStyle){const Ho={radius:_t*Math.SQRT2/2,pointStyle:to.pointStyle,rotation:to.rotation,borderWidth:Gi},ji=L.xPlus(Ln,_t/2);Hn(f,Ho,ji,ri+ot)}else{const Ho=ri+Math.max((Re-It)/2,0),ji=L.leftForLtr(Ln,_t),ss=ho(to.borderRadius);f.beginPath(),Object.values(ss).some(Ps=>0!==Ps)?So(f,{x:ji,y:Ho,w:_t,h:It,radius:ss}):f.rect(ji,Ho,_t,It),f.fill(),0!==Gi&&f.stroke()}f.restore()}(L.x(ji),ss,Ln),ji=((a,s,o,l)=>a===(l?"left":"right")?o:"center"===a?(s+o)/2:s)(Gi,ji+_t+ot,rn?ji+Ho:s.right,o.rtl),function(Ln,ri,to){Ni(f,to.text,Ln,ri+Rt/2,G,{strikethrough:to.hidden,textAlign:L.textAlign(to.textAlign)})}(L.x(ji),ss,Ln),rn?wt.x+=Ho+ae:wt.y+=Fn}),Lr(s.ctx,o.textDirection)}drawTitle(){const s=this,o=s.options,l=o.title,d=Ki(l.font),f=ki(l.padding);if(!l.display)return;const _=Us(o.rtl,s.left,s.width),M=s.ctx,R=l.position,G=f.top+d.size/2;let ne,ae=s.left,Re=s.width;if(this.isHorizontal())Re=Math.max(...s.lineWidths),ne=s.top+G,ae=ge(o.align,ae,s.right-Re);else{const wt=s.columnSizes.reduce((_t,It)=>Math.max(_t,It.height),0);ne=G+ge(o.align,s.top,s.bottom-wt-o.labels.padding-s._computeTitleHeight())}const ot=ge(R,ae,ae+Re);M.textAlign=_.textAlign(de(R)),M.textBaseline="middle",M.strokeStyle=l.color,M.fillStyle=l.color,M.font=d.string,Ni(M,l.text,ot,ne,d)}_computeTitleHeight(){const s=this.options.title,o=Ki(s.font),l=ki(s.padding);return s.display?o.lineHeight+l.height:0}_getLegendItemAt(s,o){const l=this;let d,f,_;if(s>=l.left&&s<=l.right&&o>=l.top&&o<=l.bottom)for(_=l.legendHitBoxes,d=0;d<_.length;++d)if(f=_[d],s>=f.left&&s<=f.left+f.width&&o>=f.top&&o<=f.top+f.height)return l.legendItems[d];return null}handleEvent(s){const o=this,l=o.options;if(!function(a,s){return!!("mousemove"===a&&(s.onHover||s.onLeave)||s.onClick&&("click"===a||"mouseup"===a))}(s.type,l))return;const d=o._getLegendItemAt(s.x,s.y);if("mousemove"===s.type){const f=o._hoveredItem,_=((a,s)=>null!==a&&null!==s&&a.datasetIndex===s.datasetIndex&&a.index===s.index)(f,d);f&&!_&&je(l.onLeave,[s,f,o],o),o._hoveredItem=d,d&&!_&&je(l.onHover,[s,d,o],o)}else d&&je(l.onClick,[s,d,o],o)}}var Yo={id:"legend",_element:sc,start(a,s,o){const l=a.legend=new sc({ctx:a.ctx,options:o,chart:a});le.configure(a,l,o),le.addBox(a,l)},stop(a){le.removeBox(a,a.legend),delete a.legend},beforeUpdate(a,s,o){const l=a.legend;le.configure(a,l,o),l.options=o},afterUpdate(a){const s=a.legend;s.buildLabels(),s.adjustHitBoxes()},afterEvent(a,s){s.replay||a.legend.handleEvent(s.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(a,s,o){const l=s.datasetIndex,d=o.chart;d.isDatasetVisible(l)?(d.hide(l),s.hidden=!0):(d.show(l),s.hidden=!1)},onHover:null,onLeave:null,labels:{color:a=>a.chart.options.color,boxWidth:40,padding:10,generateLabels(a){const s=a.data.datasets,{labels:{usePointStyle:o,pointStyle:l,textAlign:d,color:f}}=a.legend.options;return a._getSortedDatasetMetas().map(_=>{const M=_.controller.getStyle(o?0:void 0),R=ki(M.borderWidth);return{text:s[_.index].label,fillStyle:M.backgroundColor,fontColor:f,hidden:!_.visible,lineCap:M.borderCapStyle,lineDash:M.borderDash,lineDashOffset:M.borderDashOffset,lineJoin:M.borderJoinStyle,lineWidth:(R.width+R.height)/4,strokeStyle:M.borderColor,pointStyle:l||M.pointStyle,rotation:M.rotation,textAlign:d||M.textAlign,borderRadius:0,datasetIndex:_.index}},this)}},title:{color:a=>a.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:a=>!a.startsWith("on"),labels:{_scriptable:a=>!["generateLabels","filter","sort"].includes(a)}}};class rc extends br{constructor(s){super(),this.chart=s.chart,this.options=s.options,this.ctx=s.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(s,o){const l=this,d=l.options;if(l.left=0,l.top=0,!d.display)return void(l.width=l.height=l.right=l.bottom=0);l.width=l.right=s,l.height=l.bottom=o;const f=ut(d.text)?d.text.length:1;l._padding=ki(d.padding);const _=f*Ki(d.font).lineHeight+l._padding.height;l.isHorizontal()?l.height=_:l.width=_}isHorizontal(){const s=this.options.position;return"top"===s||"bottom"===s}_drawArgs(s){const{top:o,left:l,bottom:d,right:f,options:_}=this,M=_.align;let L,G,ne,R=0;return this.isHorizontal()?(G=ge(M,l,f),ne=o+s,L=f-l):("left"===_.position?(G=l+s,ne=ge(M,d,o),R=-.5*sn):(G=f-s,ne=ge(M,o,d),R=.5*sn),L=d-o),{titleX:G,titleY:ne,maxWidth:L,rotation:R}}draw(){const s=this,o=s.ctx,l=s.options;if(!l.display)return;const d=Ki(l.font),_=d.lineHeight/2+s._padding.top,{titleX:M,titleY:R,maxWidth:L,rotation:G}=s._drawArgs(_);Ni(o,l.text,0,0,d,{color:l.color,maxWidth:L,rotation:G,textAlign:de(l.align),textBaseline:"middle",translation:[M,R]})}}var iu={id:"title",_element:rc,start(a,s,o){!function(a,s){const o=new rc({ctx:a.ctx,options:s,chart:a});le.configure(a,o,s),le.addBox(a,o),a.titleBlock=o}(a,o)},stop(a){le.removeBox(a,a.titleBlock),delete a.titleBlock},beforeUpdate(a,s,o){const l=a.titleBlock;le.configure(a,l,o),l.options=o},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Fl=new WeakMap;var Rh={id:"subtitle",start(a,s,o){const l=new rc({ctx:a.ctx,options:o,chart:a});le.configure(a,l,o),le.addBox(a,l),Fl.set(a,l)},stop(a){le.removeBox(a,Fl.get(a)),Fl.delete(a)},beforeUpdate(a,s,o){const l=Fl.get(a);le.configure(a,l,o),l.options=o},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ll={average(a){if(!a.length)return!1;let s,o,l=0,d=0,f=0;for(s=0,o=a.length;s<o;++s){const _=a[s].element;if(_&&_.hasValue()){const M=_.tooltipPosition();l+=M.x,d+=M.y,++f}}return{x:l/f,y:d/f}},nearest(a,s){if(!a.length)return!1;let f,_,M,o=s.x,l=s.y,d=Number.POSITIVE_INFINITY;for(f=0,_=a.length;f<_;++f){const R=a[f].element;if(R&&R.hasValue()){const G=Pt(s,R.getCenterPoint());G<d&&(d=G,M=R)}}if(M){const R=M.tooltipPosition();o=R.x,l=R.y}return{x:o,y:l}}};function Gr(a,s){return s&&(ut(s)?Array.prototype.push.apply(a,s):a.push(s)),a}function aa(a){return("string"==typeof a||a instanceof String)&&a.indexOf("\n")>-1?a.split("\n"):a}function Fh(a,s){const{element:o,datasetIndex:l,index:d}=s,f=a.getDatasetMeta(l).controller,{label:_,value:M}=f.getLabelAndValue(d);return{chart:a,label:_,parsed:f.getParsed(d),raw:a.data.datasets[l].data[d],formattedValue:M,dataset:f.getDataset(),dataIndex:d,datasetIndex:l,element:o}}function Lh(a,s){const o=a._chart.ctx,{body:l,footer:d,title:f}=a,{boxWidth:_,boxHeight:M}=s,R=Ki(s.bodyFont),L=Ki(s.titleFont),G=Ki(s.footerFont),ne=f.length,ae=d.length,Re=l.length,ot=ki(s.padding);let wt=ot.height,_t=0,It=l.reduce((vn,rn)=>vn+rn.before.length+rn.lines.length+rn.after.length,0);It+=a.beforeBody.length+a.afterBody.length,ne&&(wt+=ne*L.lineHeight+(ne-1)*s.titleSpacing+s.titleMarginBottom),It&&(wt+=Re*(s.displayColors?Math.max(M,R.lineHeight):R.lineHeight)+(It-Re)*R.lineHeight+(It-1)*s.bodySpacing),ae&&(wt+=s.footerMarginTop+ae*G.lineHeight+(ae-1)*s.footerSpacing);let Rt=0;const Tn=function(vn){_t=Math.max(_t,o.measureText(vn).width+Rt)};return o.save(),o.font=L.string,Qe(a.title,Tn),o.font=R.string,Qe(a.beforeBody.concat(a.afterBody),Tn),Rt=s.displayColors?_+2:0,Qe(l,vn=>{Qe(vn.before,Tn),Qe(vn.lines,Tn),Qe(vn.after,Tn)}),Rt=0,o.font=G.string,Qe(a.footer,Tn),o.restore(),_t+=ot.width,{width:_t,height:wt}}function Hs(a,s,o,l){const{x:d,width:f}=o,{width:_,chartArea:{left:M,right:R}}=a;let L="center";return"center"===l?L=d<=(M+R)/2?"left":"right":d<=f/2?L="left":d>=_-f/2&&(L="right"),function(a,s,o,l){const{x:d,width:f}=l,_=o.caretSize+o.caretPadding;if("left"===a&&d+f+_>s.width||"right"===a&&d-f-_<0)return!0}(L,a,s,o)&&(L="center"),L}function ac(a,s,o){const l=s.yAlign||function(a,s){const{y:o,height:l}=s;return o<l/2?"top":o>a.height-l/2?"bottom":"center"}(a,o);return{xAlign:s.xAlign||Hs(a,s,o,l),yAlign:l}}function xs(a,s,o,l){const{caretSize:d,caretPadding:f,cornerRadius:_}=a,{xAlign:M,yAlign:R}=o,L=d+f,G=_+f;let ne=function(a,s){let{x:o,width:l}=a;return"right"===s?o-=l:"center"===s&&(o-=l/2),o}(s,M);const ae=function(a,s,o){let{y:l,height:d}=a;return"top"===s?l+=o:l-="bottom"===s?d+o:d/2,l}(s,R,L);return"center"===R?"left"===M?ne+=L:"right"===M&&(ne-=L):"left"===M?ne-=G:"right"===M&&(ne+=G),{x:W(ne,0,l.width-s.width),y:W(ae,0,l.height-s.height)}}function Pa(a,s,o){const l=ki(o.padding);return"center"===s?a.x+a.width/2:"right"===s?a.x+a.width-l.right:a.x+l.left}function lc(a){return Gr([],aa(a))}function pd(a,s){const o=s&&s.dataset&&s.dataset.tooltip&&s.dataset.tooltip.callbacks;return o?a.override(o):a}let ou=(()=>{class a extends br{constructor(o){super(),this.opacity=0,this._active=[],this._chart=o._chart,this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.options=o.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(o){this.options=o,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const o=this,l=o._cachedAnimations;if(l)return l;const d=o._chart,f=o.options.setContext(o.getContext()),_=f.enabled&&d.options.animation&&f.animations,M=new er(o._chart,_);return _._cacheable&&(o._cachedAnimations=Object.freeze(M)),M}getContext(){const o=this;return o.$context||(o.$context=function(a,s,o){return Object.assign(Object.create(a),{tooltip:s,tooltipItems:o,type:"tooltip"})}(o._chart.getContext(),o,o._tooltipItems))}getTitle(o,l){const d=this,{callbacks:f}=l,_=f.beforeTitle.apply(d,[o]),M=f.title.apply(d,[o]),R=f.afterTitle.apply(d,[o]);let L=[];return L=Gr(L,aa(_)),L=Gr(L,aa(M)),L=Gr(L,aa(R)),L}getBeforeBody(o,l){return lc(l.callbacks.beforeBody.apply(this,[o]))}getBody(o,l){const d=this,{callbacks:f}=l,_=[];return Qe(o,M=>{const R={before:[],lines:[],after:[]},L=pd(f,M);Gr(R.before,aa(L.beforeLabel.call(d,M))),Gr(R.lines,L.label.call(d,M)),Gr(R.after,aa(L.afterLabel.call(d,M))),_.push(R)}),_}getAfterBody(o,l){return lc(l.callbacks.afterBody.apply(this,[o]))}getFooter(o,l){const d=this,{callbacks:f}=l,_=f.beforeFooter.apply(d,[o]),M=f.footer.apply(d,[o]),R=f.afterFooter.apply(d,[o]);let L=[];return L=Gr(L,aa(_)),L=Gr(L,aa(M)),L=Gr(L,aa(R)),L}_createItems(o){const l=this,d=l._active,f=l._chart.data,_=[],M=[],R=[];let G,ne,L=[];for(G=0,ne=d.length;G<ne;++G)L.push(Fh(l._chart,d[G]));return o.filter&&(L=L.filter((ae,Re,ot)=>o.filter(ae,Re,ot,f))),o.itemSort&&(L=L.sort((ae,Re)=>o.itemSort(ae,Re,f))),Qe(L,ae=>{const Re=pd(o.callbacks,ae);_.push(Re.labelColor.call(l,ae)),M.push(Re.labelPointStyle.call(l,ae)),R.push(Re.labelTextColor.call(l,ae))}),l.labelColors=_,l.labelPointStyles=M,l.labelTextColors=R,l.dataPoints=L,L}update(o,l){const d=this,f=d.options.setContext(d.getContext()),_=d._active;let M,R=[];if(_.length){const L=Ll[f.position].call(d,_,d._eventPosition);R=d._createItems(f),d.title=d.getTitle(R,f),d.beforeBody=d.getBeforeBody(R,f),d.body=d.getBody(R,f),d.afterBody=d.getAfterBody(R,f),d.footer=d.getFooter(R,f);const G=d._size=Lh(d,f),ne=Object.assign({},L,G),ae=ac(d._chart,f,ne),Re=xs(f,ne,ae,d._chart);d.xAlign=ae.xAlign,d.yAlign=ae.yAlign,M={opacity:1,x:Re.x,y:Re.y,width:G.width,height:G.height,caretX:L.x,caretY:L.y}}else 0!==d.opacity&&(M={opacity:0});d._tooltipItems=R,d.$context=void 0,M&&d._resolveAnimations().update(d,M),o&&f.external&&f.external.call(d,{chart:d._chart,tooltip:d,replay:l})}drawCaret(o,l,d,f){const _=this.getCaretPosition(o,d,f);l.lineTo(_.x1,_.y1),l.lineTo(_.x2,_.y2),l.lineTo(_.x3,_.y3)}getCaretPosition(o,l,d){const{xAlign:f,yAlign:_}=this,{cornerRadius:M,caretSize:R}=d,{x:L,y:G}=o,{width:ne,height:ae}=l;let Re,ot,wt,_t,It,Rt;return"center"===_?(It=G+ae/2,"left"===f?(Re=L,ot=Re-R,_t=It+R,Rt=It-R):(Re=L+ne,ot=Re+R,_t=It-R,Rt=It+R),wt=Re):(ot="left"===f?L+M+R:"right"===f?L+ne-M-R:this.caretX,"top"===_?(_t=G,It=_t-R,Re=ot-R,wt=ot+R):(_t=G+ae,It=_t+R,Re=ot+R,wt=ot-R),Rt=_t),{x1:Re,x2:ot,x3:wt,y1:_t,y2:It,y3:Rt}}drawTitle(o,l,d){const f=this,_=f.title,M=_.length;let R,L,G;if(M){const ne=Us(d.rtl,f.x,f.width);for(o.x=Pa(f,d.titleAlign,d),l.textAlign=ne.textAlign(d.titleAlign),l.textBaseline="middle",R=Ki(d.titleFont),L=d.titleSpacing,l.fillStyle=d.titleColor,l.font=R.string,G=0;G<M;++G)l.fillText(_[G],ne.x(o.x),o.y+R.lineHeight/2),o.y+=R.lineHeight+L,G+1===M&&(o.y+=d.titleMarginBottom-L)}}_drawColorBox(o,l,d,f,_){const M=this,R=M.labelColors[d],L=M.labelPointStyles[d],{boxHeight:G,boxWidth:ne}=_,ae=Ki(_.bodyFont),Re=Pa(M,"left",_),ot=f.x(Re),_t=l.y+(G<ae.lineHeight?(ae.lineHeight-G)/2:0);if(_.usePointStyle){const It={radius:Math.min(ne,G)/2,pointStyle:L.pointStyle,rotation:L.rotation,borderWidth:1},Rt=f.leftForLtr(ot,ne)+ne/2,Tn=_t+G/2;o.strokeStyle=_.multiKeyBackground,o.fillStyle=_.multiKeyBackground,Hn(o,It,Rt,Tn),o.strokeStyle=R.borderColor,o.fillStyle=R.backgroundColor,Hn(o,It,Rt,Tn)}else{o.lineWidth=R.borderWidth||1,o.strokeStyle=R.borderColor,o.setLineDash(R.borderDash||[]),o.lineDashOffset=R.borderDashOffset||0;const It=f.leftForLtr(ot,ne),Rt=f.leftForLtr(f.xPlus(ot,1),ne-2),Tn=ho(R.borderRadius);Object.values(Tn).some(vn=>0!==vn)?(o.beginPath(),o.fillStyle=_.multiKeyBackground,So(o,{x:It,y:_t,w:ne,h:G,radius:Tn}),o.fill(),o.stroke(),o.fillStyle=R.backgroundColor,o.beginPath(),So(o,{x:Rt,y:_t+1,w:ne-2,h:G-2,radius:Tn}),o.fill()):(o.fillStyle=_.multiKeyBackground,o.fillRect(It,_t,ne,G),o.strokeRect(It,_t,ne,G),o.fillStyle=R.backgroundColor,o.fillRect(Rt,_t+1,ne-2,G-2))}o.fillStyle=M.labelTextColors[d]}drawBody(o,l,d){const f=this,{body:_}=f,{bodySpacing:M,bodyAlign:R,displayColors:L,boxHeight:G,boxWidth:ne}=d,ae=Ki(d.bodyFont);let Re=ae.lineHeight,ot=0;const wt=Us(d.rtl,f.x,f.width),_t=function(ri){l.fillText(ri,wt.x(o.x+ot),o.y+Re/2),o.y+=Re+M},It=wt.textAlign(R);let Rt,Tn,vn,rn,kn,Fn,Ln;for(l.textAlign=R,l.textBaseline="middle",l.font=ae.string,o.x=Pa(f,It,d),l.fillStyle=d.bodyColor,Qe(f.beforeBody,_t),ot=L&&"right"!==It?"center"===R?ne/2+1:ne+2:0,rn=0,Fn=_.length;rn<Fn;++rn){for(Rt=_[rn],Tn=f.labelTextColors[rn],l.fillStyle=Tn,Qe(Rt.before,_t),vn=Rt.lines,L&&vn.length&&(f._drawColorBox(l,o,rn,wt,d),Re=Math.max(ae.lineHeight,G)),kn=0,Ln=vn.length;kn<Ln;++kn)_t(vn[kn]),Re=ae.lineHeight;Qe(Rt.after,_t)}ot=0,Re=ae.lineHeight,Qe(f.afterBody,_t),o.y-=M}drawFooter(o,l,d){const f=this,_=f.footer,M=_.length;let R,L;if(M){const G=Us(d.rtl,f.x,f.width);for(o.x=Pa(f,d.footerAlign,d),o.y+=d.footerMarginTop,l.textAlign=G.textAlign(d.footerAlign),l.textBaseline="middle",R=Ki(d.footerFont),l.fillStyle=d.footerColor,l.font=R.string,L=0;L<M;++L)l.fillText(_[L],G.x(o.x),o.y+R.lineHeight/2),o.y+=R.lineHeight+d.footerSpacing}}drawBackground(o,l,d,f){const{xAlign:_,yAlign:M}=this,{x:R,y:L}=o,{width:G,height:ne}=d,ae=f.cornerRadius;l.fillStyle=f.backgroundColor,l.strokeStyle=f.borderColor,l.lineWidth=f.borderWidth,l.beginPath(),l.moveTo(R+ae,L),"top"===M&&this.drawCaret(o,l,d,f),l.lineTo(R+G-ae,L),l.quadraticCurveTo(R+G,L,R+G,L+ae),"center"===M&&"right"===_&&this.drawCaret(o,l,d,f),l.lineTo(R+G,L+ne-ae),l.quadraticCurveTo(R+G,L+ne,R+G-ae,L+ne),"bottom"===M&&this.drawCaret(o,l,d,f),l.lineTo(R+ae,L+ne),l.quadraticCurveTo(R,L+ne,R,L+ne-ae),"center"===M&&"left"===_&&this.drawCaret(o,l,d,f),l.lineTo(R,L+ae),l.quadraticCurveTo(R,L,R+ae,L),l.closePath(),l.fill(),f.borderWidth>0&&l.stroke()}_updateAnimationTarget(o){const l=this,d=l._chart,f=l.$animations,_=f&&f.x,M=f&&f.y;if(_||M){const R=Ll[o.position].call(l,l._active,l._eventPosition);if(!R)return;const L=l._size=Lh(l,o),G=Object.assign({},R,l._size),ne=ac(d,o,G),ae=xs(o,G,ne,d);(_._to!==ae.x||M._to!==ae.y)&&(l.xAlign=ne.xAlign,l.yAlign=ne.yAlign,l.width=L.width,l.height=L.height,l.caretX=R.x,l.caretY=R.y,l._resolveAnimations().update(l,ae))}}draw(o){const l=this,d=l.options.setContext(l.getContext());let f=l.opacity;if(!f)return;l._updateAnimationTarget(d);const _={width:l.width,height:l.height},M={x:l.x,y:l.y};f=Math.abs(f)<.001?0:f;const R=ki(d.padding);d.enabled&&(l.title.length||l.beforeBody.length||l.body.length||l.afterBody.length||l.footer.length)&&(o.save(),o.globalAlpha=f,l.drawBackground(M,o,_,d),Zo(o,d.textDirection),M.y+=R.top,l.drawTitle(M,o,d),l.drawBody(M,o,d),l.drawFooter(M,o,d),Lr(o,d.textDirection),o.restore())}getActiveElements(){return this._active||[]}setActiveElements(o,l){const d=this,f=d._active,_=o.map(({datasetIndex:L,index:G})=>{const ne=d._chart.getDatasetMeta(L);if(!ne)throw new Error("Cannot find a dataset at index "+L);return{datasetIndex:L,element:ne.data[G],index:G}}),M=!ue(f,_),R=d._positionChanged(_,l);(M||R)&&(d._active=_,d._eventPosition=l,d.update(!0))}handleEvent(o,l){const d=this,f=d.options,_=d._active||[];let M=!1,R=[];"mouseout"!==o.type&&(R=d._chart.getElementsAtEventForMode(o,f.mode,f,l),f.reverse&&R.reverse());const L=d._positionChanged(R,o);return M=l||!ue(R,_)||L,M&&(d._active=R,(f.enabled||f.external)&&(d._eventPosition={x:o.x,y:o.y},d.update(!0,l))),M}_positionChanged(o,l){const{caretX:d,caretY:f,options:_}=this,M=Ll[_.position].call(this,o,l);return!1!==M&&(d!==M.x||f!==M.y)}}return a.positioners=Ll,a})();var fd=Object.freeze({__proto__:null,Decimation:nd,Filler:cd,Legend:Yo,SubTitle:Rh,Title:iu,Tooltip:{id:"tooltip",_element:ou,positioners:Ll,afterInit(a,s,o){o&&(a.tooltip=new ou({_chart:a,options:o}))},beforeUpdate(a,s,o){a.tooltip&&a.tooltip.initialize(o)},reset(a,s,o){a.tooltip&&a.tooltip.initialize(o)},afterDraw(a){const s=a.tooltip,o={tooltip:s};!1!==a.notifyPlugins("beforeTooltipDraw",o)&&(s&&s.draw(a.ctx),a.notifyPlugins("afterTooltipDraw",o))},afterEvent(a,s){a.tooltip&&a.tooltip.handleEvent(s.event,s.replay)&&(s.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(a,s)=>s.bodyFont.size,boxWidth:(a,s)=>s.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:re,title(a){if(a.length>0){const s=a[0],o=s.chart.data.labels,l=o?o.length:0;if(this&&this.options&&"dataset"===this.options.mode)return s.dataset.label||"";if(s.label)return s.label;if(l>0&&s.dataIndex<l)return o[s.dataIndex]}return""},afterTitle:re,beforeBody:re,beforeLabel:re,label(a){if(this&&this.options&&"dataset"===this.options.mode)return a.label+": "+a.formattedValue||a.formattedValue;let s=a.dataset.label||"";s&&(s+=": ");const o=a.formattedValue;return Pe(o)||(s+=o),s},labelColor(a){const o=a.chart.getDatasetMeta(a.datasetIndex).controller.getStyle(a.dataIndex);return{borderColor:o.borderColor,backgroundColor:o.backgroundColor,borderWidth:o.borderWidth,borderDash:o.borderDash,borderDashOffset:o.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(a){const o=a.chart.getDatasetMeta(a.datasetIndex).controller.getStyle(a.dataIndex);return{pointStyle:o.pointStyle,rotation:o.rotation}},afterLabel:re,afterBody:re,beforeFooter:re,footer:re,afterFooter:re}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:a=>"filter"!==a&&"itemSort"!==a&&"external"!==a,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]}});class cc extends $n{constructor(s){super(s),this._startValue=void 0,this._valueRange=0}parse(s,o){if(Pe(s))return null;const l=this.getLabels();return((a,s)=>null===a?null:W(Math.round(a),0,s))(o=isFinite(o)&&l[o]===s?o:function(a,s,o){const l=a.indexOf(s);return-1===l?((a,s,o)=>"string"==typeof s?a.push(s)-1:isNaN(s)?null:o)(a,s,o):l!==a.lastIndexOf(s)?o:l}(l,s,Ue(o,s)),l.length-1)}determineDataLimits(){const s=this,{minDefined:o,maxDefined:l}=s.getUserBounds();let{min:d,max:f}=s.getMinMax(!0);"ticks"===s.options.bounds&&(o||(d=0),l||(f=s.getLabels().length-1)),s.min=d,s.max=f}buildTicks(){const s=this,o=s.min,l=s.max,d=s.options.offset,f=[];let _=s.getLabels();_=0===o&&l===_.length-1?_:_.slice(o,l+1),s._valueRange=Math.max(_.length-(d?0:1),1),s._startValue=s.min-(d?.5:0);for(let M=o;M<=l;M++)f.push({value:M});return f}getLabelForValue(s){const l=this.getLabels();return s>=0&&s<l.length?l[s]:s}configure(){const s=this;super.configure(),s.isHorizontal()||(s._reversePixels=!s._reversePixels)}getPixelForValue(s){const o=this;return"number"!=typeof s&&(s=o.parse(s)),null===s?NaN:o.getPixelForDecimal((s-o._startValue)/o._valueRange)}getPixelForTick(s){const l=this.ticks;return s<0||s>l.length-1?null:this.getPixelForValue(l[s].value)}getValueForPixel(s){const o=this;return Math.round(o._startValue+o.getDecimalForPixel(s)*o._valueRange)}getBasePixel(){return this.bottom}}function su(a,s,{horizontal:o,minRotation:l}){const d=Mn(l),f=(o?Math.sin(d):Math.cos(d))||.001;return Math.min(s/f,.75*s*(""+a).length)}cc.id="category",cc.defaults={ticks:{callback:cc.prototype.getLabelForValue}};class _l extends $n{constructor(s){super(s),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(s,o){return Pe(s)||("number"==typeof s||s instanceof Number)&&!isFinite(+s)?null:+s}handleTickRangeOptions(){const s=this,{beginAtZero:o}=s.options,{minDefined:l,maxDefined:d}=s.getUserBounds();let{min:f,max:_}=s;const M=L=>f=l?f:L,R=L=>_=d?_:L;if(o){const L=Rn(f),G=Rn(_);L<0&&G<0?R(0):L>0&&G>0&&M(0)}if(f===_){let L=1;(_>=Number.MAX_SAFE_INTEGER||f<=Number.MIN_SAFE_INTEGER)&&(L=Math.abs(.05*_)),R(_+L),o||M(f-L)}s.min=f,s.max=_}getTickLimit(){const s=this,o=s.options.ticks;let f,{maxTicksLimit:l,stepSize:d}=o;return d?f=Math.ceil(s.max/d)-Math.floor(s.min/d)+1:(f=s.computeTickLimit(),l=l||11),l&&(f=Math.min(l,f)),f}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const s=this,o=s.options,l=o.ticks;let d=s.getTickLimit();d=Math.max(2,d);const M=function(a,s){const o=[],{bounds:d,step:f,min:_,max:M,precision:R,count:L,maxTicks:G,maxDigits:ne,includeBounds:ae}=a,Re=f||1,ot=G-1,{min:wt,max:_t}=s,It=!Pe(_),Rt=!Pe(M),Tn=!Pe(L),vn=(_t-wt)/(ne+1);let kn,Fn,Ln,ri,rn=vi((_t-wt)/ot/Re)*Re;if(rn<1e-14&&!It&&!Rt)return[{value:wt},{value:_t}];ri=Math.ceil(_t/rn)-Math.floor(wt/rn),ri>ot&&(rn=vi(ri*rn/ot/Re)*Re),Pe(R)||(kn=Math.pow(10,R),rn=Math.ceil(rn*kn)/kn),"ticks"===d?(Fn=Math.floor(wt/rn)*rn,Ln=Math.ceil(_t/rn)*rn):(Fn=wt,Ln=_t),It&&Rt&&f&&function(a,s){const o=Math.round(a);return o-s<=a&&o+s>=a}((M-_)/f,rn/1e3)?(ri=Math.round(Math.min((M-_)/rn,G)),rn=(M-_)/ri,Fn=_,Ln=M):Tn?(Fn=It?_:Fn,Ln=Rt?M:Ln,ri=L-1,rn=(Ln-Fn)/ri):(ri=(Ln-Fn)/rn,ri=Qn(ri,Math.round(ri),rn/1e3)?Math.round(ri):Math.ceil(ri));const to=Math.max(io(rn),io(Fn));kn=Math.pow(10,Pe(R)?to:R),Fn=Math.round(Fn*kn)/kn,Ln=Math.round(Ln*kn)/kn;let Gi=0;for(It&&(ae&&Fn!==_?(o.push({value:_}),Fn<_&&Gi++,Qn(Math.round((Fn+Gi*rn)*kn)/kn,_,su(_,vn,a))&&Gi++):Fn<_&&Gi++);Gi<ri;++Gi)o.push({value:Math.round((Fn+Gi*rn)*kn)/kn});return Rt&&ae&&Ln!==M?Qn(o[o.length-1].value,M,su(M,vn,a))?o[o.length-1].value=M:o.push({value:M}):(!Rt||Ln===M)&&o.push({value:Ln}),o}({maxTicks:d,bounds:o.bounds,min:o.min,max:o.max,precision:l.precision,step:l.stepSize,count:l.count,maxDigits:s._maxDigits(),horizontal:s.isHorizontal(),minRotation:l.minRotation||0,includeBounds:!1!==l.includeBounds},s._range||s);return"ticks"===o.bounds&&dn(M,s,"value"),o.reverse?(M.reverse(),s.start=s.max,s.end=s.min):(s.start=s.min,s.end=s.max),M}configure(){const s=this,o=s.ticks;let l=s.min,d=s.max;if(super.configure(),s.options.offset&&o.length){const f=(d-l)/Math.max(o.length-1,1)/2;l-=f,d+=f}s._startValue=l,s._endValue=d,s._valueRange=d-l}getLabelForValue(s){return Ds(s,this.chart.options.locale)}}class uc extends _l{determineDataLimits(){const s=this,{min:o,max:l}=s.getMinMax(!0);s.min=st(o)?o:0,s.max=st(l)?l:1,s.handleTickRangeOptions()}computeTickLimit(){const s=this,o=s.isHorizontal(),l=o?s.width:s.height,d=Mn(s.options.ticks.minRotation),f=(o?Math.sin(d):Math.cos(d))||.001,_=s._resolveTickFontOptions(0);return Math.ceil(l/Math.min(40,_.lineHeight/f))}getPixelForValue(s){return null===s?NaN:this.getPixelForDecimal((s-this._startValue)/this._valueRange)}getValueForPixel(s){return this._startValue+this.getDecimalForPixel(s)*this._valueRange}}function md(a){return a/Math.pow(10,Math.floor(cn(a)))==1}uc.id="linear",uc.defaults={ticks:{callback:Yr.formatters.numeric}};class dc extends $n{constructor(s){super(s),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(s,o){const l=_l.prototype.parse.apply(this,[s,o]);if(0!==l)return st(l)&&l>0?l:null;this._zero=!0}determineDataLimits(){const s=this,{min:o,max:l}=s.getMinMax(!0);s.min=st(o)?Math.max(0,o):null,s.max=st(l)?Math.max(0,l):null,s.options.beginAtZero&&(s._zero=!0),s.handleTickRangeOptions()}handleTickRangeOptions(){const s=this,{minDefined:o,maxDefined:l}=s.getUserBounds();let d=s.min,f=s.max;const _=L=>d=o?d:L,M=L=>f=l?f:L,R=(L,G)=>Math.pow(10,Math.floor(cn(L))+G);d===f&&(d<=0?(_(1),M(10)):(_(R(d,-1)),M(R(f,1)))),d<=0&&_(R(f,-1)),f<=0&&M(R(d,1)),s._zero&&s.min!==s._suggestedMin&&d===R(s.min,0)&&_(R(d,-1)),s.min=d,s.max=f}buildTicks(){const s=this,o=s.options,d=function(a,s){const o=Math.floor(cn(s.max)),l=Math.ceil(s.max/Math.pow(10,o)),d=[];let f=Me(a.min,Math.pow(10,Math.floor(cn(s.min)))),_=Math.floor(cn(f)),M=Math.floor(f/Math.pow(10,_)),R=_<0?Math.pow(10,Math.abs(_)):1;do{d.push({value:f,major:md(f)}),++M,10===M&&(M=1,++_,R=_>=0?1:R),f=Math.round(M*Math.pow(10,_)*R)/R}while(_<o||_===o&&M<l);const L=Me(a.max,f);return d.push({value:L,major:md(f)}),d}({min:s._userMin,max:s._userMax},s);return"ticks"===o.bounds&&dn(d,s,"value"),o.reverse?(d.reverse(),s.start=s.max,s.end=s.min):(s.start=s.min,s.end=s.max),d}getLabelForValue(s){return void 0===s?"0":Ds(s,this.chart.options.locale)}configure(){const s=this,o=s.min;super.configure(),s._startValue=cn(o),s._valueRange=cn(s.max)-cn(o)}getPixelForValue(s){const o=this;return(void 0===s||0===s)&&(s=o.min),null===s||isNaN(s)?NaN:o.getPixelForDecimal(s===o.min?0:(cn(s)-o._startValue)/o._valueRange)}getValueForPixel(s){const o=this,l=o.getDecimalForPixel(s);return Math.pow(10,o._startValue+l*o._valueRange)}}function bl(a){const s=a.ticks;if(s.display&&a.display){const o=ki(s.backdropPadding);return Ue(s.font&&s.font.size,oe.font.size)+o.height}return 0}function Uh(a,s,o){return o=ut(o)?o:[o],{w:zt(a,s.string,o),h:o.length*s.lineHeight}}function _d(a,s,o,l,d){return a===l||a===d?{start:s-o/2,end:s+o/2}:a<l||a>d?{start:s-o,end:s}:{start:s,end:s+o}}function Zh(a){return 0===a||180===a?"center":a<180?"left":"right"}function qh(a,s,o){return"right"===o?a-=s:"center"===o&&(a-=s/2),a}function Yh(a,s,o){return 90===o||270===o?a-=s/2:(o>270||o<90)&&(a-=s),a}function Vl(a,s,o,l){const{ctx:d}=a;if(o)d.arc(a.xCenter,a.yCenter,s,0,tt);else{let f=a.getPointPosition(0,s);d.moveTo(f.x,f.y);for(let _=1;_<l;_++)f=a.getPointPosition(_,s),d.lineTo(f.x,f.y)}}function Bl(a){return Pn(a)?a:0}dc.id="logarithmic",dc.defaults={ticks:{callback:Yr.formatters.logarithmic,major:{enabled:!0}}};class Hl extends _l{constructor(s){super(s),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const s=this;s.width=s.maxWidth,s.height=s.maxHeight,s.paddingTop=bl(s.options)/2,s.xCenter=Math.floor(s.width/2),s.yCenter=Math.floor((s.height-s.paddingTop)/2),s.drawingArea=Math.min(s.height-s.paddingTop,s.width)/2}determineDataLimits(){const s=this,{min:o,max:l}=s.getMinMax(!1);s.min=st(o)&&!isNaN(o)?o:0,s.max=st(l)&&!isNaN(l)?l:0,s.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/bl(this.options))}generateTickLabels(s){const o=this;_l.prototype.generateTickLabels.call(o,s),o._pointLabels=o.getLabels().map((l,d)=>{const f=je(o.options.pointLabels.callback,[l,d],o);return f||0===f?f:""})}fit(){const s=this,o=s.options;o.display&&o.pointLabels.display?function(a){const s={l:0,r:a.width,t:0,b:a.height-a.paddingTop},o={},l=[],d=[],f=a.getLabels().length;for(let _=0;_<f;_++){const M=a.options.pointLabels.setContext(a.getPointLabelContext(_));d[_]=M.padding;const R=a.getPointPosition(_,a.drawingArea+d[_]),L=Ki(M.font),G=Uh(a.ctx,L,a._pointLabels[_]);l[_]=G;const ne=a.getIndexAngle(_),ae=si(ne),Re=_d(ae,R.x,G.w,0,180),ot=_d(ae,R.y,G.h,90,270);Re.start<s.l&&(s.l=Re.start,o.l=ne),Re.end>s.r&&(s.r=Re.end,o.r=ne),ot.start<s.t&&(s.t=ot.start,o.t=ne),ot.end>s.b&&(s.b=ot.end,o.b=ne)}a._setReductions(a.drawingArea,s,o),a._pointLabelItems=function(a,s,o){const l=[],d=a.getLabels().length,f=a.options,_=bl(f),M=a.getDistanceFromCenterForValue(f.ticks.reverse?a.min:a.max);for(let R=0;R<d;R++){const G=a.getPointPosition(R,M+(0===R?_/2:0)+o[R]),ne=si(a.getIndexAngle(R)),ae=s[R],Re=Yh(G.y,ae.h,ne),ot=Zh(ne),wt=qh(G.x,ae.w,ot);l.push({x:G.x,y:Re,textAlign:ot,left:wt,top:Re,right:wt+ae.w,bottom:Re+ae.h})}return l}(a,l,d)}(s):s.setCenterPoint(0,0,0,0)}_setReductions(s,o,l){const d=this;let f=o.l/Math.sin(l.l),_=Math.max(o.r-d.width,0)/Math.sin(l.r),M=-o.t/Math.cos(l.t),R=-Math.max(o.b-(d.height-d.paddingTop),0)/Math.cos(l.b);f=Bl(f),_=Bl(_),M=Bl(M),R=Bl(R),d.drawingArea=Math.max(s/2,Math.min(Math.floor(s-(f+_)/2),Math.floor(s-(M+R)/2))),d.setCenterPoint(f,_,M,R)}setCenterPoint(s,o,l,d){const f=this,R=l+f.drawingArea,L=f.height-f.paddingTop-d-f.drawingArea;f.xCenter=Math.floor((s+f.drawingArea+(f.width-o-f.drawingArea))/2+f.left),f.yCenter=Math.floor((R+L)/2+f.top+f.paddingTop)}getIndexAngle(s){return me(s*(tt/this.getLabels().length)+Mn(this.options.startAngle||0))}getDistanceFromCenterForValue(s){const o=this;if(Pe(s))return NaN;const l=o.drawingArea/(o.max-o.min);return o.options.reverse?(o.max-s)*l:(s-o.min)*l}getValueForDistanceFromCenter(s){if(Pe(s))return NaN;const o=this,l=s/(o.drawingArea/(o.max-o.min));return o.options.reverse?o.max-l:o.min+l}getPointLabelContext(s){const o=this,l=o._pointLabels||[];if(s>=0&&s<l.length){const d=l[s];return function(a,s,o){return Object.assign(Object.create(a),{label:o,index:s,type:"pointLabel"})}(o.getContext(),s,d)}}getPointPosition(s,o){const l=this,d=l.getIndexAngle(s)-mt;return{x:Math.cos(d)*o+l.xCenter,y:Math.sin(d)*o+l.yCenter,angle:d}}getPointPositionForValue(s,o){return this.getPointPosition(s,this.getDistanceFromCenterForValue(o))}getBasePosition(s){return this.getPointPositionForValue(s||0,this.getBaseValue())}getPointLabelPosition(s){const{left:o,top:l,right:d,bottom:f}=this._pointLabelItems[s];return{left:o,top:l,right:d,bottom:f}}drawBackground(){const s=this,{backgroundColor:o,grid:{circular:l}}=s.options;if(o){const d=s.ctx;d.save(),d.beginPath(),Vl(s,s.getDistanceFromCenterForValue(s._endValue),l,s.getLabels().length),d.closePath(),d.fillStyle=o,d.fill(),d.restore()}}drawGrid(){const s=this,o=s.ctx,l=s.options,{angleLines:d,grid:f}=l,_=s.getLabels().length;let M,R,L;if(l.pointLabels.display&&function(a,s){const{ctx:o,options:{pointLabels:l}}=a;for(let d=s-1;d>=0;d--){const f=l.setContext(a.getPointLabelContext(d)),_=Ki(f.font),{x:M,y:R,textAlign:L,left:G,top:ne,right:ae,bottom:Re}=a._pointLabelItems[d],{backdropColor:ot}=f;if(!Pe(ot)){const wt=ki(f.backdropPadding);o.fillStyle=ot,o.fillRect(G-wt.left,ne-wt.top,ae-G+wt.width,Re-ne+wt.height)}Ni(o,a._pointLabels[d],M,R+_.lineHeight/2,_,{color:f.color,textAlign:L,textBaseline:"middle"})}}(s,_),f.display&&s.ticks.forEach((G,ne)=>{if(0!==ne){R=s.getDistanceFromCenterForValue(G.value);const ae=f.setContext(s.getContext(ne-1));!function(a,s,o,l){const d=a.ctx,f=s.circular,{color:_,lineWidth:M}=s;!f&&!l||!_||!M||o<0||(d.save(),d.strokeStyle=_,d.lineWidth=M,d.setLineDash(s.borderDash),d.lineDashOffset=s.borderDashOffset,d.beginPath(),Vl(a,o,f,l),d.closePath(),d.stroke(),d.restore())}(s,ae,R,_)}}),d.display){for(o.save(),M=s.getLabels().length-1;M>=0;M--){const G=d.setContext(s.getPointLabelContext(M)),{color:ne,lineWidth:ae}=G;!ae||!ne||(o.lineWidth=ae,o.strokeStyle=ne,o.setLineDash(G.borderDash),o.lineDashOffset=G.borderDashOffset,R=s.getDistanceFromCenterForValue(l.ticks.reverse?s.min:s.max),L=s.getPointPosition(M,R),o.beginPath(),o.moveTo(s.xCenter,s.yCenter),o.lineTo(L.x,L.y),o.stroke())}o.restore()}}drawBorder(){}drawLabels(){const s=this,o=s.ctx,l=s.options,d=l.ticks;if(!d.display)return;const f=s.getIndexAngle(0);let _,M;o.save(),o.translate(s.xCenter,s.yCenter),o.rotate(f),o.textAlign="center",o.textBaseline="middle",s.ticks.forEach((R,L)=>{if(0===L&&!l.reverse)return;const G=d.setContext(s.getContext(L)),ne=Ki(G.font);if(_=s.getDistanceFromCenterForValue(s.ticks[L].value),G.showLabelBackdrop){o.font=ne.string,M=o.measureText(R.label).width,o.fillStyle=G.backdropColor;const ae=ki(G.backdropPadding);o.fillRect(-M/2-ae.left,-_-ne.size/2-ae.top,M+ae.width,ne.size+ae.height)}Ni(o,R.label,0,-_,ne,{color:G.color})}),o.restore()}drawTitle(){}}Hl.id="radialLinear",Hl.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Yr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:a=>a,padding:5}},Hl.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Hl.descriptors={angleLines:{_fallback:"grid"}};const zl={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},lr=Object.keys(zl);function bd(a,s){return a-s}function ru(a,s){if(Pe(s))return null;const o=a._adapter,{parser:l,round:d,isoWeekday:f}=a._parseOpts;let _=s;return"function"==typeof l&&(_=l(_)),st(_)||(_="string"==typeof l?o.parse(_,l):o.parse(_)),null===_?null:(d&&(_="week"!==d||!Pn(f)&&!0!==f?o.startOf(_,d):o.startOf(_,"isoWeek",f)),+_)}function au(a,s,o,l){const d=lr.length;for(let f=lr.indexOf(a);f<d-1;++f){const _=zl[lr[f]],M=_.steps?_.steps:Number.MAX_SAFE_INTEGER;if(_.common&&Math.ceil((o-s)/(M*_.size))<=l)return lr[f]}return lr[d-1]}function Ar(a,s,o){if(o){if(o.length){const{lo:l,hi:d}=xt(o,s);a[o[l]>=s?o[l]:o[d]]=!0}}else a[s]=!0}function Qh(a,s,o){const l=[],d={},f=s.length;let _,M;for(_=0;_<f;++_)M=s[_],d[M]=_,l.push({value:M,major:!1});return 0!==f&&o?function(a,s,o,l){const d=a._adapter,f=+d.startOf(s[0].value,l),_=s[s.length-1].value;let M,R;for(M=f;M<=_;M=+d.add(M,1,l))R=o[M],R>=0&&(s[R].major=!0);return s}(a,l,d,o):l}let hc=(()=>{class a extends $n{constructor(o){super(o),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(o,l){const d=o.time||(o.time={}),f=this._adapter=new _r._date(o.adapters.date);be(d.displayFormats,f.formats()),this._parseOpts={parser:d.parser,round:d.round,isoWeekday:d.isoWeekday},super.init(o),this._normalized=l.normalized}parse(o,l){return void 0===o?null:ru(this,o)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const o=this,l=o.options,d=o._adapter,f=l.time.unit||"day";let{min:_,max:M,minDefined:R,maxDefined:L}=o.getUserBounds();function G(ne){!R&&!isNaN(ne.min)&&(_=Math.min(_,ne.min)),!L&&!isNaN(ne.max)&&(M=Math.max(M,ne.max))}(!R||!L)&&(G(o._getLabelBounds()),("ticks"!==l.bounds||"labels"!==l.ticks.source)&&G(o.getMinMax(!1))),_=st(_)&&!isNaN(_)?_:+d.startOf(Date.now(),f),M=st(M)&&!isNaN(M)?M:+d.endOf(Date.now(),f)+1,o.min=Math.min(_,M-1),o.max=Math.max(_+1,M)}_getLabelBounds(){const o=this.getLabelTimestamps();let l=Number.POSITIVE_INFINITY,d=Number.NEGATIVE_INFINITY;return o.length&&(l=o[0],d=o[o.length-1]),{min:l,max:d}}buildTicks(){const o=this,l=o.options,d=l.time,f=l.ticks,_="labels"===f.source?o.getLabelTimestamps():o._generate();"ticks"===l.bounds&&_.length&&(o.min=o._userMin||_[0],o.max=o._userMax||_[_.length-1]);const M=o.min,L=function(a,s,o){let l=0,d=a.length;for(;l<d&&a[l]<s;)l++;for(;d>l&&a[d-1]>o;)d--;return l>0||d<a.length?a.slice(l,d):a}(_,M,o.max);return o._unit=d.unit||(f.autoSkip?au(d.minUnit,o.min,o.max,o._getLabelCapacity(M)):function(a,s,o,l,d){for(let f=lr.length-1;f>=lr.indexOf(o);f--){const _=lr[f];if(zl[_].common&&a._adapter.diff(d,l,_)>=s-1)return _}return lr[o?lr.indexOf(o):0]}(o,L.length,d.minUnit,o.min,o.max)),o._majorUnit=f.major.enabled&&"year"!==o._unit?function(a){for(let s=lr.indexOf(a)+1,o=lr.length;s<o;++s)if(zl[lr[s]].common)return lr[s]}(o._unit):void 0,o.initOffsets(_),l.reverse&&L.reverse(),Qh(o,L,o._majorUnit)}initOffsets(o){const l=this;let _,M,d=0,f=0;l.options.offset&&o.length&&(_=l.getDecimalForValue(o[0]),d=1===o.length?1-_:(l.getDecimalForValue(o[1])-_)/2,M=l.getDecimalForValue(o[o.length-1]),f=1===o.length?M:(M-l.getDecimalForValue(o[o.length-2]))/2);const R=o.length<3?.5:.25;d=W(d,0,R),f=W(f,0,R),l._offsets={start:d,end:f,factor:1/(d+1+f)}}_generate(){const o=this,l=o._adapter,d=o.min,f=o.max,_=o.options,M=_.time,R=M.unit||au(M.minUnit,d,f,o._getLabelCapacity(d)),L=Ue(M.stepSize,1),G="week"===R&&M.isoWeekday,ne=Pn(G)||!0===G,ae={};let ot,wt,Re=d;if(ne&&(Re=+l.startOf(Re,"isoWeek",G)),Re=+l.startOf(Re,ne?"day":R),l.diff(f,d,R)>1e5*L)throw new Error(d+" and "+f+" are too far apart with stepSize of "+L+" "+R);const _t="data"===_.ticks.source&&o.getDataTimestamps();for(ot=Re,wt=0;ot<f;ot=+l.add(ot,L,R),wt++)Ar(ae,ot,_t);return(ot===f||"ticks"===_.bounds||1===wt)&&Ar(ae,ot,_t),Object.keys(ae).sort((It,Rt)=>It-Rt).map(It=>+It)}getLabelForValue(o){const f=this.options.time;return this._adapter.format(o,f.tooltipFormat?f.tooltipFormat:f.displayFormats.datetime)}_tickFormatFunction(o,l,d,f){const _=this,M=_.options,R=M.time.displayFormats,L=_._unit,G=_._majorUnit,ae=G&&R[G],Re=d[l],wt=_._adapter.format(o,f||(G&&ae&&Re&&Re.major?ae:L&&R[L])),_t=M.ticks.callback;return _t?je(_t,[wt,l,d],_):wt}generateTickLabels(o){let l,d,f;for(l=0,d=o.length;l<d;++l)f=o[l],f.label=this._tickFormatFunction(f.value,l,o)}getDecimalForValue(o){const l=this;return null===o?NaN:(o-l.min)/(l.max-l.min)}getPixelForValue(o){const l=this,d=l._offsets,f=l.getDecimalForValue(o);return l.getPixelForDecimal((d.start+f)*d.factor)}getValueForPixel(o){const l=this,d=l._offsets,f=l.getDecimalForPixel(o)/d.factor-d.end;return l.min+f*(l.max-l.min)}_getLabelSize(o){const l=this,d=l.options.ticks,f=l.ctx.measureText(o).width,_=Mn(l.isHorizontal()?d.maxRotation:d.minRotation),M=Math.cos(_),R=Math.sin(_),L=l._resolveTickFontOptions(0).size;return{w:f*M+L*R,h:f*R+L*M}}_getLabelCapacity(o){const l=this,d=l.options.time,f=d.displayFormats,_=f[d.unit]||f.millisecond,M=l._tickFormatFunction(o,0,Qh(l,[o],l._majorUnit),_),R=l._getLabelSize(M),L=Math.floor(l.isHorizontal()?l.width/R.w:l.height/R.h)-1;return L>0?L:1}getDataTimestamps(){const o=this;let d,f,l=o._cache.data||[];if(l.length)return l;const _=o.getMatchingVisibleMetas();if(o._normalized&&_.length)return o._cache.data=_[0].controller.getAllParsedValues(o);for(d=0,f=_.length;d<f;++d)l=l.concat(_[d].controller.getAllParsedValues(o));return o._cache.data=o.normalize(l)}getLabelTimestamps(){const o=this,l=o._cache.labels||[];let d,f;if(l.length)return l;const _=o.getLabels();for(d=0,f=_.length;d<f;++d)l.push(ru(o,_[d]));return o._cache.labels=o._normalized?l:o.normalize(l)}normalize(o){return Es(o.sort(bd))}}return a.id="time",a.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}},a})();function lu(a,s,o){let f,_,M,R,l=0,d=a.length-1;o?(s>=a[l].pos&&s<=a[d].pos&&({lo:l,hi:d}=Y(a,"pos",s)),({pos:f,time:M}=a[l]),({pos:_,time:R}=a[d])):(s>=a[l].time&&s<=a[d].time&&({lo:l,hi:d}=Y(a,"time",s)),({time:f,pos:M}=a[l]),({time:_,pos:R}=a[d]));const L=_-f;return L?M+(R-M)*(s-f)/L:M}class xr extends hc{constructor(s){super(s),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const s=this,o=s._getTimestampsForTable(),l=s._table=s.buildLookupTable(o);s._minPos=lu(l,s.min),s._tableRange=lu(l,s.max)-s._minPos,super.initOffsets(o)}buildLookupTable(s){const{min:o,max:l}=this,d=[],f=[];let _,M,R,L,G;for(_=0,M=s.length;_<M;++_)L=s[_],L>=o&&L<=l&&d.push(L);if(d.length<2)return[{time:o,pos:0},{time:l,pos:1}];for(_=0,M=d.length;_<M;++_)G=d[_+1],R=d[_-1],L=d[_],Math.round((G+R)/2)!==L&&f.push({time:L,pos:_/(M-1)});return f}_getTimestampsForTable(){const s=this;let o=s._cache.all||[];if(o.length)return o;const l=s.getDataTimestamps(),d=s.getLabelTimestamps();return o=l.length&&d.length?s.normalize(l.concat(d)):l.length?l:d,o=s._cache.all=o,o}getDecimalForValue(s){return(lu(this._table,s)-this._minPos)/this._tableRange}getValueForPixel(s){const o=this,l=o._offsets,d=o.getDecimalForPixel(s)/l.factor-l.end;return lu(o._table,d*o._tableRange+o._minPos,!0)}}xr.id="timeseries",xr.defaults=hc.defaults,Pr.register(il,Xu,fd,Object.freeze({__proto__:null,CategoryScale:cc,LinearScale:uc,LogarithmicScale:dc,RadialLinearScale:Hl,TimeScale:hc,TimeSeriesScale:xr}));const Jh=Pr;let yd=(()=>{class a{constructor(o){this.el=o,this.plugins=[],this.responsive=!0,this.onDataSelect=new n.vpe,this._options={}}get data(){return this._data}set data(o){this._data=o,this.reinit()}get options(){return this._options}set options(o){this._options=o,this.reinit()}ngAfterViewInit(){this.initChart(),this.initialized=!0}onCanvasClick(o){if(this.chart){const l=this.chart.getElementsAtEventForMode(o,"nearest",{intersect:!0},!1),d=this.chart.getElementsAtEventForMode(o,"dataset",{intersect:!0},!1);l&&l[0]&&d&&this.onDataSelect.emit({originalEvent:o,element:l[0],dataset:d})}}initChart(){let o=this.options||{};o.responsive=this.responsive,o.responsive&&(this.height||this.width)&&(o.maintainAspectRatio=!1),this.chart=new Jh(this.el.nativeElement.children[0].children[0],{type:this.type,data:this.data,options:this.options})}getCanvas(){return this.el.nativeElement.children[0].children[0]}getBase64Image(){return this.chart.toBase64Image()}generateLegend(){if(this.chart)return this.chart.generateLegend()}refresh(){this.chart&&this.chart.update()}reinit(){this.chart&&(this.chart.destroy(),this.initChart())}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.initialized=!1,this.chart=null)}}return a.\u0275fac=function(o){return new(o||a)(n.Y36(n.SBq))},a.\u0275cmp=n.Xpm({type:a,selectors:[["p-chart"]],inputs:{type:"type",plugins:"plugins",width:"width",height:"height",responsive:"responsive",data:"data",options:"options"},outputs:{onDataSelect:"onDataSelect"},decls:2,vars:6,consts:[[2,"position","relative"],[3,"click"]],template:function(o,l){1&o&&(n.TgZ(0,"div",0),n.TgZ(1,"canvas",1),n.NdJ("click",function(f){return l.onCanvasClick(f)}),n.qZA(),n.qZA()),2&o&&(n.Udp("width",l.responsive&&!l.width?null:l.width)("height",l.responsive&&!l.height?null:l.height),n.xp6(1),n.uIk("width",l.responsive&&!l.width?null:l.width)("height",l.responsive&&!l.height?null:l.height))},encapsulation:2,changeDetection:0}),a})(),Ul=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[[c.ez]]}),a})()},8421:(bn,Et,J)=>{"use strict";J.d(Et,{cL:()=>dt,Gg:()=>st});var n=J(639),c=J(8583),V=J(3013),pe=J(3928),ie=J(665);const se=["inputtext"];function de(Me,Ue){1&Me&&n.GkF(0)}function ge(Me,Ue){if(1&Me&&(n.TgZ(0,"span",11),n._uU(1),n.qZA()),2&Me){const Ve=n.oxw().$implicit,ct=n.oxw();n.xp6(1),n.Oqu(ct.field?ct.resolveFieldData(Ve,ct.field):Ve)}}function we(Me,Ue){if(1&Me){const Ve=n.EpF();n.TgZ(0,"span",12),n.NdJ("click",function(je){n.CHM(Ve);const Qe=n.oxw().index;return n.oxw().removeItem(je,Qe)}),n.qZA()}}const re=function(Me){return{$implicit:Me}};function xe(Me,Ue){if(1&Me){const Ve=n.EpF();n.TgZ(0,"li",6,7),n.NdJ("click",function(je){const ue=n.CHM(Ve).$implicit;return n.oxw().onItemClick(je,ue)}),n.YNc(2,de,1,0,"ng-container",8),n.YNc(3,ge,2,1,"span",9),n.YNc(4,we,1,0,"span",10),n.qZA()}if(2&Me){const Ve=Ue.$implicit,ct=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",ct.itemTemplate)("ngTemplateOutletContext",n.VKq(4,re,Ve)),n.xp6(1),n.Q6J("ngIf",!ct.itemTemplate),n.xp6(1),n.Q6J("ngIf",!ct.disabled)}}const Pe=function(Me,Ue){return{"p-inputtext p-chips-multiple-container":!0,"p-focus":Me,"p-disabled":Ue}},ut={provide:ie.JU,useExisting:(0,n.Gpc)(()=>dt),multi:!0};let dt=(()=>{class Me{constructor(Ve,ct){this.el=Ve,this.cd=ct,this.allowDuplicate=!0,this.onAdd=new n.vpe,this.onRemove=new n.vpe,this.onFocus=new n.vpe,this.onBlur=new n.vpe,this.onChipClick=new n.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngAfterContentInit(){this.templates.forEach(Ve=>{switch(Ve.getType()){case"item":default:this.itemTemplate=Ve.template}})}onClick(){this.inputViewChild.nativeElement.focus()}onInput(){this.updateFilledState()}onPaste(Ve){this.disabled||(this.separator&&((Ve.clipboardData||window.clipboardData).getData("Text").split(this.separator).forEach(je=>{this.addItem(Ve,je,!0)}),this.inputViewChild.nativeElement.value=""),this.updateFilledState())}updateFilledState(){this.filled=!(!this.value||0===this.value.length)||this.inputViewChild.nativeElement&&""!=this.inputViewChild.nativeElement.value}onItemClick(Ve,ct){this.onChipClick.emit({originalEvent:Ve,value:ct})}writeValue(Ve){this.value=Ve,this.updateMaxedOut(),this.cd.markForCheck()}registerOnChange(Ve){this.onModelChange=Ve}registerOnTouched(Ve){this.onModelTouched=Ve}setDisabledState(Ve){this.disabled=Ve,this.cd.markForCheck()}resolveFieldData(Ve,ct){if(Ve&&ct){if(-1==ct.indexOf("."))return Ve[ct];{let ue=ct.split("."),z=Ve;for(var je=0,Qe=ue.length;je<Qe;++je)z=z[ue[je]];return z}}return null}onInputFocus(Ve){this.focus=!0,this.onFocus.emit(Ve)}onInputBlur(Ve){this.focus=!1,this.addOnBlur&&this.inputViewChild.nativeElement.value&&this.addItem(Ve,this.inputViewChild.nativeElement.value,!1),this.onModelTouched(),this.onBlur.emit(Ve)}removeItem(Ve,ct){if(this.disabled)return;let je=this.value[ct];this.value=this.value.filter((Qe,ue)=>ue!=ct),this.onModelChange(this.value),this.onRemove.emit({originalEvent:Ve,value:je}),this.updateFilledState(),this.updateMaxedOut()}addItem(Ve,ct,je){this.value=this.value||[],ct&&ct.trim().length&&(this.allowDuplicate||-1===this.value.indexOf(ct))&&(this.value=[...this.value,ct],this.onModelChange(this.value),this.onAdd.emit({originalEvent:Ve,value:ct})),this.updateFilledState(),this.updateMaxedOut(),this.inputViewChild.nativeElement.value="",je&&Ve.preventDefault()}onKeydown(Ve){switch(Ve.which){case 8:if(0===this.inputViewChild.nativeElement.value.length&&this.value&&this.value.length>0){this.value=[...this.value];let ct=this.value.pop();this.onModelChange(this.value),this.onRemove.emit({originalEvent:Ve,value:ct}),this.updateFilledState()}break;case 13:this.addItem(Ve,this.inputViewChild.nativeElement.value,!0);break;case 9:this.addOnTab&&""!==this.inputViewChild.nativeElement.value&&this.addItem(Ve,this.inputViewChild.nativeElement.value,!0);break;default:this.max&&this.value&&this.max===this.value.length?Ve.preventDefault():this.separator&&","===this.separator&&188===Ve.which&&this.addItem(Ve,this.inputViewChild.nativeElement.value,!0)}}updateMaxedOut(){this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.disabled=!(!this.max||!this.value||this.max!==this.value.length)||this.disabled||!1)}}return Me.\u0275fac=function(Ve){return new(Ve||Me)(n.Y36(n.SBq),n.Y36(n.sBO))},Me.\u0275cmp=n.Xpm({type:Me,selectors:[["p-chips"]],contentQueries:function(Ve,ct,je){if(1&Ve&&n.Suo(je,V.jx,4),2&Ve){let Qe;n.iGM(Qe=n.CRH())&&(ct.templates=Qe)}},viewQuery:function(Ve,ct){if(1&Ve&&n.Gf(se,5),2&Ve){let je;n.iGM(je=n.CRH())&&(ct.inputViewChild=je.first)}},hostVars:4,hostBindings:function(Ve,ct){2&Ve&&n.ekj("p-inputwrapper-filled",ct.filled)("p-inputwrapper-focus",ct.focus)},inputs:{style:"style",styleClass:"styleClass",disabled:"disabled",field:"field",placeholder:"placeholder",max:"max",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",allowDuplicate:"allowDuplicate",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",addOnTab:"addOnTab",addOnBlur:"addOnBlur",separator:"separator"},outputs:{onAdd:"onAdd",onRemove:"onRemove",onFocus:"onFocus",onBlur:"onBlur",onChipClick:"onChipClick"},features:[n._Bn([ut])],decls:6,vars:17,consts:[[3,"ngClass","ngStyle","click"],[3,"ngClass"],["class","p-chips-token",3,"click",4,"ngFor","ngForOf"],[1,"p-chips-input-token"],["type","text",3,"disabled","ngStyle","keydown","input","paste","focus","blur"],["inputtext",""],[1,"p-chips-token",3,"click"],["token",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-chips-token-label",4,"ngIf"],["class","p-chips-token-icon pi pi-times-circle",3,"click",4,"ngIf"],[1,"p-chips-token-label"],[1,"p-chips-token-icon","pi","pi-times-circle",3,"click"]],template:function(Ve,ct){1&Ve&&(n.TgZ(0,"div",0),n.NdJ("click",function(){return ct.onClick()}),n.TgZ(1,"ul",1),n.YNc(2,xe,5,6,"li",2),n.TgZ(3,"li",3),n.TgZ(4,"input",4,5),n.NdJ("keydown",function(Qe){return ct.onKeydown(Qe)})("input",function(){return ct.onInput()})("paste",function(Qe){return ct.onPaste(Qe)})("focus",function(Qe){return ct.onInputFocus(Qe)})("blur",function(Qe){return ct.onInputBlur(Qe)}),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&Ve&&(n.Tol(ct.styleClass),n.Q6J("ngClass","p-chips p-component")("ngStyle",ct.style),n.xp6(1),n.Q6J("ngClass",n.WLB(14,Pe,ct.focus,ct.disabled)),n.xp6(1),n.Q6J("ngForOf",ct.value),n.xp6(2),n.Tol(ct.inputStyleClass),n.Q6J("disabled",ct.disabled)("ngStyle",ct.inputStyle),n.uIk("id",ct.inputId)("placeholder",ct.value&&ct.value.length?null:ct.placeholder)("tabindex",ct.tabindex)("aria-labelledby",ct.ariaLabelledBy))},directives:[c.mk,c.PC,c.sg,c.tP,c.O5],styles:[".p-chips{display:inline-flex}.p-chips-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-chips-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-chips-input-token{flex:1 1 auto;display:inline-flex}.p-chips-token-icon{cursor:pointer}.p-chips-input-token input{border:0;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-chips{display:flex}"],encapsulation:2,changeDetection:0}),Me})(),st=(()=>{class Me{}return Me.\u0275fac=function(Ve){return new(Ve||Me)},Me.\u0275mod=n.oAB({type:Me}),Me.\u0275inj=n.cJS({imports:[[c.ez,pe.j,V.m8],pe.j,V.m8]}),Me})()},3473:(bn,Et,J)=>{"use strict";J.d(Et,{Q:()=>Xt,D:()=>Nt});var n=J(639),c=J(7238),V=J(8583),pe=J(1818),ie=J(3013),se=J(4207),de=J(6988),ge=J(9309);const we=["content"];function re(Ut,zn){1&Ut&&n.GkF(0)}function xe(Ut,zn){if(1&Ut&&(n.TgZ(0,"div",10),n.YNc(1,re,1,0,"ng-container",11),n.qZA()),2&Ut){const kt=n.oxw(3);n.xp6(1),n.Q6J("ngTemplateOutlet",kt.headerTemplate)}}function Pe(Ut,zn){if(1&Ut&&(n.TgZ(0,"span",15),n._uU(1),n.qZA()),2&Ut){const kt=n.oxw(4);n.xp6(1),n.Oqu(kt.option("header"))}}const ut=function(){return{"p-dialog-header-icon p-dialog-header-close p-link":!0}};function dt(Ut,zn){if(1&Ut){const kt=n.EpF();n.TgZ(0,"button",16),n.NdJ("click",function(Ht){return n.CHM(kt),n.oxw(4).close(Ht)})("keydown.enter",function(Ht){return n.CHM(kt),n.oxw(4).close(Ht)}),n._UZ(1,"span",17),n.qZA()}2&Ut&&n.Q6J("ngClass",n.DdM(1,ut))}function st(Ut,zn){if(1&Ut&&(n.TgZ(0,"div",10),n.YNc(1,Pe,2,1,"span",12),n.TgZ(2,"div",13),n.YNc(3,dt,2,2,"button",14),n.qZA(),n.qZA()),2&Ut){const kt=n.oxw(3);n.xp6(1),n.Q6J("ngIf",kt.option("header")),n.xp6(2),n.Q6J("ngIf",kt.closable)}}function Me(Ut,zn){if(1&Ut&&n._UZ(0,"i",1),2&Ut){const kt=n.oxw(3);n.Tol(kt.option("icon")),n.Q6J("ngClass","p-confirm-dialog-icon")}}function Ue(Ut,zn){1&Ut&&n.GkF(0)}function Ve(Ut,zn){if(1&Ut&&(n.TgZ(0,"div",18),n.Hsn(1),n.YNc(2,Ue,1,0,"ng-container",11),n.qZA()),2&Ut){const kt=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",kt.footerTemplate)}}function ct(Ut,zn){if(1&Ut){const kt=n.EpF();n.TgZ(0,"button",20),n.NdJ("click",function(){return n.CHM(kt),n.oxw(4).reject()}),n.qZA()}if(2&Ut){const kt=n.oxw(4);n.Tol(kt.option("rejectButtonStyleClass")),n.Q6J("icon",kt.option("rejectIcon"))("label",kt.rejectButtonLabel)("ngClass","p-confirm-dialog-reject"),n.uIk("aria-label",kt.rejectAriaLabel)}}function je(Ut,zn){if(1&Ut){const kt=n.EpF();n.TgZ(0,"button",20),n.NdJ("click",function(){return n.CHM(kt),n.oxw(4).accept()}),n.qZA()}if(2&Ut){const kt=n.oxw(4);n.Tol(kt.option("acceptButtonStyleClass")),n.Q6J("icon",kt.option("acceptIcon"))("label",kt.acceptButtonLabel)("ngClass","p-confirm-dialog-accept"),n.uIk("aria-label",kt.acceptAriaLabel)}}function Qe(Ut,zn){if(1&Ut&&(n.TgZ(0,"div",18),n.YNc(1,ct,1,6,"button",19),n.YNc(2,je,1,6,"button",19),n.qZA()),2&Ut){const kt=n.oxw(3);n.xp6(1),n.Q6J("ngIf",kt.option("rejectVisible")),n.xp6(1),n.Q6J("ngIf",kt.option("acceptVisible"))}}const ue=function(Ut){return{"p-dialog p-confirm-dialog p-component":!0,"p-dialog-rtl":Ut}},z=function(Ut,zn){return{transform:Ut,transition:zn}},Le=function(Ut){return{value:"visible",params:Ut}};function ve(Ut,zn){if(1&Ut){const kt=n.EpF();n.TgZ(0,"div",3),n.NdJ("mousedown",function(){return n.CHM(kt),n.oxw(2).moveOnTop()})("@animation.start",function(Ht){return n.CHM(kt),n.oxw(2).onAnimationStart(Ht)})("@animation.done",function(Ht){return n.CHM(kt),n.oxw(2).onAnimationEnd(Ht)}),n.YNc(1,xe,2,1,"div",4),n.YNc(2,st,4,2,"div",4),n.TgZ(3,"div",5,6),n.YNc(5,Me,1,3,"i",7),n._UZ(6,"span",8),n.qZA(),n.YNc(7,Ve,3,1,"div",9),n.YNc(8,Qe,3,2,"div",9),n.qZA()}if(2&Ut){const kt=n.oxw(2);n.Tol(kt.styleClass),n.Q6J("ngClass",n.VKq(11,ue,kt.rtl))("ngStyle",kt.style)("@animation",n.VKq(16,Le,n.WLB(13,z,kt.transformOptions,kt.transitionOptions))),n.xp6(1),n.Q6J("ngIf",kt.headerTemplate),n.xp6(1),n.Q6J("ngIf",!kt.headerTemplate),n.xp6(3),n.Q6J("ngIf",kt.option("icon")),n.xp6(1),n.Q6J("innerHTML",kt.option("message"),n.oJD),n.xp6(1),n.Q6J("ngIf",kt.footer||kt.footerTemplate),n.xp6(1),n.Q6J("ngIf",!kt.footer&&!kt.footerTemplate)}}function Ie(Ut,zn){if(1&Ut&&(n.TgZ(0,"div",1),n.YNc(1,ve,9,18,"div",2),n.qZA()),2&Ut){const kt=n.oxw();n.Tol(kt.maskStyleClass),n.Q6J("ngClass",kt.getMaskClass()),n.xp6(1),n.Q6J("ngIf",kt.visible)}}const be=[[["p-footer"]]],Be=["p-footer"],bt=(0,c.oQ)([(0,c.oB)({transform:"{{transform}}",opacity:0}),(0,c.jt)("{{transition}}",(0,c.oB)({transform:"none",opacity:1}))]),We=(0,c.oQ)([(0,c.jt)("{{transition}}",(0,c.oB)({transform:"{{transform}}",opacity:0}))]);let Xt=(()=>{class Ut{constructor(kt,_n,Ht,sn,tt,at){this.el=kt,this.renderer=_n,this.confirmationService=Ht,this.zone=sn,this.cd=tt,this.config=at,this.acceptIcon="pi pi-check",this.acceptVisible=!0,this.rejectIcon="pi pi-times",this.rejectVisible=!0,this.closeOnEscape=!0,this.blockScroll=!0,this.closable=!0,this.autoZIndex=!0,this.baseZIndex=0,this.transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.focusTrap=!0,this.defaultFocus="accept",this.onHide=new n.vpe,this._position="center",this.transformOptions="scale(0.7)",this.id=(0,de.Th)(),this.subscription=this.confirmationService.requireConfirmation$.subscribe(Tt=>{Tt?Tt.key===this.key&&(this.confirmation=Tt,this.confirmationOptions={message:this.confirmation.message||this.message,icon:this.confirmation.icon||this.icon,header:this.confirmation.header||this.header,rejectVisible:null==this.confirmation.rejectVisible?this.rejectVisible:this.confirmation.rejectVisible,acceptVisible:null==this.confirmation.acceptVisible?this.acceptVisible:this.confirmation.acceptVisible,acceptLabel:this.confirmation.acceptLabel||this.acceptLabel,rejectLabel:this.confirmation.rejectLabel||this.rejectLabel,acceptIcon:this.confirmation.acceptIcon||this.acceptIcon,rejectIcon:this.confirmation.rejectIcon||this.rejectIcon,acceptButtonStyleClass:this.confirmation.acceptButtonStyleClass||this.acceptButtonStyleClass,rejectButtonStyleClass:this.confirmation.rejectButtonStyleClass||this.rejectButtonStyleClass,defaultFocus:this.confirmation.defaultFocus||this.defaultFocus,blockScroll:!1===this.confirmation.blockScroll||!0===this.confirmation.blockScroll?this.confirmation.blockScroll:this.blockScroll,closeOnEscape:!1===this.confirmation.closeOnEscape||!0===this.confirmation.closeOnEscape?this.confirmation.closeOnEscape:this.closeOnEscape,dismissableMask:!1===this.confirmation.dismissableMask||!0===this.confirmation.dismissableMask?this.confirmation.dismissableMask:this.dismissableMask},this.confirmation.accept&&(this.confirmation.acceptEvent=new n.vpe,this.confirmation.acceptEvent.subscribe(this.confirmation.accept)),this.confirmation.reject&&(this.confirmation.rejectEvent=new n.vpe,this.confirmation.rejectEvent.subscribe(this.confirmation.reject)),this.visible=!0):this.hide()})}get visible(){return this._visible}set visible(kt){this._visible=kt,this._visible&&!this.maskVisible&&(this.maskVisible=!0),this.cd.markForCheck()}get position(){return this._position}set position(kt){switch(this._position=kt,kt){case"top-left":case"bottom-left":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"top-right":case"bottom-right":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}ngAfterContentInit(){this.templates.forEach(kt=>{switch(kt.getType()){case"header":this.headerTemplate=kt.template;break;case"footer":this.footerTemplate=kt.template}})}ngOnInit(){this.breakpoints&&this.createStyle(),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.visible&&this.cd.markForCheck()})}option(kt){const _n=this.confirmationOptions||this;if(_n.hasOwnProperty(kt))return _n[kt]}onAnimationStart(kt){switch(kt.toState){case"visible":this.container=kt.element,this.wrapper=this.container.parentElement,this.contentContainer=pe.p.findSingle(this.container,".p-dialog-content"),this.container.setAttribute(this.id,"");const _n=this.getElementToFocus();_n&&_n.focus(),this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.enableModality()}}onAnimationEnd(kt){switch(kt.toState){case"void":this.onOverlayHide()}}getElementToFocus(){switch(this.option("defaultFocus")){case"accept":return pe.p.findSingle(this.container,".p-confirm-dialog-accept");case"reject":return pe.p.findSingle(this.container,".p-confirm-dialog-reject");case"close":return pe.p.findSingle(this.container,".p-dialog-header-close");case"none":return null;default:return pe.p.findSingle(this.container,".p-confirm-dialog-accept")}}appendContainer(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.wrapper):pe.p.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.wrapper&&this.appendTo&&this.el.nativeElement.appendChild(this.wrapper)}enableModality(){this.option("blockScroll")&&pe.p.addClass(document.body,"p-overflow-hidden"),this.option("dismissableMask")&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",kt=>{this.wrapper&&this.wrapper.isSameNode(kt.target)&&this.close(kt)}))}disableModality(){this.maskVisible=!1,this.option("blockScroll")&&pe.p.removeClass(document.body,"p-overflow-hidden"),this.dismissableMask&&this.unbindMaskClickListener(),this.container&&!this.cd.destroyed&&this.cd.detectChanges()}createStyle(){if(!this.styleElement){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let kt="";for(let _n in this.breakpoints)kt+=`\n                    @media screen and (max-width: ${_n}) {\n                        .p-dialog[${this.id}] {\n                            width: ${this.breakpoints[_n]} !important;\n                        }\n                    }\n                `;this.styleElement.innerHTML=kt}}close(kt){this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(ie.wB.CANCEL),this.hide(ie.wB.CANCEL),kt.preventDefault()}hide(kt){this.onHide.emit(kt),this.visible=!1,this.confirmation=null,this.confirmationOptions=null}moveOnTop(){this.autoZIndex&&(this.container.style.zIndex=String(this.baseZIndex+ ++pe.p.zindex),this.wrapper.style.zIndex=String(this.baseZIndex+(pe.p.zindex-1)))}getMaskClass(){let kt={"p-dialog-mask p-component-overlay":!0,"p-dialog-mask-scrollblocker":this.blockScroll};return kt[this.getPositionClass().toString()]=!0,kt}getPositionClass(){const _n=["left","right","top","top-left","top-right","bottom","bottom-left","bottom-right"].find(Ht=>Ht===this.position);return _n?`p-dialog-${_n}`:""}bindGlobalListeners(){(this.option("closeOnEscape")&&this.closable||this.focusTrap&&!this.documentEscapeListener)&&(this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",_n=>{if(27==_n.which&&this.option("closeOnEscape")&&this.closable&&parseInt(this.container.style.zIndex)===pe.p.zindex+this.baseZIndex&&this.visible&&this.close(_n),9===_n.which&&this.focusTrap){_n.preventDefault();let Ht=pe.p.getFocusableElements(this.container);if(Ht&&Ht.length>0)if(Ht[0].ownerDocument.activeElement){let sn=Ht.indexOf(Ht[0].ownerDocument.activeElement);_n.shiftKey?-1==sn||0===sn?Ht[Ht.length-1].focus():Ht[sn-1].focus():-1==sn||sn===Ht.length-1?Ht[0].focus():Ht[sn+1].focus()}else Ht[0].focus()}}))}unbindGlobalListeners(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}onOverlayHide(){this.disableModality(),this.unbindGlobalListeners(),this.container=null}destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.restoreAppend(),this.onOverlayHide(),this.subscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.destroyStyle()}accept(){this.confirmation&&this.confirmation.acceptEvent&&this.confirmation.acceptEvent.emit(),this.hide(ie.wB.ACCEPT)}reject(){this.confirmation&&this.confirmation.rejectEvent&&this.confirmation.rejectEvent.emit(ie.wB.REJECT),this.hide(ie.wB.REJECT)}get acceptButtonLabel(){return this.option("acceptLabel")||this.config.getTranslation(ie.ws.ACCEPT)}get rejectButtonLabel(){return this.option("rejectLabel")||this.config.getTranslation(ie.ws.REJECT)}}return Ut.\u0275fac=function(kt){return new(kt||Ut)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(ie.YP),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(ie.b4))},Ut.\u0275cmp=n.Xpm({type:Ut,selectors:[["p-confirmDialog"]],contentQueries:function(kt,_n,Ht){if(1&kt&&(n.Suo(Ht,ie.$_,5),n.Suo(Ht,ie.jx,4)),2&kt){let sn;n.iGM(sn=n.CRH())&&(_n.footer=sn.first),n.iGM(sn=n.CRH())&&(_n.templates=sn)}},viewQuery:function(kt,_n){if(1&kt&&n.Gf(we,5),2&kt){let Ht;n.iGM(Ht=n.CRH())&&(_n.contentViewChild=Ht.first)}},inputs:{header:"header",icon:"icon",message:"message",style:"style",styleClass:"styleClass",maskStyleClass:"maskStyleClass",acceptIcon:"acceptIcon",acceptLabel:"acceptLabel",acceptAriaLabel:"acceptAriaLabel",acceptVisible:"acceptVisible",rejectIcon:"rejectIcon",rejectLabel:"rejectLabel",rejectAriaLabel:"rejectAriaLabel",rejectVisible:"rejectVisible",acceptButtonStyleClass:"acceptButtonStyleClass",rejectButtonStyleClass:"rejectButtonStyleClass",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",blockScroll:"blockScroll",rtl:"rtl",closable:"closable",appendTo:"appendTo",key:"key",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",transitionOptions:"transitionOptions",focusTrap:"focusTrap",defaultFocus:"defaultFocus",breakpoints:"breakpoints",visible:"visible",position:"position"},outputs:{onHide:"onHide"},ngContentSelectors:Be,decls:1,vars:1,consts:[[3,"class","ngClass",4,"ngIf"],[3,"ngClass"],[3,"ngClass","ngStyle","class","mousedown",4,"ngIf"],[3,"ngClass","ngStyle","mousedown"],["class","p-dialog-header",4,"ngIf"],[1,"p-dialog-content"],["content",""],[3,"ngClass","class",4,"ngIf"],[1,"p-confirm-dialog-message",3,"innerHTML"],["class","p-dialog-footer",4,"ngIf"],[1,"p-dialog-header"],[4,"ngTemplateOutlet"],["class","p-dialog-title",4,"ngIf"],[1,"p-dialog-header-icons"],["type","button",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title"],["type","button",3,"ngClass","click","keydown.enter"],[1,"pi","pi-times"],[1,"p-dialog-footer"],["type","button","pRipple","","pButton","",3,"icon","label","ngClass","class","click",4,"ngIf"],["type","button","pRipple","","pButton","",3,"icon","label","ngClass","click"]],template:function(kt,_n){1&kt&&(n.F$t(be),n.YNc(0,Ie,2,4,"div",0)),2&kt&&n.Q6J("ngIf",_n.maskVisible)},directives:[V.O5,V.mk,V.PC,V.tP,ge.H,se.Hq],styles:[".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none;background-color:transparent;transition-property:background-color}.p-dialog,.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-dialog-mask.p-dialog-mask-leave{background-color:transparent}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-top .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top,.p-dialog-top-left{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}"],encapsulation:2,data:{animation:[(0,c.X$)("animation",[(0,c.eR)("void => visible",[(0,c._7)(bt)]),(0,c.eR)("visible => void",[(0,c._7)(We)])])]},changeDetection:0}),Ut})(),Nt=(()=>{class Ut{}return Ut.\u0275fac=function(kt){return new(kt||Ut)},Ut.\u0275mod=n.oAB({type:Ut}),Ut.\u0275inj=n.cJS({imports:[[V.ez,se.hJ,ge.T],se.hJ,ie.m8]}),Ut})()},5121:(bn,Et,J)=>{"use strict";J.d(Et,{V:()=>kt,S:()=>_n});var n=J(639),c=J(7238),V=J(8583),pe=J(1818),ie=J(3013);let se=(()=>{class Ht{constructor(tt){this.el=tt}onkeydown(tt){if(!0!==this.pFocusTrapDisabled){tt.preventDefault();let at=pe.p.getFocusableElements(this.el.nativeElement);if(at&&at.length>0)if(at[0].ownerDocument.activeElement){let Tt=at.indexOf(at[0].ownerDocument.activeElement);tt.shiftKey?-1==Tt||0===Tt?at[at.length-1].focus():at[Tt-1].focus():-1==Tt||Tt===at.length-1?at[0].focus():at[Tt+1].focus()}else at[0].focus()}}}return Ht.\u0275fac=function(tt){return new(tt||Ht)(n.Y36(n.SBq))},Ht.\u0275dir=n.lG2({type:Ht,selectors:[["","pFocusTrap",""]],hostBindings:function(tt,at){1&tt&&n.NdJ("keydown.tab",function(et){return at.onkeydown(et)})("keydown.shift.tab",function(et){return at.onkeydown(et)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}}),Ht})(),de=(()=>{class Ht{}return Ht.\u0275fac=function(tt){return new(tt||Ht)},Ht.\u0275mod=n.oAB({type:Ht}),Ht.\u0275inj=n.cJS({imports:[[V.ez]]}),Ht})();var ge=J(9309),we=J(6988);const re=["titlebar"],xe=["content"],Pe=["footer"];function ut(Ht,sn){if(1&Ht&&(n.TgZ(0,"span",16),n._uU(1),n.qZA()),2&Ht){const tt=n.oxw(4);n.uIk("id",tt.id+"-label"),n.xp6(1),n.Oqu(tt.header)}}function dt(Ht,sn){if(1&Ht&&(n.TgZ(0,"span",16),n.Hsn(1,1),n.qZA()),2&Ht){const tt=n.oxw(4);n.uIk("id",tt.id+"-label")}}function st(Ht,sn){1&Ht&&n.GkF(0)}const Me=function(){return{"p-dialog-header-icon p-dialog-header-maximize p-link":!0}};function Ue(Ht,sn){if(1&Ht){const tt=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){return n.CHM(tt),n.oxw(4).maximize()})("keydown.enter",function(){return n.CHM(tt),n.oxw(4).maximize()}),n._UZ(1,"span",18),n.qZA()}if(2&Ht){const tt=n.oxw(4);n.Q6J("ngClass",n.DdM(2,Me)),n.xp6(1),n.Q6J("ngClass",tt.maximized?tt.minimizeIcon:tt.maximizeIcon)}}const Ve=function(){return{"p-dialog-header-icon p-dialog-header-close p-link":!0}};function ct(Ht,sn){if(1&Ht){const tt=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(Tt){return n.CHM(tt),n.oxw(4).close(Tt)})("keydown.enter",function(Tt){return n.CHM(tt),n.oxw(4).close(Tt)}),n._UZ(1,"span",19),n.qZA()}if(2&Ht){const tt=n.oxw(4);n.Q6J("ngClass",n.DdM(2,Ve)),n.xp6(1),n.Q6J("ngClass",tt.closeIcon)}}function je(Ht,sn){if(1&Ht){const tt=n.EpF();n.TgZ(0,"div",11,12),n.NdJ("mousedown",function(Tt){return n.CHM(tt),n.oxw(3).initDrag(Tt)}),n.YNc(2,ut,2,2,"span",13),n.YNc(3,dt,2,1,"span",13),n.YNc(4,st,1,0,"ng-container",8),n.TgZ(5,"div",14),n.YNc(6,Ue,2,3,"button",15),n.YNc(7,ct,2,3,"button",15),n.qZA(),n.qZA()}if(2&Ht){const tt=n.oxw(3);n.xp6(2),n.Q6J("ngIf",!tt.headerFacet&&!tt.headerTemplate),n.xp6(1),n.Q6J("ngIf",tt.headerFacet),n.xp6(1),n.Q6J("ngTemplateOutlet",tt.headerTemplate),n.xp6(2),n.Q6J("ngIf",tt.maximizable),n.xp6(1),n.Q6J("ngIf",tt.closable)}}function Qe(Ht,sn){1&Ht&&n.GkF(0)}function ue(Ht,sn){1&Ht&&n.GkF(0)}function z(Ht,sn){if(1&Ht&&(n.TgZ(0,"div",20,21),n.Hsn(2,2),n.YNc(3,ue,1,0,"ng-container",8),n.qZA()),2&Ht){const tt=n.oxw(3);n.xp6(3),n.Q6J("ngTemplateOutlet",tt.footerTemplate)}}function Le(Ht,sn){if(1&Ht){const tt=n.EpF();n.TgZ(0,"div",22),n.NdJ("mousedown",function(Tt){return n.CHM(tt),n.oxw(3).initResize(Tt)}),n.qZA()}}const ve=function(Ht,sn,tt,at){return{"p-dialog p-component":!0,"p-dialog-rtl":Ht,"p-dialog-draggable":sn,"p-dialog-resizable":tt,"p-dialog-maximized":at}},Ie=function(Ht,sn){return{transform:Ht,transition:sn}},be=function(Ht){return{value:"visible",params:Ht}};function Be(Ht,sn){if(1&Ht){const tt=n.EpF();n.TgZ(0,"div",3,4),n.NdJ("@animation.start",function(Tt){return n.CHM(tt),n.oxw(2).onAnimationStart(Tt)})("@animation.done",function(Tt){return n.CHM(tt),n.oxw(2).onAnimationEnd(Tt)}),n.YNc(2,je,8,5,"div",5),n.TgZ(3,"div",6,7),n.Hsn(5),n.YNc(6,Qe,1,0,"ng-container",8),n.qZA(),n.YNc(7,z,4,1,"div",9),n.YNc(8,Le,1,0,"div",10),n.qZA()}if(2&Ht){const tt=n.oxw(2);n.Tol(tt.styleClass),n.Q6J("ngClass",n.l5B(15,ve,tt.rtl,tt.draggable,tt.resizable,tt.maximized))("ngStyle",tt.style)("pFocusTrapDisabled",!1===tt.focusTrap)("@animation",n.VKq(23,be,n.WLB(20,Ie,tt.transformOptions,tt.transitionOptions))),n.uIk("aria-labelledby",tt.id+"-label"),n.xp6(2),n.Q6J("ngIf",tt.showHeader),n.xp6(1),n.Tol(tt.contentStyleClass),n.Q6J("ngClass","p-dialog-content")("ngStyle",tt.contentStyle),n.xp6(3),n.Q6J("ngTemplateOutlet",tt.contentTemplate),n.xp6(1),n.Q6J("ngIf",tt.footerFacet||tt.footerTemplate),n.xp6(1),n.Q6J("ngIf",tt.resizable)}}const bt=function(Ht,sn,tt,at,Tt,et,mt,on,un,cn){return{"p-dialog-mask":!0,"p-component-overlay":Ht,"p-dialog-mask-scrollblocker":sn,"p-dialog-left":tt,"p-dialog-right":at,"p-dialog-top":Tt,"p-dialog-top-left":et,"p-dialog-top-right":mt,"p-dialog-bottom":on,"p-dialog-bottom-left":un,"p-dialog-bottom-right":cn}};function We(Ht,sn){if(1&Ht&&(n.TgZ(0,"div",1),n.YNc(1,Be,9,25,"div",2),n.qZA()),2&Ht){const tt=n.oxw();n.Tol(tt.maskStyleClass),n.Q6J("ngClass",n.rFY(4,bt,[tt.modal,tt.modal||tt.blockScroll,"left"===tt.position,"right"===tt.position,"top"===tt.position,"topleft"===tt.position||"top-left"===tt.position,"topright"===tt.position||"top-right"===tt.position,"bottom"===tt.position,"bottomleft"===tt.position||"bottom-left"===tt.position,"bottomright"===tt.position||"bottom-right"===tt.position])),n.xp6(1),n.Q6J("ngIf",tt.visible)}}const Xt=["*",[["p-header"]],[["p-footer"]]],Nt=["*","p-header","p-footer"],Ut=(0,c.oQ)([(0,c.oB)({transform:"{{transform}}",opacity:0}),(0,c.jt)("{{transition}}")]),zn=(0,c.oQ)([(0,c.jt)("{{transition}}",(0,c.oB)({transform:"{{transform}}",opacity:0}))]);let kt=(()=>{class Ht{constructor(tt,at,Tt,et,mt){this.el=tt,this.renderer=at,this.zone=Tt,this.cd=et,this.config=mt,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.showHeader=!0,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.keepInViewport=!0,this.focusTrap=!0,this.transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.closeIcon="pi pi-times",this.minimizeIcon="pi pi-window-minimize",this.maximizeIcon="pi pi-window-maximize",this.onShow=new n.vpe,this.onHide=new n.vpe,this.visibleChange=new n.vpe,this.onResizeInit=new n.vpe,this.onResizeEnd=new n.vpe,this.onDragEnd=new n.vpe,this.onMaximize=new n.vpe,this.id=(0,we.Th)(),this._style={},this._position="center",this.transformOptions="scale(0.7)"}get positionLeft(){return 0}set positionLeft(tt){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(tt){console.log("positionTop property is deprecated.")}get responsive(){return!1}set responsive(tt){console.log("Responsive property is deprecated.")}get breakpoint(){return 649}set breakpoint(tt){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}ngAfterContentInit(){this.templates.forEach(tt=>{switch(tt.getType()){case"header":this.headerTemplate=tt.template;break;case"content":this.contentTemplate=tt.template;break;case"footer":this.footerTemplate=tt.template;break;default:this.contentTemplate=tt.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}get visible(){return this._visible}set visible(tt){this._visible=tt,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(tt){tt&&(this._style=Object.assign({},tt),this.originalStyle=tt)}get position(){return this._position}set position(tt){switch(this._position=tt,tt){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}focus(){let tt=pe.p.findSingle(this.container,"[autofocus]");tt&&this.zone.runOutsideAngular(()=>{setTimeout(()=>tt.focus(),5)})}close(tt){this.visibleChange.emit(!1),tt.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",tt=>{this.wrapper&&this.wrapper.isSameNode(tt.target)&&this.close(tt)})),this.modal&&pe.p.addClass(document.body,"p-overflow-hidden")}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&pe.p.removeClass(document.body,"p-overflow-hidden"),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?pe.p.addClass(document.body,"p-overflow-hidden"):pe.p.removeClass(document.body,"p-overflow-hidden")),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(we.P9.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(!this.styleElement){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement);let tt="";for(let at in this.breakpoints)tt+=`\n                    @media screen and (max-width: ${at}) {\n                        .p-dialog[${this.id}] {\n                            width: ${this.breakpoints[at]} !important;\n                        }\n                    }\n                `;this.styleElement.innerHTML=tt}}initDrag(tt){pe.p.hasClass(tt.target,"p-dialog-header-icon")||pe.p.hasClass(tt.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=tt.pageX,this.lastPageY=tt.pageY,this.container.style.margin="0",pe.p.addClass(document.body,"p-unselectable-text"))}onKeydown(tt){if(this.focusTrap&&9===tt.which){tt.preventDefault();let at=pe.p.getFocusableElements(this.container);if(at&&at.length>0)if(at[0].ownerDocument.activeElement){let Tt=at.indexOf(at[0].ownerDocument.activeElement);tt.shiftKey?-1==Tt||0===Tt?at[at.length-1].focus():at[Tt-1].focus():-1==Tt||Tt===at.length-1?at[0].focus():at[Tt+1].focus()}else at[0].focus()}}onDrag(tt){if(this.dragging){let at=pe.p.getOuterWidth(this.container),Tt=pe.p.getOuterHeight(this.container),et=tt.pageX-this.lastPageX,mt=tt.pageY-this.lastPageY,on=pe.p.getOffset(this.container),un=on.left+et,cn=on.top+mt,Rn=pe.p.getViewport();this.container.style.position="fixed",this.keepInViewport?(un>=this.minX&&un+at<Rn.width&&(this._style.left=un+"px",this.lastPageX=tt.pageX,this.container.style.left=un+"px"),cn>=this.minY&&cn+Tt<Rn.height&&(this._style.top=cn+"px",this.lastPageY=tt.pageY,this.container.style.top=cn+"px")):(this.lastPageX=tt.pageX,this.container.style.left=un+"px",this.lastPageY=tt.pageY,this.container.style.top=cn+"px")}}endDrag(tt){this.dragging&&(this.dragging=!1,pe.p.removeClass(document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(tt))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(tt){this.resizable&&(this.resizing=!0,this.lastPageX=tt.pageX,this.lastPageY=tt.pageY,pe.p.addClass(document.body,"p-unselectable-text"),this.onResizeInit.emit(tt))}onResize(tt){if(this.resizing){let at=tt.pageX-this.lastPageX,Tt=tt.pageY-this.lastPageY,et=pe.p.getOuterWidth(this.container),mt=pe.p.getOuterHeight(this.container),on=pe.p.getOuterHeight(this.contentViewChild.nativeElement),un=et+at,cn=mt+Tt,Rn=this.container.style.minWidth,vi=this.container.style.minHeight,Ci=pe.p.getOffset(this.container),Pn=pe.p.getViewport();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(un+=at,cn+=Tt),(!Rn||un>parseInt(Rn))&&Ci.left+un<Pn.width&&(this._style.width=un+"px",this.container.style.width=this._style.width),(!vi||cn>parseInt(vi))&&Ci.top+cn<Pn.height&&(this.contentViewChild.nativeElement.style.height=on+cn-mt+"px",this._style.height&&(this._style.height=cn+"px",this.container.style.height=this._style.height)),this.lastPageX=tt.pageX,this.lastPageY=tt.pageY}}resizeEnd(tt){this.resizing&&(this.resizing=!1,pe.p.removeClass(document.body,"p-unselectable-text"),this.onResizeEnd.emit(tt))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.zone.runOutsideAngular(()=>{this.documentDragListener=this.onDrag.bind(this),window.document.addEventListener("mousemove",this.documentDragListener)})}unbindDocumentDragListener(){this.documentDragListener&&(window.document.removeEventListener("mousemove",this.documentDragListener),this.documentDragListener=null)}bindDocumentDragEndListener(){this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.endDrag.bind(this),window.document.addEventListener("mouseup",this.documentDragEndListener)})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(window.document.removeEventListener("mouseup",this.documentDragEndListener),this.documentDragEndListener=null)}bindDocumentResizeListeners(){this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.onResize.bind(this),this.documentResizeEndListener=this.resizeEnd.bind(this),window.document.addEventListener("mousemove",this.documentResizeListener),window.document.addEventListener("mouseup",this.documentResizeEndListener)})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(window.document.removeEventListener("mousemove",this.documentResizeListener),window.document.removeEventListener("mouseup",this.documentResizeEndListener),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",at=>{27==at.which&&this.close(at)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.wrapper):pe.p.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.el.nativeElement.appendChild(this.wrapper)}onAnimationStart(tt){switch(tt.toState){case"visible":this.container=tt.element,this.wrapper=this.container.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&pe.p.addClass(document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus()}}onAnimationEnd(tt){switch(tt.toState){case"void":this.onContainerDestroy(),this.onHide.emit({});break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(pe.p.removeClass(document.body,"p-overflow-hidden"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&pe.p.removeClass(document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&we.P9.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?Object.assign({},this.originalStyle):{}}destroyStyle(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}}return Ht.\u0275fac=function(tt){return new(tt||Ht)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.R0b),n.Y36(n.sBO),n.Y36(ie.b4))},Ht.\u0275cmp=n.Xpm({type:Ht,selectors:[["p-dialog"]],contentQueries:function(tt,at,Tt){if(1&tt&&(n.Suo(Tt,ie.h4,5),n.Suo(Tt,ie.$_,5),n.Suo(Tt,ie.jx,4)),2&tt){let et;n.iGM(et=n.CRH())&&(at.headerFacet=et.first),n.iGM(et=n.CRH())&&(at.footerFacet=et.first),n.iGM(et=n.CRH())&&(at.templates=et)}},viewQuery:function(tt,at){if(1&tt&&(n.Gf(re,5),n.Gf(xe,5),n.Gf(Pe,5)),2&tt){let Tt;n.iGM(Tt=n.CRH())&&(at.headerViewChild=Tt.first),n.iGM(Tt=n.CRH())&&(at.contentViewChild=Tt.first),n.iGM(Tt=n.CRH())&&(at.footerViewChild=Tt.first)}},inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:Nt,decls:1,vars:1,consts:[[3,"class","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],["container",""],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["content",""],[4,"ngTemplateOutlet"],["class","p-dialog-footer",4,"ngIf"],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],[1,"p-dialog-header",3,"mousedown"],["titlebar",""],["class","p-dialog-title",4,"ngIf"],[1,"p-dialog-header-icons"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"],["footer",""],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"]],template:function(tt,at){1&tt&&(n.F$t(Xt),n.YNc(0,We,2,15,"div",0)),2&tt&&n.Q6J("ngIf",at.maskVisible)},directives:[V.O5,V.mk,se,V.PC,V.tP,ge.H],styles:[".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none;background-color:transparent;transition-property:background-color}.p-dialog,.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-dialog-mask.p-dialog-mask-leave{background-color:transparent}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-top .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top,.p-dialog-top-left{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}"],encapsulation:2,data:{animation:[(0,c.X$)("animation",[(0,c.eR)("void => visible",[(0,c._7)(Ut)]),(0,c.eR)("visible => void",[(0,c._7)(zn)])])]},changeDetection:0}),Ht})(),_n=(()=>{class Ht{}return Ht.\u0275fac=function(tt){return new(tt||Ht)},Ht.\u0275mod=n.oAB({type:Ht}),Ht.\u0275inj=n.cJS({imports:[[V.ez,de,ge.T],ie.m8]}),Ht})()},1818:(bn,Et,J)=>{"use strict";J.d(Et,{V:()=>c,p:()=>n});let n=(()=>{class V{static addClass(ie,se){ie.classList?ie.classList.add(se):ie.className+=" "+se}static addMultipleClasses(ie,se){if(ie.classList){let de=se.trim().split(" ");for(let ge=0;ge<de.length;ge++)ie.classList.add(de[ge])}else{let de=se.split(" ");for(let ge=0;ge<de.length;ge++)ie.className+=" "+de[ge]}}static removeClass(ie,se){ie.classList?ie.classList.remove(se):ie.className=ie.className.replace(new RegExp("(^|\\b)"+se.split(" ").join("|")+"(\\b|$)","gi")," ")}static hasClass(ie,se){return ie.classList?ie.classList.contains(se):new RegExp("(^| )"+se+"( |$)","gi").test(ie.className)}static siblings(ie){return Array.prototype.filter.call(ie.parentNode.children,function(se){return se!==ie})}static find(ie,se){return Array.from(ie.querySelectorAll(se))}static findSingle(ie,se){return ie?ie.querySelector(se):null}static index(ie){let se=ie.parentNode.childNodes,de=0;for(var ge=0;ge<se.length;ge++){if(se[ge]==ie)return de;1==se[ge].nodeType&&de++}return-1}static indexWithinGroup(ie,se){let de=ie.parentNode?ie.parentNode.childNodes:[],ge=0;for(var we=0;we<de.length;we++){if(de[we]==ie)return ge;de[we].attributes&&de[we].attributes[se]&&1==de[we].nodeType&&ge++}return-1}static relativePosition(ie,se){let de=ie.offsetParent?{width:ie.offsetWidth,height:ie.offsetHeight}:this.getHiddenElementDimensions(ie);const ge=se.offsetHeight,we=se.getBoundingClientRect(),re=this.getViewport();let xe,Pe;we.top+ge+de.height>re.height?(xe=-1*de.height,ie.style.transformOrigin="bottom",we.top+xe<0&&(xe=-1*we.top)):(xe=ge,ie.style.transformOrigin="top"),Pe=de.width>re.width?-1*we.left:we.left+de.width>re.width?-1*(we.left+de.width-re.width):0,ie.style.top=xe+"px",ie.style.left=Pe+"px"}static absolutePosition(ie,se){let Me,Ue,de=ie.offsetParent?{width:ie.offsetWidth,height:ie.offsetHeight}:this.getHiddenElementDimensions(ie),ge=de.height,we=de.width,re=se.offsetHeight,xe=se.offsetWidth,Pe=se.getBoundingClientRect(),ut=this.getWindowScrollTop(),dt=this.getWindowScrollLeft(),st=this.getViewport();Pe.top+re+ge>st.height?(Me=Pe.top+ut-ge,ie.style.transformOrigin="bottom",Me<0&&(Me=ut)):(Me=re+Pe.top+ut,ie.style.transformOrigin="top"),Ue=Pe.left+we>st.width?Math.max(0,Pe.left+dt+xe-we):Pe.left+dt,ie.style.top=Me+"px",ie.style.left=Ue+"px"}static getParents(ie,se=[]){return null===ie.parentNode?se:this.getParents(ie.parentNode,se.concat([ie.parentNode]))}static getScrollableParents(ie){let se=[];if(ie){let de=this.getParents(ie);const ge=/(auto|scroll)/,we=re=>{let xe=window.getComputedStyle(re,null);return ge.test(xe.getPropertyValue("overflow"))||ge.test(xe.getPropertyValue("overflowX"))||ge.test(xe.getPropertyValue("overflowY"))};for(let re of de){let xe=1===re.nodeType&&re.dataset.scrollselectors;if(xe){let Pe=xe.split(",");for(let ut of Pe){let dt=this.findSingle(re,ut);dt&&we(dt)&&se.push(dt)}}9!==re.nodeType&&we(re)&&se.push(re)}}return se}static getHiddenElementOuterHeight(ie){ie.style.visibility="hidden",ie.style.display="block";let se=ie.offsetHeight;return ie.style.display="none",ie.style.visibility="visible",se}static getHiddenElementOuterWidth(ie){ie.style.visibility="hidden",ie.style.display="block";let se=ie.offsetWidth;return ie.style.display="none",ie.style.visibility="visible",se}static getHiddenElementDimensions(ie){let se={};return ie.style.visibility="hidden",ie.style.display="block",se.width=ie.offsetWidth,se.height=ie.offsetHeight,ie.style.display="none",ie.style.visibility="visible",se}static scrollInView(ie,se){let de=getComputedStyle(ie).getPropertyValue("borderTopWidth"),ge=de?parseFloat(de):0,we=getComputedStyle(ie).getPropertyValue("paddingTop"),re=we?parseFloat(we):0,xe=ie.getBoundingClientRect(),ut=se.getBoundingClientRect().top+document.body.scrollTop-(xe.top+document.body.scrollTop)-ge-re,dt=ie.scrollTop,st=ie.clientHeight,Me=this.getOuterHeight(se);ut<0?ie.scrollTop=dt+ut:ut+Me>st&&(ie.scrollTop=dt+ut-st+Me)}static fadeIn(ie,se){ie.style.opacity=0;let de=+new Date,ge=0,we=function(){ge=+ie.style.opacity.replace(",",".")+((new Date).getTime()-de)/se,ie.style.opacity=ge,de=+new Date,+ge<1&&(window.requestAnimationFrame&&requestAnimationFrame(we)||setTimeout(we,16))};we()}static fadeOut(ie,se){var de=1,re=50/se;let xe=setInterval(()=>{(de-=re)<=0&&(de=0,clearInterval(xe)),ie.style.opacity=de},50)}static getWindowScrollTop(){let ie=document.documentElement;return(window.pageYOffset||ie.scrollTop)-(ie.clientTop||0)}static getWindowScrollLeft(){let ie=document.documentElement;return(window.pageXOffset||ie.scrollLeft)-(ie.clientLeft||0)}static matches(ie,se){var de=Element.prototype;return(de.matches||de.webkitMatchesSelector||de.mozMatchesSelector||de.msMatchesSelector||function(we){return-1!==[].indexOf.call(document.querySelectorAll(we),this)}).call(ie,se)}static getOuterWidth(ie,se){let de=ie.offsetWidth;if(se){let ge=getComputedStyle(ie);de+=parseFloat(ge.marginLeft)+parseFloat(ge.marginRight)}return de}static getHorizontalPadding(ie){let se=getComputedStyle(ie);return parseFloat(se.paddingLeft)+parseFloat(se.paddingRight)}static getHorizontalMargin(ie){let se=getComputedStyle(ie);return parseFloat(se.marginLeft)+parseFloat(se.marginRight)}static innerWidth(ie){let se=ie.offsetWidth,de=getComputedStyle(ie);return se+=parseFloat(de.paddingLeft)+parseFloat(de.paddingRight),se}static width(ie){let se=ie.offsetWidth,de=getComputedStyle(ie);return se-=parseFloat(de.paddingLeft)+parseFloat(de.paddingRight),se}static getInnerHeight(ie){let se=ie.offsetHeight,de=getComputedStyle(ie);return se+=parseFloat(de.paddingTop)+parseFloat(de.paddingBottom),se}static getOuterHeight(ie,se){let de=ie.offsetHeight;if(se){let ge=getComputedStyle(ie);de+=parseFloat(ge.marginTop)+parseFloat(ge.marginBottom)}return de}static getHeight(ie){let se=ie.offsetHeight,de=getComputedStyle(ie);return se-=parseFloat(de.paddingTop)+parseFloat(de.paddingBottom)+parseFloat(de.borderTopWidth)+parseFloat(de.borderBottomWidth),se}static getWidth(ie){let se=ie.offsetWidth,de=getComputedStyle(ie);return se-=parseFloat(de.paddingLeft)+parseFloat(de.paddingRight)+parseFloat(de.borderLeftWidth)+parseFloat(de.borderRightWidth),se}static getViewport(){let ie=window,se=document,de=se.documentElement,ge=se.getElementsByTagName("body")[0];return{width:ie.innerWidth||de.clientWidth||ge.clientWidth,height:ie.innerHeight||de.clientHeight||ge.clientHeight}}static getOffset(ie){var se=ie.getBoundingClientRect();return{top:se.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:se.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(ie,se){let de=ie.parentNode;if(!de)throw"Can't replace element";return de.replaceChild(se,ie)}static getUserAgent(){return navigator.userAgent}static isIE(){var ie=window.navigator.userAgent;return ie.indexOf("MSIE ")>0||(ie.indexOf("Trident/")>0?(ie.indexOf("rv:"),!0):ie.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static appendChild(ie,se){if(this.isElement(se))se.appendChild(ie);else{if(!se.el||!se.el.nativeElement)throw"Cannot append "+se+" to "+ie;se.el.nativeElement.appendChild(ie)}}static removeChild(ie,se){if(this.isElement(se))se.removeChild(ie);else{if(!se.el||!se.el.nativeElement)throw"Cannot remove "+ie+" from "+se;se.el.nativeElement.removeChild(ie)}}static removeElement(ie){"remove"in Element.prototype?ie.remove():ie.parentNode.removeChild(ie)}static isElement(ie){return"object"==typeof HTMLElement?ie instanceof HTMLElement:ie&&"object"==typeof ie&&null!==ie&&1===ie.nodeType&&"string"==typeof ie.nodeName}static calculateScrollbarWidth(ie){if(ie){let se=getComputedStyle(ie);return ie.offsetWidth-ie.clientWidth-parseFloat(se.borderLeftWidth)-parseFloat(se.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let se=document.createElement("div");se.className="p-scrollbar-measure",document.body.appendChild(se);let de=se.offsetWidth-se.clientWidth;return document.body.removeChild(se),this.calculatedScrollbarWidth=de,de}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let ie=document.createElement("div");ie.className="p-scrollbar-measure",document.body.appendChild(ie);let se=ie.offsetHeight-ie.clientHeight;return document.body.removeChild(ie),this.calculatedScrollbarWidth=se,se}static invokeElementMethod(ie,se,de){ie[se].apply(ie,de)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(ie){}}static getBrowser(){if(!this.browser){let ie=this.resolveUserAgent();this.browser={},ie.browser&&(this.browser[ie.browser]=!0,this.browser.version=ie.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let ie=navigator.userAgent.toLowerCase(),se=/(chrome)[ \/]([\w.]+)/.exec(ie)||/(webkit)[ \/]([\w.]+)/.exec(ie)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ie)||/(msie) ([\w.]+)/.exec(ie)||ie.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ie)||[];return{browser:se[1]||"",version:se[2]||"0"}}static isInteger(ie){return Number.isInteger?Number.isInteger(ie):"number"==typeof ie&&isFinite(ie)&&Math.floor(ie)===ie}static isHidden(ie){return null===ie.offsetParent}static getFocusableElements(ie){let se=V.find(ie,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'),de=[];for(let ge of se)"none"!=getComputedStyle(ge).display&&"hidden"!=getComputedStyle(ge).visibility&&de.push(ge);return de}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}}return V.zindex=1e3,V.calculatedScrollbarWidth=null,V.calculatedScrollbarHeight=null,V})();class c{constructor(pe,ie=(()=>{})){this.element=pe,this.listener=ie}bindScrollListener(){this.scrollableParents=n.getScrollableParents(this.element);for(let pe=0;pe<this.scrollableParents.length;pe++)this.scrollableParents[pe].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let pe=0;pe<this.scrollableParents.length;pe++)this.scrollableParents[pe].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}},103:(bn,Et,J)=>{"use strict";J.d(Et,{Lt:()=>Pt,kW:()=>Je});var n=J(5604),c=J(639),V=J(7238),pe=J(8583),ie=J(3013),se=J(1818),de=J(6988),ge=J(665),we=J(9287),re=J(9309);function xe(me,Se){if(1&me&&(c.TgZ(0,"span"),c._uU(1),c.qZA()),2&me){const W=c.oxw();c.xp6(1),c.Oqu(W.label||"empty")}}function Pe(me,Se){1&me&&c.GkF(0)}const ut=function(me){return{height:me}},dt=function(me,Se){return{"p-dropdown-item":!0,"p-highlight":me,"p-disabled":Se}},st=function(me){return{$implicit:me}},Me=["container"],Ue=["filter"],Ve=["in"],ct=["editableInput"];function je(me,Se){if(1&me&&(c.ynx(0),c._uU(1),c.BQk()),2&me){const W=c.oxw(2);c.xp6(1),c.Oqu(W.label||"empty")}}function Qe(me,Se){1&me&&c.GkF(0)}const ue=function(me){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":me}};function z(me,Se){if(1&me&&(c.TgZ(0,"span",12),c.YNc(1,je,2,1,"ng-container",13),c.YNc(2,Qe,1,0,"ng-container",14),c.qZA()),2&me){const W=c.oxw();c.Q6J("ngClass",c.VKq(8,ue,null==W.label||0===W.label.length))("pTooltip",W.tooltip)("tooltipPosition",W.tooltipPosition)("positionStyle",W.tooltipPositionStyle)("tooltipStyleClass",W.tooltipStyleClass),c.xp6(1),c.Q6J("ngIf",!W.selectedItemTemplate),c.xp6(1),c.Q6J("ngTemplateOutlet",W.selectedItemTemplate)("ngTemplateOutletContext",c.VKq(10,st,W.selectedOption))}}const Le=function(me){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":me}};function ve(me,Se){if(1&me&&(c.TgZ(0,"span",15),c._uU(1),c.qZA()),2&me){const W=c.oxw();c.Q6J("ngClass",c.VKq(2,Le,null==W.placeholder||0===W.placeholder.length)),c.xp6(1),c.Oqu(W.placeholder||"empty")}}function Ie(me,Se){if(1&me){const W=c.EpF();c.TgZ(0,"input",16,17),c.NdJ("click",function(){return c.CHM(W),c.oxw().onEditableInputClick()})("input",function(U){return c.CHM(W),c.oxw().onEditableInputChange(U)})("focus",function(U){return c.CHM(W),c.oxw().onEditableInputFocus(U)})("blur",function(U){return c.CHM(W),c.oxw().onInputBlur(U)}),c.qZA()}if(2&me){const W=c.oxw();c.Q6J("disabled",W.disabled),c.uIk("maxlength",W.maxlength)("placeholder",W.placeholder)("aria-expanded",W.overlayVisible)}}function be(me,Se){if(1&me){const W=c.EpF();c.TgZ(0,"i",18),c.NdJ("click",function(U){return c.CHM(W),c.oxw().clear(U)}),c.qZA()}}function Be(me,Se){1&me&&c.GkF(0)}function bt(me,Se){if(1&me){const W=c.EpF();c.TgZ(0,"div",26),c.TgZ(1,"div",27),c.NdJ("click",function(U){return U.stopPropagation()}),c.TgZ(2,"input",28,29),c.NdJ("keydown.enter",function(U){return U.preventDefault()})("keydown",function(U){return c.CHM(W),c.oxw(2).onKeydown(U,!1)})("input",function(U){return c.CHM(W),c.oxw(2).onFilterInputChange(U)}),c.qZA(),c._UZ(4,"span",30),c.qZA(),c.qZA()}if(2&me){const W=c.oxw(2);c.xp6(2),c.Q6J("value",W.filterValue||""),c.uIk("placeholder",W.filterPlaceholder)("aria-label",W.ariaFilterLabel)}}function We(me,Se){if(1&me&&(c.TgZ(0,"span"),c._uU(1),c.qZA()),2&me){const W=c.oxw().$implicit,F=c.oxw(3);c.xp6(1),c.Oqu(F.getOptionGroupLabel(W)||"empty")}}function Xt(me,Se){1&me&&c.GkF(0)}function Nt(me,Se){1&me&&c.GkF(0)}const Ut=function(me,Se){return{$implicit:me,selectedOption:Se}};function zn(me,Se){if(1&me&&(c.TgZ(0,"li",32),c.YNc(1,We,2,1,"span",13),c.YNc(2,Xt,1,0,"ng-container",14),c.qZA(),c.YNc(3,Nt,1,0,"ng-container",14)),2&me){const W=Se.$implicit;c.oxw(2);const F=c.MAs(8),U=c.oxw();c.xp6(1),c.Q6J("ngIf",!U.groupTemplate),c.xp6(1),c.Q6J("ngTemplateOutlet",U.groupTemplate)("ngTemplateOutletContext",c.VKq(5,st,W)),c.xp6(1),c.Q6J("ngTemplateOutlet",F)("ngTemplateOutletContext",c.WLB(7,Ut,U.getOptionGroupChildren(W),U.selectedOption))}}function kt(me,Se){if(1&me&&(c.ynx(0),c.YNc(1,zn,4,10,"ng-template",31),c.BQk()),2&me){const W=c.oxw(2);c.xp6(1),c.Q6J("ngForOf",W.optionsToDisplay)}}function _n(me,Se){1&me&&c.GkF(0)}function Ht(me,Se){if(1&me&&(c.ynx(0),c.YNc(1,_n,1,0,"ng-container",14),c.BQk()),2&me){c.oxw();const W=c.MAs(8),F=c.oxw();c.xp6(1),c.Q6J("ngTemplateOutlet",W)("ngTemplateOutletContext",c.WLB(2,Ut,F.optionsToDisplay,F.selectedOption))}}function sn(me,Se){if(1&me){const W=c.EpF();c.TgZ(0,"p-dropdownItem",35),c.NdJ("onClick",function(U){return c.CHM(W),c.oxw(4).onItemClick(U)}),c.qZA()}if(2&me){const W=Se.$implicit,F=c.oxw(2).selectedOption,U=c.oxw(2);c.Q6J("option",W)("selected",F==W)("label",U.getOptionLabel(W))("disabled",U.isOptionDisabled(W))("template",U.itemTemplate)}}function tt(me,Se){if(1&me&&(c.ynx(0),c.YNc(1,sn,1,5,"ng-template",31),c.BQk()),2&me){const W=c.oxw().$implicit;c.xp6(1),c.Q6J("ngForOf",W)}}function at(me,Se){if(1&me){const W=c.EpF();c.ynx(0),c.TgZ(1,"p-dropdownItem",35),c.NdJ("onClick",function(U){return c.CHM(W),c.oxw(5).onItemClick(U)}),c.qZA(),c.BQk()}if(2&me){const W=Se.$implicit,F=c.oxw(3).selectedOption,U=c.oxw(2);c.xp6(1),c.Q6J("option",W)("selected",F==W)("label",U.getOptionLabel(W))("disabled",U.isOptionDisabled(W))("template",U.itemTemplate)}}function Tt(me,Se){if(1&me){const W=c.EpF();c.TgZ(0,"cdk-virtual-scroll-viewport",37,38),c.NdJ("scrolledIndexChange",function(){return c.CHM(W),c.oxw(4).scrollToSelectedVirtualScrollElement()}),c.YNc(2,at,2,5,"ng-container",39),c.qZA()}if(2&me){const W=c.oxw(2).$implicit,F=c.oxw(2);c.Q6J("ngStyle",c.VKq(3,ut,F.scrollHeight))("itemSize",F.itemSize),c.xp6(2),c.Q6J("cdkVirtualForOf",W)}}function et(me,Se){if(1&me&&c.YNc(0,Tt,3,5,"cdk-virtual-scroll-viewport",36),2&me){const W=c.oxw(3);c.Q6J("ngIf",W.virtualScroll&&W.optionsToDisplay&&W.optionsToDisplay.length)}}function mt(me,Se){if(1&me&&(c.YNc(0,tt,2,1,"ng-container",33),c.YNc(1,et,1,1,"ng-template",null,34,c.W1O)),2&me){const W=c.MAs(2),F=c.oxw(2);c.Q6J("ngIf",!F.virtualScroll)("ngIfElse",W)}}function on(me,Se){if(1&me&&(c.ynx(0),c._uU(1),c.BQk()),2&me){const W=c.oxw(3);c.xp6(1),c.hij(" ",W.emptyFilterMessageLabel," ")}}function un(me,Se){1&me&&c.GkF(0,null,41)}function cn(me,Se){if(1&me&&(c.TgZ(0,"li",40),c.YNc(1,on,2,1,"ng-container",33),c.YNc(2,un,2,0,"ng-container",20),c.qZA()),2&me){const W=c.oxw(2);c.xp6(1),c.Q6J("ngIf",!W.emptyFilterTemplate&&!W.emptyTemplate)("ngIfElse",W.emptyFilter),c.xp6(1),c.Q6J("ngTemplateOutlet",W.emptyFilterTemplate||W.emptyTemplate)}}function Rn(me,Se){if(1&me&&(c.ynx(0),c._uU(1),c.BQk()),2&me){const W=c.oxw(3);c.xp6(1),c.hij(" ",W.emptyMessageLabel," ")}}function vi(me,Se){1&me&&c.GkF(0,null,42)}function Ci(me,Se){if(1&me&&(c.TgZ(0,"li",40),c.YNc(1,Rn,2,1,"ng-container",33),c.YNc(2,vi,2,0,"ng-container",20),c.qZA()),2&me){const W=c.oxw(2);c.xp6(1),c.Q6J("ngIf",!W.emptyTemplate)("ngIfElse",W.empty),c.xp6(1),c.Q6J("ngTemplateOutlet",W.emptyTemplate)}}function Pn(me,Se){1&me&&c.GkF(0)}const Qn=function(me,Se){return{showTransitionParams:me,hideTransitionParams:Se}},ai=function(me){return{value:"visible",params:me}},dn=function(me){return{"p-dropdown-virtualscroll":me}};function Mn(me,Se){if(1&me){const W=c.EpF();c.TgZ(0,"div",19),c.NdJ("click",function(U){return c.CHM(W),c.oxw().onOverlayClick(U)})("@overlayAnimation.start",function(U){return c.CHM(W),c.oxw().onOverlayAnimationStart(U)})("@overlayAnimation.start",function(U){return c.CHM(W),c.oxw().onOverlayAnimationEnd(U)}),c.YNc(1,Be,1,0,"ng-container",20),c.YNc(2,bt,5,3,"div",21),c.TgZ(3,"div",22),c.TgZ(4,"ul",23),c.YNc(5,kt,2,1,"ng-container",13),c.YNc(6,Ht,2,5,"ng-container",13),c.YNc(7,mt,3,2,"ng-template",null,24,c.W1O),c.YNc(9,cn,3,3,"li",25),c.YNc(10,Ci,3,3,"li",25),c.qZA(),c.qZA(),c.YNc(11,Pn,1,0,"ng-container",20),c.qZA()}if(2&me){const W=c.oxw();c.Tol(W.panelStyleClass),c.Q6J("ngClass","p-dropdown-panel p-component")("@overlayAnimation",c.VKq(18,ai,c.WLB(15,Qn,W.showTransitionOptions,W.hideTransitionOptions)))("ngStyle",W.panelStyle),c.xp6(1),c.Q6J("ngTemplateOutlet",W.headerTemplate),c.xp6(1),c.Q6J("ngIf",W.filter),c.xp6(1),c.Udp("max-height",W.virtualScroll?"auto":W.scrollHeight||"auto"),c.xp6(1),c.Q6J("ngClass",c.VKq(20,dn,W.virtualScroll)),c.xp6(1),c.Q6J("ngIf",W.group),c.xp6(1),c.Q6J("ngIf",!W.group),c.xp6(3),c.Q6J("ngIf",W.filterValue&&W.isEmpty()),c.xp6(1),c.Q6J("ngIf",!W.filterValue&&W.isEmpty()),c.xp6(1),c.Q6J("ngTemplateOutlet",W.footerTemplate)}}const si=function(me,Se,W,F){return{"p-dropdown p-component":!0,"p-disabled":me,"p-dropdown-open":Se,"p-focus":W,"p-dropdown-clearable":F}},io={provide:ge.JU,useExisting:(0,c.Gpc)(()=>Pt),multi:!0};let Qi=(()=>{class me{constructor(){this.onClick=new c.vpe}onOptionClick(W){this.onClick.emit({originalEvent:W,option:this.option})}}return me.\u0275fac=function(W){return new(W||me)},me.\u0275cmp=c.Xpm({type:me,selectors:[["p-dropdownItem"]],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:14,consts:[["role","option","pRipple","",3,"ngStyle","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(W,F){1&W&&(c.TgZ(0,"li",0),c.NdJ("click",function(X){return F.onOptionClick(X)}),c.YNc(1,xe,2,1,"span",1),c.YNc(2,Pe,1,0,"ng-container",2),c.qZA()),2&W&&(c.Q6J("ngStyle",c.VKq(7,ut,F.itemSize+"px"))("ngClass",c.WLB(9,dt,F.selected,F.disabled)),c.uIk("aria-label",F.label)("aria-selected",F.selected),c.xp6(1),c.Q6J("ngIf",!F.template),c.xp6(1),c.Q6J("ngTemplateOutlet",F.template)("ngTemplateOutletContext",c.VKq(12,st,F.option)))},directives:[re.H,pe.PC,pe.mk,pe.O5,pe.tP],encapsulation:2}),me})(),Pt=(()=>{class me{constructor(W,F,U,X,He,Qt,Wt){this.el=W,this.renderer=F,this.cd=U,this.zone=X,this.filterService=He,this.config=Qt,this.overlayService=Wt,this.scrollHeight="200px",this.appendTo="body",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.autoZIndex=!0,this.baseZIndex=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.onChange=new c.vpe,this.onFilter=new c.vpe,this.onFocus=new c.vpe,this.onBlur=new c.vpe,this.onClick=new c.vpe,this.onShow=new c.vpe,this.onHide=new c.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.viewPortOffsetTop=0}get disabled(){return this._disabled}set disabled(W){W&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=W,this.cd.destroyed||this.cd.detectChanges()}ngAfterContentInit(){this.templates.forEach(W=>{switch(W.getType()){case"item":this.itemTemplate=W.template;break;case"selectedItem":this.selectedItemTemplate=W.template;break;case"header":this.headerTemplate=W.template;break;case"footer":this.footerTemplate=W.template;break;case"emptyfilter":this.emptyFilterTemplate=W.template;break;case"empty":this.emptyTemplate=W.template;break;case"group":this.groupTemplate=W.template;break;default:this.itemTemplate=W.template}})}ngOnInit(){this.optionsToDisplay=this.options,this.updateSelectedOption(null)}get options(){return this._options}set options(W){this._options=W,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(W){this._filterValue=W,this.activateFilter()}ngAfterViewInit(){this.editable&&this.updateEditableLabel()}get label(){return this.selectedOption?this.getOptionLabel(this.selectedOption):null}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(ie.ws.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(ie.ws.EMPTY_FILTER_MESSAGE)}get filled(){return this.value||null!=this.value||null!=this.value}updateEditableLabel(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}getOptionLabel(W){return this.optionLabel?de.gb.resolveFieldData(W,this.optionLabel):null!=W.label?W.label:W}getOptionValue(W){return this.optionValue?de.gb.resolveFieldData(W,this.optionValue):this.optionLabel||void 0===W.value?W:W.value}isOptionDisabled(W){return this.optionDisabled?de.gb.resolveFieldData(W,this.optionDisabled):void 0!==W.disabled&&W.disabled}getOptionGroupLabel(W){return this.optionGroupLabel?de.gb.resolveFieldData(W,this.optionGroupLabel):null!=W.label?W.label:W}getOptionGroupChildren(W){return this.optionGroupChildren?de.gb.resolveFieldData(W,this.optionGroupChildren):W.items}onItemClick(W){const F=W.option;this.isOptionDisabled(F)||(this.selectItem(W,F),this.accessibleViewChild.nativeElement.focus()),setTimeout(()=>{this.hide()},150)}selectItem(W,F){this.selectedOption!=F&&(this.selectedOption=F,this.value=this.getOptionValue(F),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:W.originalEvent,value:this.value}),this.virtualScroll&&setTimeout(()=>{this.viewPortOffsetTop=this.viewPort?this.viewPort.measureScrollOffset():0},1))}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.virtualScroll&&this.updateVirtualScrollSelectedIndex(!0),this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){if(this.virtualScroll&&this.viewPort){let F=this.viewPort.getRenderedRange();this.updateVirtualScrollSelectedIndex(!1),(F.start>this.virtualScrollSelectedIndex||F.end<this.virtualScrollSelectedIndex)&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)}se.p.findSingle(this.overlay,"li.p-highlight")&&se.p.scrollInView(this.itemsWrapper,se.p.findSingle(this.overlay,"li.p-highlight")),this.selectedOptionUpdated=!1}}writeValue(W){this.filter&&this.resetFilter(),this.value=W,this.updateSelectedOption(W),this.updateEditableLabel(),this.cd.markForCheck()}resetFilter(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}updateSelectedOption(W){this.selectedOption=this.findOption(W,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.optionsToDisplay[0]),this.selectedOptionUpdated=!0}registerOnChange(W){this.onModelChange=W}registerOnTouched(W){this.onModelTouched=W}setDisabledState(W){this.disabled=W,this.cd.markForCheck()}onMouseclick(W){this.disabled||this.readonly||this.isInputClick(W)||(this.onClick.emit(W),this.accessibleViewChild.nativeElement.focus(),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}onOverlayClick(W){this.overlayService.add({originalEvent:W,target:this.el.nativeElement})}isInputClick(W){return se.p.hasClass(W.target,"p-dropdown-clear-icon")||W.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&W.target.isSameNode(this.editableInputViewChild.nativeElement)}isOutsideClicked(W){return!(this.el.nativeElement.isSameNode(W.target)||this.el.nativeElement.contains(W.target)||this.overlay&&this.overlay.contains(W.target))}isEmpty(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}onEditableInputClick(){this.bindDocumentClickListener()}onEditableInputFocus(W){this.focused=!0,this.hide(),this.onFocus.emit(W)}onEditableInputChange(W){this.value=W.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:W,value:this.value})}show(){this.overlayVisible=!0}onOverlayAnimationStart(W){switch(W.toState){case"visible":if(this.overlay=W.element,this.itemsWrapper=se.p.findSingle(this.overlay,this.virtualScroll?".cdk-virtual-scroll-viewport":".p-dropdown-items-wrapper"),this.appendOverlay(),this.autoZIndex&&de.P9.set("overlay",this.overlay,this.config.zIndex.overlay),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),this.options&&this.options.length&&!this.virtualScroll){let U=se.p.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");U&&se.p.scrollInView(this.itemsWrapper,U)}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(W);break;case"void":this.onOverlayHide(),this.onHide.emit(W)}}onOverlayAnimationEnd(W){switch(W.toState){case"void":de.P9.clear(W.element)}}scrollToSelectedVirtualScrollElement(){this.virtualAutoScrolled||(this.viewPortOffsetTop?this.viewPort.scrollToOffset(this.viewPortOffsetTop):this.virtualScrollSelectedIndex>-1&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)),this.virtualAutoScrolled=!0}updateVirtualScrollSelectedIndex(W){this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&(W&&(this.viewPortOffsetTop=0),this.virtualScrollSelectedIndex=this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay))}appendOverlay(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):se.p.appendChild(this.overlay,this.appendTo),this.overlay.style.minWidth||(this.overlay.style.minWidth=se.p.getWidth(this.containerViewChild.nativeElement)+"px"))}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}hide(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.virtualScroll&&(this.virtualAutoScrolled=!1),this.cd.markForCheck()}alignOverlay(){this.overlay&&(this.appendTo?se.p.absolutePosition(this.overlay,this.containerViewChild.nativeElement):se.p.relativePosition(this.overlay,this.containerViewChild.nativeElement))}onInputFocus(W){this.focused=!0,this.onFocus.emit(W)}onInputBlur(W){this.focused=!1,this.onBlur.emit(W),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}findPrevEnabledOption(W){let F;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let U=W-1;0<=U;U--){let X=this.optionsToDisplay[U];if(!X.disabled){F=X;break}}if(!F)for(let U=this.optionsToDisplay.length-1;U>=W;U--){let X=this.optionsToDisplay[U];if(!this.isOptionDisabled(X)){F=X;break}}}return F}findNextEnabledOption(W){let F;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let U=W+1;U<this.optionsToDisplay.length;U++){let X=this.optionsToDisplay[U];if(!this.isOptionDisabled(X)){F=X;break}}if(!F)for(let U=0;U<W;U++){let X=this.optionsToDisplay[U];if(!this.isOptionDisabled(X)){F=X;break}}}return F}onKeydown(W,F){if(!this.readonly&&this.optionsToDisplay&&null!==this.optionsToDisplay.length)switch(W.which){case 40:if(!this.overlayVisible&&W.altKey)this.show();else if(this.group){let U=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==U){let X=U.itemIndex+1;X<this.getOptionGroupChildren(this.optionsToDisplay[U.groupIndex]).length?(this.selectItem(W,this.getOptionGroupChildren(this.optionsToDisplay[U.groupIndex])[X]),this.selectedOptionUpdated=!0):this.optionsToDisplay[U.groupIndex+1]&&(this.selectItem(W,this.getOptionGroupChildren(this.optionsToDisplay[U.groupIndex+1])[0]),this.selectedOptionUpdated=!0)}else this.optionsToDisplay&&this.optionsToDisplay.length>0&&this.selectItem(W,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{let U=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,X=this.findNextEnabledOption(U);X&&(this.selectItem(W,X),this.selectedOptionUpdated=!0)}W.preventDefault();break;case 38:if(this.group){let U=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==U){let X=U.itemIndex-1;if(X>=0)this.selectItem(W,this.getOptionGroupChildren(this.optionsToDisplay[U.groupIndex])[X]),this.selectedOptionUpdated=!0;else if(X<0){let He=this.optionsToDisplay[U.groupIndex-1];He&&(this.selectItem(W,this.getOptionGroupChildren(He)[this.getOptionGroupChildren(He).length-1]),this.selectedOptionUpdated=!0)}}}else{let U=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,X=this.findPrevEnabledOption(U);X&&(this.selectItem(W,X),this.selectedOptionUpdated=!0)}W.preventDefault();break;case 32:case 32:this.overlayVisible||(this.show(),W.preventDefault());break;case 13:(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)&&this.hide(),W.preventDefault();break;case 27:case 9:this.hide();break;default:F&&!W.metaKey&&this.search(W)}}search(W){this.searchTimeout&&clearTimeout(this.searchTimeout);const F=W.key;let U;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=F,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+F:F,this.group){let X=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};U=this.searchOptionWithinGroup(X)}else{let X=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;U=this.searchOption(++X)}U&&!this.isOptionDisabled(U)&&(this.selectItem(W,U),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(()=>{this.searchValue=null},250)}searchOption(W){let F;return this.searchValue&&(F=this.searchOptionInRange(W,this.optionsToDisplay.length),F||(F=this.searchOptionInRange(0,W))),F}searchOptionInRange(W,F){for(let U=W;U<F;U++){let X=this.optionsToDisplay[U];if(this.getOptionLabel(X).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(X))return X}return null}searchOptionWithinGroup(W){if(this.searchValue){for(let U=W.groupIndex;U<this.optionsToDisplay.length;U++)for(let X=W.groupIndex===U?W.itemIndex+1:0;X<this.getOptionGroupChildren(this.optionsToDisplay[U]).length;X++){let He=this.getOptionGroupChildren(this.optionsToDisplay[U])[X];if(this.getOptionLabel(He).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(He))return He}for(let U=0;U<=W.groupIndex;U++)for(let X=0;X<(W.groupIndex===U?W.itemIndex:this.getOptionGroupChildren(this.optionsToDisplay[U]).length);X++){let He=this.getOptionGroupChildren(this.optionsToDisplay[U])[X];if(this.getOptionLabel(He).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(He))return He}}return null}findOptionIndex(W,F){let U=-1;if(F)for(let X=0;X<F.length;X++)if(null==W&&null==this.getOptionValue(F[X])||de.gb.equals(W,this.getOptionValue(F[X]),this.dataKey)){U=X;break}return U}findOptionGroupIndex(W,F){let U,X;if(F)for(let He=0;He<F.length&&(U=He,X=this.findOptionIndex(W,this.getOptionGroupChildren(F[He])),-1===X);He++);return-1!==X?{groupIndex:U,itemIndex:X}:-1}findOption(W,F,U){if(this.group&&!U){let X;if(F&&F.length)for(let He of F)if(X=this.findOption(W,this.getOptionGroupChildren(He),!0),X)break;return X}{let X=this.findOptionIndex(W,F);return-1!=X?F[X]:null}}onFilterInputChange(W){let F=W.target.value;F&&F.length?(this._filterValue=F,this.activateFilter()):(this._filterValue=null,this.optionsToDisplay=this.options),this.optionsChanged=!0,this.onFilter.emit({originalEvent:W,filter:this._filterValue})}activateFilter(){let W=(this.filterBy||this.optionLabel||"label").split(",");if(this.options&&this.options.length){if(this.group){let F=[];for(let U of this.options){let X=this.filterService.filter(this.getOptionGroupChildren(U),W,this.filterValue,this.filterMatchMode,this.filterLocale);X&&X.length&&F.push(Object.assign(Object.assign({},U),{[this.optionGroupChildren]:X}))}this.optionsToDisplay=F}else this.optionsToDisplay=this.filterService.filter(this.options,W,this.filterValue,this.filterMatchMode,this.filterLocale);this.optionsChanged=!0}}applyFocus(){this.editable?se.p.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():se.p.findSingle(this.el.nativeElement,"input[readonly]").focus()}focus(){this.applyFocus()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",F=>{this.isOutsideClicked(F)&&(this.hide(),this.unbindDocumentClickListener()),this.cd.markForCheck()}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener)}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}onWindowResize(){se.p.isAndroid()||this.hide()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new se.V(this.containerViewChild.nativeElement,W=>{this.overlayVisible&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}clear(W){this.value=null,this.onModelChange(this.value),this.onChange.emit({originalEvent:W,value:this.value}),this.updateSelectedOption(this.value),this.updateEditableLabel()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.itemsWrapper=null,this.onModelTouched()}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&de.P9.clear(this.overlay),this.restoreOverlayAppend(),this.onOverlayHide()}}return me.\u0275fac=function(W){return new(W||me)(c.Y36(c.SBq),c.Y36(c.Qsj),c.Y36(c.sBO),c.Y36(c.R0b),c.Y36(ie.iZ),c.Y36(ie.b4),c.Y36(ie.F0))},me.\u0275cmp=c.Xpm({type:me,selectors:[["p-dropdown"]],contentQueries:function(W,F,U){if(1&W&&c.Suo(U,ie.jx,4),2&W){let X;c.iGM(X=c.CRH())&&(F.templates=X)}},viewQuery:function(W,F){if(1&W&&(c.Gf(Me,5),c.Gf(Ue,5),c.Gf(Ve,5),c.Gf(n.N7,5),c.Gf(ct,5)),2&W){let U;c.iGM(U=c.CRH())&&(F.containerViewChild=U.first),c.iGM(U=c.CRH())&&(F.filterViewChild=U.first),c.iGM(U=c.CRH())&&(F.accessibleViewChild=U.first),c.iGM(U=c.CRH())&&(F.viewPort=U.first),c.iGM(U=c.CRH())&&(F.editableInputViewChild=U.first)}},hostVars:4,hostBindings:function(W,F){2&W&&c.ekj("p-inputwrapper-filled",F.filled)("p-inputwrapper-focus",F.focused||F.overlayVisible)},inputs:{scrollHeight:"scrollHeight",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",selectId:"selectId",dataKey:"dataKey",filterBy:"filterBy",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",virtualScroll:"virtualScroll",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:"autofocusFilter",disabled:"disabled",options:"options",filterValue:"filterValue"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide"},features:[c._Bn([io])],decls:12,vars:22,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","readonly","","aria-haspopup","listbox","aria-haspopup","listbox",3,"disabled","focus","blur","keydown"],["in",""],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],["type","text","class","p-dropdown-label p-inputtext","aria-haspopup","listbox",3,"disabled","click","input","focus","blur",4,"ngIf"],["class","p-dropdown-clear-icon pi pi-times",3,"click",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"p-dropdown-trigger"],[1,"p-dropdown-trigger-icon",3,"ngClass"],["onOverlayAnimationEnd","",3,"ngClass","ngStyle","class","click",4,"ngIf"],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],["type","text","aria-haspopup","listbox",1,"p-dropdown-label","p-inputtext",3,"disabled","click","input","focus","blur"],["editableInput",""],[1,"p-dropdown-clear-icon","pi","pi-times",3,"click"],["onOverlayAnimationEnd","",3,"ngClass","ngStyle","click"],[4,"ngTemplateOutlet"],["class","p-dropdown-header",4,"ngIf"],[1,"p-dropdown-items-wrapper"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["itemslist",""],["class","p-dropdown-empty-message",4,"ngIf"],[1,"p-dropdown-header"],[1,"p-dropdown-filter-container",3,"click"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"value","keydown.enter","keydown","input"],["filter",""],[1,"p-dropdown-filter-icon","pi","pi-search"],["ngFor","",3,"ngForOf"],[1,"p-dropdown-item-group"],[4,"ngIf","ngIfElse"],["virtualScrollList",""],[3,"option","selected","label","disabled","template","onClick"],[3,"ngStyle","itemSize","scrolledIndexChange",4,"ngIf"],[3,"ngStyle","itemSize","scrolledIndexChange"],["viewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[1,"p-dropdown-empty-message"],["emptyFilter",""],["empty",""]],template:function(W,F){1&W&&(c.TgZ(0,"div",0,1),c.NdJ("click",function(X){return F.onMouseclick(X)}),c.TgZ(2,"div",2),c.TgZ(3,"input",3,4),c.NdJ("focus",function(X){return F.onInputFocus(X)})("blur",function(X){return F.onInputBlur(X)})("keydown",function(X){return F.onKeydown(X,!0)}),c.qZA(),c.qZA(),c.YNc(5,z,3,12,"span",5),c.YNc(6,ve,2,4,"span",6),c.YNc(7,Ie,2,4,"input",7),c.YNc(8,be,1,0,"i",8),c.TgZ(9,"div",9),c._UZ(10,"span",10),c.qZA(),c.YNc(11,Mn,12,22,"div",11),c.qZA()),2&W&&(c.Tol(F.styleClass),c.Q6J("ngClass",c.l5B(17,si,F.disabled,F.overlayVisible,F.focused,F.showClear&&!F.disabled))("ngStyle",F.style),c.xp6(3),c.Q6J("disabled",F.disabled),c.uIk("id",F.inputId)("aria-expanded",F.overlayVisible)("aria-labelledby",F.ariaLabelledBy)("tabindex",F.tabindex)("autofocus",F.autofocus),c.xp6(2),c.Q6J("ngIf",!F.editable&&null!=F.label),c.xp6(1),c.Q6J("ngIf",!F.editable&&null==F.label),c.xp6(1),c.Q6J("ngIf",F.editable),c.xp6(1),c.Q6J("ngIf",null!=F.value&&F.showClear&&!F.disabled),c.xp6(1),c.uIk("aria-expanded",F.overlayVisible),c.xp6(1),c.Q6J("ngClass",F.dropdownIcon),c.xp6(1),c.Q6J("ngIf",F.overlayVisible))},directives:[pe.mk,pe.PC,pe.O5,we.u,pe.tP,pe.sg,Qi,n.N7,n.xd,n.x0],styles:[".p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown .p-dropdown-panel{min-width:100%}.p-dropdown-panel{position:absolute;top:0;left:0}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}"],encapsulation:2,data:{animation:[(0,V.X$)("overlayAnimation",[(0,V.eR)(":enter",[(0,V.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,V.jt)("{{showTransitionParams}}")]),(0,V.eR)(":leave",[(0,V.jt)("{{hideTransitionParams}}",(0,V.oB)({opacity:0}))])])]},changeDetection:0}),me})(),Je=(()=>{class me{}return me.\u0275fac=function(W){return new(W||me)},me.\u0275mod=c.oAB({type:me}),me.\u0275inj=c.cJS({imports:[[pe.ez,ie.m8,n.Cl,we.z,re.T],ie.m8,n.Cl]}),me})()},3928:(bn,Et,J)=>{"use strict";J.d(Et,{o:()=>pe,j:()=>ie});var n=J(639),c=J(8583),V=J(665);let pe=(()=>{class se{constructor(ge,we){this.el=ge,this.ngModel=we}ngDoCheck(){this.updateFilledState()}onInput(ge){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}}return se.\u0275fac=function(ge){return new(ge||se)(n.Y36(n.SBq),n.Y36(V.On,8))},se.\u0275dir=n.lG2({type:se,selectors:[["","pInputText",""]],hostVars:6,hostBindings:function(ge,we){1&ge&&n.NdJ("input",function(xe){return we.onInput(xe)}),2&ge&&n.ekj("p-inputtext",!0)("p-component",!0)("p-filled",we.filled)}}),se})(),ie=(()=>{class se{}return se.\u0275fac=function(ge){return new(ge||se)},se.\u0275mod=n.oAB({type:se}),se.\u0275inj=n.cJS({imports:[[c.ez]]}),se})()},3758:(bn,Et,J)=>{"use strict";J.d(Et,{$:()=>ct});var n=J(639),c=J(8583),V=J(9309);let ct=(()=>{class je{}return je.\u0275fac=function(ue){return new(ue||je)},je.\u0275mod=n.oAB({type:je}),je.\u0275inj=n.cJS({imports:[[c.ez,V.T]]}),je})()},6949:(bn,Et,J)=>{"use strict";J.d(Et,{NU:()=>Qt,q4:()=>Wt});var n=J(639),c=J(7238),V=J(8583),pe=J(1818),ie=J(6988),se=J(3013),de=J(665),ge=J(5604),we=J(9287),re=J(9309);function xe(Ze,jt){if(1&Ze&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&Ze){const he=n.oxw();n.xp6(1),n.Oqu(he.label)}}function Pe(Ze,jt){1&Ze&&n.GkF(0)}const ut=function(Ze){return{height:Ze}},dt=function(Ze,jt){return{"p-highlight":Ze,"p-disabled":jt}},st=function(Ze){return{"p-highlight":Ze}},Me=function(Ze){return{"pi pi-check":Ze}},Ue=function(Ze){return{$implicit:Ze}},Ve=["container"],ct=["filterInput"],je=["in"];function Qe(Ze,jt){if(1&Ze&&(n.ynx(0),n._uU(1),n.BQk()),2&Ze){const he=n.oxw(2);n.xp6(1),n.Oqu(he.valuesAsString||"empty")}}function ue(Ze,jt){if(1&Ze){const he=n.EpF();n.TgZ(0,"span",17),n.NdJ("click",function(Lt){n.CHM(he);const At=n.oxw().$implicit;return n.oxw(3).removeChip(At,Lt)}),n.qZA()}}function z(Ze,jt){if(1&Ze&&(n.TgZ(0,"div",13,14),n.TgZ(2,"span",15),n._uU(3),n.qZA(),n.YNc(4,ue,1,0,"span",16),n.qZA()),2&Ze){const he=jt.$implicit,Fe=n.oxw(3);n.xp6(3),n.Oqu(Fe.findLabelByValue(he)),n.xp6(1),n.Q6J("ngIf",!Fe.disabled)}}function Le(Ze,jt){if(1&Ze&&(n.ynx(0),n._uU(1),n.BQk()),2&Ze){const he=n.oxw(3);n.xp6(1),n.Oqu(he.placeholder||he.defaultLabel||"empty")}}function ve(Ze,jt){if(1&Ze&&(n.ynx(0),n.YNc(1,z,5,2,"div",12),n.YNc(2,Le,2,1,"ng-container",7),n.BQk()),2&Ze){const he=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",he.value),n.xp6(1),n.Q6J("ngIf",!he.value||0===he.value.length)}}function Ie(Ze,jt){if(1&Ze&&(n.ynx(0),n.YNc(1,Qe,2,1,"ng-container",7),n.YNc(2,ve,3,2,"ng-container",7),n.BQk()),2&Ze){const he=n.oxw();n.xp6(1),n.Q6J("ngIf","comma"===he.display),n.xp6(1),n.Q6J("ngIf","chip"===he.display)}}function be(Ze,jt){1&Ze&&n.GkF(0)}function Be(Ze,jt){1&Ze&&n.GkF(0)}const bt=function(Ze){return{"p-checkbox-disabled":Ze}},We=function(Ze,jt,he){return{"p-highlight":Ze,"p-focus":jt,"p-disabled":he}};function Xt(Ze,jt){if(1&Ze){const he=n.EpF();n.TgZ(0,"div",30),n.TgZ(1,"div",2),n.TgZ(2,"input",31),n.NdJ("focus",function(){return n.CHM(he),n.oxw(3).onHeaderCheckboxFocus()})("blur",function(){return n.CHM(he),n.oxw(3).onHeaderCheckboxBlur()})("keydown.space",function(Lt){return n.CHM(he),n.oxw(3).toggleAll(Lt)}),n.qZA(),n.qZA(),n.TgZ(3,"div",32),n.NdJ("click",function(Lt){return n.CHM(he),n.oxw(3).toggleAll(Lt)}),n._UZ(4,"span",33),n.qZA(),n.qZA()}if(2&Ze){const he=n.oxw(3);n.Q6J("ngClass",n.VKq(6,bt,he.disabled||he.toggleAllDisabled)),n.xp6(2),n.Q6J("checked",he.allChecked),n.uIk("disabled",he.disabled||he.toggleAllDisabled),n.xp6(1),n.Q6J("ngClass",n.kEZ(8,We,he.allChecked,he.headerCheckboxFocus,he.disabled||he.toggleAllDisabled)),n.uIk("aria-checked",he.allChecked),n.xp6(1),n.Q6J("ngClass",n.VKq(12,Me,he.allChecked))}}function Nt(Ze,jt){if(1&Ze){const he=n.EpF();n.TgZ(0,"div",34),n.TgZ(1,"input",35,36),n.NdJ("input",function(Lt){return n.CHM(he),n.oxw(3).onFilterInputChange(Lt)}),n.qZA(),n._UZ(3,"span",37),n.qZA()}if(2&Ze){const he=n.oxw(3);n.xp6(1),n.Q6J("value",he.filterValue||"")("disabled",he.disabled),n.uIk("placeholder",he.filterPlaceHolder)("aria-label",he.ariaFilterLabel)}}function Ut(Ze,jt){if(1&Ze){const he=n.EpF();n.TgZ(0,"div",24),n.Hsn(1),n.YNc(2,Be,1,0,"ng-container",25),n.YNc(3,Xt,5,14,"div",26),n.YNc(4,Nt,4,4,"div",27),n.TgZ(5,"button",28),n.NdJ("click",function(Lt){return n.CHM(he),n.oxw(2).close(Lt)}),n._UZ(6,"span",29),n.qZA(),n.qZA()}if(2&Ze){const he=n.oxw(2);n.xp6(2),n.Q6J("ngTemplateOutlet",he.headerTemplate),n.xp6(1),n.Q6J("ngIf",he.showToggleAll&&!he.selectionLimit),n.xp6(1),n.Q6J("ngIf",he.filter)}}function zn(Ze,jt){if(1&Ze&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&Ze){const he=n.oxw().$implicit,Fe=n.oxw(3);n.xp6(1),n.Oqu(Fe.getOptionGroupLabel(he)||"empty")}}function kt(Ze,jt){1&Ze&&n.GkF(0)}function _n(Ze,jt){1&Ze&&n.GkF(0)}function Ht(Ze,jt){if(1&Ze&&(n.TgZ(0,"li",39),n.YNc(1,zn,2,1,"span",7),n.YNc(2,kt,1,0,"ng-container",8),n.qZA(),n.YNc(3,_n,1,0,"ng-container",8)),2&Ze){const he=jt.$implicit;n.oxw(2);const Fe=n.MAs(7),Lt=n.oxw();n.xp6(1),n.Q6J("ngIf",!Lt.groupTemplate),n.xp6(1),n.Q6J("ngTemplateOutlet",Lt.groupTemplate)("ngTemplateOutletContext",n.VKq(5,Ue,he)),n.xp6(1),n.Q6J("ngTemplateOutlet",Fe)("ngTemplateOutletContext",n.VKq(7,Ue,Lt.getOptionGroupChildren(he)))}}function sn(Ze,jt){if(1&Ze&&(n.ynx(0),n.YNc(1,Ht,4,9,"ng-template",38),n.BQk()),2&Ze){const he=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",he.optionsToRender)}}function tt(Ze,jt){1&Ze&&n.GkF(0)}function at(Ze,jt){if(1&Ze&&(n.ynx(0),n.YNc(1,tt,1,0,"ng-container",8),n.BQk()),2&Ze){n.oxw();const he=n.MAs(7),Fe=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",he)("ngTemplateOutletContext",n.VKq(2,Ue,Fe.optionsToRender))}}function Tt(Ze,jt){if(1&Ze){const he=n.EpF();n.TgZ(0,"p-multiSelectItem",43),n.NdJ("onClick",function(Lt){return n.CHM(he),n.oxw(4).onOptionClick(Lt)})("onKeydown",function(Lt){return n.CHM(he),n.oxw(4).onOptionKeydown(Lt)}),n.qZA()}if(2&Ze){const he=jt.$implicit,Fe=n.oxw(4);n.Q6J("option",he)("selected",Fe.isSelected(he))("label",Fe.getOptionLabel(he))("disabled",Fe.isOptionDisabled(he))("template",Fe.itemTemplate)}}function et(Ze,jt){if(1&Ze&&(n.ynx(0),n.YNc(1,Tt,1,5,"ng-template",38),n.BQk()),2&Ze){const he=n.oxw().$implicit;n.xp6(1),n.Q6J("ngForOf",he)}}function mt(Ze,jt){if(1&Ze){const he=n.EpF();n.ynx(0),n.TgZ(1,"p-multiSelectItem",48),n.NdJ("onClick",function(Lt){return n.CHM(he),n.oxw(5).onOptionClick(Lt)})("onKeydown",function(Lt){return n.CHM(he),n.oxw(5).onOptionKeydown(Lt)}),n.qZA(),n.BQk()}if(2&Ze){const he=jt.$implicit,Fe=n.oxw(5);n.xp6(1),n.Q6J("option",he)("selected",Fe.isSelected(he))("label",Fe.getOptionLabel(he))("disabled",Fe.isOptionDisabled(he))("template",Fe.itemTemplate)("itemSize",Fe.itemSize)}}function on(Ze,jt){if(1&Ze&&(n.TgZ(0,"cdk-virtual-scroll-viewport",45,46),n.YNc(2,mt,2,6,"ng-container",47),n.qZA()),2&Ze){const he=n.oxw(2).$implicit,Fe=n.oxw(2);n.Q6J("ngStyle",n.VKq(3,ut,Fe.scrollHeight))("itemSize",Fe.itemSize),n.xp6(2),n.Q6J("cdkVirtualForOf",he)}}function un(Ze,jt){if(1&Ze&&n.YNc(0,on,3,5,"cdk-virtual-scroll-viewport",44),2&Ze){const he=n.oxw(3);n.Q6J("ngIf",he.virtualScroll&&!he.emptyOptions)}}function cn(Ze,jt){if(1&Ze&&(n.ynx(0),n._uU(1),n.BQk()),2&Ze){const he=n.oxw(4);n.xp6(1),n.hij(" ",he.emptyFilterMessageLabel," ")}}function Rn(Ze,jt){1&Ze&&n.GkF(0,null,50)}function vi(Ze,jt){if(1&Ze&&(n.TgZ(0,"li",49),n.YNc(1,cn,2,1,"ng-container",40),n.YNc(2,Rn,2,0,"ng-container",25),n.qZA()),2&Ze){const he=n.oxw(3);n.xp6(1),n.Q6J("ngIf",!he.emptyFilterTemplate&&!he.emptyTemplate)("ngIfElse",he.emptyFilter),n.xp6(1),n.Q6J("ngTemplateOutlet",he.emptyFilterTemplate||he.emptyTemplate)}}function Ci(Ze,jt){if(1&Ze&&(n.ynx(0),n._uU(1),n.BQk()),2&Ze){const he=n.oxw(4);n.xp6(1),n.hij(" ",he.emptyMessageLabel," ")}}function Pn(Ze,jt){1&Ze&&n.GkF(0,null,51)}function Qn(Ze,jt){if(1&Ze&&(n.TgZ(0,"li",49),n.YNc(1,Ci,2,1,"ng-container",40),n.YNc(2,Pn,2,0,"ng-container",25),n.qZA()),2&Ze){const he=n.oxw(3);n.xp6(1),n.Q6J("ngIf",!he.emptyTemplate)("ngIfElse",he.empty),n.xp6(1),n.Q6J("ngTemplateOutlet",he.emptyTemplate)}}function ai(Ze,jt){if(1&Ze&&(n.YNc(0,et,2,1,"ng-container",40),n.YNc(1,un,1,1,"ng-template",null,41,n.W1O),n.YNc(3,vi,3,3,"li",42),n.YNc(4,Qn,3,3,"li",42)),2&Ze){const he=n.MAs(2),Fe=n.oxw(2);n.Q6J("ngIf",!Fe.virtualScroll)("ngIfElse",he),n.xp6(3),n.Q6J("ngIf",Fe.hasFilter()&&Fe.emptyOptions),n.xp6(1),n.Q6J("ngIf",!Fe.hasFilter()&&Fe.emptyOptions)}}function dn(Ze,jt){1&Ze&&n.GkF(0)}function Mn(Ze,jt){if(1&Ze&&(n.TgZ(0,"div",52),n.Hsn(1,1),n.YNc(2,dn,1,0,"ng-container",25),n.qZA()),2&Ze){const he=n.oxw(2);n.xp6(2),n.Q6J("ngTemplateOutlet",he.footerTemplate)}}const si=function(){return["p-multiselect-panel p-component"]},io=function(Ze,jt){return{showTransitionParams:Ze,hideTransitionParams:jt}},Qi=function(Ze){return{value:"visible",params:Ze}},Pt=function(Ze){return{"p-multiselect-virtualscroll":Ze}};function Je(Ze,jt){if(1&Ze){const he=n.EpF();n.TgZ(0,"div",18),n.NdJ("@overlayAnimation.start",function(Lt){return n.CHM(he),n.oxw().onOverlayAnimationStart(Lt)})("@overlayAnimation.done",function(Lt){return n.CHM(he),n.oxw().onOverlayAnimationEnd(Lt)})("keydown",function(Lt){return n.CHM(he),n.oxw().onKeydown(Lt)})("click",function(Lt){return n.CHM(he),n.oxw().onOverlayClick(Lt)}),n.YNc(1,Ut,7,3,"div",19),n.TgZ(2,"div",20),n.TgZ(3,"ul",21),n.YNc(4,sn,2,1,"ng-container",7),n.YNc(5,at,2,4,"ng-container",7),n.YNc(6,ai,5,4,"ng-template",null,22,n.W1O),n.qZA(),n.qZA(),n.YNc(8,Mn,3,1,"div",23),n.qZA()}if(2&Ze){const he=n.oxw();n.Tol(he.panelStyleClass),n.Q6J("ngClass",n.DdM(12,si))("@overlayAnimation",n.VKq(16,Qi,n.WLB(13,io,he.showTransitionOptions,he.hideTransitionOptions)))("ngStyle",he.panelStyle),n.xp6(1),n.Q6J("ngIf",he.showHeader),n.xp6(1),n.Udp("max-height",he.virtualScroll?"auto":he.scrollHeight||"auto"),n.xp6(1),n.Q6J("ngClass",n.VKq(18,Pt,he.virtualScroll)),n.xp6(1),n.Q6J("ngIf",he.group),n.xp6(1),n.Q6J("ngIf",!he.group),n.xp6(3),n.Q6J("ngIf",he.footerFacet||he.footerTemplate)}}const me=[[["p-header"]],[["p-footer"]]],Se=function(Ze,jt,he,Fe){return{"p-multiselect p-component":!0,"p-multiselect-open":Ze,"p-multiselect-chip":jt,"p-focus":he,"p-disabled":Fe}},W=function(Ze,jt){return{"p-placeholder":Ze,"p-multiselect-label-empty":jt}},F=function(){return{"p-multiselect-trigger":!0}},U=["p-header","p-footer"],X={provide:de.JU,useExisting:(0,n.Gpc)(()=>Qt),multi:!0};let He=(()=>{class Ze{constructor(){this.onClick=new n.vpe,this.onKeydown=new n.vpe}onOptionClick(he){this.onClick.emit({originalEvent:he,option:this.option})}onOptionKeydown(he){this.onKeydown.emit({originalEvent:he,option:this.option})}}return Ze.\u0275fac=function(he){return new(he||Ze)},Ze.\u0275cmp=n.Xpm({type:Ze,selectors:[["p-multiSelectItem"]],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick",onKeydown:"onKeydown"},decls:6,vars:20,consts:[["pRipple","",1,"p-multiselect-item",3,"ngStyle","ngClass","click","keydown"],[1,"p-checkbox","p-component"],[1,"p-checkbox-box",3,"ngClass"],[1,"p-checkbox-icon",3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(he,Fe){1&he&&(n.TgZ(0,"li",0),n.NdJ("click",function(At){return Fe.onOptionClick(At)})("keydown",function(At){return Fe.onOptionKeydown(At)}),n.TgZ(1,"div",1),n.TgZ(2,"div",2),n._UZ(3,"span",3),n.qZA(),n.qZA(),n.YNc(4,xe,2,1,"span",4),n.YNc(5,Pe,1,0,"ng-container",5),n.qZA()),2&he&&(n.Q6J("ngStyle",n.VKq(9,ut,Fe.itemSize+"px"))("ngClass",n.WLB(11,dt,Fe.selected,Fe.disabled)),n.uIk("aria-label",Fe.label)("tabindex",Fe.disabled?null:"0"),n.xp6(2),n.Q6J("ngClass",n.VKq(14,st,Fe.selected)),n.xp6(1),n.Q6J("ngClass",n.VKq(16,Me,Fe.selected)),n.xp6(1),n.Q6J("ngIf",!Fe.template),n.xp6(1),n.Q6J("ngTemplateOutlet",Fe.template)("ngTemplateOutletContext",n.VKq(18,Ue,Fe.option)))},directives:[re.H,V.PC,V.mk,V.O5,V.tP],encapsulation:2}),Ze})(),Qt=(()=>{class Ze{constructor(he,Fe,Lt,At,mn,In){this.el=he,this.renderer=Fe,this.cd=Lt,this.filterService=At,this.config=mn,this.overlayService=In,this.filter=!0,this.displaySelectedLabel=!0,this.maxSelectedLabels=3,this.selectedItemsLabel="ellipsis",this.showToggleAll=!0,this.emptyFilterMessage="",this.emptyMessage="",this.resetFilterOnHide=!1,this.dropdownIcon="pi pi-chevron-down",this.optionGroupChildren="items",this.showHeader=!0,this.autoZIndex=!0,this.baseZIndex=0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.display="comma",this.onChange=new n.vpe,this.onFilter=new n.vpe,this.onFocus=new n.vpe,this.onBlur=new n.vpe,this.onClick=new n.vpe,this.onPanelShow=new n.vpe,this.onPanelHide=new n.vpe,this.scrollHeight="200px",this.onModelChange=()=>{},this.onModelTouched=()=>{}}set defaultLabel(he){this._defaultLabel=he,this.updateLabel()}get defaultLabel(){return this._defaultLabel}set placeholder(he){this._placeholder=he,this.updateLabel()}get placeholder(){return this._placeholder}get options(){return this._options}set options(he){this._options=he,this.updateLabel()}get filterValue(){return this._filterValue}set filterValue(he){this._filterValue=he,this.activateFilter()}ngOnInit(){this.updateLabel()}ngAfterContentInit(){this.templates.forEach(he=>{switch(he.getType()){case"item":this.itemTemplate=he.template;break;case"group":this.groupTemplate=he.template;break;case"selectedItems":this.selectedItemsTemplate=he.template;break;case"header":this.headerTemplate=he.template;break;case"emptyfilter":this.emptyFilterTemplate=he.template;break;case"empty":this.emptyTemplate=he.template;break;case"footer":this.footerTemplate=he.template;break;default:this.itemTemplate=he.template}})}ngAfterViewInit(){this.overlayVisible&&this.show()}ngAfterViewChecked(){this.filtered&&(this.alignOverlay(),this.filtered=!1)}getOptionLabel(he){return this.optionLabel?ie.gb.resolveFieldData(he,this.optionLabel):null!=he.label?he.label:he}getOptionValue(he){return this.optionValue?ie.gb.resolveFieldData(he,this.optionValue):this.optionLabel||void 0===he.value?he:he.value}getOptionGroupLabel(he){return this.optionGroupLabel?ie.gb.resolveFieldData(he,this.optionGroupLabel):null!=he.label?he.label:he}getOptionGroupChildren(he){return this.optionGroupChildren?ie.gb.resolveFieldData(he,this.optionGroupChildren):he.items}isOptionDisabled(he){return(this.optionDisabled?ie.gb.resolveFieldData(he,this.optionDisabled):void 0!==he.disabled&&he.disabled)||this.maxSelectionLimitReached&&!this.isSelected(he)}writeValue(he){this.value=he,this.updateLabel(),this.updateFilledState(),this.checkSelectionLimit(),this.cd.markForCheck()}checkSelectionLimit(){this.maxSelectionLimitReached=!(!this.selectionLimit||!this.value||this.value.length!==this.selectionLimit)}updateFilledState(){this.filled=this.value&&this.value.length>0}registerOnChange(he){this.onModelChange=he}registerOnTouched(he){this.onModelTouched=he}setDisabledState(he){this.disabled=he,this.cd.markForCheck()}onOptionClick(he){let Fe=he.option;if(this.isOptionDisabled(Fe))return;let Lt=this.getOptionValue(Fe),At=this.findSelectionIndex(Lt);-1!=At?(this.value=this.value.filter((mn,In)=>In!=At),this.selectionLimit&&(this.maxSelectionLimitReached=!1)):((!this.selectionLimit||!this.value||this.value.length<this.selectionLimit)&&(this.value=[...this.value||[],Lt]),this.checkSelectionLimit()),this.onModelChange(this.value),this.onChange.emit({originalEvent:he.originalEvent,value:this.value,itemValue:Lt}),this.updateLabel(),this.updateFilledState()}isSelected(he){return-1!=this.findSelectionIndex(this.getOptionValue(he))}findSelectionIndex(he){let Fe=-1;if(this.value)for(let Lt=0;Lt<this.value.length;Lt++)if(ie.gb.equals(this.value[Lt],he,this.dataKey)){Fe=Lt;break}return Fe}get toggleAllDisabled(){let he=this.optionsToRender;if(!he||0===he.length)return!0;for(let Fe of he)if(!this.isOptionDisabled(Fe))return!1;return!0}toggleAll(he){this.disabled||this.toggleAllDisabled||this.readonly||(this.allChecked?this.uncheckAll():this.checkAll(),this.onModelChange(this.value),this.onChange.emit({originalEvent:he,value:this.value}),this.updateFilledState(),this.updateLabel(),he.preventDefault())}checkAll(){let Fe=[];this.optionsToRender.forEach(Lt=>{if(this.group){let At=this.getOptionGroupChildren(Lt);At&&At.forEach(mn=>{let In=this.isOptionDisabled(mn);(!In||In&&this.isSelected(mn))&&Fe.push(this.getOptionValue(mn))})}else{let At=this.isOptionDisabled(Lt);(!At||At&&this.isSelected(Lt))&&Fe.push(this.getOptionValue(Lt))}}),this.value=Fe}uncheckAll(){let Fe=[];this.optionsToRender.forEach(Lt=>{this.group?Lt.items&&Lt.items.forEach(At=>{this.isOptionDisabled(At)&&this.isSelected(At)&&Fe.push(this.getOptionValue(At))}):this.isOptionDisabled(Lt)&&this.isSelected(Lt)&&Fe.push(this.getOptionValue(Lt))}),this.value=Fe}show(){this.overlayVisible||(this.overlayVisible=!0)}onOverlayClick(he){this.overlayService.add({originalEvent:he,target:this.el.nativeElement})}onOverlayAnimationStart(he){switch(he.toState){case"visible":this.overlay=he.element,this.appendOverlay(),this.autoZIndex&&ie.P9.set("overlay",this.overlay,this.config.zIndex.overlay),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),this.filterInputChild&&this.filterInputChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterInputChild.nativeElement.focus()),this.onPanelShow.emit();break;case"void":this.onOverlayHide()}}onOverlayAnimationEnd(he){switch(he.toState){case"void":ie.P9.clear(he.element)}}appendOverlay(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):pe.p.appendChild(this.overlay,this.appendTo),this.overlay.style.minWidth||(this.overlay.style.minWidth=pe.p.getWidth(this.containerViewChild.nativeElement)+"px"))}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}alignOverlay(){this.overlay&&(this.appendTo?pe.p.absolutePosition(this.overlay,this.containerViewChild.nativeElement):pe.p.relativePosition(this.overlay,this.containerViewChild.nativeElement))}hide(){this.overlayVisible=!1,this.unbindDocumentClickListener(),this.resetFilterOnHide&&(this.filterInputChild.nativeElement.value="",this._filterValue=null,this._filteredOptions=null),this.onPanelHide.emit(),this.cd.markForCheck()}close(he){this.hide(),he.preventDefault(),he.stopPropagation()}onMouseclick(he,Fe){this.disabled||this.readonly||he.target.isSameNode(this.accessibleViewChild.nativeElement)||(this.onClick.emit(he),!this.isOverlayClick(he)&&!pe.p.hasClass(he.target,"p-multiselect-token-icon")&&(this.overlayVisible?this.hide():(Fe.focus(),this.show())))}removeChip(he,Fe){this.value=this.value.filter(Lt=>!ie.gb.equals(Lt,he,this.dataKey)),this.onModelChange(this.value),this.onChange.emit({originalEvent:Fe,value:this.value}),this.updateLabel(),this.updateFilledState()}isOverlayClick(he){let Fe=he.target;return!!this.overlay&&(this.overlay.isSameNode(Fe)||this.overlay.contains(Fe))}isOutsideClicked(he){return!(this.el.nativeElement.isSameNode(he.target)||this.el.nativeElement.contains(he.target)||this.isOverlayClick(he))}onInputFocus(he){this.focus=!0,this.onFocus.emit({originalEvent:he})}onInputBlur(he){this.focus=!1,this.onBlur.emit({originalEvent:he}),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}onOptionKeydown(he){if(!this.readonly)switch(he.originalEvent.which){case 40:var Fe=this.findNextItem(he.originalEvent.target.parentElement);Fe&&Fe.focus(),he.originalEvent.preventDefault();break;case 38:var Lt=this.findPrevItem(he.originalEvent.target.parentElement);Lt&&Lt.focus(),he.originalEvent.preventDefault();break;case 13:this.onOptionClick(he),he.originalEvent.preventDefault()}}findNextItem(he){let Fe=he.nextElementSibling;return Fe?pe.p.hasClass(Fe.children[0],"p-disabled")||pe.p.isHidden(Fe.children[0])||pe.p.hasClass(Fe,"p-multiselect-item-group")?this.findNextItem(Fe):Fe.children[0]:null}findPrevItem(he){let Fe=he.previousElementSibling;return Fe?pe.p.hasClass(Fe.children[0],"p-disabled")||pe.p.isHidden(Fe.children[0])||pe.p.hasClass(Fe,"p-multiselect-item-group")?this.findPrevItem(Fe):Fe.children[0]:null}onKeydown(he){switch(he.which){case 40:!this.overlayVisible&&he.altKey&&(this.show(),he.preventDefault());break;case 32:this.overlayVisible||(this.show(),he.preventDefault());break;case 27:this.hide()}}updateLabel(){if(this.value&&this.options&&this.value.length&&this.displaySelectedLabel){let he="";for(let Fe=0;Fe<this.value.length;Fe++){let Lt=this.findLabelByValue(this.value[Fe]);Lt&&(he.length>0&&(he+=", "),he+=Lt)}if(this.value.length<=this.maxSelectedLabels||"ellipsis"===this.selectedItemsLabel)this.valuesAsString=he;else{let Fe=/{(.*?)}/;this.valuesAsString=Fe.test(this.selectedItemsLabel)?this.selectedItemsLabel.replace(this.selectedItemsLabel.match(Fe)[0],this.value.length+""):this.selectedItemsLabel}}else this.valuesAsString=this.placeholder||this.defaultLabel}findLabelByValue(he){if(this.group){let Fe=null;for(let Lt=0;Lt<this.options.length;Lt++){let At=this.getOptionGroupChildren(this.options[Lt]);if(At&&(Fe=this.searchLabelByValue(he,At),Fe))break}return Fe}return this.searchLabelByValue(he,this.options)}searchLabelByValue(he,Fe){let Lt=null;for(let At=0;At<Fe.length;At++){let mn=Fe[At],In=this.getOptionValue(mn);if(null==he&&null==In||ie.gb.equals(he,In,this.dataKey)){Lt=this.getOptionLabel(mn);break}}return Lt}get allChecked(){let he=this.optionsToRender;if(!he||0===he.length)return!1;{let Fe=0,Lt=0,At=0,mn=this.group?0:this.optionsToRender.length;for(let In of he)if(this.group)for(let On of this.getOptionGroupChildren(In)){let Ri=this.isOptionDisabled(On),Sn=this.isSelected(On);if(Ri)Sn?Fe++:Lt++;else{if(!Sn)return!1;At++}mn++}else{let On=this.isOptionDisabled(In),Ri=this.isSelected(In);if(On)Ri?Fe++:Lt++;else{if(!Ri)return!1;At++}}return mn===Fe||mn===At||At&&mn===At+Lt+Fe}}get optionsToRender(){return this._filteredOptions||this.options}get emptyOptions(){let he=this.optionsToRender;return!he||0===he.length}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(se.ws.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(se.ws.EMPTY_FILTER_MESSAGE)}hasFilter(){return this._filterValue&&this._filterValue.trim().length>0}onFilterInputChange(he){this._filterValue=he.target.value,this.activateFilter(),this.onFilter.emit({originalEvent:he,filter:this._filterValue})}activateFilter(){if(this.hasFilter()&&this._options){let he=(this.filterBy||this.optionLabel||"label").split(",");if(this.group){let Fe=(this.optionLabel||"label").split(","),Lt=[];for(let At of this.options){let mn=this.filterService.filter(this.getOptionGroupChildren(At),Fe,this.filterValue,this.filterMatchMode,this.filterLocale);mn&&mn.length&&Lt.push(Object.assign(Object.assign({},At),{[this.optionGroupChildren]:mn}))}this._filteredOptions=Lt}else this._filteredOptions=this.filterService.filter(this.options,he,this._filterValue,this.filterMatchMode,this.filterLocale)}else this._filteredOptions=null}onHeaderCheckboxFocus(){this.headerCheckboxFocus=!0}onHeaderCheckboxBlur(){this.headerCheckboxFocus=!1}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",Fe=>{this.isOutsideClicked(Fe)&&this.hide()}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener)}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}onWindowResize(){pe.p.isAndroid()||this.hide()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new pe.V(this.containerViewChild.nativeElement,()=>{this.overlayVisible&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.onModelTouched()}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&ie.P9.clear(this.overlay),this.restoreOverlayAppend(),this.onOverlayHide()}}return Ze.\u0275fac=function(he){return new(he||Ze)(n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(n.sBO),n.Y36(se.iZ),n.Y36(se.b4),n.Y36(se.F0))},Ze.\u0275cmp=n.Xpm({type:Ze,selectors:[["p-multiSelect"]],contentQueries:function(he,Fe,Lt){if(1&he&&(n.Suo(Lt,se.$_,5),n.Suo(Lt,se.h4,5),n.Suo(Lt,se.jx,4)),2&he){let At;n.iGM(At=n.CRH())&&(Fe.footerFacet=At.first),n.iGM(At=n.CRH())&&(Fe.headerFacet=At.first),n.iGM(At=n.CRH())&&(Fe.templates=At)}},viewQuery:function(he,Fe){if(1&he&&(n.Gf(Ve,5),n.Gf(ct,5),n.Gf(je,5)),2&he){let Lt;n.iGM(Lt=n.CRH())&&(Fe.containerViewChild=Lt.first),n.iGM(Lt=n.CRH())&&(Fe.filterInputChild=Lt.first),n.iGM(Lt=n.CRH())&&(Fe.accessibleViewChild=Lt.first)}},hostVars:4,hostBindings:function(he,Fe){2&he&&n.ekj("p-inputwrapper-filled",Fe.filled)("p-inputwrapper-focus",Fe.focus||Fe.overlayVisible)},inputs:{style:"style",styleClass:"styleClass",panelStyle:"panelStyle",panelStyleClass:"panelStyleClass",inputId:"inputId",disabled:"disabled",readonly:"readonly",group:"group",filter:"filter",filterPlaceHolder:"filterPlaceHolder",filterLocale:"filterLocale",overlayVisible:"overlayVisible",tabindex:"tabindex",appendTo:"appendTo",dataKey:"dataKey",name:"name",ariaLabelledBy:"ariaLabelledBy",displaySelectedLabel:"displaySelectedLabel",maxSelectedLabels:"maxSelectedLabels",selectionLimit:"selectionLimit",selectedItemsLabel:"selectedItemsLabel",showToggleAll:"showToggleAll",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",showHeader:"showHeader",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",filterBy:"filterBy",virtualScroll:"virtualScroll",itemSize:"itemSize",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",ariaFilterLabel:"ariaFilterLabel",filterMatchMode:"filterMatchMode",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:"autofocusFilter",display:"display",scrollHeight:"scrollHeight",defaultLabel:"defaultLabel",placeholder:"placeholder",options:"options",filterValue:"filterValue"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onPanelShow:"onPanelShow",onPanelHide:"onPanelHide"},features:[n._Bn([X])],ngContentSelectors:U,decls:12,vars:32,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","readonly","readonly","aria-haspopup","listbox","role","listbox",3,"disabled","focus","blur","keydown"],["in",""],[1,"p-multiselect-label-container",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[1,"p-multiselect-label",3,"ngClass"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[1,"p-multiselect-trigger-icon",3,"ngClass"],["onOverlayAnimationEnd","",3,"ngClass","ngStyle","class","keydown","click",4,"ngIf"],["class","p-multiselect-token",4,"ngFor","ngForOf"],[1,"p-multiselect-token"],["token",""],[1,"p-multiselect-token-label"],["class","p-multiselect-token-icon pi pi-times-circle",3,"click",4,"ngIf"],[1,"p-multiselect-token-icon","pi","pi-times-circle",3,"click"],["onOverlayAnimationEnd","",3,"ngClass","ngStyle","keydown","click"],["class","p-multiselect-header",4,"ngIf"],[1,"p-multiselect-items-wrapper"],["role","listbox","aria-multiselectable","true",1,"p-multiselect-items","p-component",3,"ngClass"],["itemslist",""],["class","p-multiselect-footer",4,"ngIf"],[1,"p-multiselect-header"],[4,"ngTemplateOutlet"],["class","p-checkbox p-component",3,"ngClass",4,"ngIf"],["class","p-multiselect-filter-container",4,"ngIf"],["type","button","pRipple","",1,"p-multiselect-close","p-link",3,"click"],[1,"p-multiselect-close-icon","pi","pi-times"],[1,"p-checkbox","p-component",3,"ngClass"],["type","checkbox","readonly","readonly",3,"checked","focus","blur","keydown.space"],["role","checkbox",1,"p-checkbox-box",3,"ngClass","click"],[1,"p-checkbox-icon",3,"ngClass"],[1,"p-multiselect-filter-container"],["type","text","role","textbox",1,"p-multiselect-filter","p-inputtext","p-component",3,"value","disabled","input"],["filterInput",""],[1,"p-multiselect-filter-icon","pi","pi-search"],["ngFor","",3,"ngForOf"],[1,"p-multiselect-item-group"],[4,"ngIf","ngIfElse"],["virtualScrollList",""],["class","p-multiselect-empty-message",4,"ngIf"],[3,"option","selected","label","disabled","template","onClick","onKeydown"],[3,"ngStyle","itemSize",4,"ngIf"],[3,"ngStyle","itemSize"],["viewport",""],[4,"cdkVirtualFor","cdkVirtualForOf"],[3,"option","selected","label","disabled","template","itemSize","onClick","onKeydown"],[1,"p-multiselect-empty-message"],["emptyFilter",""],["empty",""],[1,"p-multiselect-footer"]],template:function(he,Fe){if(1&he){const Lt=n.EpF();n.F$t(me),n.TgZ(0,"div",0,1),n.NdJ("click",function(mn){n.CHM(Lt);const In=n.MAs(4);return Fe.onMouseclick(mn,In)}),n.TgZ(2,"div",2),n.TgZ(3,"input",3,4),n.NdJ("focus",function(mn){return Fe.onInputFocus(mn)})("blur",function(mn){return Fe.onInputBlur(mn)})("keydown",function(mn){return Fe.onKeydown(mn)}),n.qZA(),n.qZA(),n.TgZ(5,"div",5),n.TgZ(6,"div",6),n.YNc(7,Ie,3,2,"ng-container",7),n.YNc(8,be,1,0,"ng-container",8),n.qZA(),n.qZA(),n.TgZ(9,"div",9),n._UZ(10,"span",10),n.qZA(),n.YNc(11,Je,9,20,"div",11),n.qZA()}2&he&&(n.Tol(Fe.styleClass),n.Q6J("ngClass",n.l5B(21,Se,Fe.overlayVisible,"chip"===Fe.display,Fe.focus,Fe.disabled))("ngStyle",Fe.style),n.xp6(3),n.Q6J("disabled",Fe.disabled),n.uIk("id",Fe.inputId)("name",Fe.name)("tabindex",Fe.tabindex)("aria-expanded",Fe.overlayVisible)("aria-labelledby",Fe.ariaLabelledBy),n.xp6(2),n.Q6J("pTooltip",Fe.tooltip)("tooltipPosition",Fe.tooltipPosition)("positionStyle",Fe.tooltipPositionStyle)("tooltipStyleClass",Fe.tooltipStyleClass),n.xp6(1),n.Q6J("ngClass",n.WLB(26,W,Fe.valuesAsString===(Fe.defaultLabel||Fe.placeholder),!(null!=Fe.valuesAsString&&0!==Fe.valuesAsString.length||null!=Fe.placeholder&&0!==Fe.placeholder.length))),n.xp6(1),n.Q6J("ngIf",!Fe.selectedItemsTemplate),n.xp6(1),n.Q6J("ngTemplateOutlet",Fe.selectedItemsTemplate)("ngTemplateOutletContext",n.VKq(29,Ue,Fe.value)),n.xp6(1),n.Q6J("ngClass",n.DdM(31,F)),n.xp6(1),n.Q6J("ngClass",Fe.dropdownIcon),n.xp6(1),n.Q6J("ngIf",Fe.overlayVisible))},directives:[V.mk,V.PC,we.u,V.O5,V.tP,V.sg,re.H,He,ge.N7,ge.xd,ge.x0],styles:[".p-multiselect{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-multiselect-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-multiselect-label-container{overflow:hidden;flex:1 1 auto;cursor:pointer}.p-multiselect-label{display:block;white-space:nowrap;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.p-multiselect-label-empty{overflow:hidden;visibility:hidden}.p-multiselect-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-multiselect-token-icon{cursor:pointer}.p-multiselect .p-multiselect-panel{min-width:100%}.p-multiselect-panel{position:absolute;top:0;left:0}.p-multiselect-items-wrapper{overflow:auto}.p-multiselect-items{margin:0;padding:0;list-style-type:none}.p-multiselect-item{cursor:pointer;display:flex;align-items:center;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-multiselect-header{display:flex;align-items:center;justify-content:space-between}.p-multiselect-filter-container{position:relative;flex:1 1 auto}.p-multiselect-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-multiselect-filter-container .p-inputtext{width:100%}.p-multiselect-close{display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;position:relative}.p-fluid .p-multiselect{display:flex}"],encapsulation:2,data:{animation:[(0,c.X$)("overlayAnimation",[(0,c.eR)(":enter",[(0,c.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,c.jt)("{{showTransitionParams}}")]),(0,c.eR)(":leave",[(0,c.jt)("{{hideTransitionParams}}",(0,c.oB)({opacity:0}))])])]},changeDetection:0}),Ze})(),Wt=(()=>{class Ze{}return Ze.\u0275fac=function(he){return new(he||Ze)},Ze.\u0275mod=n.oAB({type:Ze}),Ze.\u0275inj=n.cJS({imports:[[V.ez,se.m8,ge.Cl,we.z,re.T],se.m8,ge.Cl]}),Ze})()},6639:(bn,Et,J)=>{"use strict";J.d(Et,{D:()=>Ie,U:()=>be});var n=J(639),c=J(8583),V=J(665),pe=J(103),ie=J(9309),se=J(3013);function de(Be,bt){1&Be&&n.GkF(0)}const ge=function(Be){return{$implicit:Be}};function we(Be,bt){if(1&Be&&(n.TgZ(0,"div",14),n.YNc(1,de,1,0,"ng-container",15),n.qZA()),2&Be){const We=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",We.templateLeft)("ngTemplateOutletContext",n.VKq(2,ge,We.paginatorState))}}function re(Be,bt){if(1&Be&&(n.TgZ(0,"span",16),n._uU(1),n.qZA()),2&Be){const We=n.oxw(2);n.xp6(1),n.Oqu(We.currentPageReport)}}const xe=function(Be){return{"p-disabled":Be}};function Pe(Be,bt){if(1&Be){const We=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(Nt){return n.CHM(We),n.oxw(2).changePageToFirst(Nt)}),n._UZ(1,"span",18),n.qZA()}if(2&Be){const We=n.oxw(2);n.Q6J("disabled",We.isFirstPage())("ngClass",n.VKq(2,xe,We.isFirstPage()))}}const ut=function(Be){return{"p-highlight":Be}};function dt(Be,bt){if(1&Be){const We=n.EpF();n.TgZ(0,"button",21),n.NdJ("click",function(Nt){const zn=n.CHM(We).$implicit;return n.oxw(3).onPageLinkClick(Nt,zn-1)}),n._uU(1),n.qZA()}if(2&Be){const We=bt.$implicit,Xt=n.oxw(3);n.Q6J("ngClass",n.VKq(2,ut,We-1==Xt.getPage())),n.xp6(1),n.Oqu(We)}}function st(Be,bt){if(1&Be&&(n.TgZ(0,"span",19),n.YNc(1,dt,2,4,"button",20),n.qZA()),2&Be){const We=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",We.pageLinks)}}function Me(Be,bt){if(1&Be&&n._uU(0),2&Be){const We=n.oxw(3);n.Oqu(We.currentPageReport)}}function Ue(Be,bt){if(1&Be){const We=n.EpF();n.TgZ(0,"p-dropdown",22),n.NdJ("onChange",function(Nt){return n.CHM(We),n.oxw(2).onPageDropdownChange(Nt)}),n.YNc(1,Me,1,1,"ng-template",23),n.qZA()}if(2&Be){const We=n.oxw(2);n.Q6J("options",We.pageItems)("ngModel",We.getPage())("appendTo",We.dropdownAppendTo)("scrollHeight",We.dropdownScrollHeight)}}function Ve(Be,bt){if(1&Be){const We=n.EpF();n.TgZ(0,"button",24),n.NdJ("click",function(Nt){return n.CHM(We),n.oxw(2).changePageToLast(Nt)}),n._UZ(1,"span",25),n.qZA()}if(2&Be){const We=n.oxw(2);n.Q6J("disabled",We.isLastPage())("ngClass",n.VKq(2,xe,We.isLastPage()))}}function ct(Be,bt){1&Be&&n.GkF(0)}function je(Be,bt){if(1&Be&&n.YNc(0,ct,1,0,"ng-container",15),2&Be){const We=bt.$implicit,Xt=n.oxw(4);n.Q6J("ngTemplateOutlet",Xt.dropdownItemTemplate)("ngTemplateOutletContext",n.VKq(2,ge,We))}}function Qe(Be,bt){1&Be&&(n.ynx(0),n.YNc(1,je,1,4,"ng-template",28),n.BQk())}function ue(Be,bt){if(1&Be){const We=n.EpF();n.TgZ(0,"p-dropdown",26),n.NdJ("ngModelChange",function(Nt){return n.CHM(We),n.oxw(2).rows=Nt})("onChange",function(Nt){return n.CHM(We),n.oxw(2).onRppChange(Nt)}),n.YNc(1,Qe,2,0,"ng-container",27),n.qZA()}if(2&Be){const We=n.oxw(2);n.Q6J("options",We.rowsPerPageItems)("ngModel",We.rows)("appendTo",We.dropdownAppendTo)("scrollHeight",We.dropdownScrollHeight),n.xp6(1),n.Q6J("ngIf",We.dropdownItemTemplate)}}function z(Be,bt){1&Be&&n.GkF(0)}function Le(Be,bt){if(1&Be&&(n.TgZ(0,"div",29),n.YNc(1,z,1,0,"ng-container",15),n.qZA()),2&Be){const We=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",We.templateRight)("ngTemplateOutletContext",n.VKq(2,ge,We.paginatorState))}}function ve(Be,bt){if(1&Be){const We=n.EpF();n.TgZ(0,"div",1),n.YNc(1,we,2,4,"div",2),n.YNc(2,re,2,1,"span",3),n.YNc(3,Pe,2,4,"button",4),n.TgZ(4,"button",5),n.NdJ("click",function(Nt){return n.CHM(We),n.oxw().changePageToPrev(Nt)}),n._UZ(5,"span",6),n.qZA(),n.YNc(6,st,2,1,"span",7),n.YNc(7,Ue,2,4,"p-dropdown",8),n.TgZ(8,"button",9),n.NdJ("click",function(Nt){return n.CHM(We),n.oxw().changePageToNext(Nt)}),n._UZ(9,"span",10),n.qZA(),n.YNc(10,Ve,2,4,"button",11),n.YNc(11,ue,2,5,"p-dropdown",12),n.YNc(12,Le,2,4,"div",13),n.qZA()}if(2&Be){const We=n.oxw();n.Tol(We.styleClass),n.Q6J("ngStyle",We.style)("ngClass","p-paginator p-component"),n.xp6(1),n.Q6J("ngIf",We.templateLeft),n.xp6(1),n.Q6J("ngIf",We.showCurrentPageReport),n.xp6(1),n.Q6J("ngIf",We.showFirstLastIcon),n.xp6(1),n.Q6J("disabled",We.isFirstPage())("ngClass",n.VKq(16,xe,We.isFirstPage())),n.xp6(2),n.Q6J("ngIf",We.showPageLinks),n.xp6(1),n.Q6J("ngIf",We.showJumpToPageDropdown),n.xp6(1),n.Q6J("disabled",We.isLastPage())("ngClass",n.VKq(18,xe,We.isLastPage())),n.xp6(2),n.Q6J("ngIf",We.showFirstLastIcon),n.xp6(1),n.Q6J("ngIf",We.rowsPerPageOptions),n.xp6(1),n.Q6J("ngIf",We.templateRight)}}let Ie=(()=>{class Be{constructor(We){this.cd=We,this.pageLinkSize=5,this.onPageChange=new n.vpe,this.alwaysShow=!0,this.dropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.totalRecords=0,this.rows=0,this.showPageLinks=!0,this._first=0,this._page=0}ngOnInit(){this.updatePaginatorState()}ngOnChanges(We){We.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),We.first&&(this._first=We.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),We.rows&&(this.updatePageLinks(),this.updatePaginatorState()),We.rowsPerPageOptions&&this.updateRowsPerPageOptions()}get first(){return this._first}set first(We){this._first=We}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];for(let We of this.rowsPerPageOptions)"object"==typeof We&&We.showAll?this.rowsPerPageItems.unshift({label:We.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(We),value:We})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)||1}calculatePageLinkBoundaries(){let We=this.getPageCount(),Xt=Math.min(this.pageLinkSize,We),Nt=Math.max(0,Math.ceil(this.getPage()-Xt/2)),Ut=Math.min(We-1,Nt+Xt-1);return Nt=Math.max(0,Nt-(this.pageLinkSize-(Ut-Nt+1))),[Nt,Ut]}updatePageLinks(){this.pageLinks=[];let We=this.calculatePageLinkBoundaries(),Nt=We[1];for(let Ut=We[0];Ut<=Nt;Ut++)this.pageLinks.push(Ut+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let Ut=0;Ut<this.getPageCount();Ut++)this.pageItems.push({label:String(Ut+1),value:Ut})}}changePage(We){var Xt=this.getPageCount();if(We>=0&&We<Xt){this._first=this.rows*We;var Nt={page:We,first:this.first,rows:this.rows,pageCount:Xt};this.updatePageLinks(),this.onPageChange.emit(Nt),this.updatePaginatorState()}}updateFirst(){const We=this.getPage();We>0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(We-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(We){this.isFirstPage()||this.changePage(0),We.preventDefault()}changePageToPrev(We){this.changePage(this.getPage()-1),We.preventDefault()}changePageToNext(We){this.changePage(this.getPage()+1),We.preventDefault()}changePageToLast(We){this.isLastPage()||this.changePage(this.getPageCount()-1),We.preventDefault()}onPageLinkClick(We,Xt){this.changePage(Xt),We.preventDefault()}onRppChange(We){this.changePage(this.getPage())}onPageDropdownChange(We){this.changePage(We.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.getPage()+1)).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}}return Be.\u0275fac=function(We){return new(We||Be)(n.Y36(n.sBO))},Be.\u0275cmp=n.Xpm({type:Be,selectors:[["p-paginator"]],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",templateLeft:"templateLeft",templateRight:"templateRight",dropdownAppendTo:"dropdownAppendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showPageLinks:"showPageLinks",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[n.TTD],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-left"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-right"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","appendTo","scrollHeight","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-left"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"ngClass","click"],["styleClass","p-paginator-page-options",3,"options","ngModel","appendTo","scrollHeight","onChange"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-icon","pi","pi-angle-double-right"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","appendTo","scrollHeight","ngModelChange","onChange"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(We,Xt){1&We&&n.YNc(0,ve,13,20,"div",0),2&We&&n.Q6J("ngIf",!!Xt.alwaysShow||Xt.pageLinks&&Xt.pageLinks.length>1)},directives:[c.O5,c.PC,c.mk,ie.H,c.tP,c.sg,pe.Lt,V.JJ,V.On,se.jx],styles:[".p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-current,.p-paginator-first,.p-paginator-last,.p-paginator-next,.p-paginator-page,.p-paginator-prev{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}"],encapsulation:2,changeDetection:0}),Be})(),be=(()=>{class Be{}return Be.\u0275fac=function(We){return new(We||Be)},Be.\u0275mod=n.oAB({type:Be}),Be.\u0275inj=n.cJS({imports:[[c.ez,pe.kW,V.u5,se.m8,ie.T],pe.kW,V.u5,se.m8]}),Be})()},4020:(bn,Et,J)=>{"use strict";J.d(Et,{s:()=>z,Q:()=>Le});var n=J(639),c=J(8583),V=J(3013),pe=J(9309),ie=J(7238);function se(ve,Ie){if(1&ve&&(n.TgZ(0,"span",10),n._uU(1),n.qZA()),2&ve){const be=n.oxw(2);n.uIk("id",be.id+"_header"),n.xp6(1),n.Oqu(be.header)}}function de(ve,Ie){1&ve&&n.GkF(0)}function ge(ve,Ie){}function we(ve,Ie){1&ve&&n.YNc(0,ge,0,0,"ng-template")}function re(ve,Ie){if(1&ve){const be=n.EpF();n.TgZ(0,"button",11),n.NdJ("click",function(bt){return n.CHM(be),n.oxw(2).onIconClick(bt)})("keydown.enter",function(bt){return n.CHM(be),n.oxw(2).onIconClick(bt)}),n._UZ(1,"span"),n.qZA()}if(2&ve){const be=n.oxw(2);n.uIk("id",be.id+"-label")("aria-controls",be.id+"-content")("aria-expanded",!be.collapsed),n.xp6(1),n.Tol(be.collapsed?be.expandIcon:be.collapseIcon)}}function xe(ve,Ie){if(1&ve){const be=n.EpF();n.TgZ(0,"div",6),n.NdJ("click",function(bt){return n.CHM(be),n.oxw().onHeaderClick(bt)}),n.YNc(1,se,2,2,"span",7),n.Hsn(2,1),n.YNc(3,de,1,0,"ng-container",4),n.TgZ(4,"div",8),n.YNc(5,we,1,0,void 0,4),n.YNc(6,re,2,5,"button",9),n.qZA(),n.qZA()}if(2&ve){const be=n.oxw();n.uIk("id",be.id+"-titlebar"),n.xp6(1),n.Q6J("ngIf",be.header),n.xp6(2),n.Q6J("ngTemplateOutlet",be.headerTemplate),n.xp6(2),n.Q6J("ngTemplateOutlet",be.iconTemplate),n.xp6(1),n.Q6J("ngIf",be.toggleable)}}function Pe(ve,Ie){1&ve&&n.GkF(0)}function ut(ve,Ie){1&ve&&n.GkF(0)}function dt(ve,Ie){if(1&ve&&(n.TgZ(0,"div",12),n.Hsn(1,2),n.YNc(2,ut,1,0,"ng-container",4),n.qZA()),2&ve){const be=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",be.footerTemplate)}}const st=["*",[["p-header"]],[["p-footer"]]],Me=function(ve){return{"p-panel p-component":!0,"p-panel-toggleable":ve}},Ue=function(ve){return{transitionParams:ve,height:"0",opacity:"0"}},Ve=function(ve){return{value:"hidden",params:ve}},ct=function(ve){return{transitionParams:ve,height:"*",opacity:"1"}},je=function(ve){return{value:"visible",params:ve}},Qe=["*","p-header","p-footer"];let ue=0,z=(()=>{class ve{constructor(be){this.el=be,this.collapsed=!1,this.expandIcon="pi pi-plus",this.collapseIcon="pi pi-minus",this.showHeader=!0,this.toggler="icon",this.collapsedChange=new n.vpe,this.onBeforeToggle=new n.vpe,this.onAfterToggle=new n.vpe,this.transitionOptions="400ms cubic-bezier(0.86, 0, 0.07, 1)",this.id="p-panel-"+ue++}ngAfterContentInit(){this.templates.forEach(be=>{switch(be.getType()){case"header":this.headerTemplate=be.template;break;case"content":this.contentTemplate=be.template;break;case"footer":this.footerTemplate=be.template;break;case"icons":this.iconTemplate=be.template;break;default:this.contentTemplate=be.template}})}onHeaderClick(be){"header"===this.toggler&&this.toggle(be)}onIconClick(be){"icon"===this.toggler&&this.toggle(be)}toggle(be){if(this.animating)return!1;this.animating=!0,this.onBeforeToggle.emit({originalEvent:be,collapsed:this.collapsed}),this.toggleable&&(this.collapsed?this.expand(be):this.collapse(be)),be.preventDefault()}expand(be){this.collapsed=!1,this.collapsedChange.emit(this.collapsed)}collapse(be){this.collapsed=!0,this.collapsedChange.emit(this.collapsed)}getBlockableElement(){return this.el.nativeElement.children[0]}onToggleDone(be){this.animating=!1,this.onAfterToggle.emit({originalEvent:be,collapsed:this.collapsed})}}return ve.\u0275fac=function(be){return new(be||ve)(n.Y36(n.SBq))},ve.\u0275cmp=n.Xpm({type:ve,selectors:[["p-panel"]],contentQueries:function(be,Be,bt){if(1&be&&(n.Suo(bt,V.$_,5),n.Suo(bt,V.jx,4)),2&be){let We;n.iGM(We=n.CRH())&&(Be.footerFacet=We.first),n.iGM(We=n.CRH())&&(Be.templates=We)}},inputs:{toggleable:"toggleable",header:"header",collapsed:"collapsed",style:"style",styleClass:"styleClass",expandIcon:"expandIcon",collapseIcon:"collapseIcon",showHeader:"showHeader",toggler:"toggler",transitionOptions:"transitionOptions"},outputs:{collapsedChange:"collapsedChange",onBeforeToggle:"onBeforeToggle",onAfterToggle:"onAfterToggle"},ngContentSelectors:Qe,decls:7,vars:22,consts:[[3,"ngClass","ngStyle"],["class","p-panel-header",3,"click",4,"ngIf"],["role","region",1,"p-toggleable-content"],[1,"p-panel-content"],[4,"ngTemplateOutlet"],["class","p-panel-footer",4,"ngIf"],[1,"p-panel-header",3,"click"],["class","p-panel-title",4,"ngIf"],[1,"p-panel-icons"],["type","button","class","p-panel-header-icon p-panel-toggler p-link","pRipple","","role","tab",3,"click","keydown.enter",4,"ngIf"],[1,"p-panel-title"],["type","button","pRipple","","role","tab",1,"p-panel-header-icon","p-panel-toggler","p-link",3,"click","keydown.enter"],[1,"p-panel-footer"]],template:function(be,Be){1&be&&(n.F$t(st),n.TgZ(0,"div",0),n.YNc(1,xe,7,5,"div",1),n.TgZ(2,"div",2),n.NdJ("@panelContent.done",function(We){return Be.onToggleDone(We)}),n.TgZ(3,"div",3),n.Hsn(4),n.YNc(5,Pe,1,0,"ng-container",4),n.qZA(),n.YNc(6,dt,3,1,"div",5),n.qZA(),n.qZA()),2&be&&(n.Tol(Be.styleClass),n.Q6J("ngClass",n.VKq(12,Me,Be.toggleable))("ngStyle",Be.style),n.uIk("id",Be.id),n.xp6(1),n.Q6J("ngIf",Be.showHeader),n.xp6(1),n.Q6J("@panelContent",Be.collapsed?n.VKq(16,Ve,n.VKq(14,Ue,Be.animating?Be.transitionOptions:"0ms")):n.VKq(20,je,n.VKq(18,ct,Be.animating?Be.transitionOptions:"0ms"))),n.uIk("id",Be.id+"-content")("aria-hidden",Be.collapsed)("aria-labelledby",Be.id+"-titlebar"),n.xp6(3),n.Q6J("ngTemplateOutlet",Be.contentTemplate),n.xp6(1),n.Q6J("ngIf",Be.footerFacet||Be.footerTemplate))},directives:[c.mk,c.PC,c.O5,c.tP,pe.H],styles:[".p-panel-header{display:flex;justify-content:space-between;align-items:center}.p-panel-title{line-height:1}.p-panel-header-icon{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}"],encapsulation:2,data:{animation:[(0,ie.X$)("panelContent",[(0,ie.SB)("hidden",(0,ie.oB)({height:"0",overflow:"hidden"})),(0,ie.SB)("void",(0,ie.oB)({height:"{{height}}"}),{params:{height:"0"}}),(0,ie.SB)("visible",(0,ie.oB)({height:"*"})),(0,ie.eR)("visible <=> hidden",[(0,ie.oB)({overflow:"hidden"}),(0,ie.jt)("{{transitionParams}}")]),(0,ie.eR)("void => hidden",(0,ie.jt)("{{transitionParams}}")),(0,ie.eR)("void => visible",(0,ie.jt)("{{transitionParams}}"))])]},changeDetection:0}),ve})(),Le=(()=>{class ve{}return ve.\u0275fac=function(be){return new(be||ve)},ve.\u0275mod=n.oAB({type:ve}),ve.\u0275inj=n.cJS({imports:[[c.ez,V.m8,pe.T],V.m8]}),ve})()},9309:(bn,Et,J)=>{"use strict";J.d(Et,{H:()=>ie,T:()=>se});var n=J(639),c=J(8583),V=J(1818),pe=J(3013);let ie=(()=>{class de{constructor(we,re,xe){this.el=we,this.zone=re,this.config=xe}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(we){let re=this.getInk();if(!re||"none"===getComputedStyle(re,null).display)return;if(V.p.removeClass(re,"p-ink-active"),!V.p.getHeight(re)&&!V.p.getWidth(re)){let dt=Math.max(V.p.getOuterWidth(this.el.nativeElement),V.p.getOuterHeight(this.el.nativeElement));re.style.height=dt+"px",re.style.width=dt+"px"}let xe=V.p.getOffset(this.el.nativeElement),Pe=we.pageX-xe.left+document.body.scrollTop-V.p.getWidth(re)/2,ut=we.pageY-xe.top+document.body.scrollLeft-V.p.getHeight(re)/2;re.style.top=ut+"px",re.style.left=Pe+"px",V.p.addClass(re,"p-ink-active")}getInk(){for(let we=0;we<this.el.nativeElement.children.length;we++)if(-1!==this.el.nativeElement.children[we].className.indexOf("p-ink"))return this.el.nativeElement.children[we];return null}resetInk(){let we=this.getInk();we&&V.p.removeClass(we,"p-ink-active")}onAnimationEnd(we){V.p.removeClass(we.currentTarget,"p-ink-active")}create(){let we=document.createElement("span");we.className="p-ink",this.el.nativeElement.appendChild(we),this.animationListener=this.onAnimationEnd.bind(this),we.addEventListener("animationend",this.animationListener)}remove(){let we=this.getInk();we&&(this.el.nativeElement.removeEventListener("mousedown",this.mouseDownListener),we.removeEventListener("animationend",this.animationListener),V.p.removeElement(we))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}}return de.\u0275fac=function(we){return new(we||de)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(pe.b4,8))},de.\u0275dir=n.lG2({type:de,selectors:[["","pRipple",""]],hostVars:2,hostBindings:function(we,re){2&we&&n.ekj("p-ripple",!0)}}),de})(),se=(()=>{class de{}return de.\u0275fac=function(we){return new(we||de)},de.\u0275mod=n.oAB({type:de}),de.\u0275inj=n.cJS({imports:[[c.ez]]}),de})()},5913:(bn,Et,J)=>{"use strict";J.d(Et,{UN:()=>dt,Qy:()=>st});var n=J(639),c=J(8583),V=J(6988),pe=J(9309),ie=J(665);function se(Me,Ue){if(1&Me&&n._UZ(0,"span",8),2&Me){const Ve=n.oxw(2).$implicit;n.Tol(Ve.icon),n.Q6J("ngClass","p-button-icon p-button-icon-left")}}function de(Me,Ue){if(1&Me&&(n.ynx(0),n.YNc(1,se,1,3,"span",6),n.TgZ(2,"span",7),n._uU(3),n.qZA(),n.BQk()),2&Me){const Ve=n.oxw().$implicit,ct=n.oxw();n.xp6(1),n.Q6J("ngIf",Ve.icon),n.xp6(2),n.Oqu(ct.getOptionLabel(Ve))}}function ge(Me,Ue){1&Me&&n.GkF(0)}const we=function(Me,Ue){return{$implicit:Me,index:Ue}};function re(Me,Ue){if(1&Me&&n.YNc(0,ge,1,0,"ng-container",9),2&Me){const Ve=n.oxw(),ct=Ve.$implicit,je=Ve.index,Qe=n.oxw();n.Q6J("ngTemplateOutlet",Qe.itemTemplate)("ngTemplateOutletContext",n.WLB(2,we,ct,je))}}const xe=function(Me,Ue,Ve){return{"p-highlight":Me,"p-disabled":Ue,"p-button-icon-only":Ve}};function Pe(Me,Ue){if(1&Me){const Ve=n.EpF();n.TgZ(0,"div",2,3),n.NdJ("click",function(je){const Qe=n.CHM(Ve),ue=Qe.$implicit,z=Qe.index;return n.oxw().onItemClick(je,ue,z)})("keydown.enter",function(je){const Qe=n.CHM(Ve),ue=Qe.$implicit,z=Qe.index;return n.oxw().onItemClick(je,ue,z)})("blur",function(){return n.CHM(Ve),n.oxw().onBlur()}),n.YNc(2,de,4,2,"ng-container",4),n.YNc(3,re,1,5,"ng-template",null,5,n.W1O),n.qZA()}if(2&Me){const Ve=Ue.$implicit,ct=n.MAs(4),je=n.oxw();n.Tol(Ve.styleClass),n.Q6J("ngClass",n.kEZ(10,xe,je.isSelected(Ve),je.disabled||je.isOptionDisabled(Ve),Ve.icon&&!je.getOptionLabel(Ve))),n.uIk("aria-pressed",je.isSelected(Ve))("title",Ve.title)("aria-label",Ve.label)("tabindex",je.disabled?null:je.tabindex)("aria-labelledby",je.getOptionLabel(Ve)),n.xp6(2),n.Q6J("ngIf",!je.itemTemplate)("ngIfElse",ct)}}const ut={provide:ie.JU,useExisting:(0,n.Gpc)(()=>dt),multi:!0};let dt=(()=>{class Me{constructor(Ve){this.cd=Ve,this.tabindex=0,this.onOptionClick=new n.vpe,this.onChange=new n.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}getOptionLabel(Ve){return this.optionLabel?V.gb.resolveFieldData(Ve,this.optionLabel):null!=Ve.label?Ve.label:Ve}getOptionValue(Ve){return this.optionValue?V.gb.resolveFieldData(Ve,this.optionValue):this.optionLabel||void 0===Ve.value?Ve:Ve.value}isOptionDisabled(Ve){return this.optionDisabled?V.gb.resolveFieldData(Ve,this.optionDisabled):void 0!==Ve.disabled&&Ve.disabled}writeValue(Ve){this.value=Ve,this.cd.markForCheck()}registerOnChange(Ve){this.onModelChange=Ve}registerOnTouched(Ve){this.onModelTouched=Ve}setDisabledState(Ve){this.disabled=Ve,this.cd.markForCheck()}onItemClick(Ve,ct,je){this.disabled||this.isOptionDisabled(ct)||(this.multiple?this.isSelected(ct)?this.removeOption(ct):this.value=[...this.value||[],this.getOptionValue(ct)]:this.value=this.getOptionValue(ct),this.onOptionClick.emit({originalEvent:Ve,option:ct,index:je}),this.onModelChange(this.value),this.onChange.emit({originalEvent:Ve,value:this.value}))}onBlur(){this.onModelTouched()}removeOption(Ve){this.value=this.value.filter(ct=>!V.gb.equals(ct,this.getOptionValue(Ve),this.dataKey))}isSelected(Ve){let ct=!1,je=this.getOptionValue(Ve);if(this.multiple){if(this.value)for(let Qe of this.value)if(V.gb.equals(Qe,je,this.dataKey)){ct=!0;break}}else ct=V.gb.equals(this.getOptionValue(Ve),this.value,this.dataKey);return ct}}return Me.\u0275fac=function(Ve){return new(Ve||Me)(n.Y36(n.sBO))},Me.\u0275cmp=n.Xpm({type:Me,selectors:[["p-selectButton"]],contentQueries:function(Ve,ct,je){if(1&Ve&&n.Suo(je,n.Rgc,5),2&Ve){let Qe;n.iGM(Qe=n.CRH())&&(ct.itemTemplate=Qe.first)}},inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",tabindex:"tabindex",multiple:"multiple",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[n._Bn([ut])],decls:2,vars:5,consts:[["role","group",3,"ngClass","ngStyle"],["class","p-button p-component","role","button","pRipple","",3,"class","ngClass","click","keydown.enter","blur",4,"ngFor","ngForOf"],["role","button","pRipple","",1,"p-button","p-component",3,"ngClass","click","keydown.enter","blur"],["btn",""],[4,"ngIf","ngIfElse"],["customcontent",""],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(Ve,ct){1&Ve&&(n.TgZ(0,"div",0),n.YNc(1,Pe,5,14,"div",1),n.qZA()),2&Ve&&(n.Tol(ct.styleClass),n.Q6J("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",ct.style),n.xp6(1),n.Q6J("ngForOf",ct.options))},directives:[c.mk,c.PC,c.sg,pe.H,c.O5,c.tP],styles:[".p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only .p-button-label{visibility:hidden;width:0;flex:0 0 auto}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-button-label{transition:all .2s}"],encapsulation:2,changeDetection:0}),Me})(),st=(()=>{class Me{}return Me.\u0275fac=function(Ve){return new(Ve||Me)},Me.\u0275mod=n.oAB({type:Me}),Me.\u0275inj=n.cJS({imports:[[c.ez,pe.T]]}),Me})()},8521:(bn,Et,J)=>{"use strict";J.d(Et,{Q7:()=>$o,Ei:()=>go,fz:()=>Jn,lQ:()=>hn,iA:()=>xt,U$:()=>w});var n=J(639),c=J(8583),V=J(665),pe=J(3013),ie=J(6639),se=J(3928),de=J(4207),ge=J(5913);const we=function(g,T,p){return{"p-checkbox-label-active":g,"p-disabled":T,"p-checkbox-label-focus":p}};function re(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"label",7),n.NdJ("click",function(b){n.CHM(p);const D=n.oxw(),I=n.MAs(3);return D.onClick(b,I)}),n._uU(1),n.qZA()}if(2&g){const p=n.oxw();n.Q6J("ngClass",n.kEZ(3,we,null!=p.value,p.disabled,p.focused)),n.uIk("for",p.inputId),n.xp6(1),n.Oqu(p.label)}}const xe=function(g,T){return{"p-checkbox p-component":!0,"p-checkbox-disabled":g,"p-checkbox-focused":T}},Pe=function(g,T,p){return{"p-highlight":g,"p-disabled":T,"p-focus":p}},ut={provide:V.JU,useExisting:(0,n.Gpc)(()=>dt),multi:!0};let dt=(()=>{class g{constructor(p){this.cd=p,this.checkboxTrueIcon="pi pi-check",this.checkboxFalseIcon="pi pi-times",this.onChange=new n.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}onClick(p,S){!this.disabled&&!this.readonly&&(this.toggle(p),this.focused=!0,S.focus())}onKeydown(p){32==p.keyCode&&p.preventDefault()}onKeyup(p){32==p.keyCode&&!this.readonly&&(this.toggle(p),p.preventDefault())}toggle(p){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:p,value:this.value})}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}registerOnChange(p){this.onModelChange=p}registerOnTouched(p){this.onModelTouched=p}writeValue(p){this.value=p,this.cd.markForCheck()}setDisabledState(p){this.disabled=p,this.cd.markForCheck()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(n.sBO))},g.\u0275cmp=n.Xpm({type:g,selectors:[["p-triStateCheckbox"]],inputs:{disabled:"disabled",name:"name",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[n._Bn([ut])],decls:7,vars:21,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","text","inputmode","none",3,"name","readonly","disabled","keyup","keydown","focus","blur"],["input",""],["role","checkbox",1,"p-checkbox-box",3,"ngClass","click"],[1,"p-checkbox-icon",3,"ngClass"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],[1,"p-checkbox-label",3,"ngClass","click"]],template:function(p,S){if(1&p){const b=n.EpF();n.TgZ(0,"div",0),n.TgZ(1,"div",1),n.TgZ(2,"input",2,3),n.NdJ("keyup",function(I){return S.onKeyup(I)})("keydown",function(I){return S.onKeydown(I)})("focus",function(){return S.onFocus()})("blur",function(){return S.onBlur()}),n.qZA(),n.qZA(),n.TgZ(4,"div",4),n.NdJ("click",function(I){n.CHM(b);const q=n.MAs(3);return S.onClick(I,q)}),n._UZ(5,"span",5),n.qZA(),n.qZA(),n.YNc(6,re,2,7,"label",6)}2&p&&(n.Tol(S.styleClass),n.Q6J("ngStyle",S.style)("ngClass",n.WLB(14,xe,S.disabled,S.focused)),n.xp6(2),n.Q6J("name",S.name)("readonly",S.readonly)("disabled",S.disabled),n.uIk("id",S.inputId)("tabindex",S.tabindex)("aria-labelledby",S.ariaLabelledBy),n.xp6(2),n.Q6J("ngClass",n.kEZ(17,Pe,null!=S.value,S.disabled,S.focused)),n.uIk("aria-checked",!0===S.value),n.xp6(1),n.Q6J("ngClass",!0===S.value?S.checkboxTrueIcon:!1===S.value?S.checkboxFalseIcon:""),n.xp6(1),n.Q6J("ngIf",S.label))},directives:[c.PC,c.mk,c.O5],encapsulation:2,changeDetection:0}),g})(),st=(()=>{class g{}return g.\u0275fac=function(p){return new(p||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[[c.ez]]}),g})();var Me=J(8598);const Ue=["input"],Ve=function(){return{"p-inputnumber-button p-inputnumber-button-up":!0}},ct=function(){return{"p-inputnumber-button p-inputnumber-button-down":!0}};function je(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"span",5),n.TgZ(1,"button",6),n.NdJ("mousedown",function(b){return n.CHM(p),n.oxw().onUpButtonMouseDown(b)})("mouseup",function(){return n.CHM(p),n.oxw().onUpButtonMouseUp()})("mouseleave",function(){return n.CHM(p),n.oxw().onUpButtonMouseLeave()})("keydown",function(b){return n.CHM(p),n.oxw().onUpButtonKeyDown(b)})("keyup",function(){return n.CHM(p),n.oxw().onUpButtonKeyUp()}),n.qZA(),n.TgZ(2,"button",6),n.NdJ("mousedown",function(b){return n.CHM(p),n.oxw().onDownButtonMouseDown(b)})("mouseup",function(){return n.CHM(p),n.oxw().onDownButtonMouseUp()})("mouseleave",function(){return n.CHM(p),n.oxw().onDownButtonMouseLeave()})("keydown",function(b){return n.CHM(p),n.oxw().onDownButtonKeyDown(b)})("keyup",function(){return n.CHM(p),n.oxw().onDownButtonKeyUp()}),n.qZA(),n.qZA()}if(2&g){const p=n.oxw();n.xp6(1),n.Tol(p.incrementButtonClass),n.Q6J("ngClass",n.DdM(10,Ve))("icon",p.incrementButtonIcon)("disabled",p.disabled),n.xp6(1),n.Tol(p.decrementButtonClass),n.Q6J("ngClass",n.DdM(11,ct))("icon",p.decrementButtonIcon)("disabled",p.disabled)}}function Qe(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"button",6),n.NdJ("mousedown",function(b){return n.CHM(p),n.oxw().onUpButtonMouseDown(b)})("mouseup",function(){return n.CHM(p),n.oxw().onUpButtonMouseUp()})("mouseleave",function(){return n.CHM(p),n.oxw().onUpButtonMouseLeave()})("keydown",function(b){return n.CHM(p),n.oxw().onUpButtonKeyDown(b)})("keyup",function(){return n.CHM(p),n.oxw().onUpButtonKeyUp()}),n.qZA()}if(2&g){const p=n.oxw();n.Tol(p.incrementButtonClass),n.Q6J("ngClass",n.DdM(5,Ve))("icon",p.incrementButtonIcon)("disabled",p.disabled)}}function ue(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"button",6),n.NdJ("mousedown",function(b){return n.CHM(p),n.oxw().onDownButtonMouseDown(b)})("mouseup",function(){return n.CHM(p),n.oxw().onDownButtonMouseUp()})("mouseleave",function(){return n.CHM(p),n.oxw().onDownButtonMouseLeave()})("keydown",function(b){return n.CHM(p),n.oxw().onDownButtonKeyDown(b)})("keyup",function(){return n.CHM(p),n.oxw().onDownButtonKeyUp()}),n.qZA()}if(2&g){const p=n.oxw();n.Tol(p.decrementButtonClass),n.Q6J("ngClass",n.DdM(5,ct))("icon",p.decrementButtonIcon)("disabled",p.disabled)}}const z=function(g,T,p){return{"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":g,"p-inputnumber-buttons-horizontal":T,"p-inputnumber-buttons-vertical":p}},Le={provide:V.JU,useExisting:(0,n.Gpc)(()=>ve),multi:!0};let ve=(()=>{class g{constructor(p,S){this.el=p,this.cd=S,this.showButtons=!1,this.format=!0,this.buttonLayout="stacked",this.incrementButtonIcon="pi pi-angle-up",this.decrementButtonIcon="pi pi-angle-down",this.step=1,this.onInput=new n.vpe,this.onFocus=new n.vpe,this.onBlur=new n.vpe,this.onKeyDown=new n.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.groupChar="",this.prefixChar="",this.suffixChar="",this._modeOption="decimal",this._useGroupingOption=!0}get locale(){return this._localeOption}set locale(p){this._localeOption=p,this.updateConstructParser()}get localeMatcher(){return this._localeMatcherOption}set localeMatcher(p){this._localeMatcherOption=p,this.updateConstructParser()}get mode(){return this._modeOption}set mode(p){this._modeOption=p,this.updateConstructParser()}get currency(){return this._currencyOption}set currency(p){this._currencyOption=p,this.updateConstructParser()}get currencyDisplay(){return this._currencyDisplayOption}set currencyDisplay(p){this._currencyDisplayOption=p,this.updateConstructParser()}get useGrouping(){return this._useGroupingOption}set useGrouping(p){this._useGroupingOption=p,this.updateConstructParser()}get minFractionDigits(){return this._minFractionDigitsOption}set minFractionDigits(p){this._minFractionDigitsOption=p,this.updateConstructParser()}get maxFractionDigits(){return this._maxFractionDigitsOption}set maxFractionDigits(p){this._maxFractionDigitsOption=p,this.updateConstructParser()}get prefix(){return this._prefixOption}set prefix(p){this._prefixOption=p,this.updateConstructParser()}get suffix(){return this._suffixOption}set suffix(p){this._suffixOption=p,this.updateConstructParser()}get disabled(){return this._disabled}set disabled(p){p&&(this.focused=!1),this._disabled=p,this.timer&&this.clearTimer()}ngOnInit(){this.constructParser(),this.initialized=!0}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const p=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),S=new Map(p.map((b,D)=>[b,D]));this._numeral=new RegExp(`[${p.join("")}]`,"g"),this._decimal=this.getDecimalExpression(),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=b=>S.get(b)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(p){return p.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const p=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${p.format(1.1).trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const p=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=p.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const p=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${p.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const p=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay});return new RegExp(`[${p.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._decimal,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const p=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=p.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const p=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=p.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(p){if(null!=p){if("-"===p)return p;if(this.format){let b=new Intl.NumberFormat(this.locale,this.getOptions()).format(p);return this.prefix&&(b=this.prefix+b),this.suffix&&(b+=this.suffix),b}return p.toString()}return""}parseValue(p){let S=p.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(S){if("-"===S)return S;let b=+S;return isNaN(b)?null:b}return null}repeat(p,S,b){let D=S||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(p,40,b)},D),this.spin(p,b)}spin(p,S){let b=this.step*S,D=this.parseValue(this.input.nativeElement.value)||0,I=this.validateValue(D+b);this.maxlength&&this.maxlength<this.formatValue(I).length||(this.updateInput(I,null,"spin"),this.updateModel(p,I),this.handleOnInput(p,D,I))}onUpButtonMouseDown(p){this.input.nativeElement.focus(),this.repeat(p,null,1),p.preventDefault()}onUpButtonMouseUp(){this.clearTimer()}onUpButtonMouseLeave(){this.clearTimer()}onUpButtonKeyDown(p){(32===p.keyCode||13===p.keyCode)&&this.repeat(p,null,1)}onUpButtonKeyUp(){this.clearTimer()}onDownButtonMouseDown(p){this.input.nativeElement.focus(),this.repeat(p,null,-1),p.preventDefault()}onDownButtonMouseUp(){this.clearTimer()}onDownButtonMouseLeave(){this.clearTimer()}onDownButtonKeyUp(){this.clearTimer()}onDownButtonKeyDown(p){(32===p.keyCode||13===p.keyCode)&&this.repeat(p,null,-1)}onUserInput(p){this.isSpecialChar&&(p.target.value=this.lastValue),this.isSpecialChar=!1}onInputKeyDown(p){if(this.lastValue=p.target.value,p.shiftKey||p.altKey)return void(this.isSpecialChar=!0);let S=p.target.selectionStart,b=p.target.selectionEnd,D=p.target.value,I=null;switch(p.altKey&&p.preventDefault(),p.which){case 38:this.spin(p,1),p.preventDefault();break;case 40:this.spin(p,-1),p.preventDefault();break;case 37:this.isNumeralChar(D.charAt(S-1))||p.preventDefault();break;case 39:this.isNumeralChar(D.charAt(S))||p.preventDefault();break;case 13:let q=this.validateValue(this.parseValue(this.input.nativeElement.value));this.input.nativeElement.value=this.formatValue(q),this.input.nativeElement.setAttribute("aria-valuenow",q),this.updateModel(p,q);break;case 8:if(p.preventDefault(),S===b){let te=D.charAt(S-1),ye=D.search(this._decimal);this._decimal.lastIndex=0,this.isNumeralChar(te)&&(this._group.test(te)?(this._group.lastIndex=0,I=D.slice(0,S-2)+D.slice(S-1)):this._decimal.test(te)?(this._decimal.lastIndex=0,this.input.nativeElement.setSelectionRange(S-1,S-1)):ye>0&&S>ye?I=D.slice(0,S-1)+"0"+D.slice(S):ye>0&&1===ye?(I=D.slice(0,S-1)+"0"+D.slice(S),I=this.parseValue(I)>0?I:""):I=D.slice(0,S-1)+D.slice(S)),this.updateValue(p,I,null,"delete-single")}else I=this.deleteRange(D,S,b),this.updateValue(p,I,null,"delete-range");break;case 46:if(p.preventDefault(),S===b){let te=D.charAt(S),ye=D.search(this._decimal);this._decimal.lastIndex=0,this.isNumeralChar(te)&&(this._group.test(te)?(this._group.lastIndex=0,I=D.slice(0,S)+D.slice(S+2)):this._decimal.test(te)?(this._decimal.lastIndex=0,this.input.nativeElement.setSelectionRange(S+1,S+1)):ye>0&&S>ye?I=D.slice(0,S)+"0"+D.slice(S+1):ye>0&&1===ye?(I=D.slice(0,S)+"0"+D.slice(S+1),I=this.parseValue(I)>0?I:""):I=D.slice(0,S)+D.slice(S+1)),this.updateValue(p,I,null,"delete-back-single")}else I=this.deleteRange(D,S,b),this.updateValue(p,I,null,"delete-range")}this.onKeyDown.emit(p)}onInputKeyPress(p){p.preventDefault();let S=p.which||p.keyCode,b=String.fromCharCode(S);const D=this.isDecimalSign(b),I=this.isMinusSign(b);(48<=S&&S<=57||I||D)&&this.insert(p,b,{isDecimalSign:D,isMinusSign:I})}onPaste(p){if(!this.disabled){p.preventDefault();let S=(p.clipboardData||window.clipboardData).getData("Text");if(S){let b=this.parseValue(S);null!=b&&this.insert(p,b.toString())}}}isMinusSign(p){return!!this._minusSign.test(p)&&(this._minusSign.lastIndex=0,!0)}isDecimalSign(p){return!!this._decimal.test(p)&&(this._decimal.lastIndex=0,!0)}insert(p,S,b={isDecimalSign:!1,isMinusSign:!1}){let D=this.input.nativeElement.selectionStart,I=this.input.nativeElement.selectionEnd,q=this.input.nativeElement.value.trim();const te=q.search(this._decimal);this._decimal.lastIndex=0;const ye=q.search(this._minusSign);let pt;if(this._minusSign.lastIndex=0,b.isMinusSign)0===D&&(pt=q,(-1===ye||0!==I)&&(pt=this.insertText(q,S,0,I)),this.updateValue(p,pt,S,"insert"));else if(b.isDecimalSign)te>0&&D===te?this.updateValue(p,q,S,"insert"):te>D&&te<I&&(pt=this.insertText(q,S,D,I),this.updateValue(p,pt,S,"insert"));else{const qt=this.numberFormat.resolvedOptions().maximumFractionDigits,Yt=D!==I?"range-insert":"insert";te>0&&D>te?D+S.length-(te+1)<=qt&&(pt=q.slice(0,D)+S+q.slice(D+S.length),this.updateValue(p,pt,S,Yt)):(pt=this.insertText(q,S,D,I),this.updateValue(p,pt,S,Yt))}}insertText(p,S,b,D){if(2==S.split(".").length){const q=p.slice(b,D).search(this._decimal);return this._decimal.lastIndex=0,q>0?p.slice(0,b)+this.formatValue(S)+p.slice(D):p||this.formatValue(S)}return D-b===p.length?this.formatValue(S):0===b?S+p.slice(D):D===p.length?p.slice(0,b)+S:p.slice(0,b)+S+p.slice(D)}deleteRange(p,S,b){let D;return D=b-S===p.length?"":0===S?p.slice(b):b===p.length?p.slice(0,S):p.slice(0,S)+p.slice(b),D}initCursor(){let p=this.input.nativeElement.selectionStart,S=this.input.nativeElement.value,b=S.length,D=null,I=S.charAt(p);if(this.isNumeralChar(I))return;let q=p-1;for(;q>=0;){if(I=S.charAt(q),this.isNumeralChar(I)){D=q;break}q--}if(null!==D)this.input.nativeElement.setSelectionRange(D+1,D+1);else{for(q=p+1;q<b;){if(I=S.charAt(q),this.isNumeralChar(I)){D=q;break}q++}null!==D&&this.input.nativeElement.setSelectionRange(D,D)}}onInputClick(){this.initCursor()}isNumeralChar(p){return!(1!==p.length||!(this._numeral.test(p)||this._decimal.test(p)||this._group.test(p)||this._minusSign.test(p))||(this.resetRegex(),0))}resetRegex(){this._numeral.lastIndex=0,this._decimal.lastIndex=0,this._group.lastIndex=0,this._minusSign.lastIndex=0}updateValue(p,S,b,D){let I=this.input.nativeElement.value,q=null;null!=S&&(q=this.parseValue(S),this.updateInput(q,b,D)),this.handleOnInput(p,I,q)}handleOnInput(p,S,b){this.isValueChanged(S,b)&&this.onInput.emit({originalEvent:p,value:b})}isValueChanged(p,S){return null===S&&null!==p||null!=S&&S!==("string"==typeof p?this.parseValue(p):p)}validateValue(p){return null!==this.min&&p<this.min?this.min:null!==this.max&&p>this.max?this.max:"-"===p?null:p}updateInput(p,S,b){S=S||"";let D=this.input.nativeElement.value,I=this.formatValue(p),q=D.length;if(0===q){this.input.nativeElement.value=I,this.input.nativeElement.setSelectionRange(0,0),this.initCursor();const ye=(this.prefixChar||"").length+S.length;this.input.nativeElement.setSelectionRange(ye,ye)}else{let te=this.input.nativeElement.selectionStart,ye=this.input.nativeElement.selectionEnd;if(this.maxlength&&this.maxlength<I.length)return;this.input.nativeElement.value=I;let pt=I.length;if("range-insert"===b){const qt=this.parseValue((D||"").slice(0,te)),Un=(null!==qt?qt.toString():"").split("").join(`(${this.groupChar})?`),Nn=new RegExp(Un,"g");Nn.test(I);const ii=S.split("").join(`(${this.groupChar})?`),Dn=new RegExp(ii,"g");Dn.test(I.slice(Nn.lastIndex)),ye=Nn.lastIndex+Dn.lastIndex,this.input.nativeElement.setSelectionRange(ye,ye)}else if(pt===q)"insert"===b||"delete-back-single"===b?this.input.nativeElement.setSelectionRange(ye+1,ye+1):"delete-single"===b?this.input.nativeElement.setSelectionRange(ye-1,ye-1):("delete-range"===b||"spin"===b)&&this.input.nativeElement.setSelectionRange(ye,ye);else if("delete-back-single"===b){let qt=D.charAt(ye-1),Yt=D.charAt(ye),Un=q-pt,Nn=this._group.test(Yt);Nn&&1===Un?ye+=1:!Nn&&this.isNumeralChar(qt)&&(ye+=-1*Un+1),this._group.lastIndex=0,this.input.nativeElement.setSelectionRange(ye,ye)}else ye+=pt-q,this.input.nativeElement.setSelectionRange(ye,ye)}this.input.nativeElement.setAttribute("aria-valuenow",p)}onInputFocus(p){this.focused=!0,this.onFocus.emit(p)}onInputBlur(p){this.focused=!1;let S=this.validateValue(this.parseValue(this.input.nativeElement.value));this.input.nativeElement.value=this.formatValue(S),this.input.nativeElement.setAttribute("aria-valuenow",S),this.updateModel(p,S),this.onBlur.emit(p)}formattedValue(){return this.formatValue(this.value)}updateModel(p,S){this.value!==S&&(this.value=S,this.onModelChange(S)),this.onModelTouched()}writeValue(p){this.value=p,this.cd.markForCheck()}registerOnChange(p){this.onModelChange=p}registerOnTouched(p){this.onModelTouched=p}setDisabledState(p){this.disabled=p,this.cd.markForCheck()}get filled(){return null!=this.value&&this.value.toString().length>0}clearTimer(){this.timer&&clearInterval(this.timer)}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(n.SBq),n.Y36(n.sBO))},g.\u0275cmp=n.Xpm({type:g,selectors:[["p-inputNumber"]],viewQuery:function(p,S){if(1&p&&n.Gf(Ue,5),2&p){let b;n.iGM(b=n.CRH())&&(S.input=b.first)}},hostVars:4,hostBindings:function(p,S){2&p&&n.ekj("p-inputwrapper-filled",S.filled)("p-inputwrapper-focus",S.focused)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",step:"step",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown"},features:[n._Bn([Le])],decls:6,vars:30,consts:[[3,"ngClass","ngStyle"],["pInputText","",3,"ngClass","ngStyle","value","disabled","input","keydown","keypress","paste","click","focus","blur"],["input",""],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","",3,"ngClass","class","icon","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[1,"p-inputnumber-button-group"],["type","button","pButton","",3,"ngClass","icon","disabled","mousedown","mouseup","mouseleave","keydown","keyup"]],template:function(p,S){1&p&&(n.TgZ(0,"span",0),n.TgZ(1,"input",1,2),n.NdJ("input",function(D){return S.onUserInput(D)})("keydown",function(D){return S.onInputKeyDown(D)})("keypress",function(D){return S.onInputKeyPress(D)})("paste",function(D){return S.onPaste(D)})("click",function(){return S.onInputClick()})("focus",function(D){return S.onInputFocus(D)})("blur",function(D){return S.onInputBlur(D)}),n.qZA(),n.YNc(3,je,3,12,"span",3),n.YNc(4,Qe,1,6,"button",4),n.YNc(5,ue,1,6,"button",4),n.qZA()),2&p&&(n.Tol(S.styleClass),n.Q6J("ngClass",n.kEZ(26,z,S.showButtons&&"stacked"===S.buttonLayout,S.showButtons&&"horizontal"===S.buttonLayout,S.showButtons&&"vertical"===S.buttonLayout))("ngStyle",S.style),n.xp6(1),n.Tol(S.inputStyleClass),n.Q6J("ngClass","p-inputnumber-input")("ngStyle",S.inputStyle)("value",S.formattedValue())("disabled",S.disabled),n.uIk("placeholder",S.placeholder)("title",S.title)("id",S.inputId)("size",S.size)("name",S.name)("autocomplete",S.autocomplete)("maxlength",S.maxlength)("tabindex",S.tabindex)("aria-label",S.ariaLabel)("aria-required",S.ariaRequired)("required",S.required)("aria-valuemin",S.min)("aria-valuemax",S.max),n.xp6(2),n.Q6J("ngIf",S.showButtons&&"stacked"===S.buttonLayout),n.xp6(1),n.Q6J("ngIf",S.showButtons&&"stacked"!==S.buttonLayout),n.xp6(1),n.Q6J("ngIf",S.showButtons&&"stacked"!==S.buttonLayout))},directives:[c.mk,c.PC,se.o,c.O5,de.Hq],styles:[".p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}"],encapsulation:2,changeDetection:0}),g})(),Ie=(()=>{class g{}return g.\u0275fac=function(p){return new(p||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[[c.ez,se.j,de.hJ]]}),g})();var be=J(103),Be=J(1818),bt=J(6988),We=J(9765),Xt=J(5604);const Nt=["container"],Ut=["resizeHelper"],zn=["reorderIndicatorUp"],kt=["reorderIndicatorDown"],_n=["wrapper"],Ht=["table"],sn=["tableHeader"];function tt(g,T){if(1&g&&(n.TgZ(0,"div",14),n._UZ(1,"i"),n.qZA()),2&g){const p=n.oxw();n.xp6(1),n.Tol("p-datatable-loading-icon pi-spin "+p.loadingIcon)}}function at(g,T){1&g&&n.GkF(0)}function Tt(g,T){if(1&g&&(n.TgZ(0,"div",15),n.YNc(1,at,1,0,"ng-container",16),n.qZA()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",p.captionTemplate)}}function et(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"p-paginator",17),n.NdJ("onPageChange",function(b){return n.CHM(p),n.oxw().onPageChange(b)}),n.qZA()}if(2&g){const p=n.oxw();n.Q6J("rows",p.rows)("first",p.first)("totalRecords",p.totalRecords)("pageLinkSize",p.pageLinks)("alwaysShow",p.alwaysShowPaginator)("rowsPerPageOptions",p.rowsPerPageOptions)("templateLeft",p.paginatorLeftTemplate)("templateRight",p.paginatorRightTemplate)("dropdownAppendTo",p.paginatorDropdownAppendTo)("dropdownScrollHeight",p.paginatorDropdownScrollHeight)("currentPageReportTemplate",p.currentPageReportTemplate)("showFirstLastIcon",p.showFirstLastIcon)("dropdownItemTemplate",p.paginatorDropdownItemTemplate)("showCurrentPageReport",p.showCurrentPageReport)("showJumpToPageDropdown",p.showJumpToPageDropdown)("showPageLinks",p.showPageLinks)}}function mt(g,T){1&g&&n.GkF(0)}function on(g,T){1&g&&n.GkF(0)}function un(g,T){if(1&g&&n._UZ(0,"tbody",25),2&g){const p=n.oxw(2);n.Q6J("value",p.frozenValue)("frozenRows",!0)("pTableBody",p.columns)("pTableBodyTemplate",p.frozenBodyTemplate)("frozen",!0)}}function cn(g,T){1&g&&n.GkF(0)}const Rn=function(g){return{$implicit:g}};function vi(g,T){if(1&g&&(n.TgZ(0,"tfoot",26),n.YNc(1,cn,1,0,"ng-container",20),n.qZA()),2&g){const p=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",p.footerGroupedTemplate||p.footerTemplate)("ngTemplateOutletContext",n.VKq(2,Rn,p.columns))}}function Ci(g,T){if(1&g&&(n.TgZ(0,"table",18,19),n.YNc(2,mt,1,0,"ng-container",20),n.TgZ(3,"thead",21),n.YNc(4,on,1,0,"ng-container",20),n.qZA(),n.YNc(5,un,1,5,"tbody",22),n._UZ(6,"tbody",23),n.YNc(7,vi,2,4,"tfoot",24),n.qZA()),2&g){const p=n.oxw();n.Q6J("ngClass",p.tableStyleClass)("ngStyle",p.tableStyle),n.xp6(2),n.Q6J("ngTemplateOutlet",p.colGroupTemplate)("ngTemplateOutletContext",n.VKq(11,Rn,p.columns)),n.xp6(2),n.Q6J("ngTemplateOutlet",p.headerGroupedTemplate||p.headerTemplate)("ngTemplateOutletContext",n.VKq(13,Rn,p.columns)),n.xp6(1),n.Q6J("ngIf",p.frozenValue||p.frozenBodyTemplate),n.xp6(1),n.Q6J("value",p.dataToRender)("pTableBody",p.columns)("pTableBodyTemplate",p.bodyTemplate),n.xp6(1),n.Q6J("ngIf",p.footerGroupedTemplate||p.footerTemplate)}}function Pn(g,T){1&g&&n.GkF(0)}function Qn(g,T){1&g&&n.GkF(0)}function ai(g,T){if(1&g&&n._UZ(0,"tbody",25),2&g){const p=n.oxw(2);n.Q6J("value",p.frozenValue)("frozenRows",!0)("pTableBody",p.columns)("pTableBodyTemplate",p.bodyTemplate)("frozen",!0)}}function dn(g,T){1&g&&n.GkF(0)}function Mn(g,T){if(1&g&&(n.TgZ(0,"tfoot",26),n.YNc(1,dn,1,0,"ng-container",20),n.qZA()),2&g){const p=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",p.footerGroupedTemplate||p.footerTemplate)("ngTemplateOutletContext",n.VKq(2,Rn,p.columns))}}function si(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"cdk-virtual-scroll-viewport",27),n.NdJ("scrolledIndexChange",function(b){return n.CHM(p),n.oxw().onScrollIndexChange(b)}),n.TgZ(1,"table",18,19),n.YNc(3,Pn,1,0,"ng-container",20),n.TgZ(4,"thead",21,28),n.YNc(6,Qn,1,0,"ng-container",20),n.qZA(),n.YNc(7,ai,1,5,"tbody",22),n._UZ(8,"tbody",23),n.YNc(9,Mn,2,4,"tfoot",24),n.qZA(),n.qZA()}if(2&g){const p=n.oxw();n.Udp("height","flex"!==p.scrollHeight?p.scrollHeight:void 0),n.Q6J("itemSize",p.virtualRowHeight)("minBufferPx",p.minBufferPx)("maxBufferPx",p.maxBufferPx),n.xp6(1),n.Q6J("ngClass",p.tableStyleClass)("ngStyle",p.tableStyle),n.xp6(2),n.Q6J("ngTemplateOutlet",p.colGroupTemplate)("ngTemplateOutletContext",n.VKq(16,Rn,p.columns)),n.xp6(3),n.Q6J("ngTemplateOutlet",p.headerGroupedTemplate||p.headerTemplate)("ngTemplateOutletContext",n.VKq(18,Rn,p.columns)),n.xp6(1),n.Q6J("ngIf",p.frozenValue||p.frozenBodyTemplate),n.xp6(1),n.Q6J("value",p.dataToRender)("pTableBody",p.columns)("pTableBodyTemplate",p.bodyTemplate),n.xp6(1),n.Q6J("ngIf",p.footerGroupedTemplate||p.footerTemplate)}}function io(g,T){if(1&g){const p=n.EpF();n.TgZ(0,"p-paginator",29),n.NdJ("onPageChange",function(b){return n.CHM(p),n.oxw().onPageChange(b)}),n.qZA()}if(2&g){const p=n.oxw();n.Q6J("rows",p.rows)("first",p.first)("totalRecords",p.totalRecords)("pageLinkSize",p.pageLinks)("alwaysShow",p.alwaysShowPaginator)("rowsPerPageOptions",p.rowsPerPageOptions)("templateLeft",p.paginatorLeftTemplate)("templateRight",p.paginatorRightTemplate)("dropdownAppendTo",p.paginatorDropdownAppendTo)("dropdownScrollHeight",p.paginatorDropdownScrollHeight)("currentPageReportTemplate",p.currentPageReportTemplate)("showFirstLastIcon",p.showFirstLastIcon)("dropdownItemTemplate",p.paginatorDropdownItemTemplate)("showCurrentPageReport",p.showCurrentPageReport)("showJumpToPageDropdown",p.showJumpToPageDropdown)("showPageLinks",p.showPageLinks)}}function Qi(g,T){1&g&&n.GkF(0)}function Pt(g,T){if(1&g&&(n.TgZ(0,"div",30),n.YNc(1,Qi,1,0,"ng-container",16),n.qZA()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",p.summaryTemplate)}}function Je(g,T){1&g&&n._UZ(0,"div",31,32)}function me(g,T){1&g&&n._UZ(0,"span",33,34)}function Se(g,T){1&g&&n._UZ(0,"span",35,36)}const W=function(g,T,p,S,b,D,I,q,te,ye,pt,qt,Yt,Un){return{"p-datatable p-component":!0,"p-datatable-hoverable-rows":g,"p-datatable-auto-layout":T,"p-datatable-resizable":p,"p-datatable-resizable-fit":S,"p-datatable-scrollable":b,"p-datatable-scrollable-vertical":D,"p-datatable-scrollable-horizontal":I,"p-datatable-scrollable-both":q,"p-datatable-flex-scrollable":te,"p-datatable-responsive-stack":ye,"p-datatable-responsive-scroll":pt,"p-datatable-responsive":qt,"p-datatable-grouped-header":Yt,"p-datatable-grouped-footer":Un}},F=function(g){return{height:g}},U=["pTableBody",""];function X(g,T){1&g&&n.GkF(0)}const He=function(g,T,p,S,b){return{$implicit:g,rowIndex:T,columns:p,editing:S,frozen:b}};function Qt(g,T){if(1&g&&(n.ynx(0,3),n.YNc(1,X,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.dt.groupHeaderTemplate)("ngTemplateOutletContext",n.qbA(2,He,S,D.dt.paginator?D.dt.first+b:b,D.columns,"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen))}}function Wt(g,T){1&g&&n.GkF(0)}function Ze(g,T){if(1&g&&(n.ynx(0),n.YNc(1,Wt,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.template)("ngTemplateOutletContext",n.qbA(2,He,S,D.dt.paginator?D.dt.first+b:b,D.columns,"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen))}}function jt(g,T){1&g&&n.GkF(0)}const he=function(g,T,p,S,b,D,I){return{$implicit:g,rowIndex:T,columns:p,editing:S,frozen:b,rowgroup:D,rowspan:I}};function Fe(g,T){if(1&g&&(n.ynx(0),n.YNc(1,jt,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.template)("ngTemplateOutletContext",n.Hh0(2,he,S,D.dt.paginator?D.dt.first+b:b,D.columns,"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen,D.shouldRenderRowspan(D.value,S,b),D.calculateRowGroupSize(D.value,S,b)))}}function Lt(g,T){1&g&&n.GkF(0)}function At(g,T){if(1&g&&(n.ynx(0,3),n.YNc(1,Lt,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.dt.groupFooterTemplate)("ngTemplateOutletContext",n.qbA(2,He,S,D.dt.paginator?D.dt.first+b:b,D.columns,"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen))}}function mn(g,T){if(1&g&&(n.YNc(0,Qt,2,8,"ng-container",2),n.YNc(1,Ze,2,8,"ng-container",0),n.YNc(2,Fe,2,10,"ng-container",0),n.YNc(3,At,2,8,"ng-container",2)),2&g){const p=T.$implicit,S=T.index,b=n.oxw(2);n.Q6J("ngIf",b.dt.groupHeaderTemplate&&"subheader"===b.dt.rowGroupMode&&b.shouldRenderRowGroupHeader(b.value,p,S)),n.xp6(1),n.Q6J("ngIf","rowspan"!==b.dt.rowGroupMode),n.xp6(1),n.Q6J("ngIf","rowspan"===b.dt.rowGroupMode),n.xp6(1),n.Q6J("ngIf",b.dt.groupFooterTemplate&&"subheader"===b.dt.rowGroupMode&&b.shouldRenderRowGroupFooter(b.value,p,S))}}function In(g,T){if(1&g&&(n.ynx(0),n.YNc(1,mn,4,4,"ng-template",1),n.BQk()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngForOf",p.value)("ngForTrackBy",p.dt.rowTrackBy)}}function On(g,T){1&g&&n.GkF(0)}function Ri(g,T){if(1&g&&n.YNc(0,On,1,0,"ng-container",4),2&g){const p=T.$implicit,S=T.index,b=n.oxw(2);n.Q6J("ngTemplateOutlet",p?b.template:b.dt.loadingBodyTemplate)("ngTemplateOutletContext",n.qbA(2,He,p,b.dt.paginator?b.dt.first+S:S,b.columns,"row"===b.dt.editMode&&b.dt.isRowEditing(p),b.frozen))}}function Sn(g,T){if(1&g&&(n.ynx(0),n.YNc(1,Ri,1,8,"ng-template",5),n.BQk()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("cdkVirtualForOf",p.value)("cdkVirtualForTrackBy",p.dt.rowTrackBy)("cdkVirtualForTemplateCacheSize",0)}}function _i(g,T){1&g&&n.GkF(0)}const an=function(g,T,p,S,b,D){return{$implicit:g,rowIndex:T,columns:p,expanded:S,editing:b,frozen:D}};function Di(g,T){if(1&g&&(n.ynx(0),n.YNc(1,_i,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.template)("ngTemplateOutletContext",n.HTZ(2,an,S,D.dt.paginator?D.dt.first+b:b,D.columns,D.dt.isRowExpanded(S),"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen))}}function Oi(g,T){1&g&&n.GkF(0)}function Ti(g,T){if(1&g&&(n.ynx(0,3),n.YNc(1,Oi,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.dt.groupHeaderTemplate)("ngTemplateOutletContext",n.HTZ(2,an,S,D.dt.paginator?D.dt.first+b:b,D.columns,D.dt.isRowExpanded(S),"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen))}}function Vi(g,T){1&g&&n.GkF(0)}function Ji(g,T){1&g&&n.GkF(0)}function pi(g,T){if(1&g&&(n.ynx(0,3),n.YNc(1,Ji,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(2),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.dt.groupFooterTemplate)("ngTemplateOutletContext",n.HTZ(2,an,S,D.dt.paginator?D.dt.first+b:b,D.columns,D.dt.isRowExpanded(S),"row"===D.dt.editMode&&D.dt.isRowEditing(S),D.frozen))}}const uo=function(g,T,p,S){return{$implicit:g,rowIndex:T,columns:p,frozen:S}};function Hi(g,T){if(1&g&&(n.ynx(0),n.YNc(1,Vi,1,0,"ng-container",4),n.YNc(2,pi,2,9,"ng-container",2),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.dt.expandedRowTemplate)("ngTemplateOutletContext",n.l5B(3,uo,S,D.dt.paginator?D.dt.first+b:b,D.columns,D.frozen)),n.xp6(1),n.Q6J("ngIf",D.dt.groupFooterTemplate&&"subheader"===D.dt.rowGroupMode&&D.shouldRenderRowGroupFooter(D.value,S,b))}}function To(g,T){if(1&g&&(n.YNc(0,Di,2,9,"ng-container",0),n.YNc(1,Ti,2,9,"ng-container",2),n.YNc(2,Hi,3,8,"ng-container",0)),2&g){const p=T.$implicit,S=T.index,b=n.oxw(2);n.Q6J("ngIf",!b.dt.groupHeaderTemplate),n.xp6(1),n.Q6J("ngIf",b.dt.groupHeaderTemplate&&"subheader"===b.dt.rowGroupMode&&b.shouldRenderRowGroupHeader(b.value,p,S)),n.xp6(1),n.Q6J("ngIf",b.dt.isRowExpanded(p))}}function Fo(g,T){if(1&g&&(n.ynx(0),n.YNc(1,To,3,3,"ng-template",1),n.BQk()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngForOf",p.value)("ngForTrackBy",p.dt.rowTrackBy)}}function Fi(g,T){1&g&&n.GkF(0)}function li(g,T){1&g&&n.GkF(0)}function po(g,T){if(1&g&&(n.ynx(0),n.YNc(1,li,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw(),S=p.$implicit,b=p.index,D=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",D.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",n.l5B(2,uo,S,D.dt.paginator?D.dt.first+b:b,D.columns,D.frozen))}}function bo(g,T){if(1&g&&(n.YNc(0,Fi,1,0,"ng-container",4),n.YNc(1,po,2,7,"ng-container",0)),2&g){const p=T.$implicit,S=T.index,b=n.oxw(2);n.Q6J("ngTemplateOutlet",b.template)("ngTemplateOutletContext",n.HTZ(3,an,p,b.dt.paginator?b.dt.first+S:S,b.columns,b.dt.isRowExpanded(p),"row"===b.dt.editMode&&b.dt.isRowEditing(p),b.frozen)),n.xp6(1),n.Q6J("ngIf",b.dt.isRowExpanded(p))}}function yo(g,T){if(1&g&&(n.ynx(0),n.YNc(1,bo,2,10,"ng-template",1),n.BQk()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngForOf",p.value)("ngForTrackBy",p.dt.rowTrackBy)}}function vo(g,T){1&g&&n.GkF(0)}const fo=function(g,T){return{$implicit:g,frozen:T}};function nt(g,T){if(1&g&&(n.ynx(0),n.YNc(1,vo,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",p.dt.loadingBodyTemplate)("ngTemplateOutletContext",n.WLB(2,fo,p.columns,p.frozen))}}function Ot(g,T){1&g&&n.GkF(0)}function $(g,T){if(1&g&&(n.ynx(0),n.YNc(1,Ot,1,0,"ng-container",4),n.BQk()),2&g){const p=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",p.dt.emptyMessageTemplate)("ngTemplateOutletContext",n.WLB(2,fo,p.columns,p.frozen))}}function De(g,T){if(1&g&&(n.TgZ(0,"span",2),n._uU(1),n.qZA()),2&g){const p=n.oxw();n.xp6(1),n.Oqu(p.getMultiSortMetaIndex()+1)}}const $e=function(g,T,p){return{"pi-sort-amount-up-alt":g,"pi-sort-amount-down":T,"pi-sort-alt":p}};let ke=(()=>{class g{constructor(){this.sortSource=new We.xQ,this.selectionSource=new We.xQ,this.contextMenuSource=new We.xQ,this.valueSource=new We.xQ,this.totalRecordsSource=new We.xQ,this.columnsSource=new We.xQ,this.resetSource=new We.xQ,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable(),this.resetSource$=this.resetSource.asObservable()}onSort(p){this.sortSource.next(p)}onSelectionChange(){this.selectionSource.next()}onResetChange(){this.resetSource.next()}onContextMenu(p){this.contextMenuSource.next(p)}onValueChange(p){this.valueSource.next(p)}onTotalRecordsChange(p){this.totalRecordsSource.next(p)}onColumnsChange(p){this.columnsSource.next(p)}}return g.\u0275fac=function(p){return new(p||g)},g.\u0275prov=n.Yz7({token:g,factory:g.\u0275fac}),g})(),xt=(()=>{class g{constructor(p,S,b,D,I,q){this.el=p,this.zone=S,this.tableService=b,this.cd=D,this.filterService=I,this.overlayService=q,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.paginatorDropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.showPageLinks=!0,this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new n.vpe,this.contextMenuSelectionChange=new n.vpe,this.contextMenuSelectionMode="separate",this.rowTrackBy=(te,ye)=>ye,this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.editingRowKeys={},this.rowExpandMode="multiple",this.scrollDirection="vertical",this.virtualScrollDelay=250,this.virtualRowHeight=28,this.columnResizeMode="fit",this.loadingIcon="pi pi-spinner",this.showLoader=!0,this.showInitialSortBadge=!0,this.stateStorage="session",this.editMode="cell",this.responsiveLayout="stack",this.breakpoint="960px",this.onRowSelect=new n.vpe,this.onRowUnselect=new n.vpe,this.onPage=new n.vpe,this.onSort=new n.vpe,this.onFilter=new n.vpe,this.onLazyLoad=new n.vpe,this.onRowExpand=new n.vpe,this.onRowCollapse=new n.vpe,this.onContextMenuSelect=new n.vpe,this.onColResize=new n.vpe,this.onColReorder=new n.vpe,this.onRowReorder=new n.vpe,this.onEditInit=new n.vpe,this.onEditComplete=new n.vpe,this.onEditCancel=new n.vpe,this.onHeaderCheckboxToggle=new n.vpe,this.sortFunction=new n.vpe,this.firstChange=new n.vpe,this.rowsChange=new n.vpe,this.onStateSave=new n.vpe,this.onStateRestore=new n.vpe,this._value=[],this._totalRecords=0,this._first=0,this.selectionKeys={},this._sortOrder=1,this.columnResizing=!1,this.rowGroupHeaderStyleObject={},this.id=(0,bt.Th)()}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),"stack"===this.responsiveLayout&&!this.scrollable&&this.createResponsiveStyle(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(p=>{switch(p.getType()){case"caption":this.captionTemplate=p.template;break;case"header":this.headerTemplate=p.template;break;case"headergrouped":this.headerGroupedTemplate=p.template;break;case"body":this.bodyTemplate=p.template;break;case"loadingbody":this.loadingBodyTemplate=p.template;break;case"footer":this.footerTemplate=p.template;break;case"footergrouped":this.footerGroupedTemplate=p.template;break;case"summary":this.summaryTemplate=p.template;break;case"colgroup":this.colGroupTemplate=p.template;break;case"rowexpansion":this.expandedRowTemplate=p.template;break;case"groupheader":this.groupHeaderTemplate=p.template;break;case"rowspan":this.rowspanTemplate=p.template;break;case"groupfooter":this.groupFooterTemplate=p.template;break;case"frozenrows":this.frozenRowsTemplate=p.template;break;case"frozenheader":this.frozenHeaderTemplate=p.template;break;case"frozenbody":this.frozenBodyTemplate=p.template;break;case"frozenfooter":this.frozenFooterTemplate=p.template;break;case"frozencolgroup":this.frozenColGroupTemplate=p.template;break;case"frozenrowexpansion":this.frozenExpandedRowTemplate=p.template;break;case"emptymessage":this.emptyMessageTemplate=p.template;break;case"paginatorleft":this.paginatorLeftTemplate=p.template;break;case"paginatorright":this.paginatorRightTemplate=p.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=p.template}})}ngAfterViewInit(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths(),this.scrollable&&("vertical"!==this.scrollDirection||"subheader"===this.rowGroupMode)&&this.updateScrollWidth(),this.scrollable&&this.virtualScroll&&(this.virtualScrollSubscription=this.virtualScrollBody.renderedRangeStream.subscribe(p=>{this.tableHeaderViewChild.nativeElement.style.top=p.start*this.virtualRowHeight*-1+"px"}))}ngOnChanges(p){p.value&&(this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=p.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(p.value.currentValue),this.scrollable&&("vertical"!==this.scrollDirection||"subheader"===this.rowGroupMode)&&this.updateScrollWidth()),p.columns&&(this._columns=p.columns.currentValue,this.tableService.onColumnsChange(p.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder(),this.scrollable&&("vertical"!==this.scrollDirection||"subheader"===this.rowGroupMode)&&this.updateScrollWidth()),p.sortField&&(this._sortField=p.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),p.sortOrder&&(this._sortOrder=p.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),p.multiSortMeta&&(this._multiSortMeta=p.multiSortMeta.currentValue,"multiple"===this.sortMode&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),p.selection&&(this._selection=p.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1)}get value(){return this._value}set value(p){this._value=p}get columns(){return this._columns}set columns(p){this._columns=p}get first(){return this._first}set first(p){this._first=p}get rows(){return this._rows}set rows(p){this._rows=p}get totalRecords(){return this._totalRecords}set totalRecords(p){this._totalRecords=p,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField(p){this._sortField=p}get sortOrder(){return this._sortOrder}set sortOrder(p){this._sortOrder=p}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(p){this._multiSortMeta=p}get selection(){return this._selection}set selection(p){this._selection=p}get dataToRender(){let p=this.filteredValue||this.value;return p?this.paginator&&!this.lazy?p.slice(this.first,this.first+this.rows):p:[]}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let p of this._selection)this.selectionKeys[String(bt.gb.resolveFieldData(p,this.dataKey))]=1;else this.selectionKeys[String(bt.gb.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(p){this.first=p.first,this.rows=p.rows,this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.onPage.emit({first:this.first,rows:this.rows}),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(p){let S=p.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===p.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=p.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){let b=S.metaKey||S.ctrlKey,D=this.getSortMeta(p.field);D?b?D.order=-1*D.order:(this._multiSortMeta=[{field:p.field,order:-1*D.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!b||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:p.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){if(this.sortField&&this.sortOrder){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:this.sortField,order:this.sortOrder}):(this.value.sort((S,b)=>{let D=bt.gb.resolveFieldData(S,this.sortField),I=bt.gb.resolveFieldData(b,this.sortField),q=null;return q=null==D&&null!=I?-1:null!=D&&null==I?1:null==D&&null==I?0:"string"==typeof D&&"string"==typeof I?D.localeCompare(I):D<I?-1:D>I?1:0,this.sortOrder*q}),this._value=[...this.value]),this.hasFilter()&&this._filter());let p={field:this.sortField,order:this.sortOrder};this.onSort.emit(p),this.tableService.onSort(p)}}sortMultiple(){this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((p,S)=>this.multisortField(p,S,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(p,S,b,D){let I=bt.gb.resolveFieldData(p,b[D].field),q=bt.gb.resolveFieldData(S,b[D].field),te=null;if(null==I&&null!=q)te=-1;else if(null!=I&&null==q)te=1;else if(null==I&&null==q)te=0;else if("string"==typeof I||I instanceof String){if(I.localeCompare&&I!=q)return b[D].order*I.localeCompare(q)}else te=I<q?-1:1;return I==q?b.length-1>D?this.multisortField(p,S,b,D+1):0:b[D].order*te}getSortMeta(p){if(this.multiSortMeta&&this.multiSortMeta.length)for(let S=0;S<this.multiSortMeta.length;S++)if(this.multiSortMeta[S].field===p)return this.multiSortMeta[S];return null}isSorted(p){if("single"===this.sortMode)return this.sortField&&this.sortField===p;if("multiple"===this.sortMode){let S=!1;if(this.multiSortMeta)for(let b=0;b<this.multiSortMeta.length;b++)if(this.multiSortMeta[b].field==p){S=!0;break}return S}}handleRowClick(p){let S=p.originalEvent.target,b=S.nodeName,D=S.parentElement&&S.parentElement.nodeName;if("INPUT"!=b&&"BUTTON"!=b&&"A"!=b&&"INPUT"!=D&&"BUTTON"!=D&&"A"!=D&&!Be.p.hasClass(p.originalEvent.target,"p-clickable")){if(this.selectionMode){if(this.preventSelectionSetterPropagation=!0,this.isMultipleSelectionMode()&&p.originalEvent.shiftKey&&null!=this.anchorRowIndex)Be.p.clearSelection(),null!=this.rangeRowIndex&&this.clearSelectionRange(p.originalEvent),this.rangeRowIndex=p.rowIndex,this.selectRange(p.originalEvent,p.rowIndex);else{let I=p.rowData,q=this.isSelected(I),te=!this.rowTouched&&this.metaKeySelection,ye=this.dataKey?String(bt.gb.resolveFieldData(I,this.dataKey)):null;if(this.anchorRowIndex=p.rowIndex,this.rangeRowIndex=p.rowIndex,te){let pt=p.originalEvent.metaKey||p.originalEvent.ctrlKey;if(q&&pt){if(this.isSingleSelectionMode())this._selection=null,this.selectionKeys={},this.selectionChange.emit(null);else{let qt=this.findIndexInSelection(I);this._selection=this.selection.filter((Yt,Un)=>Un!=qt),this.selectionChange.emit(this.selection),ye&&delete this.selectionKeys[ye]}this.onRowUnselect.emit({originalEvent:p.originalEvent,data:I,type:"row"})}else this.isSingleSelectionMode()?(this._selection=I,this.selectionChange.emit(I),ye&&(this.selectionKeys={},this.selectionKeys[ye]=1)):this.isMultipleSelectionMode()&&(pt?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,I],this.selectionChange.emit(this.selection),ye&&(this.selectionKeys[ye]=1)),this.onRowSelect.emit({originalEvent:p.originalEvent,data:I,type:"row",index:p.rowIndex})}else if("single"===this.selectionMode)q?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:p.originalEvent,data:I,type:"row",index:p.rowIndex})):(this._selection=I,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:p.originalEvent,data:I,type:"row",index:p.rowIndex}),ye&&(this.selectionKeys={},this.selectionKeys[ye]=1));else if("multiple"===this.selectionMode)if(q){let pt=this.findIndexInSelection(I);this._selection=this.selection.filter((qt,Yt)=>Yt!=pt),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:p.originalEvent,data:I,type:"row",index:p.rowIndex}),ye&&delete this.selectionKeys[ye]}else this._selection=this.selection?[...this.selection,I]:[I],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:p.originalEvent,data:I,type:"row",index:p.rowIndex}),ye&&(this.selectionKeys[ye]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(p){this.rowTouched=!0}handleRowRightClick(p){if(this.contextMenu){const S=p.rowData;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=S,this.contextMenuSelectionChange.emit(S),this.onContextMenuSelect.emit({originalEvent:p.originalEvent,data:S,index:p.rowIndex}),this.contextMenu.show(p.originalEvent),this.tableService.onContextMenu(S);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let b=this.isSelected(S),D=this.dataKey?String(bt.gb.resolveFieldData(S,this.dataKey)):null;b||(this.isSingleSelectionMode()?(this.selection=S,this.selectionChange.emit(S),D&&(this.selectionKeys={},this.selectionKeys[D]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,S]:[S],this.selectionChange.emit(this.selection),D&&(this.selectionKeys[D]=1))),this.tableService.onSelectionChange(),this.contextMenu.show(p.originalEvent),this.onContextMenuSelect.emit({originalEvent:p,data:S,index:p.rowIndex})}}}selectRange(p,S){let b,D;this.anchorRowIndex>S?(b=S,D=this.anchorRowIndex):this.anchorRowIndex<S?(b=this.anchorRowIndex,D=S):(b=S,D=S),this.lazy&&this.paginator&&(b-=this.first,D-=this.first);let I=[];for(let q=b;q<=D;q++){let te=this.filteredValue?this.filteredValue[q]:this.value[q];if(!this.isSelected(te)){I.push(te),this._selection=[...this.selection,te];let ye=this.dataKey?String(bt.gb.resolveFieldData(te,this.dataKey)):null;ye&&(this.selectionKeys[ye]=1)}}this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:p,data:I,type:"row"})}clearSelectionRange(p){let S,b;this.rangeRowIndex>this.anchorRowIndex?(S=this.anchorRowIndex,b=this.rangeRowIndex):this.rangeRowIndex<this.anchorRowIndex?(S=this.rangeRowIndex,b=this.anchorRowIndex):(S=this.rangeRowIndex,b=this.rangeRowIndex);for(let D=S;D<=b;D++){let I=this.value[D],q=this.findIndexInSelection(I);this._selection=this.selection.filter((ye,pt)=>pt!=q);let te=this.dataKey?String(bt.gb.resolveFieldData(I,this.dataKey)):null;te&&delete this.selectionKeys[te],this.onRowUnselect.emit({originalEvent:p,data:I,type:"row"})}}isSelected(p){return!(!p||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[bt.gb.resolveFieldData(p,this.dataKey)]:this.selection instanceof Array?this.findIndexInSelection(p)>-1:this.equals(p,this.selection))}findIndexInSelection(p){let S=-1;if(this.selection&&this.selection.length)for(let b=0;b<this.selection.length;b++)if(this.equals(p,this.selection[b])){S=b;break}return S}toggleRowWithRadio(p,S){this.preventSelectionSetterPropagation=!0,this.selection!=S?(this._selection=S,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:p.originalEvent,index:p.rowIndex,data:S,type:"radiobutton"}),this.dataKey&&(this.selectionKeys={},this.selectionKeys[String(bt.gb.resolveFieldData(S,this.dataKey))]=1)):(this._selection=null,this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:p.originalEvent,index:p.rowIndex,data:S,type:"radiobutton"})),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowWithCheckbox(p,S){this.selection=this.selection||[];let b=this.isSelected(S),D=this.dataKey?String(bt.gb.resolveFieldData(S,this.dataKey)):null;if(this.preventSelectionSetterPropagation=!0,b){let I=this.findIndexInSelection(S);this._selection=this.selection.filter((q,te)=>te!=I),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:p.originalEvent,index:p.rowIndex,data:S,type:"checkbox"}),D&&delete this.selectionKeys[D]}else this._selection=this.selection?[...this.selection,S]:[S],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:p.originalEvent,index:p.rowIndex,data:S,type:"checkbox"}),D&&(this.selectionKeys[D]=1);this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox(p,S){this._selection=S?this.filteredValue?this.filteredValue.slice():this.value.slice():[],this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:p,checked:S}),this.isStateful()&&this.saveState()}equals(p,S){return"equals"===this.compareSelectionBy?p===S:bt.gb.equals(p,S,this.dataKey)}filter(p,S,b){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(p)?this.filters[S]&&delete this.filters[S]:this.filters[S]={value:p,matchMode:b},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(p,S){this.filter(p,"global",S)}isFilterBlank(p){return null==p||"string"==typeof p&&0==p.trim().length||p instanceof Array&&0==p.length}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let p;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");p=this.globalFilterFields||this.columns}this.filteredValue=[];for(let S=0;S<this.value.length;S++){let q,b=!0,D=!1,I=!1;for(let te in this.filters)if(this.filters.hasOwnProperty(te)&&"global"!==te){I=!0;let ye=te,pt=this.filters[ye];if(Array.isArray(pt)){for(let qt of pt)if(b=this.executeLocalFilter(ye,this.value[S],qt),qt.operator===pe.pg.OR&&b||qt.operator===pe.pg.AND&&!b)break}else b=this.executeLocalFilter(ye,this.value[S],pt);if(!b)break}if(this.filters.global&&!D&&p)for(let te=0;te<p.length&&(D=this.filterService.filters[this.filters.global.matchMode](bt.gb.resolveFieldData(this.value[S],p[te].field||p[te]),this.filters.global.value,this.filterLocale),!D);te++);q=this.filters.global?I?I&&b&&D:D:I&&b,q&&this.filteredValue.push(this.value[S])}this.filteredValue.length===this.value.length&&(this.filteredValue=null),this.paginator&&(this.totalRecords=this.filteredValue?this.filteredValue.length:this.value?this.value.length:0)}else this.filteredValue=null,this.paginator&&(this.totalRecords=this.value?this.value.length:0)}this.onFilter.emit({filters:this.filters,filteredValue:this.filteredValue||this.value}),this.tableService.onValueChange(this.value),this.isStateful()&&!this.restoringFilter&&this.saveState(),this.restoringFilter&&(this.restoringFilter=!1),this.cd.markForCheck(),this.scrollable&&this.resetScrollTop()}executeLocalFilter(p,S,b){let D=b.value,I=b.matchMode||pe.a6.STARTS_WITH,q=bt.gb.resolveFieldData(S,p);return this.filterService.filters[I](q,D,this.filterLocale)}hasFilter(){let p=!0;for(let S in this.filters)if(this.filters.hasOwnProperty(S)){p=!1;break}return!p}createLazyLoadMetadata(){return{first:this.first,rows:this.rows,sortField:this.sortField,sortOrder:this.sortOrder,filters:this.filters,globalFilter:this.filters&&this.filters.global?this.filters.global.value:null,multiSortMeta:this.multiSortMeta}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.filteredValue=null,this.tableService.onResetChange(),this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}reset(){this.clear()}exportCSV(p){let S,b="",D=this.frozenColumns?[...this.frozenColumns,...this.columns]:this.columns;p&&p.selectionOnly?S=this.selection||[]:(S=this.filteredValue||this.value,this.frozenValue&&(S=S?[...this.frozenValue,...S]:this.frozenValue));for(let q=0;q<D.length;q++){let te=D[q];!1!==te.exportable&&te.field&&(b+='"'+(te.header||te.field)+'"',q<D.length-1&&(b+=this.csvSeparator))}S.forEach((q,te)=>{b+="\n";for(let ye=0;ye<D.length;ye++){let pt=D[ye];if(!1!==pt.exportable&&pt.field){let qt=bt.gb.resolveFieldData(q,pt.field);qt=null!=qt?this.exportFunction?this.exportFunction({data:qt,field:pt.field}):String(qt).replace(/"/g,'""'):"",b+='"'+qt+'"',ye<D.length-1&&(b+=this.csvSeparator)}}});let I=new Blob([b],{type:"text/csv;charset=utf-8;"});if(window.navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(I,this.exportFilename+".csv");else{let q=document.createElement("a");q.style.display="none",document.body.appendChild(q),void 0!==q.download?(q.setAttribute("href",URL.createObjectURL(I)),q.setAttribute("download",this.exportFilename+".csv"),q.click()):(b="data:text/csv;charset=utf-8,"+b,window.open(encodeURI(b))),document.body.removeChild(q)}}resetScrollTop(){this.virtualScroll?this.scrollToVirtualIndex(0):this.scrollTo({top:0})}scrollToVirtualIndex(p){this.virtualScrollBody&&this.virtualScrollBody.scrollToIndex(p)}onScrollIndexChange(p){this.lazy&&(this.virtualScrollTimeout&&clearTimeout(this.virtualScrollTimeout),this.virtualScrollTimeout=setTimeout(()=>{let S=Math.floor(p/this.rows),b=0===S?0:(S-1)*this.rows,D=0===S?2*this.rows:3*this.rows;S!==this.virtualPage&&(this.virtualPage=S,this.onLazyLoad.emit({first:b,rows:D,sortField:this.sortField,sortOrder:this.sortOrder,filters:this.filters,globalFilter:this.filters&&this.filters.global?this.filters.global.value:null,multiSortMeta:this.multiSortMeta}))},this.virtualScrollDelay))}scrollTo(p){this.virtualScrollBody?this.virtualScrollBody.scrollTo(p):this.wrapperViewChild.nativeElement.scrollTo?this.wrapperViewChild.nativeElement.scrollTo(p):(this.wrapperViewChild.nativeElement.scrollLeft=p.left,this.wrapperViewChild.nativeElement.scrollTop=p.top)}updateEditingCell(p,S,b,D){this.editingCell=p,this.editingCellData=S,this.editingCellField=b,this.editingCellRowIndex=D,this.bindDocumentEditListener()}isEditingCellValid(){return this.editingCell&&0===Be.p.find(this.editingCell,".ng-invalid.ng-dirty").length}bindDocumentEditListener(){this.documentEditListener||(this.documentEditListener=p=>{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(Be.p.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:p,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1},document.addEventListener("click",this.documentEditListener))}unbindDocumentEditListener(){this.documentEditListener&&(document.removeEventListener("click",this.documentEditListener),this.documentEditListener=null)}initRowEdit(p){let S=String(bt.gb.resolveFieldData(p,this.dataKey));this.editingRowKeys[S]=!0}saveRowEdit(p,S){if(0===Be.p.find(S,".ng-invalid.ng-dirty").length){let b=String(bt.gb.resolveFieldData(p,this.dataKey));delete this.editingRowKeys[b]}}cancelRowEdit(p){let S=String(bt.gb.resolveFieldData(p,this.dataKey));delete this.editingRowKeys[S]}toggleRow(p,S){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");let b=String(bt.gb.resolveFieldData(p,this.dataKey));null!=this.expandedRowKeys[b]?(delete this.expandedRowKeys[b],this.onRowCollapse.emit({originalEvent:S,data:p})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[b]=!0,this.onRowExpand.emit({originalEvent:S,data:p})),S&&S.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(p){return!0===this.expandedRowKeys[String(bt.gb.resolveFieldData(p,this.dataKey))]}isRowEditing(p){return!0===this.editingRowKeys[String(bt.gb.resolveFieldData(p,this.dataKey))]}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}onColumnResizeBegin(p){let S=Be.p.getOffset(this.containerViewChild.nativeElement).left;this.resizeColumnElement=p.target.parentElement,this.columnResizing=!0,this.lastResizerHelperX=p.pageX-S+this.containerViewChild.nativeElement.scrollLeft,this.onColumnResize(p),p.preventDefault()}onColumnResize(p){let S=Be.p.getOffset(this.containerViewChild.nativeElement).left;Be.p.addClass(this.containerViewChild.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=p.pageX-S+this.containerViewChild.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let p=this.resizeHelperViewChild.nativeElement.offsetLeft-this.lastResizerHelperX,b=this.resizeColumnElement.offsetWidth+p;if(b>=(this.resizeColumnElement.style.minWidth||15)){if("fit"===this.columnResizeMode){let I=this.resizeColumnElement.nextElementSibling,q=I.offsetWidth-p;b>15&&q>15&&(this.scrollable?this.resizeTableCells(b,q):(this.resizeColumnElement.style.width=b+"px",I&&(I.style.width=q+"px")))}else if("expand"===this.columnResizeMode){let I=this.tableViewChild.nativeElement.offsetWidth+p;if(this.scrollable){this.resizeTableCells(b,null);let q=Be.p.calculateScrollbarWidth(this.wrapperViewChild.nativeElement),te=this.containerViewChild.nativeElement.offsetWidth>I+q;this.tableViewChild.nativeElement.style.width=I+"px",this.wrapperViewChild.nativeElement.style.width=te?I+q+"px":"auto"}else this.tableViewChild.nativeElement.style.width=I+"px",this.resizeColumnElement.style.width=b+"px"}this.onColResize.emit({element:this.resizeColumnElement,delta:p}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",Be.p.removeClass(this.containerViewChild.nativeElement,"p-unselectable-text")}resizeTableCells(p,S){let b=Be.p.index(this.resizeColumnElement),D=[];Be.p.find(this.containerViewChild.nativeElement,".p-datatable-thead > tr > th").forEach(te=>D.push(Be.p.getOuterWidth(te))),this.destroyStyleElement(),this.createStyleElement();let q="";D.forEach((te,ye)=>{let pt=ye===b?p:S&&ye===b+1?S:te;q+=`\n                #${this.id} .p-datatable-thead > tr > th:nth-child(${ye+1}) {\n                    flex: 0 0 ${pt}px;\n                }\n\n                #${this.id} .p-datatable-tbody > tr > td:nth-child(${ye+1}) {\n                    flex: 0 0 ${pt}px;\n                }\n            `}),this.styleElement.innerHTML=q}onColumnDragStart(p,S){this.reorderIconWidth=Be.p.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=Be.p.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=S,p.dataTransfer.setData("text","b")}onColumnDragEnter(p,S){if(this.reorderableColumns&&this.draggedColumn&&S){p.preventDefault();let b=Be.p.getOffset(this.containerViewChild.nativeElement),D=Be.p.getOffset(S);if(this.draggedColumn!=S){let I=Be.p.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),q=Be.p.indexWithinGroup(S,"preorderablecolumn"),te=D.left-b.left,pt=D.left+S.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=D.top-b.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=D.top-b.top+S.offsetHeight+"px",p.pageX>pt?(this.reorderIndicatorUpViewChild.nativeElement.style.left=te+S.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=te+S.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=te-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=te-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),q-I==1&&-1===this.dropPosition||q-I==-1&&1===this.dropPosition?(this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none"):(this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block")}else p.dataTransfer.dropEffect="none"}}onColumnDragLeave(p){this.reorderableColumns&&this.draggedColumn&&(p.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")}onColumnDrop(p,S){if(p.preventDefault(),this.draggedColumn){let b=Be.p.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),D=Be.p.indexWithinGroup(S,"preorderablecolumn"),I=b!=D;I&&(D-b==1&&-1===this.dropPosition||b-D==1&&1===this.dropPosition)&&(I=!1),I&&D<b&&1===this.dropPosition&&(D+=1),I&&D>b&&-1===this.dropPosition&&(D-=1),I&&(bt.gb.reorderArray(this.columns,b,D),this.onColReorder.emit({dragIndex:b,dropIndex:D,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}onRowDragStart(p,S){this.rowDragging=!0,this.draggedRowIndex=S,p.dataTransfer.setData("text","b")}onRowDragOver(p,S,b){if(this.rowDragging&&this.draggedRowIndex!==S){let D=Be.p.getOffset(b).top+Be.p.getWindowScrollTop(),I=p.pageY,q=D+Be.p.getOuterHeight(b)/2,te=b.previousElementSibling;I<q?(Be.p.removeClass(b,"p-datatable-dragpoint-bottom"),this.droppedRowIndex=S,te?Be.p.addClass(te,"p-datatable-dragpoint-bottom"):Be.p.addClass(b,"p-datatable-dragpoint-top")):(te?Be.p.removeClass(te,"p-datatable-dragpoint-bottom"):Be.p.addClass(b,"p-datatable-dragpoint-top"),this.droppedRowIndex=S+1,Be.p.addClass(b,"p-datatable-dragpoint-bottom"))}}onRowDragLeave(p,S){let b=S.previousElementSibling;b&&Be.p.removeClass(b,"p-datatable-dragpoint-bottom"),Be.p.removeClass(S,"p-datatable-dragpoint-bottom"),Be.p.removeClass(S,"p-datatable-dragpoint-top")}onRowDragEnd(p){this.rowDragging=!1,this.draggedRowIndex=null,this.droppedRowIndex=null}onRowDrop(p,S){if(null!=this.droppedRowIndex){let b=this.draggedRowIndex>this.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;bt.gb.reorderArray(this.value,this.draggedRowIndex,b),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:b})}this.onRowDragLeave(p,S),this.onRowDragEnd(p)}isEmpty(){let p=this.filteredValue||this.value;return null==p||0==p.length}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}isStateful(){return null!=this.stateKey}saveState(){const p=this.getStorage();let S={};this.paginator&&(S.first=this.first,S.rows=this.rows),this.sortField&&(S.sortField=this.sortField,S.sortOrder=this.sortOrder),this.multiSortMeta&&(S.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(S.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(S),this.reorderableColumns&&this.saveColumnOrder(S),this.selection&&(S.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(S.expandedRowKeys=this.expandedRowKeys),p.setItem(this.stateKey,JSON.stringify(S)),this.onStateSave.emit(S)}clearState(){const p=this.getStorage();this.stateKey&&p.removeItem(this.stateKey)}restoreState(){const S=this.getStorage().getItem(this.stateKey),b=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(S){let I=JSON.parse(S,function(I,q){return"string"==typeof q&&b.test(q)?new Date(q):q});this.paginator&&(void 0!==this.first&&(this.first=I.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=I.rows,this.rowsChange.emit(this.rows))),I.sortField&&(this.restoringSort=!0,this._sortField=I.sortField,this._sortOrder=I.sortOrder),I.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=I.multiSortMeta),I.filters&&(this.restoringFilter=!0,this.filters=I.filters),this.resizableColumns&&(this.columnWidthsState=I.columnWidths,this.tableWidthState=I.tableWidth,this.wrapperWidthState=I.wrapperWidth),I.expandedRowKeys&&(this.expandedRowKeys=I.expandedRowKeys),I.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(I.selection)),this.stateRestored=!0,this.onStateRestore.emit(I)}}saveColumnWidths(p){let S=[];Be.p.find(this.containerViewChild.nativeElement,".p-datatable-thead > tr > th").forEach(D=>S.push(Be.p.getOuterWidth(D))),p.columnWidths=S.join(","),"expand"===this.columnResizeMode&&(p.tableWidth=Be.p.getOuterWidth(this.tableViewChild.nativeElement)+"px",p.wrapperWidth=this.wrapperViewChild.nativeElement.style.width)}restoreColumnWidths(){if(this.columnWidthsState){let p=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&(this.tableWidthState&&(this.tableViewChild.nativeElement.style.width=this.tableWidthState),this.wrapperWidthState&&(this.wrapperViewChild.nativeElement.style.width=this.wrapperWidthState)),this.createStyleElement(),this.scrollable&&p&&p.length>0){let S="";p.forEach((b,D)=>{S+=`\n                            #${this.id} .p-datatable-thead > tr > th:nth-child(${D+1}) {\n                                flex: 0 0 ${b}px;\n                            }\n\n                            #${this.id} .p-datatable-tbody > tr > td:nth-child(${D+1}) {\n                                flex: 0 0 ${b}px;\n                            }\n                        `}),this.styleElement.innerHTML=S}else Be.p.find(this.tableViewChild.nativeElement,".p-datatable-thead > tr > th").forEach((S,b)=>{S.style.width=p[b]+"px"})}}saveColumnOrder(p){if(this.columns){let S=[];this.columns.map(b=>{S.push(b.field||b.key)}),p.columnOrder=S}}restoreColumnOrder(){const S=this.getStorage().getItem(this.stateKey);if(S){let D=JSON.parse(S).columnOrder;if(D){let I=[];D.map(q=>{let te=this.findColumnByKey(q);te&&I.push(te)}),this.columnOrderStateRestored=!0,this.columns=I}}}updateScrollWidth(){if(this.tableViewChild&&this.tableViewChild.nativeElement){let p=Be.p.getWidth(this.tableViewChild.nativeElement.parentElement);this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.scrollWidth>p?this.tableViewChild.nativeElement.scrollWidth+"px":p-Be.p.calculateScrollbarHeight()+"px"}}findColumnByKey(p){if(!this.columns)return null;for(let S of this.columns)if(S.key===p||S.field===p)return S}createStyleElement(){this.styleElement=document.createElement("style"),this.styleElement.type="text/css",document.head.appendChild(this.styleElement)}createResponsiveStyle(){this.responsiveStyleElement||(this.responsiveStyleElement=document.createElement("style"),this.responsiveStyleElement.type="text/css",document.head.appendChild(this.responsiveStyleElement),this.responsiveStyleElement.innerHTML=`\n@media screen and (max-width: ${this.breakpoint}) {\n    #${this.id} .p-datatable-thead > tr > th,\n    #${this.id} .p-datatable-tfoot > tr > td {\n        display: none !important;\n    }\n\n    #${this.id} .p-datatable-tbody > tr > td {\n        display: flex;\n        width: 100% !important;\n        align-items: center;\n        justify-content: space-between;\n    }\n\n    #${this.id} .p-datatable-tbody > tr > td:not(:last-child) {\n        border: 0 none;\n    }\n\n    #${this.id}.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child {\n        border-top: 0;\n        border-right: 0;\n        border-left: 0;\n    }\n\n    #${this.id} .p-datatable-tbody > tr > td > .p-column-title {\n        display: block;\n    }\n}\n`)}destroyResponsiveStyle(){this.responsiveStyleElement&&(document.head.removeChild(this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.virtualScrollSubscription&&this.virtualScrollSubscription.unsubscribe(),this.destroyStyleElement(),this.destroyResponsiveStyle()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(ke),n.Y36(n.sBO),n.Y36(pe.iZ),n.Y36(pe.F0))},g.\u0275cmp=n.Xpm({type:g,selectors:[["p-table"]],contentQueries:function(p,S,b){if(1&p&&n.Suo(b,pe.jx,4),2&p){let D;n.iGM(D=n.CRH())&&(S.templates=D)}},viewQuery:function(p,S){if(1&p&&(n.Gf(Nt,5),n.Gf(Ut,5),n.Gf(zn,5),n.Gf(kt,5),n.Gf(_n,5),n.Gf(Ht,5),n.Gf(sn,5),n.Gf(Xt.N7,5)),2&p){let b;n.iGM(b=n.CRH())&&(S.containerViewChild=b.first),n.iGM(b=n.CRH())&&(S.resizeHelperViewChild=b.first),n.iGM(b=n.CRH())&&(S.reorderIndicatorUpViewChild=b.first),n.iGM(b=n.CRH())&&(S.reorderIndicatorDownViewChild=b.first),n.iGM(b=n.CRH())&&(S.wrapperViewChild=b.first),n.iGM(b=n.CRH())&&(S.tableViewChild=b.first),n.iGM(b=n.CRH())&&(S.tableHeaderViewChild=b.first),n.iGM(b=n.CRH())&&(S.virtualScrollBody=b.first)}},inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollDelay:"virtualScrollDelay",virtualRowHeight:"virtualRowHeight",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx",responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection"},outputs:{selectionChange:"selectionChange",contextMenuSelectionChange:"contextMenuSelectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[n._Bn([ke]),n.TTD],decls:14,vars:33,consts:[[3,"ngStyle","ngClass"],["container",""],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],["wrapper",""],["role","table","class","p-datatable-table",3,"ngClass","ngStyle",4,"ngIf"],["tabindex","0","class","p-datatable-virtual-scrollable-body",3,"itemSize","height","minBufferPx","maxBufferPx","scrolledIndexChange",4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","pi pi-arrow-down p-datatable-reorder-indicator-up","style","display:none",4,"ngIf"],["class","pi pi-arrow-up p-datatable-reorder-indicator-down","style","display:none",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[1,"p-datatable-header"],[4,"ngTemplateOutlet"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange"],["role","table",1,"p-datatable-table",3,"ngClass","ngStyle"],["table",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-datatable-thead"],["class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],[1,"p-datatable-tbody",3,"value","pTableBody","pTableBodyTemplate"],["class","p-datatable-tfoot",4,"ngIf"],[1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],[1,"p-datatable-tfoot"],["tabindex","0",1,"p-datatable-virtual-scrollable-body",3,"itemSize","minBufferPx","maxBufferPx","scrolledIndexChange"],["tableHeader",""],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],["resizeHelper",""],[1,"pi","pi-arrow-down","p-datatable-reorder-indicator-up",2,"display","none"],["reorderIndicatorUp",""],[1,"pi","pi-arrow-up","p-datatable-reorder-indicator-down",2,"display","none"],["reorderIndicatorDown",""]],template:function(p,S){1&p&&(n.TgZ(0,"div",0,1),n.YNc(2,tt,2,2,"div",2),n.YNc(3,Tt,2,1,"div",3),n.YNc(4,et,1,16,"p-paginator",4),n.TgZ(5,"div",5,6),n.YNc(7,Ci,8,15,"table",7),n.YNc(8,si,10,20,"cdk-virtual-scroll-viewport",8),n.qZA(),n.YNc(9,io,1,16,"p-paginator",9),n.YNc(10,Pt,2,1,"div",10),n.YNc(11,Je,2,0,"div",11),n.YNc(12,me,2,0,"span",12),n.YNc(13,Se,2,0,"span",13),n.qZA()),2&p&&(n.Tol(S.styleClass),n.Q6J("ngStyle",S.style)("ngClass",n.rFY(16,W,[S.rowHover||S.selectionMode,S.autoLayout,S.resizableColumns,S.resizableColumns&&"fit"===S.columnResizeMode,S.scrollable,S.scrollable&&"vertical"===S.scrollDirection,S.scrollable&&"horizontal"===S.scrollDirection,S.scrollable&&"both"===S.scrollDirection,S.scrollable&&"flex"===S.scrollHeight,"stack"===S.responsiveLayout,"scroll"===S.responsiveLayout,S.responsive,null!=S.headerGroupedTemplate,null!=S.footerGroupedTemplate])),n.uIk("id",S.id),n.xp6(2),n.Q6J("ngIf",S.loading&&S.showLoader),n.xp6(1),n.Q6J("ngIf",S.captionTemplate),n.xp6(1),n.Q6J("ngIf",S.paginator&&("top"===S.paginatorPosition||"both"==S.paginatorPosition)),n.xp6(1),n.Q6J("ngStyle",n.VKq(31,F,S.scrollHeight)),n.xp6(2),n.Q6J("ngIf",!S.virtualScroll),n.xp6(1),n.Q6J("ngIf",S.virtualScroll),n.xp6(1),n.Q6J("ngIf",S.paginator&&("bottom"===S.paginatorPosition||"both"==S.paginatorPosition)),n.xp6(1),n.Q6J("ngIf",S.summaryTemplate),n.xp6(1),n.Q6J("ngIf",S.resizableColumns),n.xp6(1),n.Q6J("ngIf",S.reorderableColumns),n.xp6(1),n.Q6J("ngIf",S.reorderableColumns))},directives:function(){return[c.PC,c.mk,c.O5,c.tP,ie.D,Y,Xt.N7,Xt.xd]},styles:[".p-datatable{position:relative}.p-datatable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-badge,.p-datatable .p-sortable-column .p-sortable-column-icon{vertical-align:middle}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-auto-layout>.p-datatable-wrapper{overflow-x:auto}.p-datatable-auto-layout>.p-datatable-wrapper>table{table-layout:auto}.p-datatable-responsive-scroll>.p-datatable-wrapper{overflow-x:auto}.p-datatable-auto-layout>.p-datatable-wrapper>table,.p-datatable-responsive-scroll>.p-datatable-wrapper>table{table-layout:auto}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable .p-datatable-wrapper{position:relative;overflow:auto}.p-datatable-scrollable .p-datatable-table,.p-datatable-scrollable .p-datatable-tbody,.p-datatable-scrollable .p-datatable-tfoot,.p-datatable-scrollable .p-datatable-thead{display:block}.p-datatable-scrollable .p-datatable-tbody>tr,.p-datatable-scrollable .p-datatable-tfoot>tr,.p-datatable-scrollable .p-datatable-thead>tr{display:flex;flex-wrap:nowrap;width:100%}.p-datatable-scrollable .p-datatable-tbody>tr>td,.p-datatable-scrollable .p-datatable-tfoot>tr>td,.p-datatable-scrollable .p-datatable-thead>tr>th{display:flex;flex:1 1 0;align-items:center}.p-datatable-scrollable .p-datatable-thead{position:sticky;top:0;z-index:1}.p-datatable-scrollable .p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable .p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-scrollable-both .p-datatable-tbody>tr>td,.p-datatable-scrollable-both .p-datatable-tfoot>tr>td,.p-datatable-scrollable-both .p-datatable-thead>tr>th,.p-datatable-scrollable-horizontal .p-datatable-tfoot>tr>td,.p-datatable-scrollable-horizontal .p-datatable-thead>tr>th\n.p-datatable-scrollable-horizontal .p-datatable-tbody>tr>td{flex:0 0 auto}.p-datatable-flex-scrollable .p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable .p-rowgroup-header{position:sticky;z-index:1}.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot,.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead{display:table;border-collapse:collapse;width:100%;table-layout:fixed}.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot>tr,.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead>tr{display:table-row}.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot>tr>td,.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead>tr>th{display:table-cell}.p-datatable-flex-scrollable{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-flex-scrollable .p-datatable-virtual-scrollable-body{flex:1}.p-datatable-resizable>.p-datatable-wrapper{overflow-x:auto}.p-datatable-resizable .p-datatable-tbody>tr>td,.p-datatable-resizable .p-datatable-tfoot>tr>td,.p-datatable-resizable .p-datatable-thead>tr>th{overflow:hidden;white-space:nowrap}.p-datatable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-cancel,.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-down,.p-datatable-reorder-indicator-up{position:absolute;display:none}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-clear-button,.p-column-filter-menu-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable .p-datatable-tbody>tr>td>.p-column-title{display:none}cdk-virtual-scroll-viewport{outline:0 none}"],encapsulation:2}),g})(),Y=(()=>{class g{constructor(p,S,b,D){this.dt=p,this.tableService=S,this.cd=b,this.el=D,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}get value(){return this._value}set value(p){this._value=p,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}shouldRenderRowGroupHeader(p,S,b){let D=bt.gb.resolveFieldData(S,this.dt.groupRowsBy),I=p[b-1];return!I||D!==bt.gb.resolveFieldData(I,this.dt.groupRowsBy)}shouldRenderRowGroupFooter(p,S,b){let D=bt.gb.resolveFieldData(S,this.dt.groupRowsBy),I=p[b+1];return!I||D!==bt.gb.resolveFieldData(I,this.dt.groupRowsBy)}shouldRenderRowspan(p,S,b){let D=bt.gb.resolveFieldData(S,this.dt.groupRowsBy),I=p[b-1];return!I||D!==bt.gb.resolveFieldData(I,this.dt.groupRowsBy)}calculateRowGroupSize(p,S,b){let D=bt.gb.resolveFieldData(S,this.dt.groupRowsBy),I=D,q=0;for(;D===I;){q++;let te=p[++b];if(!te)break;I=bt.gb.resolveFieldData(te,this.dt.groupRowsBy)}return 1===q?null:q}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=Be.p.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let p=Be.p.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=p+"px"}}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(xt),n.Y36(ke),n.Y36(n.sBO),n.Y36(n.SBq))},g.\u0275cmp=n.Xpm({type:g,selectors:[["","pTableBody",""]],inputs:{columns:["pTableBody","columns"],template:["pTableBodyTemplate","template"],value:"value",frozen:"frozen",frozenRows:"frozenRows"},attrs:U,decls:6,vars:6,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"]],template:function(p,S){1&p&&(n.YNc(0,In,2,2,"ng-container",0),n.YNc(1,Sn,2,3,"ng-container",0),n.YNc(2,Fo,2,2,"ng-container",0),n.YNc(3,yo,2,2,"ng-container",0),n.YNc(4,nt,2,5,"ng-container",0),n.YNc(5,$,2,5,"ng-container",0)),2&p&&(n.Q6J("ngIf",!S.dt.expandedRowTemplate&&!S.dt.virtualScroll),n.xp6(1),n.Q6J("ngIf",!S.dt.expandedRowTemplate&&S.dt.virtualScroll),n.xp6(1),n.Q6J("ngIf",S.dt.expandedRowTemplate&&!(S.frozen&&S.dt.frozenExpandedRowTemplate)),n.xp6(1),n.Q6J("ngIf",S.dt.frozenExpandedRowTemplate&&S.frozen),n.xp6(1),n.Q6J("ngIf",S.dt.loading),n.xp6(1),n.Q6J("ngIf",S.dt.isEmpty()&&!S.dt.loading))},directives:[c.O5,c.sg,c.tP,Xt.x0],encapsulation:2}),g})(),hn=(()=>{class g{constructor(p){this.dt=p,this.isEnabled()&&(this.subscription=this.dt.tableService.sortSource$.subscribe(S=>{this.updateSortState()}))}ngOnInit(){this.isEnabled()&&this.updateSortState()}updateSortState(){this.sorted=this.dt.isSorted(this.field),this.sortOrder=this.sorted?1===this.dt.sortOrder?"ascending":"descending":"none"}onClick(p){this.isEnabled()&&!this.isFilterElement(p.target)&&(this.updateSortState(),this.dt.sort({originalEvent:p,field:this.field}),Be.p.clearSelection())}onEnterKey(p){this.onClick(p)}isEnabled(){return!0!==this.pSortableColumnDisabled}isFilterElement(p){return Be.p.hasClass(p,"pi-filter-icon")||Be.p.hasClass(p,"p-column-filter-menu-button")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(xt))},g.\u0275dir=n.lG2({type:g,selectors:[["","pSortableColumn",""]],hostVars:7,hostBindings:function(p,S){1&p&&n.NdJ("click",function(D){return S.onClick(D)})("keydown.enter",function(D){return S.onEnterKey(D)}),2&p&&(n.uIk("tabindex",S.isEnabled()?"0":null)("role","columnheader")("aria-sort",S.sortOrder),n.ekj("p-sortable-column",S.isEnabled())("p-highlight",S.sorted))},inputs:{field:["pSortableColumn","field"],pSortableColumnDisabled:"pSortableColumnDisabled"}}),g})(),Jn=(()=>{class g{constructor(p,S){this.dt=p,this.cd=S,this.subscription=this.dt.tableService.sortSource$.subscribe(b=>{this.updateSortState()})}ngOnInit(){this.updateSortState()}onClick(p){p.preventDefault()}updateSortState(){if("single"===this.dt.sortMode)this.sortOrder=this.dt.isSorted(this.field)?this.dt.sortOrder:0;else if("multiple"===this.dt.sortMode){let p=this.dt.getSortMeta(this.field);this.sortOrder=p?p.order:0}this.cd.markForCheck()}getMultiSortMetaIndex(){let p=this.dt._multiSortMeta,S=-1;if(p&&"multiple"===this.dt.sortMode&&(this.dt.showInitialSortBadge||p.length>1))for(let b=0;b<p.length;b++){let D=p[b];if(D.field===this.field||D.field===this.field){S=b;break}}return S}isMultiSorted(){return"multiple"===this.dt.sortMode&&this.getMultiSortMetaIndex()>-1}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(xt),n.Y36(n.sBO))},g.\u0275cmp=n.Xpm({type:g,selectors:[["p-sortIcon"]],inputs:{field:"field"},decls:2,vars:6,consts:[[1,"p-sortable-column-icon","pi","pi-fw",3,"ngClass"],["class","p-sortable-column-badge",4,"ngIf"],[1,"p-sortable-column-badge"]],template:function(p,S){1&p&&(n._UZ(0,"i",0),n.YNc(1,De,2,1,"span",1)),2&p&&(n.Q6J("ngClass",n.kEZ(2,$e,1===S.sortOrder,-1===S.sortOrder,0===S.sortOrder)),n.xp6(1),n.Q6J("ngIf",S.isMultiSorted()))},directives:[c.mk,c.O5],encapsulation:2,changeDetection:0}),g})(),go=(()=>{class g{constructor(p,S){this.dt=p,this.tableService=S,this.isEnabled()&&(this.subscription=this.dt.tableService.selectionSource$.subscribe(()=>{this.selected=this.dt.isSelected(this.data)}))}ngOnInit(){this.isEnabled()&&(this.selected=this.dt.isSelected(this.data))}onClick(p){this.isEnabled()&&this.dt.handleRowClick({originalEvent:p,rowData:this.data,rowIndex:this.index})}onTouchEnd(p){this.isEnabled()&&this.dt.handleRowTouchEnd(p)}onArrowDownKeyDown(p){if(!this.isEnabled())return;const b=this.findNextSelectableRow(p.currentTarget);b&&b.focus(),p.preventDefault()}onArrowUpKeyDown(p){if(!this.isEnabled())return;const b=this.findPrevSelectableRow(p.currentTarget);b&&b.focus(),p.preventDefault()}onEnterKeyDown(p){!this.isEnabled()||this.dt.handleRowClick({originalEvent:p,rowData:this.data,rowIndex:this.index})}onPageDownKeyDown(){this.dt.virtualScroll&&this.dt.virtualScrollBody.elementRef.nativeElement.focus()}onSpaceKeydown(){this.dt.virtualScroll&&!this.dt.editingCell&&this.dt.virtualScrollBody.elementRef.nativeElement.focus()}findNextSelectableRow(p){let S=p.nextElementSibling;return S?Be.p.hasClass(S,"p-selectable-row")?S:this.findNextSelectableRow(S):null}findPrevSelectableRow(p){let S=p.previousElementSibling;return S?Be.p.hasClass(S,"p-selectable-row")?S:this.findPrevSelectableRow(S):null}isEnabled(){return!0!==this.pSelectableRowDisabled}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(xt),n.Y36(ke))},g.\u0275dir=n.lG2({type:g,selectors:[["","pSelectableRow",""]],hostVars:5,hostBindings:function(p,S){1&p&&n.NdJ("click",function(D){return S.onClick(D)})("touchend",function(D){return S.onTouchEnd(D)})("keydown.arrowdown",function(D){return S.onArrowDownKeyDown(D)})("keydown.arrowup",function(D){return S.onArrowUpKeyDown(D)})("keydown.enter",function(D){return S.onEnterKeyDown(D)})("keydown.shift.enter",function(D){return S.onEnterKeyDown(D)})("keydown.meta.enter",function(D){return S.onEnterKeyDown(D)})("keydown.pagedown",function(){return S.onPageDownKeyDown()})("keydown.pageup",function(){return S.onPageDownKeyDown()})("keydown.home",function(){return S.onPageDownKeyDown()})("keydown.end",function(){return S.onPageDownKeyDown()})("keydown.space",function(){return S.onSpaceKeydown()}),2&p&&(n.uIk("tabindex",S.isEnabled()?0:void 0),n.ekj("p-selectable-row",S.isEnabled())("p-highlight",S.selected))},inputs:{data:["pSelectableRow","data"],index:["pSelectableRowIndex","index"],pSelectableRowDisabled:"pSelectableRowDisabled"}}),g})(),$o=(()=>{class g{constructor(p,S,b){this.dt=p,this.el=S,this.zone=b}ngAfterViewInit(){this.isEnabled()&&(Be.p.addClass(this.el.nativeElement,"p-resizable-column"),this.resizer=document.createElement("span"),this.resizer.className="p-column-resizer",this.el.nativeElement.appendChild(this.resizer),this.zone.runOutsideAngular(()=>{this.resizerMouseDownListener=this.onMouseDown.bind(this),this.resizer.addEventListener("mousedown",this.resizerMouseDownListener)}))}bindDocumentEvents(){this.zone.runOutsideAngular(()=>{this.documentMouseMoveListener=this.onDocumentMouseMove.bind(this),document.addEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseUpListener=this.onDocumentMouseUp.bind(this),document.addEventListener("mouseup",this.documentMouseUpListener)})}unbindDocumentEvents(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null),this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)}onMouseDown(p){1===p.which&&(this.dt.onColumnResizeBegin(p),this.bindDocumentEvents())}onDocumentMouseMove(p){this.dt.onColumnResize(p)}onDocumentMouseUp(p){this.dt.onColumnResizeEnd(),this.unbindDocumentEvents()}isEnabled(){return!0!==this.pResizableColumnDisabled}ngOnDestroy(){this.resizerMouseDownListener&&this.resizer.removeEventListener("mousedown",this.resizerMouseDownListener),this.unbindDocumentEvents()}}return g.\u0275fac=function(p){return new(p||g)(n.Y36(xt),n.Y36(n.SBq),n.Y36(n.R0b))},g.\u0275dir=n.lG2({type:g,selectors:[["","pResizableColumn",""]],inputs:{pResizableColumnDisabled:"pResizableColumnDisabled"}}),g})(),w=(()=>{class g{}return g.\u0275fac=function(p){return new(p||g)},g.\u0275mod=n.oAB({type:g}),g.\u0275inj=n.cJS({imports:[[c.ez,ie.U,se.j,be.kW,Xt.Cl,V.u5,de.hJ,ge.Qy,Me._8,Ie,st],pe.m8,Xt.Cl]}),g})()},4748:(bn,Et,J)=>{"use strict";J.d(Et,{x4:()=>ue,xf:()=>z,LU:()=>Le});var n=J(639),c=J(8583),V=J(9287),pe=J(9309),ie=J(3013),se=J(1818);function de(ve,Ie){1&ve&&n.GkF(0)}function ge(ve,Ie){if(1&ve&&(n.ynx(0),n.YNc(1,de,1,0,"ng-container",3),n.BQk()),2&ve){const be=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",be.contentTemplate)}}function we(ve,Ie){if(1&ve&&(n.TgZ(0,"div",1),n.Hsn(1),n.YNc(2,ge,2,1,"ng-container",2),n.qZA()),2&ve){const be=n.oxw();n.Q6J("hidden",!be.selected),n.uIk("id",be.id)("aria-hidden",!be.selected)("aria-labelledby",be.id+"-label"),n.xp6(2),n.Q6J("ngIf",be.contentTemplate&&(be.cache?be.loaded:be.selected))}}const re=["*"],xe=["navbar"],Pe=["inkbar"];function ut(ve,Ie){if(1&ve&&n._UZ(0,"span",16),2&ve){const be=n.oxw(3).$implicit;n.Q6J("ngClass",be.leftIcon)}}function dt(ve,Ie){if(1&ve&&n._UZ(0,"span",17),2&ve){const be=n.oxw(3).$implicit;n.Q6J("ngClass",be.rightIcon)}}function st(ve,Ie){if(1&ve&&(n.ynx(0),n.YNc(1,ut,1,1,"span",13),n.TgZ(2,"span",14),n._uU(3),n.qZA(),n.YNc(4,dt,1,1,"span",15),n.BQk()),2&ve){const be=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",be.leftIcon),n.xp6(2),n.Oqu(be.header),n.xp6(1),n.Q6J("ngIf",be.rightIcon)}}function Me(ve,Ie){1&ve&&n.GkF(0)}function Ue(ve,Ie){if(1&ve){const be=n.EpF();n.TgZ(0,"span",18),n.NdJ("click",function(bt){n.CHM(be);const We=n.oxw(2).$implicit;return n.oxw().close(bt,We)}),n.qZA()}}const Ve=function(ve,Ie){return{"p-highlight":ve,"p-disabled":Ie}};function ct(ve,Ie){if(1&ve){const be=n.EpF();n.TgZ(0,"li",8),n.TgZ(1,"a",9),n.NdJ("click",function(bt){n.CHM(be);const We=n.oxw().$implicit;return n.oxw().open(bt,We)})("keydown.enter",function(bt){n.CHM(be);const We=n.oxw().$implicit;return n.oxw().open(bt,We)}),n.YNc(2,st,5,3,"ng-container",10),n.YNc(3,Me,1,0,"ng-container",11),n.YNc(4,Ue,1,0,"span",12),n.qZA(),n.qZA()}if(2&ve){const be=n.oxw().$implicit;n.Tol(be.headerStyleClass),n.Q6J("ngClass",n.WLB(16,Ve,be.selected,be.disabled))("ngStyle",be.headerStyle),n.xp6(1),n.Q6J("pTooltip",be.tooltip)("tooltipPosition",be.tooltipPosition)("positionStyle",be.tooltipPositionStyle)("tooltipStyleClass",be.tooltipStyleClass),n.uIk("id",be.id+"-label")("aria-selected",be.selected)("aria-controls",be.id)("aria-selected",be.selected)("tabindex",be.disabled?null:"0"),n.xp6(1),n.Q6J("ngIf",!be.headerTemplate),n.xp6(1),n.Q6J("ngTemplateOutlet",be.headerTemplate),n.xp6(1),n.Q6J("ngIf",be.closable)}}function je(ve,Ie){1&ve&&n.YNc(0,ct,5,19,"li",7),2&ve&&n.Q6J("ngIf",!Ie.$implicit.closed)}let Qe=0,ue=(()=>{class ve{constructor(be,Be,bt){this.viewContainer=Be,this.cd=bt,this.cache=!0,this.tooltipPosition="top",this.tooltipPositionStyle="absolute",this.id="p-tabpanel-"+Qe++,this.tabView=be}ngAfterContentInit(){this.templates.forEach(be=>{switch(be.getType()){case"header":this.headerTemplate=be.template;break;case"content":default:this.contentTemplate=be.template}})}get selected(){return this._selected}set selected(be){this._selected=be,this.loaded||this.cd.detectChanges(),be&&(this.loaded=!0)}get disabled(){return this._disabled}set disabled(be){this._disabled=be,this.tabView.cd.markForCheck()}get header(){return this._header}set header(be){this._header=be,this.tabView.cd.markForCheck()}get leftIcon(){return this._leftIcon}set leftIcon(be){this._leftIcon=be,this.tabView.cd.markForCheck()}get rightIcon(){return this._rightIcon}set rightIcon(be){this._rightIcon=be,this.tabView.cd.markForCheck()}ngOnDestroy(){this.view=null}}return ve.\u0275fac=function(be){return new(be||ve)(n.Y36((0,n.Gpc)(()=>z)),n.Y36(n.s_b),n.Y36(n.sBO))},ve.\u0275cmp=n.Xpm({type:ve,selectors:[["p-tabPanel"]],contentQueries:function(be,Be,bt){if(1&be&&n.Suo(bt,ie.jx,4),2&be){let We;n.iGM(We=n.CRH())&&(Be.templates=We)}},inputs:{closable:"closable",headerStyle:"headerStyle",headerStyleClass:"headerStyleClass",cache:"cache",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",selected:"selected",disabled:"disabled",header:"header",leftIcon:"leftIcon",rightIcon:"rightIcon"},ngContentSelectors:re,decls:1,vars:1,consts:[["class","p-tabview-panel","role","tabpanel",3,"hidden",4,"ngIf"],["role","tabpanel",1,"p-tabview-panel",3,"hidden"],[4,"ngIf"],[4,"ngTemplateOutlet"]],template:function(be,Be){1&be&&(n.F$t(),n.YNc(0,we,3,5,"div",0)),2&be&&n.Q6J("ngIf",!Be.closed)},directives:[c.O5,c.tP],encapsulation:2}),ve})(),z=(()=>{class ve{constructor(be,Be){this.el=be,this.cd=Be,this.orientation="top",this.onChange=new n.vpe,this.onClose=new n.vpe,this.activeIndexChange=new n.vpe}ngAfterContentInit(){this.initTabs(),this.tabPanels.changes.subscribe(be=>{this.initTabs()})}ngAfterViewChecked(){this.tabChanged&&(this.updateInkBar(),this.tabChanged=!1)}initTabs(){this.tabs=this.tabPanels.toArray(),!this.findSelectedTab()&&this.tabs.length&&(null!=this.activeIndex&&this.tabs.length>this.activeIndex?this.tabs[this.activeIndex].selected=!0:this.tabs[0].selected=!0,this.tabChanged=!0),this.cd.markForCheck()}open(be,Be){if(Be.disabled)be&&be.preventDefault();else{if(!Be.selected){let bt=this.findSelectedTab();bt&&(bt.selected=!1),this.tabChanged=!0,Be.selected=!0;let We=this.findTabIndex(Be);this.preventActiveIndexPropagation=!0,this.activeIndexChange.emit(We),this.onChange.emit({originalEvent:be,index:We})}be&&be.preventDefault()}}close(be,Be){this.controlClose?this.onClose.emit({originalEvent:be,index:this.findTabIndex(Be),close:()=>{this.closeTab(Be)}}):(this.closeTab(Be),this.onClose.emit({originalEvent:be,index:this.findTabIndex(Be)})),be.stopPropagation()}closeTab(be){if(!be.disabled){if(be.selected){this.tabChanged=!0,be.selected=!1;for(let Be=0;Be<this.tabs.length;Be++){let bt=this.tabs[Be];if(!bt.closed&&!be.disabled){bt.selected=!0;break}}}be.closed=!0}}findSelectedTab(){for(let be=0;be<this.tabs.length;be++)if(this.tabs[be].selected)return this.tabs[be];return null}findTabIndex(be){let Be=-1;for(let bt=0;bt<this.tabs.length;bt++)if(this.tabs[bt]==be){Be=bt;break}return Be}getBlockableElement(){return this.el.nativeElement.children[0]}get activeIndex(){return this._activeIndex}set activeIndex(be){this._activeIndex=be,this.preventActiveIndexPropagation?this.preventActiveIndexPropagation=!1:this.tabs&&this.tabs.length&&null!=this._activeIndex&&this.tabs.length>this._activeIndex&&(this.findSelectedTab().selected=!1,this.tabs[this._activeIndex].selected=!0,this.tabChanged=!0)}updateInkBar(){let be=se.p.findSingle(this.navbar.nativeElement,"li.p-highlight");this.inkbar.nativeElement.style.width=se.p.getWidth(be)+"px",this.inkbar.nativeElement.style.left=se.p.getOffset(be).left-se.p.getOffset(this.navbar.nativeElement).left+"px"}}return ve.\u0275fac=function(be){return new(be||ve)(n.Y36(n.SBq),n.Y36(n.sBO))},ve.\u0275cmp=n.Xpm({type:ve,selectors:[["p-tabView"]],contentQueries:function(be,Be,bt){if(1&be&&n.Suo(bt,ue,4),2&be){let We;n.iGM(We=n.CRH())&&(Be.tabPanels=We)}},viewQuery:function(be,Be){if(1&be&&(n.Gf(xe,5),n.Gf(Pe,5)),2&be){let bt;n.iGM(bt=n.CRH())&&(Be.navbar=bt.first),n.iGM(bt=n.CRH())&&(Be.inkbar=bt.first)}},inputs:{orientation:"orientation",style:"style",styleClass:"styleClass",controlClose:"controlClose",activeIndex:"activeIndex"},outputs:{onChange:"onChange",onClose:"onClose",activeIndexChange:"activeIndexChange"},ngContentSelectors:re,decls:8,vars:5,consts:[[3,"ngClass","ngStyle"],["role","tablist",1,"p-tabview-nav"],["navbar",""],["ngFor","",3,"ngForOf"],[1,"p-tabview-ink-bar"],["inkbar",""],[1,"p-tabview-panels"],["role","presentation",3,"ngClass","ngStyle","class",4,"ngIf"],["role","presentation",3,"ngClass","ngStyle"],["role","tab","pRipple","",1,"p-tabview-nav-link",3,"pTooltip","tooltipPosition","positionStyle","tooltipStyleClass","click","keydown.enter"],[4,"ngIf"],[4,"ngTemplateOutlet"],["class","p-tabview-close pi pi-times",3,"click",4,"ngIf"],["class","p-tabview-left-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-title"],["class","p-tabview-right-icon",3,"ngClass",4,"ngIf"],[1,"p-tabview-left-icon",3,"ngClass"],[1,"p-tabview-right-icon",3,"ngClass"],[1,"p-tabview-close","pi","pi-times",3,"click"]],template:function(be,Be){1&be&&(n.F$t(),n.TgZ(0,"div",0),n.TgZ(1,"ul",1,2),n.YNc(3,je,1,1,"ng-template",3),n._UZ(4,"li",4,5),n.qZA(),n.TgZ(6,"div",6),n.Hsn(7),n.qZA(),n.qZA()),2&be&&(n.Tol(Be.styleClass),n.Q6J("ngClass","p-tabview p-component")("ngStyle",Be.style),n.xp6(3),n.Q6J("ngForOf",Be.tabs))},directives:[c.mk,c.PC,c.sg,c.O5,pe.H,V.u,c.tP],styles:[".p-tabview-nav{display:flex;margin:0;padding:0;list-style-type:none;flex-wrap:wrap}.p-tabview-nav-link{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center;position:relative;text-decoration:none;overflow:hidden}.p-tabview-ink-bar{display:none;z-index:1}.p-tabview-nav-link:focus{z-index:1}.p-tabview-title{line-height:1}.p-tabview-close{z-index:1}"],encapsulation:2,changeDetection:0}),ve})(),Le=(()=>{class ve{}return ve.\u0275fac=function(be){return new(be||ve)},ve.\u0275mod=n.oAB({type:ve}),ve.\u0275inj=n.cJS({imports:[[c.ez,ie.m8,V.z,pe.T],ie.m8]}),ve})()},9287:(bn,Et,J)=>{"use strict";J.d(Et,{u:()=>se,z:()=>de});var n=J(639),c=J(8583),V=J(1818),pe=J(6988),ie=J(3013);let se=(()=>{class ge{constructor(re,xe,Pe){this.el=re,this.zone=xe,this.config=Pe,this.escape=!0,this._tooltipOptions={tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",tooltipZIndex:"auto",escape:!1,positionTop:0,positionLeft:0}}get disabled(){return this._disabled}set disabled(re){this._disabled=re,this.deactivate()}ngAfterViewInit(){this.zone.runOutsideAngular(()=>{"hover"===this.getOption("tooltipEvent")?(this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.addEventListener("click",this.clickListener)):"focus"===this.getOption("tooltipEvent")&&(this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this),this.el.nativeElement.addEventListener("focus",this.focusListener),this.el.nativeElement.addEventListener("blur",this.blurListener))})}ngOnChanges(re){re.tooltipPosition&&this.setOption({tooltipPosition:re.tooltipPosition.currentValue}),re.tooltipEvent&&this.setOption({tooltipEvent:re.tooltipEvent.currentValue}),re.appendTo&&this.setOption({appendTo:re.appendTo.currentValue}),re.positionStyle&&this.setOption({positionStyle:re.positionStyle.currentValue}),re.tooltipStyleClass&&this.setOption({tooltipStyleClass:re.tooltipStyleClass.currentValue}),re.tooltipZIndex&&this.setOption({tooltipZIndex:re.tooltipZIndex.currentValue}),re.escape&&this.setOption({escape:re.escape.currentValue}),re.showDelay&&this.setOption({showDelay:re.showDelay.currentValue}),re.hideDelay&&this.setOption({showDelay:re.hideDelay.currentValue}),re.life&&this.setOption({life:re.life.currentValue}),re.positionTop&&this.setOption({positionTop:re.positionTop.currentValue}),re.positionLeft&&this.setOption({positionLeft:re.positionLeft.currentValue}),re.disabled&&this.setOption({disabled:re.disabled.currentValue}),re.text&&(this.setOption({tooltipLabel:re.text.currentValue}),this.active&&(re.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),re.tooltipOptions&&(this._tooltipOptions=Object.assign(Object.assign({},this._tooltipOptions),re.tooltipOptions.currentValue),this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}onMouseEnter(re){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(re){this.deactivate()}onFocus(re){this.activate()}onBlur(re){this.deactivate()}onClick(re){this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let re=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},re)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");let re=document.createElement("div");re.className="p-tooltip-arrow",this.container.appendChild(re),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?V.p.appendChild(this.container,this.el.nativeElement):V.p.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block"}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),V.p.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?pe.P9.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&pe.P9.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let re=this.el.nativeElement.getBoundingClientRect();return{left:re.left+V.p.getWindowScrollLeft(),top:re.top+V.p.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let re=this.getHostOffset(),xe=re.left+V.p.getOuterWidth(this.el.nativeElement),Pe=re.top+(V.p.getOuterHeight(this.el.nativeElement)-V.p.getOuterHeight(this.container))/2;this.container.style.left=xe+this.getOption("positionLeft")+"px",this.container.style.top=Pe+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let re=this.getHostOffset(),xe=re.left-V.p.getOuterWidth(this.container),Pe=re.top+(V.p.getOuterHeight(this.el.nativeElement)-V.p.getOuterHeight(this.container))/2;this.container.style.left=xe+this.getOption("positionLeft")+"px",this.container.style.top=Pe+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let re=this.getHostOffset(),xe=re.left+(V.p.getOuterWidth(this.el.nativeElement)-V.p.getOuterWidth(this.container))/2,Pe=re.top-V.p.getOuterHeight(this.container);this.container.style.left=xe+this.getOption("positionLeft")+"px",this.container.style.top=Pe+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let re=this.getHostOffset(),xe=re.left+(V.p.getOuterWidth(this.el.nativeElement)-V.p.getOuterWidth(this.container))/2,Pe=re.top+V.p.getOuterHeight(this.el.nativeElement);this.container.style.left=xe+this.getOption("positionLeft")+"px",this.container.style.top=Pe+this.getOption("positionTop")+"px"}setOption(re){this._tooltipOptions=Object.assign(Object.assign({},this._tooltipOptions),re)}getOption(re){return this._tooltipOptions[re]}preAlign(re){this.container.style.left="-999px",this.container.style.top="-999px";let xe="p-tooltip p-component p-tooltip-"+re;this.container.className=this.getOption("tooltipStyleClass")?xe+" "+this.getOption("tooltipStyleClass"):xe}isOutOfBounds(){let re=this.container.getBoundingClientRect(),xe=re.top,Pe=re.left,ut=V.p.getOuterWidth(this.container),dt=V.p.getOuterHeight(this.container),st=V.p.getViewport();return Pe+ut>st.width||Pe<0||xe<0||xe+dt>st.height}onWindowResize(re){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new V.V(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){"hover"===this.getOption("tooltipEvent")?(this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener)):"focus"===this.getOption("tooltipEvent")&&(this.el.nativeElement.removeEventListener("focus",this.focusListener),this.el.nativeElement.removeEventListener("blur",this.blurListener)),this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):V.p.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&pe.P9.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}return ge.\u0275fac=function(re){return new(re||ge)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(ie.b4))},ge.\u0275dir=n.lG2({type:ge,selectors:[["","pTooltip",""]],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",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[n.TTD]}),ge})(),de=(()=>{class ge{}return ge.\u0275fac=function(re){return new(re||ge)},ge.\u0275mod=n.oAB({type:ge}),ge.\u0275inj=n.cJS({imports:[[c.ez]]}),ge})()},9364:(bn,Et,J)=>{"use strict";J.d(Et,{Pe:()=>Fi,SK:()=>li,iw:()=>Di,dp:()=>fo,gc:()=>vo});var n=J(639),c=J(8583),V=J(9765),pe=J(1818),ie=J(6639),se=J(3013),de=J(6988),ge=J(9309),we=J(5604);const re=["container"],xe=["resizeHelper"],Pe=["reorderIndicatorUp"],ut=["reorderIndicatorDown"],dt=["table"],st=["scrollableView"],Me=["scrollableFrozenView"];function Ue(nt,Ot){if(1&nt&&(n.TgZ(0,"div",12),n.TgZ(1,"div",13),n._UZ(2,"i"),n.qZA(),n.qZA()),2&nt){const $=n.oxw();n.xp6(2),n.Tol("p-treetable-loading-icon pi-spin "+$.loadingIcon)}}function Ve(nt,Ot){1&nt&&n.GkF(0)}function ct(nt,Ot){if(1&nt&&(n.TgZ(0,"div",14),n.YNc(1,Ve,1,0,"ng-container",15),n.qZA()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",$.captionTemplate)}}function je(nt,Ot){if(1&nt){const $=n.EpF();n.TgZ(0,"p-paginator",16),n.NdJ("onPageChange",function($e){return n.CHM($),n.oxw().onPageChange($e)}),n.qZA()}if(2&nt){const $=n.oxw();n.Q6J("rows",$.rows)("first",$.first)("totalRecords",$.totalRecords)("pageLinkSize",$.pageLinks)("alwaysShow",$.alwaysShowPaginator)("rowsPerPageOptions",$.rowsPerPageOptions)("templateLeft",$.paginatorLeftTemplate)("templateRight",$.paginatorRightTemplate)("dropdownAppendTo",$.paginatorDropdownAppendTo)("currentPageReportTemplate",$.currentPageReportTemplate)("showFirstLastIcon",$.showFirstLastIcon)("dropdownItemTemplate",$.paginatorDropdownItemTemplate)("showCurrentPageReport",$.showCurrentPageReport)("showJumpToPageDropdown",$.showJumpToPageDropdown)("showPageLinks",$.showPageLinks)}}function Qe(nt,Ot){1&nt&&n.GkF(0)}function ue(nt,Ot){1&nt&&n.GkF(0)}function z(nt,Ot){1&nt&&n.GkF(0)}const Le=function(nt){return{$implicit:nt}};function ve(nt,Ot){if(1&nt&&(n.TgZ(0,"div",17),n.TgZ(1,"table",18,19),n.YNc(3,Qe,1,0,"ng-container",20),n.TgZ(4,"thead",21),n.YNc(5,ue,1,0,"ng-container",20),n.qZA(),n._UZ(6,"tbody",22),n.TgZ(7,"tfoot",23),n.YNc(8,z,1,0,"ng-container",20),n.qZA(),n.qZA(),n.qZA()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngClass",$.tableStyleClass)("ngStyle",$.tableStyle),n.xp6(2),n.Q6J("ngTemplateOutlet",$.colGroupTemplate)("ngTemplateOutletContext",n.VKq(10,Le,$.columns)),n.xp6(2),n.Q6J("ngTemplateOutlet",$.headerTemplate)("ngTemplateOutletContext",n.VKq(12,Le,$.columns)),n.xp6(1),n.Q6J("pTreeTableBody",$.columns)("pTreeTableBodyTemplate",$.bodyTemplate),n.xp6(2),n.Q6J("ngTemplateOutlet",$.footerTemplate)("ngTemplateOutletContext",n.VKq(14,Le,$.columns))}}const Ie=function(nt){return{width:nt}};function be(nt,Ot){if(1&nt&&n._UZ(0,"div",28,29),2&nt){const $=n.oxw(2);n.Q6J("ttScrollableView",$.frozenColumns)("frozen",!0)("ngStyle",n.VKq(4,Ie,$.frozenWidth))("scrollHeight",$.scrollHeight)}}const Be=function(nt,Ot){return{left:nt,width:Ot}};function bt(nt,Ot){if(1&nt&&(n.TgZ(0,"div",24),n.YNc(1,be,2,6,"div",25),n._UZ(2,"div",26,27),n.qZA()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngIf",$.frozenColumns||$.frozenBodyTemplate),n.xp6(1),n.Q6J("ttScrollableView",$.columns)("frozen",!1)("scrollHeight",$.scrollHeight)("ngStyle",n.WLB(5,Be,$.frozenWidth,"calc(100% - "+$.frozenWidth+")"))}}function We(nt,Ot){if(1&nt){const $=n.EpF();n.TgZ(0,"p-paginator",30),n.NdJ("onPageChange",function($e){return n.CHM($),n.oxw().onPageChange($e)}),n.qZA()}if(2&nt){const $=n.oxw();n.Q6J("rows",$.rows)("first",$.first)("totalRecords",$.totalRecords)("pageLinkSize",$.pageLinks)("alwaysShow",$.alwaysShowPaginator)("rowsPerPageOptions",$.rowsPerPageOptions)("templateLeft",$.paginatorLeftTemplate)("templateRight",$.paginatorRightTemplate)("dropdownAppendTo",$.paginatorDropdownAppendTo)("currentPageReportTemplate",$.currentPageReportTemplate)("showFirstLastIcon",$.showFirstLastIcon)("dropdownItemTemplate",$.paginatorDropdownItemTemplate)("showCurrentPageReport",$.showCurrentPageReport)("showJumpToPageDropdown",$.showJumpToPageDropdown)("showPageLinks",$.showPageLinks)}}function Xt(nt,Ot){1&nt&&n.GkF(0)}function Nt(nt,Ot){if(1&nt&&(n.TgZ(0,"div",31),n.YNc(1,Xt,1,0,"ng-container",15),n.qZA()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",$.summaryTemplate)}}function Ut(nt,Ot){1&nt&&n._UZ(0,"div",32,33)}function zn(nt,Ot){1&nt&&n._UZ(0,"span",34,35)}function kt(nt,Ot){1&nt&&n._UZ(0,"span",36,37)}const _n=function(nt,Ot,$,De,$e){return{"p-treetable p-component":!0,"p-treetable-hoverable-rows":nt,"p-treetable-auto-layout":Ot,"p-treetable-resizable":$,"p-treetable-resizable-fit":De,"p-treetable-flex-scrollable":$e}},Ht=["pTreeTableBody",""];function sn(nt,Ot){1&nt&&n.GkF(0)}const tt=function(nt,Ot,$,De){return{$implicit:nt,node:Ot,rowData:$,columns:De}};function at(nt,Ot){if(1&nt&&(n.ynx(0),n.YNc(1,sn,1,0,"ng-container",2),n.BQk()),2&nt){const $=n.oxw().$implicit,De=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",De.template)("ngTemplateOutletContext",n.l5B(2,tt,$,$.node,$.node.data,De.columns))}}function Tt(nt,Ot){1&nt&&n.YNc(0,at,2,7,"ng-container",0),2&nt&&n.Q6J("ngIf",Ot.$implicit.visible)}function et(nt,Ot){if(1&nt&&(n.ynx(0),n.YNc(1,Tt,1,1,"ng-template",1),n.BQk()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngForOf",$.tt.serializedValue)("ngForTrackBy",$.tt.rowTrackBy)}}function mt(nt,Ot){1&nt&&n.GkF(0)}function on(nt,Ot){if(1&nt&&(n.ynx(0),n.YNc(1,mt,1,0,"ng-container",2),n.BQk()),2&nt){const $=n.oxw().$implicit,De=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",De.template)("ngTemplateOutletContext",n.l5B(2,tt,$,$.node,$.node.data,De.columns))}}function un(nt,Ot){1&nt&&n.YNc(0,on,2,7,"ng-container",0),2&nt&&n.Q6J("ngIf",Ot.$implicit.visible)}function cn(nt,Ot){if(1&nt&&(n.ynx(0),n.YNc(1,un,1,1,"ng-template",3),n.BQk()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("cdkVirtualForOf",$.tt.serializedValue)("cdkVirtualForTrackBy",$.tt.rowTrackBy)("cdkVirtualForTemplateCacheSize",0)}}function Rn(nt,Ot){1&nt&&n.GkF(0)}const vi=function(nt,Ot){return{$implicit:nt,frozen:Ot}};function Ci(nt,Ot){if(1&nt&&(n.ynx(0),n.YNc(1,Rn,1,0,"ng-container",2),n.BQk()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngTemplateOutlet",$.tt.emptyMessageTemplate)("ngTemplateOutletContext",n.WLB(2,vi,$.columns,$.frozen))}}const Pn=["scrollHeader"],Qn=["scrollHeaderBox"],ai=["scrollBody"],dn=["scrollTable"],Mn=["loadingTable"],si=["scrollFooter"],io=["scrollFooterBox"],Qi=["scrollableAligner"],Pt=["ttScrollableView",""];function Je(nt,Ot){1&nt&&n.GkF(0)}function me(nt,Ot){1&nt&&n.GkF(0)}function Se(nt,Ot){1&nt&&n.GkF(0)}function W(nt,Ot){1&nt&&n._UZ(0,"div",16,17)}const F=function(nt,Ot){return{"max-height":nt,"overflow-y":Ot}};function U(nt,Ot){if(1&nt&&(n.ynx(0),n.TgZ(1,"div",10,11),n.TgZ(3,"table",12,13),n.YNc(5,Se,1,0,"ng-container",5),n._UZ(6,"tbody",14),n.qZA(),n.YNc(7,W,2,0,"div",15),n.qZA(),n.BQk()),2&nt){const $=n.oxw();n.xp6(1),n.Q6J("ngStyle",n.WLB(10,F,"flex"!==$.tt.scrollHeight?$.scrollHeight:void 0,!$.frozen&&$.tt.scrollHeight?"scroll":void 0)),n.xp6(2),n.Tol($.tt.tableStyleClass),n.Q6J("ngStyle",$.tt.tableStyle),n.xp6(2),n.Q6J("ngTemplateOutlet",$.frozen&&$.tt.frozenColGroupTemplate||$.tt.colGroupTemplate)("ngTemplateOutletContext",n.VKq(13,Le,$.columns)),n.xp6(1),n.Q6J("pTreeTableBody",$.columns)("pTreeTableBodyTemplate",$.frozen&&$.tt.frozenBodyTemplate||$.tt.bodyTemplate)("frozen",$.frozen),n.xp6(1),n.Q6J("ngIf",$.frozen)}}function X(nt,Ot){1&nt&&n.GkF(0)}function He(nt,Ot){1&nt&&n._UZ(0,"div",16,17)}function Qt(nt,Ot){if(1&nt&&(n.TgZ(0,"cdk-virtual-scroll-viewport",18),n.TgZ(1,"table",12,13),n.YNc(3,X,1,0,"ng-container",5),n._UZ(4,"tbody",14),n.qZA(),n.YNc(5,He,2,0,"div",15),n.qZA()),2&nt){const $=n.oxw();n.Udp("height","flex"!==$.tt.scrollHeight?$.scrollHeight:void 0),n.Q6J("itemSize",$.tt.virtualRowHeight)("minBufferPx",$.tt.minBufferPx)("maxBufferPx",$.tt.maxBufferPx),n.xp6(1),n.Tol($.tt.tableStyleClass),n.Q6J("ngStyle",$.tt.tableStyle),n.xp6(2),n.Q6J("ngTemplateOutlet",$.frozen&&$.tt.frozenColGroupTemplate||$.tt.colGroupTemplate)("ngTemplateOutletContext",n.VKq(14,Le,$.columns)),n.xp6(1),n.Q6J("pTreeTableBody",$.columns)("pTreeTableBodyTemplate",$.frozen&&$.tt.frozenBodyTemplate||$.tt.bodyTemplate)("frozen",$.frozen),n.xp6(1),n.Q6J("ngIf",$.frozen)}}function Wt(nt,Ot){1&nt&&n.GkF(0)}function Ze(nt,Ot){1&nt&&n.GkF(0)}function jt(nt,Ot){if(1&nt&&(n.TgZ(0,"div",19,20),n.TgZ(2,"div",21,22),n.TgZ(4,"table",23),n.YNc(5,Wt,1,0,"ng-container",5),n.TgZ(6,"tfoot",24),n.YNc(7,Ze,1,0,"ng-container",5),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&nt){const $=n.oxw();n.xp6(4),n.Q6J("ngClass",$.tt.tableStyleClass)("ngStyle",$.tt.tableStyle),n.xp6(1),n.Q6J("ngTemplateOutlet",$.frozen&&$.tt.frozenColGroupTemplate||$.tt.colGroupTemplate)("ngTemplateOutletContext",n.VKq(6,Le,$.columns)),n.xp6(2),n.Q6J("ngTemplateOutlet",$.frozen&&$.tt.frozenFooterTemplate||$.tt.footerTemplate)("ngTemplateOutletContext",n.VKq(8,Le,$.columns))}}const Fe=["box"],Lt=function(nt,Ot,$){return{"p-checkbox-box":!0,"p-highlight":nt,"p-indeterminate":Ot,"p-disabled":$}},At=function(nt,Ot){return{"pi-check":nt,"pi-minus":Ot}},mn=function(nt,Ot){return{"p-checkbox-box":!0,"p-highlight":nt,"p-disabled":Ot}},In=function(nt){return{"pi pi-check":nt}};let an=(()=>{class nt{constructor(){this.sortSource=new V.xQ,this.selectionSource=new V.xQ,this.contextMenuSource=new V.xQ,this.uiUpdateSource=new V.xQ,this.totalRecordsSource=new V.xQ,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.uiUpdateSource$=this.uiUpdateSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable()}onSort($){this.sortSource.next($)}onSelectionChange(){this.selectionSource.next()}onContextMenu($){this.contextMenuSource.next($)}onUIUpdate($){this.uiUpdateSource.next($)}onTotalRecordsChange($){this.totalRecordsSource.next($)}}return nt.\u0275fac=function($){return new($||nt)},nt.\u0275prov=n.Yz7({token:nt,factory:nt.\u0275fac}),nt})(),Di=(()=>{class nt{constructor($,De,$e,Vt){this.el=$,this.zone=De,this.tableService=$e,this.filterService=Vt,this.lazy=!1,this.lazyLoadOnInit=!0,this.first=0,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.showPageLinks=!0,this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectionChange=new n.vpe,this.contextMenuSelectionChange=new n.vpe,this.contextMenuSelectionMode="separate",this.compareSelectionBy="deepEquals",this.loadingIcon="pi pi-spinner",this.showLoader=!0,this.virtualScrollDelay=150,this.virtualRowHeight=28,this.columnResizeMode="fit",this.rowTrackBy=(Bt,St)=>St,this.filters={},this.filterDelay=300,this.filterMode="lenient",this.onFilter=new n.vpe,this.onNodeExpand=new n.vpe,this.onNodeCollapse=new n.vpe,this.onPage=new n.vpe,this.onSort=new n.vpe,this.onLazyLoad=new n.vpe,this.sortFunction=new n.vpe,this.onColResize=new n.vpe,this.onColReorder=new n.vpe,this.onNodeSelect=new n.vpe,this.onNodeUnselect=new n.vpe,this.onContextMenuSelect=new n.vpe,this.onHeaderCheckboxToggle=new n.vpe,this.onEditInit=new n.vpe,this.onEditComplete=new n.vpe,this.onEditCancel=new n.vpe,this._value=[],this._totalRecords=0,this._sortOrder=1,this.selectionKeys={}}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.initialized=!0}ngAfterContentInit(){this.templates.forEach($=>{switch($.getType()){case"caption":this.captionTemplate=$.template;break;case"header":this.headerTemplate=$.template;break;case"body":this.bodyTemplate=$.template;break;case"loadingbody":this.loadingBodyTemplate=$.template;break;case"footer":this.footerTemplate=$.template;break;case"summary":this.summaryTemplate=$.template;break;case"colgroup":this.colGroupTemplate=$.template;break;case"emptymessage":this.emptyMessageTemplate=$.template;break;case"paginatorleft":this.paginatorLeftTemplate=$.template;break;case"paginatorright":this.paginatorRightTemplate=$.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=$.template;break;case"frozenheader":this.frozenHeaderTemplate=$.template;break;case"frozenbody":this.frozenBodyTemplate=$.template;break;case"frozenfooter":this.frozenFooterTemplate=$.template;break;case"frozencolgroup":this.frozenColGroupTemplate=$.template}})}ngOnChanges($){$.value&&(this._value=$.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&this.sortField?this.sortSingle():"multiple"==this.sortMode&&this.multiSortMeta?this.sortMultiple():this.hasFilter()&&this._filter()),this.updateSerializedValue(),this.tableService.onUIUpdate(this.value)),$.sortField&&(this._sortField=$.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),$.sortOrder&&(this._sortOrder=$.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),$.multiSortMeta&&(this._multiSortMeta=$.multiSortMeta.currentValue,"multiple"===this.sortMode&&this.sortMultiple()),$.selection&&(this._selection=$.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1)}get value(){return this._value}set value($){this._value=$}updateSerializedValue(){this.serializedValue=[],this.paginator?this.serializePageNodes():this.serializeNodes(null,this.filteredNodes||this.value,0,!0)}serializeNodes($,De,$e,Vt){if(De&&De.length)for(let Bt of De){Bt.parent=$;const St={node:Bt,parent:$,level:$e,visible:Vt&&(!$||$.expanded)};this.serializedValue.push(St),St.visible&&Bt.expanded&&this.serializeNodes(Bt,Bt.children,$e+1,St.visible)}}serializePageNodes(){let $=this.filteredNodes||this.value;if(this.serializedValue=[],$&&$.length){const De=this.lazy?0:this.first;for(let $e=De;$e<De+this.rows;$e++){let Vt=$[$e];Vt&&(this.serializedValue.push({node:Vt,parent:null,level:0,visible:!0}),this.serializeNodes(Vt,Vt.children,1,!0))}}}get totalRecords(){return this._totalRecords}set totalRecords($){this._totalRecords=$,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField($){this._sortField=$}get sortOrder(){return this._sortOrder}set sortOrder($){this._sortOrder=$}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta($){this._multiSortMeta=$}get selection(){return this._selection}set selection($){this._selection=$}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let $ of this._selection)this.selectionKeys[String(de.gb.resolveFieldData($.data,this.dataKey))]=1;else this.selectionKeys[String(de.gb.resolveFieldData(this._selection.data,this.dataKey))]=1}onPageChange($){this.first=$.first,this.rows=$.rows,this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.serializePageNodes(),this.onPage.emit({first:this.first,rows:this.rows}),this.tableService.onUIUpdate(this.value),this.scrollable&&this.resetScrollTop()}sort($){let De=$.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===$.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=$.field,this.sortSingle(),this.resetPageOnSort&&this.scrollable&&this.resetScrollTop()),"multiple"===this.sortMode){let $e=De.metaKey||De.ctrlKey,Vt=this.getSortMeta($.field);Vt?$e?Vt.order=-1*Vt.order:(this._multiSortMeta=[{field:$.field,order:-1*Vt.order}],this.resetPageOnSort&&this.scrollable&&this.resetScrollTop()):((!$e||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&this.scrollable&&this.resetScrollTop()),this.multiSortMeta.push({field:$.field,order:this.defaultSortOrder})),this.sortMultiple()}}sortSingle(){if(this.sortField&&this.sortOrder){this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.sortNodes(this.value),this.hasFilter()&&this._filter());let $={field:this.sortField,order:this.sortOrder};this.onSort.emit($),this.tableService.onSort($),this.updateSerializedValue()}}sortNodes($){if($&&0!==$.length){this.customSort?this.sortFunction.emit({data:$,mode:this.sortMode,field:this.sortField,order:this.sortOrder}):$.sort((De,$e)=>{let Vt=de.gb.resolveFieldData(De.data,this.sortField),Bt=de.gb.resolveFieldData($e.data,this.sortField),St=null;return St=null==Vt&&null!=Bt?-1:null!=Vt&&null==Bt?1:null==Vt&&null==Bt?0:"string"==typeof Vt&&"string"==typeof Bt?Vt.localeCompare(Bt,void 0,{numeric:!0}):Vt<Bt?-1:Vt>Bt?1:0,this.sortOrder*St});for(let De of $)this.sortNodes(De.children)}}sortMultiple(){this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.sortMultipleNodes(this.value),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.updateSerializedValue(),this.tableService.onSort(this.multiSortMeta))}sortMultipleNodes($){if($&&0!==$.length){this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):$.sort((De,$e)=>this.multisortField(De,$e,this.multiSortMeta,0));for(let De of $)this.sortMultipleNodes(De.children)}}multisortField($,De,$e,Vt){let Bt=de.gb.resolveFieldData($.data,$e[Vt].field),St=de.gb.resolveFieldData(De.data,$e[Vt].field),en=null;if(null==Bt&&null!=St?en=-1:null!=Bt&&null==St?en=1:null==Bt&&null==St&&(en=0),"string"==typeof Bt||Bt instanceof String){if(Bt.localeCompare&&Bt!=St)return $e[Vt].order*Bt.localeCompare(St,void 0,{numeric:!0})}else en=Bt<St?-1:1;return Bt==St?$e.length-1>Vt?this.multisortField($,De,$e,Vt+1):0:$e[Vt].order*en}getSortMeta($){if(this.multiSortMeta&&this.multiSortMeta.length)for(let De=0;De<this.multiSortMeta.length;De++)if(this.multiSortMeta[De].field===$)return this.multiSortMeta[De];return null}isSorted($){if("single"===this.sortMode)return this.sortField&&this.sortField===$;if("multiple"===this.sortMode){let De=!1;if(this.multiSortMeta)for(let $e=0;$e<this.multiSortMeta.length;$e++)if(this.multiSortMeta[$e].field==$){De=!0;break}return De}}createLazyLoadMetadata(){return{first:this.first,rows:this.rows,sortField:this.sortField,sortOrder:this.sortOrder,filters:this.filters,globalFilter:this.filters&&this.filters.global?this.filters.global.value:null,multiSortMeta:this.multiSortMeta}}resetScrollTop(){this.virtualScroll?this.scrollToVirtualIndex(0):this.scrollTo({top:0})}scrollToVirtualIndex($){this.scrollableViewChild&&this.scrollableViewChild.scrollToVirtualIndex($),this.scrollableFrozenViewChild&&this.scrollableFrozenViewChild.scrollToVirtualIndex($)}scrollTo($){this.scrollableViewChild&&this.scrollableViewChild.scrollTo($),this.scrollableFrozenViewChild&&this.scrollableFrozenViewChild.scrollTo($)}isEmpty(){let $=this.filteredNodes||this.value;return null==$||0==$.length}getBlockableElement(){return this.el.nativeElement.children[0]}onColumnResizeBegin($){let De=pe.p.getOffset(this.containerViewChild.nativeElement).left;this.lastResizerHelperX=$.pageX-De+this.containerViewChild.nativeElement.scrollLeft,$.preventDefault()}onColumnResize($){let De=pe.p.getOffset(this.containerViewChild.nativeElement).left;pe.p.addClass(this.containerViewChild.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=$.pageX-De+this.containerViewChild.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd($,De){let $e=this.resizeHelperViewChild.nativeElement.offsetLeft-this.lastResizerHelperX,Vt=De.offsetWidth,Bt=Vt+$e;if(Vt+$e>parseInt(De.style.minWidth||15)){if("fit"===this.columnResizeMode){let en=De.nextElementSibling;for(;!en.offsetParent;)en=en.nextElementSibling;if(en){let An=en.offsetWidth-$e,it=en.style.minWidth||15;if(Bt>15&&An>parseInt(it))if(this.scrollable){let Ye=this.findParentScrollableView(De),Oe=pe.p.findSingle(Ye,".p-treetable-scrollable-body table")||pe.p.findSingle(Ye,".p-treetable-virtual-scrollable-body table"),ht=pe.p.findSingle(Ye,"table.p-treetable-scrollable-header-table"),Ct=pe.p.findSingle(Ye,"table.p-treetable-scrollable-footer-table"),pn=pe.p.index(De);this.resizeColGroup(ht,pn,Bt,An),this.resizeColGroup(Oe,pn,Bt,An),this.resizeColGroup(Ct,pn,Bt,An)}else De.style.width=Bt+"px",en&&(en.style.width=An+"px")}}else if("expand"===this.columnResizeMode)if(this.scrollable){let en=this.findParentScrollableView(De),An=pe.p.findSingle(en,".p-treetable-scrollable-body")||pe.p.findSingle(en,"cdk-virtual-scroll-viewport"),it=pe.p.findSingle(en,".p-treetable-scrollable-header"),Ye=pe.p.findSingle(en,".p-treetable-scrollable-footer"),Oe=pe.p.findSingle(en,".p-treetable-scrollable-body table")||pe.p.findSingle(en,"cdk-virtual-scroll-viewport table"),ht=pe.p.findSingle(en,"table.p-treetable-scrollable-header-table"),Ct=pe.p.findSingle(en,"table.p-treetable-scrollable-footer-table");Oe.style.width=Oe.offsetWidth+$e+"px",ht.style.width=ht.offsetWidth+$e+"px",Ct&&(Ct.style.width=Ct.offsetWidth+$e+"px");let pn=pe.p.index(De);const Ce=De?Oe.offsetWidth+$e:Bt,Te=De?ht.offsetWidth+$e:Bt,oe=this.containerViewChild.nativeElement.offsetWidth>=Ce;let Xe=(Dt,zt,ln,Xn)=>{Dt&&zt&&(Dt.style.width=Xn?ln+pe.p.calculateScrollbarWidth(An)+"px":"auto",zt.style.width=ln+"px")};Xe(An,Oe,Ce,oe),Xe(it,ht,Te,oe),Xe(Ye,Ct,Te,oe),this.resizeColGroup(ht,pn,Bt,null),this.resizeColGroup(Oe,pn,Bt,null),this.resizeColGroup(Ct,pn,Bt,null)}else this.tableViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.offsetWidth+$e+"px",De.style.width=Bt+"px",this.containerViewChild.nativeElement.style.width=this.tableViewChild.nativeElement.style.width+"px";this.onColResize.emit({element:De,delta:$e})}this.resizeHelperViewChild.nativeElement.style.display="none",pe.p.removeClass(this.containerViewChild.nativeElement,"p-unselectable-text")}findParentScrollableView($){if($){let De=$.parentElement;for(;De&&!pe.p.hasClass(De,"p-treetable-scrollable-view");)De=De.parentElement;return De}return null}resizeColGroup($,De,$e,Vt){if($){let Bt="COLGROUP"===$.children[0].nodeName?$.children[0]:null;if(!Bt)throw"Scrollable tables require a colgroup to support resizable columns";{let St=Bt.children[De],en=St.nextElementSibling;St.style.width=$e+"px",en&&Vt&&(en.style.width=Vt+"px")}}}onColumnDragStart($,De){this.reorderIconWidth=pe.p.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=pe.p.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=De,$.dataTransfer.setData("text","b")}onColumnDragEnter($,De){if(this.reorderableColumns&&this.draggedColumn&&De){$.preventDefault();let $e=pe.p.getOffset(this.containerViewChild.nativeElement),Vt=pe.p.getOffset(De);if(this.draggedColumn!=De){let Bt=Vt.left-$e.left,en=Vt.left+De.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=Vt.top-$e.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=Vt.top-$e.top+De.offsetHeight+"px",$.pageX>en?(this.reorderIndicatorUpViewChild.nativeElement.style.left=Bt+De.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=Bt+De.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=Bt-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=Bt-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else $.dataTransfer.dropEffect="none"}}onColumnDragLeave($){this.reorderableColumns&&this.draggedColumn&&($.preventDefault(),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none")}onColumnDrop($,De){if($.preventDefault(),this.draggedColumn){let $e=pe.p.indexWithinGroup(this.draggedColumn,"ttreorderablecolumn"),Vt=pe.p.indexWithinGroup(De,"ttreorderablecolumn"),Bt=$e!=Vt;Bt&&(Vt-$e==1&&-1===this.dropPosition||$e-Vt==1&&1===this.dropPosition)&&(Bt=!1),Bt&&Vt<$e&&1===this.dropPosition&&(Vt+=1),Bt&&Vt>$e&&-1===this.dropPosition&&(Vt-=1),Bt&&(de.gb.reorderArray(this.columns,$e,Vt),this.onColReorder.emit({dragIndex:$e,dropIndex:Vt,columns:this.columns})),this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}handleRowClick($){let De=$.originalEvent.target.nodeName;if("INPUT"!=De&&"BUTTON"!=De&&"A"!=De&&!pe.p.hasClass($.originalEvent.target,"p-clickable")){if(this.selectionMode){this.preventSelectionSetterPropagation=!0;let $e=$.rowNode,Vt=this.isSelected($e.node),Bt=!this.rowTouched&&this.metaKeySelection,St=this.dataKey?String(de.gb.resolveFieldData($e.node.data,this.dataKey)):null;if(Bt){let en=$.originalEvent.metaKey||$.originalEvent.ctrlKey;if(Vt&&en){if(this.isSingleSelectionMode())this._selection=null,this.selectionKeys={},this.selectionChange.emit(null);else{let An=this.findIndexInSelection($e.node);this._selection=this.selection.filter((it,Ye)=>Ye!=An),this.selectionChange.emit(this.selection),St&&delete this.selectionKeys[St]}this.onNodeUnselect.emit({originalEvent:$.originalEvent,node:$e.node,type:"row"})}else this.isSingleSelectionMode()?(this._selection=$e.node,this.selectionChange.emit($e.node),St&&(this.selectionKeys={},this.selectionKeys[St]=1)):this.isMultipleSelectionMode()&&(en?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,$e.node],this.selectionChange.emit(this.selection),St&&(this.selectionKeys[St]=1)),this.onNodeSelect.emit({originalEvent:$.originalEvent,node:$e.node,type:"row",index:$.rowIndex})}else if("single"===this.selectionMode)Vt?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:$.originalEvent,node:$e.node,type:"row"})):(this._selection=$e.node,this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:$.originalEvent,node:$e.node,type:"row",index:$.rowIndex}),St&&(this.selectionKeys={},this.selectionKeys[St]=1));else if("multiple"===this.selectionMode)if(Vt){let en=this.findIndexInSelection($e.node);this._selection=this.selection.filter((An,it)=>it!=en),this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:$.originalEvent,node:$e.node,type:"row"}),St&&delete this.selectionKeys[St]}else this._selection=this.selection?[...this.selection,$e.node]:[$e.node],this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:$.originalEvent,node:$e.node,type:"row",index:$.rowIndex}),St&&(this.selectionKeys[St]=1);this.tableService.onSelectionChange()}this.rowTouched=!1}}handleRowTouchEnd($){this.rowTouched=!0}handleRowRightClick($){if(this.contextMenu){const De=$.rowNode.node;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=De,this.contextMenuSelectionChange.emit(De),this.onContextMenuSelect.emit({originalEvent:$.originalEvent,node:De}),this.contextMenu.show($.originalEvent),this.tableService.onContextMenu(De);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let $e=this.isSelected(De),Vt=this.dataKey?String(de.gb.resolveFieldData(De.data,this.dataKey)):null;$e||(this.isSingleSelectionMode()?(this.selection=De,this.selectionChange.emit(De)):this.isMultipleSelectionMode()&&(this.selection=[De],this.selectionChange.emit(this.selection)),Vt&&(this.selectionKeys[Vt]=1)),this.contextMenu.show($.originalEvent),this.onContextMenuSelect.emit({originalEvent:$.originalEvent,node:De})}}}toggleNodeWithCheckbox($){this.selection=this.selection||[],this.preventSelectionSetterPropagation=!0;let De=$.rowNode.node;this.isSelected(De)?(this.propagateSelectionDown(De,!1),$.rowNode.parent&&this.propagateSelectionUp(De.parent,!1),this.selectionChange.emit(this.selection),this.onNodeUnselect.emit({originalEvent:$,node:De})):(this.propagateSelectionDown(De,!0),$.rowNode.parent&&this.propagateSelectionUp(De.parent,!0),this.selectionChange.emit(this.selection),this.onNodeSelect.emit({originalEvent:$,node:De})),this.tableService.onSelectionChange()}toggleNodesWithCheckbox($,De){let $e=this.filteredNodes||this.value;if(this._selection=De&&$e?$e.slice():[],De){if($e&&$e.length)for(let Vt of $e)this.propagateSelectionDown(Vt,!0)}else this._selection=[],this.selectionKeys={};this.preventSelectionSetterPropagation=!0,this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:$,checked:De})}propagateSelectionUp($,De){if($.children&&$.children.length){let Vt=0,Bt=!1,St=this.dataKey?String(de.gb.resolveFieldData($.data,this.dataKey)):null;for(let en of $.children)this.isSelected(en)?Vt++:en.partialSelected&&(Bt=!0);if(De&&Vt==$.children.length)this._selection=[...this.selection||[],$],$.partialSelected=!1,St&&(this.selectionKeys[St]=1);else{if(!De){let en=this.findIndexInSelection($);en>=0&&(this._selection=this.selection.filter((An,it)=>it!=en),St&&delete this.selectionKeys[St])}$.partialSelected=!!(Bt||Vt>0&&Vt!=$.children.length)}}let $e=$.parent;$e&&this.propagateSelectionUp($e,De)}propagateSelectionDown($,De){let $e=this.findIndexInSelection($),Vt=this.dataKey?String(de.gb.resolveFieldData($.data,this.dataKey)):null;if(De&&-1==$e?(this._selection=[...this.selection||[],$],Vt&&(this.selectionKeys[Vt]=1)):!De&&$e>-1&&(this._selection=this.selection.filter((Bt,St)=>St!=$e),Vt&&delete this.selectionKeys[Vt]),$.partialSelected=!1,$.children&&$.children.length)for(let Bt of $.children)this.propagateSelectionDown(Bt,De)}isSelected($){return!(!$||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[de.gb.resolveFieldData($.data,this.dataKey)]:this.selection instanceof Array?this.findIndexInSelection($)>-1:this.equals($,this.selection))}findIndexInSelection($){let De=-1;if(this.selection&&this.selection.length)for(let $e=0;$e<this.selection.length;$e++)if(this.equals($,this.selection[$e])){De=$e;break}return De}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}equals($,De){return"equals"===this.compareSelectionBy?$===De:de.gb.equals($.data,De.data,this.dataKey)}filter($,De,$e){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank($)?this.filters[De]&&delete this.filters[De]:this.filters[De]={value:$,matchMode:$e},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay)}filterGlobal($,De){this.filter($,"global",De)}isFilterBlank($){return null==$||"string"==typeof $&&0==$.trim().length||$ instanceof Array&&0==$.length}_filter(){if(this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let De;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");De=this.globalFilterFields||this.columns}this.filteredNodes=[];const $e="strict"===this.filterMode;let Vt=!1;for(let Bt of this.value){let it,St=Object.assign({},Bt),en=!0,An=!1;for(let Oe in this.filters)if(this.filters.hasOwnProperty(Oe)&&"global"!==Oe){let ht=this.filters[Oe];if(it={filterField:Oe,filterValue:ht.value,filterConstraint:this.filterService.filters[ht.matchMode||"startsWith"],isStrictMode:$e},($e&&!(this.findFilteredNodes(St,it)||this.isFilterMatched(St,it))||!$e&&!(this.isFilterMatched(St,it)||this.findFilteredNodes(St,it)))&&(en=!1),!en)break}if(this.filters.global&&!An&&De)for(let Oe=0;Oe<De.length;Oe++){let ht=Object.assign({},St);it={filterField:De[Oe].field||De[Oe],filterValue:this.filters.global.value,filterConstraint:this.filterService.filters[this.filters.global.matchMode],isStrictMode:$e},($e&&(this.findFilteredNodes(ht,it)||this.isFilterMatched(ht,it))||!$e&&(this.isFilterMatched(ht,it)||this.findFilteredNodes(ht,it)))&&(An=!0,St=ht)}let Ye=en;this.filters.global&&(Ye=en&&An),Ye&&this.filteredNodes.push(St),Vt=Vt||!en||An||en&&this.filteredNodes.length>0||!An&&0===this.filteredNodes.length}Vt||(this.filteredNodes=null),this.paginator&&(this.totalRecords=this.filteredNodes?this.filteredNodes.length:this.value?this.value.length:0)}else this.filteredNodes=null,this.paginator&&(this.totalRecords=this.value?this.value.length:0)}this.first=0;const $=this.filteredNodes||this.value;this.onFilter.emit({filters:this.filters,filteredValue:$}),this.tableService.onUIUpdate($),this.updateSerializedValue(),this.scrollable&&this.resetScrollTop()}findFilteredNodes($,De){if($){let $e=!1;if($.children){let Vt=[...$.children];$.children=[];for(let Bt of Vt){let St=Object.assign({},Bt);this.isFilterMatched(St,De)&&($e=!0,$.children.push(St))}}if($e)return!0}}isFilterMatched($,{filterField:De,filterValue:$e,filterConstraint:Vt,isStrictMode:Bt}){let St=!1;return Vt(de.gb.resolveFieldData($.data,De),$e,this.filterLocale)&&(St=!0),(!St||Bt&&!this.isNodeLeaf($))&&(St=this.findFilteredNodes($,{filterField:De,filterValue:$e,filterConstraint:Vt,isStrictMode:Bt})||St),St}isNodeLeaf($){return!1!==$.leaf&&!($.children&&$.children.length)}hasFilter(){let $=!0;for(let De in this.filters)if(this.filters.hasOwnProperty(De)){$=!1;break}return!$}reset(){this._sortField=null,this._sortOrder=1,this._multiSortMeta=null,this.tableService.onSort(null),this.filteredNodes=null,this.filters={},this.first=0,this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}updateEditingCell($,De,$e){this.editingCell=$,this.editingCellData=De,this.editingCellField=$e,this.bindDocumentEditListener()}isEditingCellValid(){return this.editingCell&&0===pe.p.find(this.editingCell,".ng-invalid.ng-dirty").length}bindDocumentEditListener(){this.documentEditListener||(this.documentEditListener=$=>{this.editingCell&&!this.editingCellClick&&this.isEditingCellValid()&&(pe.p.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData}),this.editingCellField=null,this.editingCellData=null,this.unbindDocumentEditListener()),this.editingCellClick=!1},document.addEventListener("click",this.documentEditListener))}unbindDocumentEditListener(){this.documentEditListener&&(document.removeEventListener("click",this.documentEditListener),this.documentEditListener=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.editingCellField=null,this.editingCellData=null,this.initialized=null}}return nt.\u0275fac=function($){return new($||nt)(n.Y36(n.SBq),n.Y36(n.R0b),n.Y36(an),n.Y36(se.iZ))},nt.\u0275cmp=n.Xpm({type:nt,selectors:[["p-treeTable"]],contentQueries:function($,De,$e){if(1&$&&n.Suo($e,se.jx,4),2&$){let Vt;n.iGM(Vt=n.CRH())&&(De.templates=Vt)}},viewQuery:function($,De){if(1&$&&(n.Gf(re,5),n.Gf(xe,5),n.Gf(Pe,5),n.Gf(ut,5),n.Gf(dt,5),n.Gf(st,5),n.Gf(Me,5)),2&$){let $e;n.iGM($e=n.CRH())&&(De.containerViewChild=$e.first),n.iGM($e=n.CRH())&&(De.resizeHelperViewChild=$e.first),n.iGM($e=n.CRH())&&(De.reorderIndicatorUpViewChild=$e.first),n.iGM($e=n.CRH())&&(De.reorderIndicatorDownViewChild=$e.first),n.iGM($e=n.CRH())&&(De.tableViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollableViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollableFrozenViewChild=$e.first)}},inputs:{columns:"columns",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",autoLayout:"autoLayout",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",paginator:"paginator",rows:"rows",first:"first",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",customSort:"customSort",selectionMode:"selectionMode",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",compareSelectionBy:"compareSelectionBy",rowHover:"rowHover",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",scrollable:"scrollable",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollDelay:"virtualScrollDelay",virtualRowHeight:"virtualRowHeight",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx",frozenWidth:"frozenWidth",frozenColumns:"frozenColumns",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",contextMenu:"contextMenu",rowTrackBy:"rowTrackBy",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterMode:"filterMode",filterLocale:"filterLocale",value:"value",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection"},outputs:{selectionChange:"selectionChange",contextMenuSelectionChange:"contextMenuSelectionChange",onFilter:"onFilter",onNodeExpand:"onNodeExpand",onNodeCollapse:"onNodeCollapse",onPage:"onPage",onSort:"onSort",onLazyLoad:"onLazyLoad",sortFunction:"sortFunction",onColResize:"onColResize",onColReorder:"onColReorder",onNodeSelect:"onNodeSelect",onNodeUnselect:"onNodeUnselect",onContextMenuSelect:"onContextMenuSelect",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel"},features:[n._Bn([an]),n.TTD],decls:12,vars:20,consts:[["data-scrollselectors",".p-treetable-scrollable-body",3,"ngStyle","ngClass"],["container",""],["class","p-treetable-loading",4,"ngIf"],["class","p-treetable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange",4,"ngIf"],["class","p-treetable-wrapper",4,"ngIf"],["class","p-treetable-scrollable-wrapper",4,"ngIf"],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange",4,"ngIf"],["class","p-treetable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","pi pi-arrow-down p-treetable-reorder-indicator-up",4,"ngIf"],["class","pi pi-arrow-up p-treetable-reorder-indicator-down",4,"ngIf"],[1,"p-treetable-loading"],[1,"p-treetable-loading-overlay","p-component-overlay"],[1,"p-treetable-header"],[4,"ngTemplateOutlet"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange"],[1,"p-treetable-wrapper"],[3,"ngClass","ngStyle"],["table",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-treetable-thead"],[1,"p-treetable-tbody",3,"pTreeTableBody","pTreeTableBodyTemplate"],[1,"p-treetable-tfoot"],[1,"p-treetable-scrollable-wrapper"],["class","p-treetable-scrollable-view p-treetable-frozen-view",3,"ttScrollableView","frozen","ngStyle","scrollHeight",4,"ngIf"],[1,"p-treetable-scrollable-view",3,"ttScrollableView","frozen","scrollHeight","ngStyle"],["scrollableView",""],[1,"p-treetable-scrollable-view","p-treetable-frozen-view",3,"ttScrollableView","frozen","ngStyle","scrollHeight"],["scrollableFrozenView",""],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showPageLinks","onPageChange"],[1,"p-treetable-footer"],[1,"p-column-resizer-helper",2,"display","none"],["resizeHelper",""],[1,"pi","pi-arrow-down","p-treetable-reorder-indicator-up"],["reorderIndicatorUp",""],[1,"pi","pi-arrow-up","p-treetable-reorder-indicator-down"],["reorderIndicatorDown",""]],template:function($,De){1&$&&(n.TgZ(0,"div",0,1),n.YNc(2,Ue,3,2,"div",2),n.YNc(3,ct,2,1,"div",3),n.YNc(4,je,1,15,"p-paginator",4),n.YNc(5,ve,9,16,"div",5),n.YNc(6,bt,4,8,"div",6),n.YNc(7,We,1,15,"p-paginator",7),n.YNc(8,Nt,2,1,"div",8),n.YNc(9,Ut,2,0,"div",9),n.YNc(10,zn,2,0,"span",10),n.YNc(11,kt,2,0,"span",11),n.qZA()),2&$&&(n.Tol(De.styleClass),n.Q6J("ngStyle",De.style)("ngClass",n.qbA(14,_n,De.rowHover||"single"===De.selectionMode||"multiple"===De.selectionMode,De.autoLayout,De.resizableColumns,De.resizableColumns&&"fit"===De.columnResizeMode,De.scrollable&&"flex"===De.scrollHeight)),n.xp6(2),n.Q6J("ngIf",De.loading&&De.showLoader),n.xp6(1),n.Q6J("ngIf",De.captionTemplate),n.xp6(1),n.Q6J("ngIf",De.paginator&&("top"===De.paginatorPosition||"both"==De.paginatorPosition)),n.xp6(1),n.Q6J("ngIf",!De.scrollable),n.xp6(1),n.Q6J("ngIf",De.scrollable),n.xp6(1),n.Q6J("ngIf",De.paginator&&("bottom"===De.paginatorPosition||"both"==De.paginatorPosition)),n.xp6(1),n.Q6J("ngIf",De.summaryTemplate),n.xp6(1),n.Q6J("ngIf",De.resizableColumns),n.xp6(1),n.Q6J("ngIf",De.reorderableColumns),n.xp6(1),n.Q6J("ngIf",De.reorderableColumns))},directives:function(){return[c.PC,c.mk,c.O5,c.tP,ie.D,Oi,Ti]},styles:[".p-treetable{position:relative}.p-treetable table{border-collapse:collapse;width:100%;table-layout:fixed}.p-treetable .p-sortable-column{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.p-treetable .p-sortable-column .p-column-title,.p-treetable .p-sortable-column .p-sortable-column-badge,.p-treetable .p-sortable-column .p-sortable-column-icon{vertical-align:middle}.p-treetable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-treetable-auto-layout>.p-treetable-wrapper{overflow-x:auto}.p-treetable-auto-layout>.p-treetable-wrapper>table{table-layout:auto}.p-treetable-hoverable-rows .p-treetable-tbody>tr{cursor:pointer}.p-treetable-toggler{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-treetable-toggler,p-treetabletoggler+p-treetablecheckbox+span,p-treetabletoggler+p-treetablecheckbox .p-checkbox{vertical-align:middle}.p-treetable-scrollable-wrapper{position:relative}.p-treetable-scrollable-footer,.p-treetable-scrollable-header{overflow:hidden}.p-treetable-scrollable-body{overflow:auto;position:relative}.p-treetable-scrollable-body>table>.p-treetable-tbody>tr:first-child>td{border-top:0}.p-treetable-virtual-table{position:absolute}.p-treetable-frozen-view .p-treetable-scrollable-body{overflow:hidden}.p-treetable-frozen-view>.p-treetable-scrollable-body>table>.p-treetable-tbody>tr>td:last-child{border-right:0}.p-treetable-unfrozen-view{position:absolute;top:0}.p-treetable-flex-scrollable,.p-treetable-flex-scrollable .p-treetable-scrollable-view,.p-treetable-flex-scrollable .p-treetable-scrollable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-treetable-flex-scrollable .p-treetable-scrollable-body{flex:1}.p-treetable-resizable>.p-treetable-wrapper{overflow-x:auto}.p-treetable-resizable .p-treetable-tbody>tr>td,.p-treetable-resizable .p-treetable-tfoot>tr>td,.p-treetable-resizable .p-treetable-thead>tr>th{overflow:hidden}.p-treetable-resizable .p-resizable-column{background-clip:padding-box;position:relative}.p-treetable-resizable-fit .p-resizable-column:last-child .p-column-resizer{display:none}.p-treetable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-treetable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-treetable .p-row-editor-cancel,.p-treetable .p-row-editor-init,.p-treetable .p-row-editor-save,.p-treetable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-treetable-reorder-indicator-down,.p-treetable-reorder-indicator-up{position:absolute;display:none}[ttReorderableColumn]{cursor:move}.p-treetable .p-treetable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}"],encapsulation:2}),nt})(),Oi=(()=>{class nt{constructor($,De,$e){this.tt=$,this.treeTableService=De,this.cd=$e,this.subscription=this.tt.tableService.uiUpdateSource$.subscribe(()=>{this.tt.virtualScroll&&this.cd.detectChanges()})}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return nt.\u0275fac=function($){return new($||nt)(n.Y36(Di),n.Y36(an),n.Y36(n.sBO))},nt.\u0275cmp=n.Xpm({type:nt,selectors:[["","pTreeTableBody",""]],inputs:{columns:["pTreeTableBody","columns"],template:["pTreeTableBodyTemplate","template"],frozen:"frozen"},attrs:Ht,decls:3,vars:3,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"]],template:function($,De){1&$&&(n.YNc(0,et,2,2,"ng-container",0),n.YNc(1,cn,2,3,"ng-container",0),n.YNc(2,Ci,2,5,"ng-container",0)),2&$&&(n.Q6J("ngIf",!De.tt.virtualScroll),n.xp6(1),n.Q6J("ngIf",De.tt.virtualScroll),n.xp6(1),n.Q6J("ngIf",De.tt.isEmpty()))},directives:[c.O5,c.sg,c.tP,we.x0],encapsulation:2}),nt})(),Ti=(()=>{class nt{constructor($,De,$e){this.tt=$,this.el=De,this.zone=$e}get scrollHeight(){return this._scrollHeight}set scrollHeight($){this._scrollHeight=$,null!=$&&($.includes("%")||$.includes("calc"))&&console.log('Percentage scroll height calculation is removed in favor of the more performant CSS based flex mode, use scrollHeight="flex" instead.'),this.tt.virtualScroll&&this.virtualScrollBody&&this.virtualScrollBody.ngOnInit()}ngAfterViewInit(){if(this.frozen)this.scrollableAlignerViewChild&&this.scrollableAlignerViewChild.nativeElement&&(this.scrollableAlignerViewChild.nativeElement.style.height=pe.p.calculateScrollbarHeight()+"px");else{(this.tt.frozenColumns||this.tt.frozenBodyTemplate)&&pe.p.addClass(this.el.nativeElement,"p-treetable-unfrozen-view");let $=this.el.nativeElement.previousElementSibling;$&&(this.frozenSiblingBody=pe.p.findSingle($,this.tt.virtualScroll?".p-treetable-virtual-scrollable-body":".p-treetable-scrollable-body"));let De=pe.p.calculateScrollbarWidth();this.scrollHeaderBoxViewChild.nativeElement.style.paddingRight=De+"px",this.scrollFooterBoxViewChild&&this.scrollFooterBoxViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.paddingRight=De+"px")}this.bindEvents()}bindEvents(){this.zone.runOutsideAngular(()=>{this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.headerScrollListener=this.onHeaderScroll.bind(this),this.scrollHeaderBoxViewChild.nativeElement.addEventListener("scroll",this.headerScrollListener)),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.footerScrollListener=this.onFooterScroll.bind(this),this.scrollFooterViewChild.nativeElement.addEventListener("scroll",this.footerScrollListener)),this.frozen||(this.bodyScrollListener=this.onBodyScroll.bind(this),this.tt.virtualScroll?this.virtualScrollBody.getElementRef().nativeElement.addEventListener("scroll",this.bodyScrollListener):this.scrollBodyViewChild.nativeElement.addEventListener("scroll",this.bodyScrollListener))})}unbindEvents(){this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&this.scrollHeaderBoxViewChild.nativeElement.removeEventListener("scroll",this.headerScrollListener),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&this.scrollFooterViewChild.nativeElement.removeEventListener("scroll",this.footerScrollListener),this.scrollBodyViewChild&&this.scrollBodyViewChild.nativeElement&&this.scrollBodyViewChild.nativeElement.removeEventListener("scroll",this.bodyScrollListener),this.virtualScrollBody&&this.virtualScrollBody.getElementRef()&&this.virtualScrollBody.getElementRef().nativeElement.removeEventListener("scroll",this.bodyScrollListener)}onHeaderScroll(){const $=this.scrollHeaderViewChild.nativeElement.scrollLeft;this.scrollBodyViewChild.nativeElement.scrollLeft=$,this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterViewChild.nativeElement.scrollLeft=$),this.preventBodyScrollPropagation=!0}onFooterScroll(){const $=this.scrollFooterViewChild.nativeElement.scrollLeft;this.scrollBodyViewChild.nativeElement.scrollLeft=$,this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderViewChild.nativeElement.scrollLeft=$),this.preventBodyScrollPropagation=!0}onBodyScroll($){this.preventBodyScrollPropagation?this.preventBodyScrollPropagation=!1:(this.scrollHeaderViewChild&&this.scrollHeaderViewChild.nativeElement&&(this.scrollHeaderBoxViewChild.nativeElement.style.marginLeft=-1*$.target.scrollLeft+"px"),this.scrollFooterViewChild&&this.scrollFooterViewChild.nativeElement&&(this.scrollFooterBoxViewChild.nativeElement.style.marginLeft=-1*$.target.scrollLeft+"px"),this.frozenSiblingBody&&(this.frozenSiblingBody.scrollTop=$.target.scrollTop))}scrollToVirtualIndex($){this.virtualScrollBody&&this.virtualScrollBody.scrollToIndex($)}scrollTo($){this.virtualScrollBody?this.virtualScrollBody.scrollTo($):this.scrollBodyViewChild.nativeElement.scrollTo?this.scrollBodyViewChild.nativeElement.scrollTo($):(this.scrollBodyViewChild.nativeElement.scrollLeft=$.left,this.scrollBodyViewChild.nativeElement.scrollTop=$.top)}ngOnDestroy(){this.unbindEvents(),this.frozenSiblingBody=null}}return nt.\u0275fac=function($){return new($||nt)(n.Y36(Di),n.Y36(n.SBq),n.Y36(n.R0b))},nt.\u0275cmp=n.Xpm({type:nt,selectors:[["","ttScrollableView",""]],viewQuery:function($,De){if(1&$&&(n.Gf(Pn,5),n.Gf(Qn,5),n.Gf(ai,5),n.Gf(dn,5),n.Gf(Mn,5),n.Gf(si,5),n.Gf(io,5),n.Gf(Qi,5),n.Gf(we.N7,5)),2&$){let $e;n.iGM($e=n.CRH())&&(De.scrollHeaderViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollHeaderBoxViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollBodyViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollTableViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollLoadingTableViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollFooterViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollFooterBoxViewChild=$e.first),n.iGM($e=n.CRH())&&(De.scrollableAlignerViewChild=$e.first),n.iGM($e=n.CRH())&&(De.virtualScrollBody=$e.first)}},inputs:{columns:["ttScrollableView","columns"],frozen:"frozen",scrollHeight:"scrollHeight"},attrs:Pt,decls:12,vars:13,consts:[[1,"p-treetable-scrollable-header"],["scrollHeader",""],[1,"p-treetable-scrollable-header-box"],["scrollHeaderBox",""],[1,"p-treetable-scrollable-header-table",3,"ngClass","ngStyle"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-treetable-thead"],[4,"ngIf","ngIfElse"],["virtualScrollTemplate",""],["class","p-treetable-scrollable-footer",4,"ngIf"],[1,"p-treetable-scrollable-body",3,"ngStyle"],["scrollBody",""],[3,"ngStyle"],["scrollTable",""],[1,"p-treetable-tbody",3,"pTreeTableBody","pTreeTableBodyTemplate","frozen"],["style","background-color:transparent",4,"ngIf"],[2,"background-color","transparent"],["scrollableAligner",""],[1,"p-treetable-virtual-scrollable-body",3,"itemSize","minBufferPx","maxBufferPx"],[1,"p-treetable-scrollable-footer"],["scrollFooter",""],[1,"p-treetable-scrollable-footer-box"],["scrollFooterBox",""],[1,"p-treetable-scrollable-footer-table",3,"ngClass","ngStyle"],[1,"p-treetable-tfoot"]],template:function($,De){if(1&$&&(n.TgZ(0,"div",0,1),n.TgZ(2,"div",2,3),n.TgZ(4,"table",4),n.YNc(5,Je,1,0,"ng-container",5),n.TgZ(6,"thead",6),n.YNc(7,me,1,0,"ng-container",5),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.YNc(8,U,8,15,"ng-container",7),n.YNc(9,Qt,6,16,"ng-template",null,8,n.W1O),n.YNc(11,jt,8,10,"div",9)),2&$){const $e=n.MAs(10);n.xp6(4),n.Q6J("ngClass",De.tt.tableStyleClass)("ngStyle",De.tt.tableStyle),n.xp6(1),n.Q6J("ngTemplateOutlet",De.frozen&&De.tt.frozenColGroupTemplate||De.tt.colGroupTemplate)("ngTemplateOutletContext",n.VKq(9,Le,De.columns)),n.xp6(2),n.Q6J("ngTemplateOutlet",De.frozen&&De.tt.frozenHeaderTemplate||De.tt.headerTemplate)("ngTemplateOutletContext",n.VKq(11,Le,De.columns)),n.xp6(1),n.Q6J("ngIf",!De.tt.virtualScroll)("ngIfElse",$e),n.xp6(3),n.Q6J("ngIf",De.tt.footerTemplate)}},directives:[c.mk,c.PC,c.tP,c.O5,Oi,we.N7,we.xd],encapsulation:2}),nt})(),Fi=(()=>{class nt{constructor($,De,$e){this.tt=$,this.tableService=De,this.cd=$e,this.subscription=this.tt.tableService.selectionSource$.subscribe(()=>{this.checked=this.tt.isSelected(this.rowNode.node),this.cd.markForCheck()})}ngOnInit(){this.checked=this.tt.isSelected(this.rowNode.node)}onClick($){this.disabled||this.tt.toggleNodeWithCheckbox({originalEvent:$,rowNode:this.rowNode}),pe.p.clearSelection()}onFocus(){pe.p.addClass(this.boxViewChild.nativeElement,"p-focus")}onBlur(){pe.p.removeClass(this.boxViewChild.nativeElement,"p-focus")}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}}return nt.\u0275fac=function($){return new($||nt)(n.Y36(Di),n.Y36(an),n.Y36(n.sBO))},nt.\u0275cmp=n.Xpm({type:nt,selectors:[["p-treeTableCheckbox"]],viewQuery:function($,De){if(1&$&&n.Gf(Fe,5),2&$){let $e;n.iGM($e=n.CRH())&&(De.boxViewChild=$e.first)}},inputs:{disabled:"disabled",rowNode:["value","rowNode"]},decls:6,vars:11,consts:[[1,"p-checkbox","p-component",3,"click"],[1,"p-hidden-accessible"],["type","checkbox",3,"checked","focus","blur"],["role","checkbox",3,"ngClass"],["box",""],[1,"p-checkbox-icon","pi",3,"ngClass"]],template:function($,De){1&$&&(n.TgZ(0,"div",0),n.NdJ("click",function(Vt){return De.onClick(Vt)}),n.TgZ(1,"div",1),n.TgZ(2,"input",2),n.NdJ("focus",function(){return De.onFocus()})("blur",function(){return De.onBlur()}),n.qZA(),n.qZA(),n.TgZ(3,"div",3,4),n._UZ(5,"span",5),n.qZA(),n.qZA()),2&$&&(n.xp6(2),n.Q6J("checked",De.checked),n.xp6(1),n.Q6J("ngClass",n.kEZ(4,Lt,De.checked,De.rowNode.node.partialSelected,De.disabled)),n.uIk("aria-checked",De.checked),n.xp6(2),n.Q6J("ngClass",n.WLB(8,At,De.checked,De.rowNode.node.partialSelected)))},directives:[c.mk],encapsulation:2,changeDetection:0}),nt})(),li=(()=>{class nt{constructor($,De,$e){this.tt=$,this.tableService=De,this.cd=$e,this.valueChangeSubscription=this.tt.tableService.uiUpdateSource$.subscribe(()=>{this.checked=this.updateCheckedState()}),this.selectionChangeSubscription=this.tt.tableService.selectionSource$.subscribe(()=>{this.checked=this.updateCheckedState()})}ngOnInit(){this.checked=this.updateCheckedState()}onClick($,De){this.tt.value&&this.tt.value.length>0&&this.tt.toggleNodesWithCheckbox($,!De),pe.p.clearSelection()}onFocus(){pe.p.addClass(this.boxViewChild.nativeElement,"p-focus")}onBlur(){pe.p.removeClass(this.boxViewChild.nativeElement,"p-focus")}ngOnDestroy(){this.selectionChangeSubscription&&this.selectionChangeSubscription.unsubscribe(),this.valueChangeSubscription&&this.valueChangeSubscription.unsubscribe()}updateCheckedState(){let $;this.cd.markForCheck();const De=this.tt.filteredNodes||this.tt.value;if(De)for(let $e of De){if(!this.tt.isSelected($e)){$=!1;break}$=!0}else $=!1;return $}}return nt.\u0275fac=function($){return new($||nt)(n.Y36(Di),n.Y36(an),n.Y36(n.sBO))},nt.\u0275cmp=n.Xpm({type:nt,selectors:[["p-treeTableHeaderCheckbox"]],viewQuery:function($,De){if(1&$&&n.Gf(Fe,5),2&$){let $e;n.iGM($e=n.CRH())&&(De.boxViewChild=$e.first)}},decls:7,vars:10,consts:[[1,"p-checkbox","p-component",3,"click"],[1,"p-hidden-accessible"],["type","checkbox",3,"checked","disabled","focus","blur"],["cb",""],["role","checkbox",3,"ngClass"],["box",""],[1,"p-checkbox-icon",3,"ngClass"]],template:function($,De){if(1&$){const $e=n.EpF();n.TgZ(0,"div",0),n.NdJ("click",function(Bt){n.CHM($e);const St=n.MAs(3);return De.onClick(Bt,St.checked)}),n.TgZ(1,"div",1),n.TgZ(2,"input",2,3),n.NdJ("focus",function(){return De.onFocus()})("blur",function(){return De.onBlur()}),n.qZA(),n.qZA(),n.TgZ(4,"div",4,5),n._UZ(6,"span",6),n.qZA(),n.qZA()}2&$&&(n.xp6(2),n.Q6J("checked",De.checked)("disabled",!De.tt.value||0===De.tt.value.length),n.xp6(2),n.Q6J("ngClass",n.WLB(5,mn,De.checked,!De.tt.value||0===De.tt.value.length)),n.uIk("aria-checked",De.checked),n.xp6(2),n.Q6J("ngClass",n.VKq(8,In,De.checked)))},directives:[c.mk],encapsulation:2,changeDetection:0}),nt})(),vo=(()=>{class nt{constructor($){this.tt=$}onClick($){this.rowNode.node.expanded=!this.rowNode.node.expanded,this.rowNode.node.expanded?this.tt.onNodeExpand.emit({originalEvent:$,node:this.rowNode.node}):this.tt.onNodeCollapse.emit({originalEvent:$,node:this.rowNode.node}),this.tt.updateSerializedValue(),this.tt.tableService.onUIUpdate(this.tt.value),$.preventDefault()}}return nt.\u0275fac=function($){return new($||nt)(n.Y36(Di))},nt.\u0275cmp=n.Xpm({type:nt,selectors:[["p-treeTableToggler"]],inputs:{rowNode:"rowNode"},decls:2,vars:5,consts:[["type","button","tabindex","-1","pRipple","",1,"p-treetable-toggler","p-link",3,"click"],[3,"ngClass"]],template:function($,De){1&$&&(n.TgZ(0,"button",0),n.NdJ("click",function(Vt){return De.onClick(Vt)}),n._UZ(1,"i",1),n.qZA()),2&$&&(n.Udp("visibility",!1===De.rowNode.node.leaf||De.rowNode.node.children&&De.rowNode.node.children.length?"visible":"hidden")("margin-left",16*De.rowNode.level+"px"),n.xp6(1),n.Q6J("ngClass",De.rowNode.node.expanded?"pi pi-fw pi-chevron-down":"pi pi-fw pi-chevron-right"))},directives:[ge.H,c.mk],encapsulation:2}),nt})(),fo=(()=>{class nt{}return nt.\u0275fac=function($){return new($||nt)},nt.\u0275mod=n.oAB({type:nt}),nt.\u0275inj=n.cJS({imports:[[c.ez,ie.U,we.Cl,ge.T],se.m8,we.Cl]}),nt})()},6988:(bn,Et,J)=>{"use strict";J.d(Et,{gb:()=>n,Th:()=>V,P9:()=>ie});class n{static equals(de,ge,we){return we?this.resolveFieldData(de,we)===this.resolveFieldData(ge,we):this.equalsByValue(de,ge)}static equalsByValue(de,ge){if(de===ge)return!0;if(de&&ge&&"object"==typeof de&&"object"==typeof ge){var xe,Pe,ut,we=Array.isArray(de),re=Array.isArray(ge);if(we&&re){if((Pe=de.length)!=ge.length)return!1;for(xe=Pe;0!=xe--;)if(!this.equalsByValue(de[xe],ge[xe]))return!1;return!0}if(we!=re)return!1;var dt=de instanceof Date,st=ge instanceof Date;if(dt!=st)return!1;if(dt&&st)return de.getTime()==ge.getTime();var Me=de instanceof RegExp,Ue=ge instanceof RegExp;if(Me!=Ue)return!1;if(Me&&Ue)return de.toString()==ge.toString();var Ve=Object.keys(de);if((Pe=Ve.length)!==Object.keys(ge).length)return!1;for(xe=Pe;0!=xe--;)if(!Object.prototype.hasOwnProperty.call(ge,Ve[xe]))return!1;for(xe=Pe;0!=xe--;)if(!this.equalsByValue(de[ut=Ve[xe]],ge[ut]))return!1;return!0}return de!=de&&ge!=ge}static resolveFieldData(de,ge){if(de&&ge){if(this.isFunction(ge))return ge(de);if(-1==ge.indexOf("."))return de[ge];{let we=ge.split("."),re=de;for(let xe=0,Pe=we.length;xe<Pe;++xe){if(null==re)return null;re=re[we[xe]]}return re}}return null}static isFunction(de){return!!(de&&de.constructor&&de.call&&de.apply)}static reorderArray(de,ge,we){de&&ge!==we&&(we>=de.length&&(we%=de.length,ge%=de.length),de.splice(we,0,de.splice(ge,1)[0]))}static insertIntoOrderedArray(de,ge,we,re){if(we.length>0){let xe=!1;for(let Pe=0;Pe<we.length;Pe++)if(this.findIndexInList(we[Pe],re)>ge){we.splice(Pe,0,de),xe=!0;break}xe||we.push(de)}else we.push(de)}static findIndexInList(de,ge){let we=-1;if(ge)for(let re=0;re<ge.length;re++)if(ge[re]==de){we=re;break}return we}static removeAccents(de){return de&&de.search(/[\xC0-\xFF]/g)>-1&&(de=de.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),de}}var c=0;function V(){return"pr_id_"+ ++c}var ie=function(){let se=[];const re=xe=>xe&&parseInt(xe.style.zIndex,10)||0;return{get:re,set:(xe,Pe,ut)=>{Pe&&(Pe.style.zIndex=String(((xe,Pe)=>{let ut=se.length>0?se[se.length-1]:{key:xe,value:Pe},dt=ut.value+(ut.key===xe?0:Pe)+1;return se.push({key:xe,value:dt}),dt})(xe,ut)))},clear:xe=>{xe&&((xe=>{se=se.filter(Pe=>Pe.value!==xe)})(re(xe)),xe.style.zIndex="")},getCurrent:()=>se.length>0?se[se.length-1].value:0}}()},6215:(bn,Et,J)=>{"use strict";J.d(Et,{X:()=>V});var n=J(9765),c=J(7971);class V extends n.xQ{constructor(ie){super(),this._value=ie}get value(){return this.getValue()}_subscribe(ie){const se=super._subscribe(ie);return se&&!se.closed&&ie.next(this._value),se}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new c.N;return this._value}next(ie){super.next(this._value=ie)}}},7574:(bn,Et,J)=>{"use strict";J.d(Et,{y:()=>xe});var n=J(7393),V=J(9181),pe=J(6490),se=J(6554),de=J(4487);var re=J(2494);let xe=(()=>{class ut{constructor(st){this._isScalar=!1,st&&(this._subscribe=st)}lift(st){const Me=new ut;return Me.source=this,Me.operator=st,Me}subscribe(st,Me,Ue){const{operator:Ve}=this,ct=function(ut,dt,st){if(ut){if(ut instanceof n.L)return ut;if(ut[V.b])return ut[V.b]()}return ut||dt||st?new n.L(ut,dt,st):new n.L(pe.c)}(st,Me,Ue);if(ct.add(Ve?Ve.call(ct,this.source):this.source||re.v.useDeprecatedSynchronousErrorHandling&&!ct.syncErrorThrowable?this._subscribe(ct):this._trySubscribe(ct)),re.v.useDeprecatedSynchronousErrorHandling&&ct.syncErrorThrowable&&(ct.syncErrorThrowable=!1,ct.syncErrorThrown))throw ct.syncErrorValue;return ct}_trySubscribe(st){try{return this._subscribe(st)}catch(Me){re.v.useDeprecatedSynchronousErrorHandling&&(st.syncErrorThrown=!0,st.syncErrorValue=Me),function(ut){for(;ut;){const{closed:dt,destination:st,isStopped:Me}=ut;if(dt||Me)return!1;ut=st&&st instanceof n.L?st:null}return!0}(st)?st.error(Me):console.warn(Me)}}forEach(st,Me){return new(Me=Pe(Me))((Ue,Ve)=>{let ct;ct=this.subscribe(je=>{try{st(je)}catch(Qe){Ve(Qe),ct&&ct.unsubscribe()}},Ve,Ue)})}_subscribe(st){const{source:Me}=this;return Me&&Me.subscribe(st)}[se.L](){return this}pipe(...st){return 0===st.length?this:function(ut){return 0===ut.length?de.y:1===ut.length?ut[0]:function(st){return ut.reduce((Me,Ue)=>Ue(Me),st)}}(st)(this)}toPromise(st){return new(st=Pe(st))((Me,Ue)=>{let Ve;this.subscribe(ct=>Ve=ct,ct=>Ue(ct),()=>Me(Ve))})}}return ut.create=dt=>new ut(dt),ut})();function Pe(ut){if(ut||(ut=re.v.Promise||Promise),!ut)throw new Error("no Promise impl found");return ut}},6490:(bn,Et,J)=>{"use strict";J.d(Et,{c:()=>V});var n=J(2494),c=J(4449);const V={closed:!0,next(pe){},error(pe){if(n.v.useDeprecatedSynchronousErrorHandling)throw pe;(0,c.z)(pe)},complete(){}}},1929:(bn,Et,J)=>{"use strict";J.d(Et,{t:()=>z});var n=J(9765),c=J(6465),pe=J(6102);const de=new class extends pe.v{}(class extends c.o{constructor(Ie,be){super(Ie,be),this.scheduler=Ie,this.work=be}schedule(Ie,be=0){return be>0?super.schedule(Ie,be):(this.delay=be,this.state=Ie,this.scheduler.flush(this),this)}execute(Ie,be){return be>0||this.closed?super.execute(Ie,be):this._execute(Ie,be)}requestAsyncId(Ie,be,Be=0){return null!==Be&&Be>0||null===Be&&this.delay>0?super.requestAsyncId(Ie,be,Be):Ie.flush(this)}});var ge=J(5319),we=J(7393),re=J(9193),xe=J(5917),Pe=J(7574);class Me{constructor(Ie,be,Be){this.kind=Ie,this.value=be,this.error=Be,this.hasValue="N"===Ie}observe(Ie){switch(this.kind){case"N":return Ie.next&&Ie.next(this.value);case"E":return Ie.error&&Ie.error(this.error);case"C":return Ie.complete&&Ie.complete()}}do(Ie,be,Be){switch(this.kind){case"N":return Ie&&Ie(this.value);case"E":return be&&be(this.error);case"C":return Be&&Be()}}accept(Ie,be,Be){return Ie&&"function"==typeof Ie.next?this.observe(Ie):this.do(Ie,be,Be)}toObservable(){switch(this.kind){case"N":return(0,xe.of)(this.value);case"E":return ve=this.error,new Pe.y(be=>be.error(ve));case"C":return(0,re.c)()}var ve;throw new Error("unexpected notification kind value")}static createNext(Ie){return void 0!==Ie?new Me("N",Ie):Me.undefinedValueNotification}static createError(Ie){return new Me("E",void 0,Ie)}static createComplete(){return Me.completeNotification}}Me.completeNotification=new Me("C"),Me.undefinedValueNotification=new Me("N",void 0);class ct extends we.L{constructor(Ie,be,Be=0){super(Ie),this.scheduler=be,this.delay=Be}static dispatch(Ie){const{notification:be,destination:Be}=Ie;be.observe(Be),this.unsubscribe()}scheduleMessage(Ie){this.destination.add(this.scheduler.schedule(ct.dispatch,this.delay,new je(Ie,this.destination)))}_next(Ie){this.scheduleMessage(Me.createNext(Ie))}_error(Ie){this.scheduleMessage(Me.createError(Ie)),this.unsubscribe()}_complete(){this.scheduleMessage(Me.createComplete()),this.unsubscribe()}}class je{constructor(Ie,be){this.notification=Ie,this.destination=be}}var Qe=J(7971),ue=J(8858);class z extends n.xQ{constructor(Ie=Number.POSITIVE_INFINITY,be=Number.POSITIVE_INFINITY,Be){super(),this.scheduler=Be,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=Ie<1?1:Ie,this._windowTime=be<1?1:be,be===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(Ie){if(!this.isStopped){const be=this._events;be.push(Ie),be.length>this._bufferSize&&be.shift()}super.next(Ie)}nextTimeWindow(Ie){this.isStopped||(this._events.push(new Le(this._getNow(),Ie)),this._trimBufferThenGetEvents()),super.next(Ie)}_subscribe(Ie){const be=this._infiniteTimeWindow,Be=be?this._events:this._trimBufferThenGetEvents(),bt=this.scheduler,We=Be.length;let Xt;if(this.closed)throw new Qe.N;if(this.isStopped||this.hasError?Xt=ge.w.EMPTY:(this.observers.push(Ie),Xt=new ue.W(this,Ie)),bt&&Ie.add(Ie=new ct(Ie,bt)),be)for(let Nt=0;Nt<We&&!Ie.closed;Nt++)Ie.next(Be[Nt]);else for(let Nt=0;Nt<We&&!Ie.closed;Nt++)Ie.next(Be[Nt].value);return this.hasError?Ie.error(this.thrownError):this.isStopped&&Ie.complete(),Xt}_getNow(){return(this.scheduler||de).now()}_trimBufferThenGetEvents(){const Ie=this._getNow(),be=this._bufferSize,Be=this._windowTime,bt=this._events,We=bt.length;let Xt=0;for(;Xt<We&&!(Ie-bt[Xt].time<Be);)Xt++;return We>be&&(Xt=Math.max(Xt,We-be)),Xt>0&&bt.splice(0,Xt),bt}}class Le{constructor(Ie,be){this.time=Ie,this.value=be}}},9765:(bn,Et,J)=>{"use strict";J.d(Et,{Yc:()=>de,xQ:()=>ge});var n=J(7574),c=J(7393),V=J(5319),pe=J(7971),ie=J(8858),se=J(9181);class de extends c.L{constructor(xe){super(xe),this.destination=xe}}let ge=(()=>{class re extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[se.b](){return new de(this)}lift(Pe){const ut=new we(this,this);return ut.operator=Pe,ut}next(Pe){if(this.closed)throw new pe.N;if(!this.isStopped){const{observers:ut}=this,dt=ut.length,st=ut.slice();for(let Me=0;Me<dt;Me++)st[Me].next(Pe)}}error(Pe){if(this.closed)throw new pe.N;this.hasError=!0,this.thrownError=Pe,this.isStopped=!0;const{observers:ut}=this,dt=ut.length,st=ut.slice();for(let Me=0;Me<dt;Me++)st[Me].error(Pe);this.observers.length=0}complete(){if(this.closed)throw new pe.N;this.isStopped=!0;const{observers:Pe}=this,ut=Pe.length,dt=Pe.slice();for(let st=0;st<ut;st++)dt[st].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(Pe){if(this.closed)throw new pe.N;return super._trySubscribe(Pe)}_subscribe(Pe){if(this.closed)throw new pe.N;return this.hasError?(Pe.error(this.thrownError),V.w.EMPTY):this.isStopped?(Pe.complete(),V.w.EMPTY):(this.observers.push(Pe),new ie.W(this,Pe))}asObservable(){const Pe=new n.y;return Pe.source=this,Pe}}return re.create=(xe,Pe)=>new we(xe,Pe),re})();class we extends ge{constructor(xe,Pe){super(),this.destination=xe,this.source=Pe}next(xe){const{destination:Pe}=this;Pe&&Pe.next&&Pe.next(xe)}error(xe){const{destination:Pe}=this;Pe&&Pe.error&&this.destination.error(xe)}complete(){const{destination:xe}=this;xe&&xe.complete&&this.destination.complete()}_subscribe(xe){const{source:Pe}=this;return Pe?this.source.subscribe(xe):V.w.EMPTY}}},8858:(bn,Et,J)=>{"use strict";J.d(Et,{W:()=>c});var n=J(5319);class c extends n.w{constructor(pe,ie){super(),this.subject=pe,this.subscriber=ie,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const pe=this.subject,ie=pe.observers;if(this.subject=null,!ie||0===ie.length||pe.isStopped||pe.closed)return;const se=ie.indexOf(this.subscriber);-1!==se&&ie.splice(se,1)}}},7393:(bn,Et,J)=>{"use strict";J.d(Et,{L:()=>de});var n=J(9105),c=J(6490),V=J(5319),pe=J(9181),ie=J(2494),se=J(4449);class de extends V.w{constructor(re,xe,Pe){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=c.c;break;case 1:if(!re){this.destination=c.c;break}if("object"==typeof re){re instanceof de?(this.syncErrorThrowable=re.syncErrorThrowable,this.destination=re,re.add(this)):(this.syncErrorThrowable=!0,this.destination=new ge(this,re));break}default:this.syncErrorThrowable=!0,this.destination=new ge(this,re,xe,Pe)}}[pe.b](){return this}static create(re,xe,Pe){const ut=new de(re,xe,Pe);return ut.syncErrorThrowable=!1,ut}next(re){this.isStopped||this._next(re)}error(re){this.isStopped||(this.isStopped=!0,this._error(re))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(re){this.destination.next(re)}_error(re){this.destination.error(re),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:re}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=re,this}}class ge extends de{constructor(re,xe,Pe,ut){super(),this._parentSubscriber=re;let dt,st=this;(0,n.m)(xe)?dt=xe:xe&&(dt=xe.next,Pe=xe.error,ut=xe.complete,xe!==c.c&&(st=Object.create(xe),(0,n.m)(st.unsubscribe)&&this.add(st.unsubscribe.bind(st)),st.unsubscribe=this.unsubscribe.bind(this))),this._context=st,this._next=dt,this._error=Pe,this._complete=ut}next(re){if(!this.isStopped&&this._next){const{_parentSubscriber:xe}=this;ie.v.useDeprecatedSynchronousErrorHandling&&xe.syncErrorThrowable?this.__tryOrSetError(xe,this._next,re)&&this.unsubscribe():this.__tryOrUnsub(this._next,re)}}error(re){if(!this.isStopped){const{_parentSubscriber:xe}=this,{useDeprecatedSynchronousErrorHandling:Pe}=ie.v;if(this._error)Pe&&xe.syncErrorThrowable?(this.__tryOrSetError(xe,this._error,re),this.unsubscribe()):(this.__tryOrUnsub(this._error,re),this.unsubscribe());else if(xe.syncErrorThrowable)Pe?(xe.syncErrorValue=re,xe.syncErrorThrown=!0):(0,se.z)(re),this.unsubscribe();else{if(this.unsubscribe(),Pe)throw re;(0,se.z)(re)}}}complete(){if(!this.isStopped){const{_parentSubscriber:re}=this;if(this._complete){const xe=()=>this._complete.call(this._context);ie.v.useDeprecatedSynchronousErrorHandling&&re.syncErrorThrowable?(this.__tryOrSetError(re,xe),this.unsubscribe()):(this.__tryOrUnsub(xe),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(re,xe){try{re.call(this._context,xe)}catch(Pe){if(this.unsubscribe(),ie.v.useDeprecatedSynchronousErrorHandling)throw Pe;(0,se.z)(Pe)}}__tryOrSetError(re,xe,Pe){if(!ie.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{xe.call(this._context,Pe)}catch(ut){return ie.v.useDeprecatedSynchronousErrorHandling?(re.syncErrorValue=ut,re.syncErrorThrown=!0,!0):((0,se.z)(ut),!0)}return!1}_unsubscribe(){const{_parentSubscriber:re}=this;this._context=null,this._parentSubscriber=null,re.unsubscribe()}}},5319:(bn,Et,J)=>{"use strict";J.d(Et,{w:()=>se});var n=J(9796),c=J(1555),V=J(9105);const ie=(()=>{function ge(we){return Error.call(this),this.message=we?`${we.length} errors occurred during unsubscription:\n${we.map((re,xe)=>`${xe+1}) ${re.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=we,this}return ge.prototype=Object.create(Error.prototype),ge})();class se{constructor(we){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,we&&(this._ctorUnsubscribe=!0,this._unsubscribe=we)}unsubscribe(){let we;if(this.closed)return;let{_parentOrParents:re,_ctorUnsubscribe:xe,_unsubscribe:Pe,_subscriptions:ut}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,re instanceof se)re.remove(this);else if(null!==re)for(let dt=0;dt<re.length;++dt)re[dt].remove(this);if((0,V.m)(Pe)){xe&&(this._unsubscribe=void 0);try{Pe.call(this)}catch(dt){we=dt instanceof ie?de(dt.errors):[dt]}}if((0,n.k)(ut)){let dt=-1,st=ut.length;for(;++dt<st;){const Me=ut[dt];if((0,c.K)(Me))try{Me.unsubscribe()}catch(Ue){we=we||[],Ue instanceof ie?we=we.concat(de(Ue.errors)):we.push(Ue)}}}if(we)throw new ie(we)}add(we){let re=we;if(!we)return se.EMPTY;switch(typeof we){case"function":re=new se(we);case"object":if(re===this||re.closed||"function"!=typeof re.unsubscribe)return re;if(this.closed)return re.unsubscribe(),re;if(!(re instanceof se)){const ut=re;re=new se,re._subscriptions=[ut]}break;default:throw new Error("unrecognized teardown "+we+" added to Subscription.")}let{_parentOrParents:xe}=re;if(null===xe)re._parentOrParents=this;else if(xe instanceof se){if(xe===this)return re;re._parentOrParents=[xe,this]}else{if(-1!==xe.indexOf(this))return re;xe.push(this)}const Pe=this._subscriptions;return null===Pe?this._subscriptions=[re]:Pe.push(re),re}remove(we){const re=this._subscriptions;if(re){const xe=re.indexOf(we);-1!==xe&&re.splice(xe,1)}}}var ge;function de(ge){return ge.reduce((we,re)=>we.concat(re instanceof ie?re.errors:re),[])}se.EMPTY=((ge=new se).closed=!0,ge)},2494:(bn,Et,J)=>{"use strict";J.d(Et,{v:()=>c});let n=!1;const c={Promise:void 0,set useDeprecatedSynchronousErrorHandling(V){if(V){const pe=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+pe.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=V},get useDeprecatedSynchronousErrorHandling(){return n}}},5345:(bn,Et,J)=>{"use strict";J.d(Et,{IY:()=>pe,Ds:()=>se,ft:()=>ge});var n=J(7393),c=J(7574),V=J(7444);class pe extends n.L{constructor(re){super(),this.parent=re}_next(re){this.parent.notifyNext(re)}_error(re){this.parent.notifyError(re),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class se extends n.L{notifyNext(re){this.destination.next(re)}notifyError(re){this.destination.error(re)}notifyComplete(){this.destination.complete()}}function ge(we,re){if(re.closed)return;if(we instanceof c.y)return we.subscribe(re);let xe;try{xe=(0,V.s)(we)(re)}catch(Pe){re.error(Pe)}return xe}},2441:(bn,Et,J)=>{"use strict";J.d(Et,{c:()=>ie,N:()=>se});var n=J(9765),c=J(7574),V=J(5319),pe=J(1307);class ie extends c.y{constructor(xe,Pe){super(),this.source=xe,this.subjectFactory=Pe,this._refCount=0,this._isComplete=!1}_subscribe(xe){return this.getSubject().subscribe(xe)}getSubject(){const xe=this._subject;return(!xe||xe.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let xe=this._connection;return xe||(this._isComplete=!1,xe=this._connection=new V.w,xe.add(this.source.subscribe(new de(this.getSubject(),this))),xe.closed&&(this._connection=null,xe=V.w.EMPTY)),xe}refCount(){return(0,pe.x)()(this)}}const se=(()=>{const re=ie.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:re._subscribe},_isComplete:{value:re._isComplete,writable:!0},getSubject:{value:re.getSubject},connect:{value:re.connect},refCount:{value:re.refCount}}})();class de extends n.Yc{constructor(xe,Pe){super(xe),this.connectable=Pe}_error(xe){this._unsubscribe(),super._error(xe)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const xe=this.connectable;if(xe){this.connectable=null;const Pe=xe._connection;xe._refCount=0,xe._subject=null,xe._connection=null,Pe&&Pe.unsubscribe()}}}},8071:(bn,Et,J)=>{"use strict";J.d(Et,{z:()=>pe});var n=J(5917),c=J(3282);function pe(...ie){return(0,c.J)(1)((0,n.of)(...ie))}},9193:(bn,Et,J)=>{"use strict";J.d(Et,{E:()=>c,c:()=>V});var n=J(7574);const c=new n.y(ie=>ie.complete());function V(ie){return ie?function(ie){return new n.y(se=>ie.schedule(()=>se.complete()))}(ie):c}},4402:(bn,Et,J)=>{"use strict";J.d(Et,{D:()=>st});var n=J(7574),c=J(7444),V=J(5319),pe=J(6554),de=J(4087),ge=J(377),xe=J(4072),Pe=J(9489);function st(Me,Ue){return Ue?function(Me,Ue){if(null!=Me){if(function(Me){return Me&&"function"==typeof Me[pe.L]}(Me))return function(Me,Ue){return new n.y(Ve=>{const ct=new V.w;return ct.add(Ue.schedule(()=>{const je=Me[pe.L]();ct.add(je.subscribe({next(Qe){ct.add(Ue.schedule(()=>Ve.next(Qe)))},error(Qe){ct.add(Ue.schedule(()=>Ve.error(Qe)))},complete(){ct.add(Ue.schedule(()=>Ve.complete()))}}))})),ct})}(Me,Ue);if((0,xe.t)(Me))return function(Me,Ue){return new n.y(Ve=>{const ct=new V.w;return ct.add(Ue.schedule(()=>Me.then(je=>{ct.add(Ue.schedule(()=>{Ve.next(je),ct.add(Ue.schedule(()=>Ve.complete()))}))},je=>{ct.add(Ue.schedule(()=>Ve.error(je)))}))),ct})}(Me,Ue);if((0,Pe.z)(Me))return(0,de.r)(Me,Ue);if(function(Me){return Me&&"function"==typeof Me[ge.hZ]}(Me)||"string"==typeof Me)return function(Me,Ue){if(!Me)throw new Error("Iterable cannot be null");return new n.y(Ve=>{const ct=new V.w;let je;return ct.add(()=>{je&&"function"==typeof je.return&&je.return()}),ct.add(Ue.schedule(()=>{je=Me[ge.hZ](),ct.add(Ue.schedule(function(){if(Ve.closed)return;let Qe,ue;try{const z=je.next();Qe=z.value,ue=z.done}catch(z){return void Ve.error(z)}ue?Ve.complete():(Ve.next(Qe),this.schedule())}))})),ct})}(Me,Ue)}throw new TypeError((null!==Me&&typeof Me||Me)+" is not observable")}(Me,Ue):Me instanceof n.y?Me:new n.y((0,c.s)(Me))}},6693:(bn,Et,J)=>{"use strict";J.d(Et,{n:()=>pe});var n=J(7574),c=J(5015),V=J(4087);function pe(ie,se){return se?(0,V.r)(ie,se):new n.y((0,c.V)(ie))}},5917:(bn,Et,J)=>{"use strict";J.d(Et,{of:()=>pe});var n=J(4869),c=J(6693),V=J(4087);function pe(...ie){let se=ie[ie.length-1];return(0,n.K)(se)?(ie.pop(),(0,V.r)(ie,se)):(0,c.n)(ie)}},4612:(bn,Et,J)=>{"use strict";J.d(Et,{b:()=>c});var n=J(9773);function c(V,pe){return(0,n.zg)(V,pe,1)}},5435:(bn,Et,J)=>{"use strict";J.d(Et,{h:()=>c});var n=J(7393);function c(ie,se){return function(ge){return ge.lift(new V(ie,se))}}class V{constructor(se,de){this.predicate=se,this.thisArg=de}call(se,de){return de.subscribe(new pe(se,this.predicate,this.thisArg))}}class pe extends n.L{constructor(se,de,ge){super(se),this.predicate=de,this.thisArg=ge,this.count=0}_next(se){let de;try{de=this.predicate.call(this.thisArg,se,this.count++)}catch(ge){return void this.destination.error(ge)}de&&this.destination.next(se)}}},8939:(bn,Et,J)=>{"use strict";J.d(Et,{x:()=>V});var n=J(7393),c=J(5319);function V(se){return de=>de.lift(new pe(se))}class pe{constructor(de){this.callback=de}call(de,ge){return ge.subscribe(new ie(de,this.callback))}}class ie extends n.L{constructor(de,ge){super(de),this.add(new c.w(ge))}}},8002:(bn,Et,J)=>{"use strict";J.d(Et,{U:()=>c});var n=J(7393);function c(ie,se){return function(ge){if("function"!=typeof ie)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return ge.lift(new V(ie,se))}}class V{constructor(se,de){this.project=se,this.thisArg=de}call(se,de){return de.subscribe(new pe(se,this.project,this.thisArg))}}class pe extends n.L{constructor(se,de,ge){super(se),this.project=de,this.count=0,this.thisArg=ge||this}_next(se){let de;try{de=this.project.call(this.thisArg,se,this.count++)}catch(ge){return void this.destination.error(ge)}this.destination.next(de)}}},3282:(bn,Et,J)=>{"use strict";J.d(Et,{J:()=>V});var n=J(9773),c=J(4487);function V(pe=Number.POSITIVE_INFINITY){return(0,n.zg)(c.y,pe)}},9773:(bn,Et,J)=>{"use strict";J.d(Et,{zg:()=>pe});var n=J(8002),c=J(4402),V=J(5345);function pe(ge,we,re=Number.POSITIVE_INFINITY){return"function"==typeof we?xe=>xe.pipe(pe((Pe,ut)=>(0,c.D)(ge(Pe,ut)).pipe((0,n.U)((dt,st)=>we(Pe,dt,ut,st))),re)):("number"==typeof we&&(re=we),xe=>xe.lift(new ie(ge,re)))}class ie{constructor(we,re=Number.POSITIVE_INFINITY){this.project=we,this.concurrent=re}call(we,re){return re.subscribe(new se(we,this.project,this.concurrent))}}class se extends V.Ds{constructor(we,re,xe=Number.POSITIVE_INFINITY){super(we),this.project=re,this.concurrent=xe,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(we){this.active<this.concurrent?this._tryNext(we):this.buffer.push(we)}_tryNext(we){let re;const xe=this.index++;try{re=this.project(we,xe)}catch(Pe){return void this.destination.error(Pe)}this.active++,this._innerSub(re)}_innerSub(we){const re=new V.IY(this),xe=this.destination;xe.add(re);const Pe=(0,V.ft)(we,re);Pe!==re&&xe.add(Pe)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(we){this.destination.next(we)}notifyComplete(){const we=this.buffer;this.active--,we.length>0?this._next(we.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},1307:(bn,Et,J)=>{"use strict";J.d(Et,{x:()=>c});var n=J(7393);function c(){return function(se){return se.lift(new V(se))}}class V{constructor(se){this.connectable=se}call(se,de){const{connectable:ge}=this;ge._refCount++;const we=new pe(se,ge),re=de.subscribe(we);return we.closed||(we.connection=ge.connect()),re}}class pe extends n.L{constructor(se,de){super(se),this.connectable=de}_unsubscribe(){const{connectable:se}=this;if(!se)return void(this.connection=null);this.connectable=null;const de=se._refCount;if(de<=0)return void(this.connection=null);if(se._refCount=de-1,de>1)return void(this.connection=null);const{connection:ge}=this,we=se._connection;this.connection=null,we&&(!ge||we===ge)&&we.unsubscribe()}}},9761:(bn,Et,J)=>{"use strict";J.d(Et,{O:()=>V});var n=J(8071),c=J(4869);function V(...pe){const ie=pe[pe.length-1];return(0,c.K)(ie)?(pe.pop(),se=>(0,n.z)(pe,se,ie)):se=>(0,n.z)(pe,se)}},3190:(bn,Et,J)=>{"use strict";J.d(Et,{w:()=>pe});var n=J(8002),c=J(4402),V=J(5345);function pe(de,ge){return"function"==typeof ge?we=>we.pipe(pe((re,xe)=>(0,c.D)(de(re,xe)).pipe((0,n.U)((Pe,ut)=>ge(re,Pe,xe,ut))))):we=>we.lift(new ie(de))}class ie{constructor(ge){this.project=ge}call(ge,we){return we.subscribe(new se(ge,this.project))}}class se extends V.Ds{constructor(ge,we){super(ge),this.project=we,this.index=0}_next(ge){let we;const re=this.index++;try{we=this.project(ge,re)}catch(xe){return void this.destination.error(xe)}this._innerSub(we)}_innerSub(ge){const we=this.innerSubscription;we&&we.unsubscribe();const re=new V.IY(this),xe=this.destination;xe.add(re),this.innerSubscription=(0,V.ft)(ge,re),this.innerSubscription!==re&&xe.add(this.innerSubscription)}_complete(){const{innerSubscription:ge}=this;(!ge||ge.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(ge){this.destination.next(ge)}}},5257:(bn,Et,J)=>{"use strict";J.d(Et,{q:()=>pe});var n=J(7393),c=J(7108),V=J(9193);function pe(de){return ge=>0===de?(0,V.c)():ge.lift(new ie(de))}class ie{constructor(ge){if(this.total=ge,this.total<0)throw new c.W}call(ge,we){return we.subscribe(new se(ge,this.total))}}class se extends n.L{constructor(ge,we){super(ge),this.total=we,this.count=0}_next(ge){const we=this.total,re=++this.count;re<=we&&(this.destination.next(ge),re===we&&(this.destination.complete(),this.unsubscribe()))}}},6782:(bn,Et,J)=>{"use strict";J.d(Et,{R:()=>c});var n=J(5345);function c(ie){return se=>se.lift(new V(ie))}class V{constructor(se){this.notifier=se}call(se,de){const ge=new pe(se),we=(0,n.ft)(this.notifier,new n.IY(ge));return we&&!ge.seenValue?(ge.add(we),de.subscribe(ge)):ge}}class pe extends n.Ds{constructor(se){super(se),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},4087:(bn,Et,J)=>{"use strict";J.d(Et,{r:()=>V});var n=J(7574),c=J(5319);function V(pe,ie){return new n.y(se=>{const de=new c.w;let ge=0;return de.add(ie.schedule(function(){ge!==pe.length?(se.next(pe[ge++]),se.closed||de.add(this.schedule())):se.complete()})),de})}},6465:(bn,Et,J)=>{"use strict";J.d(Et,{o:()=>V});var n=J(5319);class c extends n.w{constructor(ie,se){super()}schedule(ie,se=0){return this}}class V extends c{constructor(ie,se){super(ie,se),this.scheduler=ie,this.work=se,this.pending=!1}schedule(ie,se=0){if(this.closed)return this;this.state=ie;const de=this.id,ge=this.scheduler;return null!=de&&(this.id=this.recycleAsyncId(ge,de,se)),this.pending=!0,this.delay=se,this.id=this.id||this.requestAsyncId(ge,this.id,se),this}requestAsyncId(ie,se,de=0){return setInterval(ie.flush.bind(ie,this),de)}recycleAsyncId(ie,se,de=0){if(null!==de&&this.delay===de&&!1===this.pending)return se;clearInterval(se)}execute(ie,se){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const de=this._execute(ie,se);if(de)return de;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(ie,se){let ge,de=!1;try{this.work(ie)}catch(we){de=!0,ge=!!we&&we||new Error(we)}if(de)return this.unsubscribe(),ge}_unsubscribe(){const ie=this.id,se=this.scheduler,de=se.actions,ge=de.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==ge&&de.splice(ge,1),null!=ie&&(this.id=this.recycleAsyncId(se,ie,null)),this.delay=null}}},6102:(bn,Et,J)=>{"use strict";J.d(Et,{v:()=>c});let n=(()=>{class V{constructor(ie,se=V.now){this.SchedulerAction=ie,this.now=se}schedule(ie,se=0,de){return new this.SchedulerAction(this,ie).schedule(de,se)}}return V.now=()=>Date.now(),V})();class c extends n{constructor(pe,ie=n.now){super(pe,()=>c.delegate&&c.delegate!==this?c.delegate.now():ie()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(pe,ie=0,se){return c.delegate&&c.delegate!==this?c.delegate.schedule(pe,ie,se):super.schedule(pe,ie,se)}flush(pe){const{actions:ie}=this;if(this.active)return void ie.push(pe);let se;this.active=!0;do{if(se=pe.execute(pe.state,pe.delay))break}while(pe=ie.shift());if(this.active=!1,se){for(;pe=ie.shift();)pe.unsubscribe();throw se}}}},377:(bn,Et,J)=>{"use strict";J.d(Et,{hZ:()=>c});const c="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},6554:(bn,Et,J)=>{"use strict";J.d(Et,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},9181:(bn,Et,J)=>{"use strict";J.d(Et,{b:()=>n});const n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},7108:(bn,Et,J)=>{"use strict";J.d(Et,{W:()=>c});const c=(()=>{function V(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return V.prototype=Object.create(Error.prototype),V})()},7971:(bn,Et,J)=>{"use strict";J.d(Et,{N:()=>c});const c=(()=>{function V(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return V.prototype=Object.create(Error.prototype),V})()},4449:(bn,Et,J)=>{"use strict";function n(c){setTimeout(()=>{throw c},0)}J.d(Et,{z:()=>n})},4487:(bn,Et,J)=>{"use strict";function n(c){return c}J.d(Et,{y:()=>n})},9796:(bn,Et,J)=>{"use strict";J.d(Et,{k:()=>n});const n=Array.isArray||(c=>c&&"number"==typeof c.length)},9489:(bn,Et,J)=>{"use strict";J.d(Et,{z:()=>n});const n=c=>c&&"number"==typeof c.length&&"function"!=typeof c},9105:(bn,Et,J)=>{"use strict";function n(c){return"function"==typeof c}J.d(Et,{m:()=>n})},1555:(bn,Et,J)=>{"use strict";function n(c){return null!==c&&"object"==typeof c}J.d(Et,{K:()=>n})},4072:(bn,Et,J)=>{"use strict";function n(c){return!!c&&"function"!=typeof c.subscribe&&"function"==typeof c.then}J.d(Et,{t:()=>n})},4869:(bn,Et,J)=>{"use strict";function n(c){return c&&"function"==typeof c.schedule}J.d(Et,{K:()=>n})},7444:(bn,Et,J)=>{"use strict";J.d(Et,{s:()=>xe});var n=J(5015),c=J(4449),pe=J(377),se=J(6554),ge=J(9489),we=J(4072),re=J(1555);const xe=Pe=>{if(Pe&&"function"==typeof Pe[se.L])return(Pe=>ut=>{const dt=Pe[se.L]();if("function"!=typeof dt.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return dt.subscribe(ut)})(Pe);if((0,ge.z)(Pe))return(0,n.V)(Pe);if((0,we.t)(Pe))return(Pe=>ut=>(Pe.then(dt=>{ut.closed||(ut.next(dt),ut.complete())},dt=>ut.error(dt)).then(null,c.z),ut))(Pe);if(Pe&&"function"==typeof Pe[pe.hZ])return(Pe=>ut=>{const dt=Pe[pe.hZ]();for(;;){let st;try{st=dt.next()}catch(Me){return ut.error(Me),ut}if(st.done){ut.complete();break}if(ut.next(st.value),ut.closed)break}return"function"==typeof dt.return&&ut.add(()=>{dt.return&&dt.return()}),ut})(Pe);{const dt=`You provided ${(0,re.K)(Pe)?"an invalid object":`'${Pe}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(dt)}}},5015:(bn,Et,J)=>{"use strict";J.d(Et,{V:()=>n});const n=c=>V=>{for(let pe=0,ie=c.length;pe<ie&&!V.closed;pe++)V.next(c[pe]);V.complete()}},6280:(bn,Et,J)=>{"use strict";J.d(Et,{e:()=>de});var n=J(639);const c=new n.OlP("JWT_OPTIONS");let V=(()=>{class ge{constructor(re=null){this.tokenGetter=re&&re.tokenGetter||function(){}}urlBase64Decode(re){let xe=re.replace(/-/g,"+").replace(/_/g,"/");switch(xe.length%4){case 0:break;case 2:xe+="==";break;case 3:xe+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(xe)}b64decode(re){let Pe="";if((re=String(re).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let dt,st,ut=0,Me=0;st=re.charAt(Me++);~st&&(dt=ut%4?64*dt+st:st,ut++%4)?Pe+=String.fromCharCode(255&dt>>(-2*ut&6)):0)st="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(st);return Pe}b64DecodeUnicode(re){return decodeURIComponent(Array.prototype.map.call(this.b64decode(re),xe=>"%"+("00"+xe.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(re=this.tokenGetter()){if(!re||""===re)return null;const xe=re.split(".");if(3!==xe.length)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.");const Pe=this.urlBase64Decode(xe[1]);if(!Pe)throw new Error("Cannot decode the token.");return JSON.parse(Pe)}getTokenExpirationDate(re=this.tokenGetter()){let xe;if(xe=this.decodeToken(re),!xe||!xe.hasOwnProperty("exp"))return null;const Pe=new Date(0);return Pe.setUTCSeconds(xe.exp),Pe}isTokenExpired(re=this.tokenGetter(),xe){if(!re||""===re)return!0;const Pe=this.getTokenExpirationDate(re);return xe=xe||0,null!==Pe&&!(Pe.valueOf()>(new Date).valueOf()+1e3*xe)}getAuthScheme(re,xe){return"function"==typeof re?re(xe):re}}return ge.\u0275fac=function(re){return new(re||ge)(n.LFG(c))},ge.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac}),ge})();var se=J(9650);let de=(()=>{class ge{constructor(re){this.myRoute=re,this.jwtHelper=new V,this.userMenu=!0}getUserData(){return JSON.parse(localStorage.getItem("LoggedInUser")||"{}")}isLoggednIn(){return this.token=localStorage.getItem("token"),!this.jwtHelper.isTokenExpired(this.token)}logout(){localStorage.removeItem("LoggedInUser"),localStorage.removeItem("userName"),localStorage.removeItem("UserID"),localStorage.removeItem("user"),localStorage.removeItem("token"),this.myRoute.navigate(["/login"]),this.userMenu=!0}}return ge.\u0275fac=function(re){return new(re||ge)(n.LFG(se.F0))},ge.\u0275prov=n.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})()},5830:(bn,Et,J)=>{"use strict";J.d(Et,{s:()=>de});var n=J(2340),c=J(1929),V=J(8002),pe=J(639),ie=J(1841),se=J(9344);let de=(()=>{class ge{constructor(re,xe){this.httpClient=re,this.toastrService=xe,this.currentUserSource=new c.t(1),this.currentUser$=this.currentUserSource.asObservable(),this.baseurl=n.N.baseUrl,this.token=sessionStorage.getItem("token")}PostApiLogin(re,xe){return this.httpClient.post(`${this.baseurl}`+re,xe)}postApi(re,xe){return this.httpClient.post(`${this.baseurl}`+re,xe)}getApi(re){return this.httpClient.get(`${this.baseurl}`+re)}reverseGeoCode(re,xe){return this.httpClient.get(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${re}&lon=${xe}&zoom=22&addressdetails=1`)}locationService(re,xe,Pe){window}login(re,xe){return this.httpClient.post(this.baseurl+re,xe).pipe((0,V.U)(Pe=>{const ut=Pe;return 200==ut.responseCode&&(1==Pe.responseData.accessType||3==Pe.responseData.accessType)&&this.setCurrentUser(ut),ut},Pe=>{console.log(Pe),this.toastrService.error("Server Error !!")}))}setCurrentUser(re){localStorage.setItem("user",JSON.stringify(re)),this.currentUserSource.next(re)}}return ge.\u0275fac=function(re){return new(re||ge)(pe.LFG(ie.eN),pe.LFG(se._W))},ge.\u0275prov=pe.Yz7({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})()},628:(bn,Et,J)=>{"use strict";J.d(Et,{m:()=>$i});var n=J(8583),c=J(4020),V=J(639),pe=J(7238),ie=J(3928),se=J(4207),de=J(9309),ge=J(3013),we=J(1818),re=J(6988),xe=J(665),Pe=J(5604);const ut=["container"],dt=["in"],st=["multiIn"],Me=["multiContainer"],Ue=["ddBtn"],Ve=function(ke,xt){return{"p-autocomplete-dd-input":ke,"p-disabled":xt}};function ct(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"input",7,8),V.NdJ("click",function(gt){return V.CHM(Y),V.oxw().onInputClick(gt)})("input",function(gt){return V.CHM(Y),V.oxw().onInput(gt)})("keydown",function(gt){return V.CHM(Y),V.oxw().onKeydown(gt)})("keyup",function(gt){return V.CHM(Y),V.oxw().onKeyup(gt)})("focus",function(gt){return V.CHM(Y),V.oxw().onInputFocus(gt)})("blur",function(gt){return V.CHM(Y),V.oxw().onInputBlur(gt)})("change",function(gt){return V.CHM(Y),V.oxw().onInputChange(gt)})("paste",function(gt){return V.CHM(Y),V.oxw().onInputPaste(gt)}),V.qZA()}if(2&ke){const Y=V.oxw();V.Tol(Y.inputStyleClass),V.Q6J("ngStyle",Y.inputStyle)("autocomplete",Y.autocomplete)("ngClass",V.WLB(23,Ve,Y.dropdown,Y.disabled))("value",Y.inputFieldValue)("readonly",Y.readonly)("disabled",Y.disabled),V.uIk("type",Y.type)("id",Y.inputId)("required",Y.required)("name",Y.name)("aria-controls",Y.listId)("aria-expanded",Y.overlayVisible)("aria-activedescendant","p-highlighted-option")("autofocus",Y.autofocus)("placeholder",Y.placeholder)("size",Y.size)("maxlength",Y.maxlength)("tabindex",Y.tabindex)("aria-label",Y.ariaLabel)("aria-labelledby",Y.ariaLabelledBy)("aria-required",Y.required)}}function je(ke,xt){1&ke&&V.GkF(0)}function Qe(ke,xt){if(1&ke&&(V.TgZ(0,"span",20),V._uU(1),V.qZA()),2&ke){const Y=V.oxw().$implicit,Ae=V.oxw(2);V.xp6(1),V.Oqu(Ae.resolveFieldData(Y))}}function ue(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"span",21),V.NdJ("click",function(){V.CHM(Y),V.oxw();const gt=V.MAs(1);return V.oxw(2).removeItem(gt)}),V.qZA()}}const z=function(ke){return{$implicit:ke}};function Le(ke,xt){if(1&ke&&(V.TgZ(0,"li",15,16),V.YNc(2,je,1,0,"ng-container",17),V.YNc(3,Qe,2,1,"span",18),V.YNc(4,ue,1,0,"span",19),V.qZA()),2&ke){const Y=xt.$implicit,Ae=V.oxw(2);V.xp6(2),V.Q6J("ngTemplateOutlet",Ae.selectedItemTemplate)("ngTemplateOutletContext",V.VKq(4,z,Y)),V.xp6(1),V.Q6J("ngIf",!Ae.selectedItemTemplate),V.xp6(1),V.Q6J("ngIf",!Ae.disabled&&!Ae.readonly)}}const ve=function(ke,xt){return{"p-disabled":ke,"p-focus":xt}};function Ie(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"ul",9,10),V.NdJ("click",function(){return V.CHM(Y),V.MAs(5).focus()}),V.YNc(2,Le,5,6,"li",11),V.TgZ(3,"li",12),V.TgZ(4,"input",13,14),V.NdJ("input",function(gt){return V.CHM(Y),V.oxw().onInput(gt)})("click",function(gt){return V.CHM(Y),V.oxw().onInputClick(gt)})("keydown",function(gt){return V.CHM(Y),V.oxw().onKeydown(gt)})("keyup",function(gt){return V.CHM(Y),V.oxw().onKeyup(gt)})("focus",function(gt){return V.CHM(Y),V.oxw().onInputFocus(gt)})("blur",function(gt){return V.CHM(Y),V.oxw().onInputBlur(gt)})("change",function(gt){return V.CHM(Y),V.oxw().onInputChange(gt)})("paste",function(gt){return V.CHM(Y),V.oxw().onInputPaste(gt)}),V.qZA(),V.qZA(),V.qZA()}if(2&ke){const Y=V.oxw();V.Q6J("ngClass",V.WLB(20,ve,Y.disabled,Y.focus)),V.xp6(2),V.Q6J("ngForOf",Y.value),V.xp6(2),V.Tol(Y.inputStyleClass),V.Q6J("disabled",Y.disabled)("readonly",Y.readonly)("autocomplete",Y.autocomplete)("ngStyle",Y.inputStyle),V.uIk("type",Y.type)("id",Y.inputId)("placeholder",Y.value&&Y.value.length?null:Y.placeholder)("tabindex",Y.tabindex)("maxlength",Y.maxlength)("autofocus",Y.autofocus)("aria-label",Y.ariaLabel)("aria-labelledby",Y.ariaLabelledBy)("aria-required",Y.required)("aria-controls",Y.listId)("aria-expanded",Y.overlayVisible)("aria-activedescendant","p-highlighted-option")}}function be(ke,xt){1&ke&&V._UZ(0,"i",22)}function Be(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"button",23,24),V.NdJ("click",function(gt){return V.CHM(Y),V.oxw().handleDropdownClick(gt)}),V.qZA()}if(2&ke){const Y=V.oxw();V.Q6J("icon",Y.dropdownIcon)("disabled",Y.disabled),V.uIk("tabindex",Y.tabindex)}}function bt(ke,xt){1&ke&&V.GkF(0)}function We(ke,xt){if(1&ke&&(V.TgZ(0,"span"),V._uU(1),V.qZA()),2&ke){const Y=V.oxw().$implicit,Ae=V.oxw(3);V.xp6(1),V.Oqu(Ae.getOptionGroupLabel(Y)||"empty")}}function Xt(ke,xt){1&ke&&V.GkF(0)}function Nt(ke,xt){1&ke&&V.GkF(0)}function Ut(ke,xt){if(1&ke&&(V.TgZ(0,"li",32),V.YNc(1,We,2,1,"span",29),V.YNc(2,Xt,1,0,"ng-container",17),V.qZA(),V.YNc(3,Nt,1,0,"ng-container",17)),2&ke){const Y=xt.$implicit;V.oxw(2);const Ae=V.MAs(7),gt=V.oxw();V.xp6(1),V.Q6J("ngIf",!gt.groupTemplate),V.xp6(1),V.Q6J("ngTemplateOutlet",gt.groupTemplate)("ngTemplateOutletContext",V.VKq(5,z,Y)),V.xp6(1),V.Q6J("ngTemplateOutlet",Ae)("ngTemplateOutletContext",V.VKq(7,z,gt.getOptionGroupChildren(Y)))}}function zn(ke,xt){if(1&ke&&(V.ynx(0),V.YNc(1,Ut,4,9,"ng-template",31),V.BQk()),2&ke){const Y=V.oxw(2);V.xp6(1),V.Q6J("ngForOf",Y.suggestions)}}function kt(ke,xt){1&ke&&V.GkF(0)}function _n(ke,xt){if(1&ke&&(V.ynx(0),V.YNc(1,kt,1,0,"ng-container",17),V.BQk()),2&ke){V.oxw();const Y=V.MAs(7),Ae=V.oxw();V.xp6(1),V.Q6J("ngTemplateOutlet",Y)("ngTemplateOutletContext",V.VKq(2,z,Ae.suggestions))}}function Ht(ke,xt){if(1&ke&&(V.TgZ(0,"span"),V._uU(1),V.qZA()),2&ke){const Y=V.oxw().$implicit,Ae=V.oxw(4);V.xp6(1),V.Oqu(Ae.resolveFieldData(Y))}}function sn(ke,xt){1&ke&&V.GkF(0)}const tt=function(ke){return{"p-highlight":ke}},at=function(ke,xt){return{$implicit:ke,index:xt}};function Tt(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"li",37),V.NdJ("click",function(){const hn=V.CHM(Y).$implicit;return V.oxw(4).selectItem(hn)}),V.YNc(1,Ht,2,1,"span",29),V.YNc(2,sn,1,0,"ng-container",17),V.qZA()}if(2&ke){const Y=xt.$implicit,Ae=xt.index,gt=V.oxw(4);V.Q6J("ngClass",V.VKq(5,tt,Y===gt.highlightOption))("id",gt.highlightOption==Y?"p-highlighted-option":""),V.xp6(1),V.Q6J("ngIf",!gt.itemTemplate),V.xp6(1),V.Q6J("ngTemplateOutlet",gt.itemTemplate)("ngTemplateOutletContext",V.WLB(7,at,Y,Ae))}}function et(ke,xt){if(1&ke&&(V.ynx(0),V.YNc(1,Tt,3,10,"li",36),V.BQk()),2&ke){const Y=V.oxw().$implicit;V.xp6(1),V.Q6J("ngForOf",Y)}}function mt(ke,xt){if(1&ke&&(V.TgZ(0,"span"),V._uU(1),V.qZA()),2&ke){const Y=V.oxw().$implicit,Ae=V.oxw(5);V.xp6(1),V.Oqu(Ae.resolveFieldData(Y))}}function on(ke,xt){1&ke&&V.GkF(0)}const un=function(ke){return{height:ke}};function cn(ke,xt){if(1&ke){const Y=V.EpF();V.ynx(0),V.TgZ(1,"li",41),V.NdJ("click",function(){const hn=V.CHM(Y).$implicit;return V.oxw(5).selectItem(hn)}),V.YNc(2,mt,2,1,"span",29),V.YNc(3,on,1,0,"ng-container",17),V.qZA(),V.BQk()}if(2&ke){const Y=xt.$implicit,Ae=xt.index,gt=V.oxw(5);V.xp6(1),V.Q6J("ngClass",V.VKq(6,tt,Y===gt.highlightOption))("ngStyle",V.VKq(8,un,gt.itemSize+"px"))("id",gt.highlightOption==Y?"p-highlighted-option":""),V.xp6(1),V.Q6J("ngIf",!gt.itemTemplate),V.xp6(1),V.Q6J("ngTemplateOutlet",gt.itemTemplate)("ngTemplateOutletContext",V.WLB(10,at,Y,Ae))}}function Rn(ke,xt){if(1&ke&&(V.TgZ(0,"cdk-virtual-scroll-viewport",39),V.YNc(1,cn,4,13,"ng-container",40),V.qZA()),2&ke){const Y=V.oxw(2).$implicit,Ae=V.oxw(2);V.Q6J("ngStyle",V.VKq(3,un,Ae.scrollHeight))("itemSize",Ae.itemSize),V.xp6(1),V.Q6J("cdkVirtualForOf",Y)}}function vi(ke,xt){if(1&ke&&V.YNc(0,Rn,2,5,"cdk-virtual-scroll-viewport",38),2&ke){const Y=V.oxw(3);V.Q6J("ngIf",Y.virtualScroll&&!Y.noResults)}}function Ci(ke,xt){if(1&ke&&(V.ynx(0),V._uU(1),V.BQk()),2&ke){const Y=V.oxw(4);V.xp6(1),V.hij(" ",Y.emptyMessageLabel," ")}}function Pn(ke,xt){1&ke&&V.GkF(0,null,43)}function Qn(ke,xt){if(1&ke&&(V.TgZ(0,"li",42),V.YNc(1,Ci,2,1,"ng-container",33),V.YNc(2,Pn,2,0,"ng-container",27),V.qZA()),2&ke){const Y=V.oxw(3);V.xp6(1),V.Q6J("ngIf",!Y.emptyTemplate)("ngIfElse",Y.empty),V.xp6(1),V.Q6J("ngTemplateOutlet",Y.emptyTemplate)}}function ai(ke,xt){if(1&ke&&(V.YNc(0,et,2,1,"ng-container",33),V.YNc(1,vi,1,1,"ng-template",null,34,V.W1O),V.YNc(3,Qn,3,3,"li",35)),2&ke){const Y=V.MAs(2),Ae=V.oxw(2);V.Q6J("ngIf",!Ae.virtualScroll)("ngIfElse",Y),V.xp6(3),V.Q6J("ngIf",Ae.noResults&&Ae.showEmptyMessage)}}function dn(ke,xt){1&ke&&V.GkF(0)}const Mn=function(){return["p-autocomplete-panel p-component"]},si=function(ke,xt){return{showTransitionParams:ke,hideTransitionParams:xt}},io=function(ke){return{value:"visible",params:ke}},Qi=function(ke){return{"p-autocomplete-virtualscroll":ke}};function Pt(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"div",25,26),V.NdJ("click",function(gt){return V.CHM(Y),V.oxw().onOverlayClick(gt)})("@overlayAnimation.start",function(gt){return V.CHM(Y),V.oxw().onOverlayAnimationStart(gt)})("@overlayAnimation.done",function(gt){return V.CHM(Y),V.oxw().onOverlayAnimationEnd(gt)}),V.YNc(2,bt,1,0,"ng-container",27),V.TgZ(3,"ul",28),V.YNc(4,zn,2,1,"ng-container",29),V.YNc(5,_n,2,4,"ng-container",29),V.YNc(6,ai,4,3,"ng-template",null,30,V.W1O),V.qZA(),V.YNc(8,dn,1,0,"ng-container",27),V.qZA()}if(2&ke){const Y=V.oxw();V.Tol(Y.panelStyleClass),V.Udp("max-height",Y.virtualScroll?"auto":Y.scrollHeight),V.Q6J("ngClass",V.DdM(13,Mn))("ngStyle",Y.panelStyle)("@overlayAnimation",V.VKq(17,io,V.WLB(14,si,Y.showTransitionOptions,Y.hideTransitionOptions))),V.xp6(2),V.Q6J("ngTemplateOutlet",Y.headerTemplate),V.xp6(1),V.Q6J("ngClass",V.VKq(19,Qi,Y.virtualScroll)),V.uIk("id",Y.listId),V.xp6(1),V.Q6J("ngIf",Y.group),V.xp6(1),V.Q6J("ngIf",!Y.group),V.xp6(3),V.Q6J("ngTemplateOutlet",Y.footerTemplate)}}const Je=function(ke,xt){return{"p-autocomplete p-component":!0,"p-autocomplete-dd":ke,"p-autocomplete-multiple":xt}},me={provide:xe.JU,useExisting:(0,V.Gpc)(()=>Se),multi:!0};let Se=(()=>{class ke{constructor(Y,Ae,gt,hn,Jn,go){this.el=Y,this.renderer=Ae,this.cd=gt,this.differs=hn,this.config=Jn,this.overlayService=go,this.minLength=1,this.delay=300,this.type="text",this.autoZIndex=!0,this.baseZIndex=0,this.dropdownIcon="pi pi-chevron-down",this.unique=!0,this.completeOnFocus=!1,this.completeMethod=new V.vpe,this.onSelect=new V.vpe,this.onUnselect=new V.vpe,this.onFocus=new V.vpe,this.onBlur=new V.vpe,this.onDropdownClick=new V.vpe,this.onClear=new V.vpe,this.onKeyUp=new V.vpe,this.onShow=new V.vpe,this.onHide=new V.vpe,this.scrollHeight="200px",this.dropdownMode="blank",this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.autocomplete="off",this.onModelChange=()=>{},this.onModelTouched=()=>{},this.overlayVisible=!1,this.focus=!1,this.inputFieldValue=null,this.differ=hn.find([]).create(null),this.listId=(0,re.Th)()+"_list"}get suggestions(){return this._suggestions}set suggestions(Y){this._suggestions=Y,this.handleSuggestionsChange()}ngAfterViewChecked(){this.suggestionsUpdated&&this.overlay&&this.overlay.offsetParent&&(setTimeout(()=>{this.overlay&&this.alignOverlay()},1),this.suggestionsUpdated=!1),this.highlightOptionChanged&&(setTimeout(()=>{if(this.overlay&&this.itemsWrapper){let Y=we.p.findSingle(this.overlay,"li.p-highlight");if(Y&&we.p.scrollInView(this.itemsWrapper,Y),this.virtualScroll&&this.viewPort){let Ae=this.viewPort.getRenderedRange();this.updateVirtualScrollSelectedIndex(),(Ae.start>this.virtualScrollSelectedIndex||Ae.end<this.virtualScrollSelectedIndex)&&this.viewPort.scrollToIndex(this.virtualScrollSelectedIndex)}}},1),this.highlightOptionChanged=!1)}handleSuggestionsChange(){null!=this._suggestions&&this.loading&&(this.highlightOption=null,this._suggestions.length?(this.noResults=!1,this.show(),this.suggestionsUpdated=!0,this.autoHighlight&&(this.highlightOption=this._suggestions[0])):(this.noResults=!0,this.showEmptyMessage?(this.show(),this.suggestionsUpdated=!0):this.hide()),this.loading=!1)}ngAfterContentInit(){this.templates.forEach(Y=>{switch(Y.getType()){case"item":this.itemTemplate=Y.template;break;case"group":this.groupTemplate=Y.template;break;case"selectedItem":this.selectedItemTemplate=Y.template;break;case"header":this.headerTemplate=Y.template;break;case"empty":this.emptyTemplate=Y.template;break;case"footer":this.footerTemplate=Y.template;break;default:this.itemTemplate=Y.template}})}updateVirtualScrollSelectedIndex(){this.highlightOption&&this.suggestions&&this.suggestions.length&&(this.virtualScrollSelectedIndex=this.findOptionIndex(this.highlightOption,this.suggestions))}writeValue(Y){this.value=Y,this.filled=this.value&&""!=this.value,this.updateInputField(),this.cd.markForCheck()}getOptionGroupChildren(Y){return this.optionGroupChildren?re.gb.resolveFieldData(Y,this.optionGroupChildren):Y.items}getOptionGroupLabel(Y){return this.optionGroupLabel?re.gb.resolveFieldData(Y,this.optionGroupLabel):null!=Y.label?Y.label:Y}registerOnChange(Y){this.onModelChange=Y}registerOnTouched(Y){this.onModelTouched=Y}setDisabledState(Y){this.disabled=Y,this.cd.markForCheck()}onInput(Y){if(!this.inputKeyDown&&we.p.isIE())return;this.timeout&&clearTimeout(this.timeout);let Ae=Y.target.value;!this.multiple&&!this.forceSelection&&this.onModelChange(Ae),0===Ae.length&&!this.multiple&&(this.hide(),this.onClear.emit(Y),this.onModelChange(Ae)),Ae.length>=this.minLength?this.timeout=setTimeout(()=>{this.search(Y,Ae)},this.delay):this.hide(),this.updateFilledState(),this.inputKeyDown=!1}onInputClick(Y){this.documentClickListener&&(this.inputClick=!0)}search(Y,Ae){null!=Ae&&(this.loading=!0,this.completeMethod.emit({originalEvent:Y,query:Ae}))}selectItem(Y,Ae=!0){this.forceSelectionUpdateModelTimeout&&(clearTimeout(this.forceSelectionUpdateModelTimeout),this.forceSelectionUpdateModelTimeout=null),this.multiple?(this.multiInputEL.nativeElement.value="",this.value=this.value||[],(!this.isSelected(Y)||!this.unique)&&(this.value=[...this.value,Y],this.onModelChange(this.value))):(this.inputEL.nativeElement.value=this.resolveFieldData(Y),this.value=Y,this.onModelChange(this.value)),this.onSelect.emit(Y),this.updateFilledState(),Ae&&(this.itemClicked=!0,this.focusInput())}show(){if(this.multiInputEL||this.inputEL){let Y=this.multiple?this.multiInputEL.nativeElement.ownerDocument.activeElement==this.multiInputEL.nativeElement:this.inputEL.nativeElement.ownerDocument.activeElement==this.inputEL.nativeElement;!this.overlayVisible&&Y&&(this.overlayVisible=!0)}}onOverlayAnimationStart(Y){switch(Y.toState){case"visible":this.overlay=Y.element,this.itemsWrapper=this.virtualScroll?we.p.findSingle(this.overlay,".cdk-virtual-scroll-viewport"):this.overlay,this.appendOverlay(),this.autoZIndex&&re.P9.set("overlay",this.overlay,this.baseZIndex+this.config.zIndex.overlay),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),this.onShow.emit(Y);break;case"void":this.onOverlayHide()}}onOverlayAnimationEnd(Y){switch(Y.toState){case"void":this.autoZIndex&&re.P9.clear(Y.element)}}onOverlayClick(Y){this.overlayService.add({originalEvent:Y,target:this.el.nativeElement})}appendOverlay(){this.appendTo&&("body"===this.appendTo?document.body.appendChild(this.overlay):we.p.appendChild(this.overlay,this.appendTo),this.overlay.style.minWidth||(this.overlay.style.minWidth=we.p.getWidth(this.el.nativeElement.children[0])+"px"))}resolveFieldData(Y){let Ae=this.field?re.gb.resolveFieldData(Y,this.field):Y;return void 0!==Ae?Ae:""}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}alignOverlay(){this.appendTo?we.p.absolutePosition(this.overlay,this.multiple?this.multiContainerEL.nativeElement:this.inputEL.nativeElement):we.p.relativePosition(this.overlay,this.multiple?this.multiContainerEL.nativeElement:this.inputEL.nativeElement)}hide(){this.overlayVisible=!1,this.cd.markForCheck()}handleDropdownClick(Y){if(this.overlayVisible)this.hide();else{this.focusInput();let Ae=this.multiple?this.multiInputEL.nativeElement.value:this.inputEL.nativeElement.value;"blank"===this.dropdownMode?this.search(Y,""):"current"===this.dropdownMode&&this.search(Y,Ae),this.onDropdownClick.emit({originalEvent:Y,query:Ae})}}focusInput(){this.multiple?this.multiInputEL.nativeElement.focus():this.inputEL.nativeElement.focus()}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(ge.ws.EMPTY_MESSAGE)}removeItem(Y){let Ae=we.p.index(Y),gt=this.value[Ae];this.value=this.value.filter((hn,Jn)=>Jn!=Ae),this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(gt)}onKeydown(Y){if(this.overlayVisible)switch(Y.which){case 40:if(this.group){let gt=this.findOptionGroupIndex(this.highlightOption,this.suggestions);if(-1!==gt){let hn=gt.itemIndex+1;hn<this.getOptionGroupChildren(this.suggestions[gt.groupIndex]).length?(this.highlightOption=this.getOptionGroupChildren(this.suggestions[gt.groupIndex])[hn],this.highlightOptionChanged=!0):this.suggestions[gt.groupIndex+1]&&(this.highlightOption=this.getOptionGroupChildren(this.suggestions[gt.groupIndex+1])[0],this.highlightOptionChanged=!0)}else this.highlightOption=this.getOptionGroupChildren(this.suggestions[0])[0]}else{let gt=this.findOptionIndex(this.highlightOption,this.suggestions);if(-1!=gt){var Ae=gt+1;Ae!=this.suggestions.length&&(this.highlightOption=this.suggestions[Ae],this.highlightOptionChanged=!0)}else this.highlightOption=this.suggestions[0]}Y.preventDefault();break;case 38:if(this.group){let gt=this.findOptionGroupIndex(this.highlightOption,this.suggestions);if(-1!==gt){let hn=gt.itemIndex-1;if(hn>=0)this.highlightOption=this.getOptionGroupChildren(this.suggestions[gt.groupIndex])[hn],this.highlightOptionChanged=!0;else if(hn<0){let Jn=this.suggestions[gt.groupIndex-1];Jn&&(this.highlightOption=this.getOptionGroupChildren(Jn)[this.getOptionGroupChildren(Jn).length-1],this.highlightOptionChanged=!0)}}}else{let gt=this.findOptionIndex(this.highlightOption,this.suggestions);gt>0&&(this.highlightOption=this.suggestions[gt-1],this.highlightOptionChanged=!0)}Y.preventDefault();break;case 13:this.highlightOption&&(this.selectItem(this.highlightOption),this.hide()),Y.preventDefault();break;case 27:this.hide(),Y.preventDefault();break;case 9:this.highlightOption&&this.selectItem(this.highlightOption),this.hide()}else 40===Y.which&&this.suggestions&&this.search(Y,Y.target.value);if(this.multiple)switch(Y.which){case 8:if(this.value&&this.value.length&&!this.multiInputEL.nativeElement.value){this.value=[...this.value];const gt=this.value.pop();this.onModelChange(this.value),this.updateFilledState(),this.onUnselect.emit(gt)}}this.inputKeyDown=!0}onKeyup(Y){this.onKeyUp.emit(Y)}onInputFocus(Y){!this.itemClicked&&this.completeOnFocus&&this.search(Y,this.multiple?this.multiInputEL.nativeElement.value:this.inputEL.nativeElement.value),this.focus=!0,this.onFocus.emit(Y),this.itemClicked=!1}onInputBlur(Y){this.focus=!1,this.onModelTouched(),this.onBlur.emit(Y)}onInputChange(Y){if(this.forceSelection){let Ae=!1,gt=Y.target.value.trim();if(this.suggestions)for(let hn of this.suggestions){let Jn=this.field?re.gb.resolveFieldData(hn,this.field):hn;if(Jn&&gt===Jn.trim()){Ae=!0,this.forceSelectionUpdateModelTimeout=setTimeout(()=>{this.selectItem(hn,!1)},250);break}}Ae||(this.multiple?this.multiInputEL.nativeElement.value="":(this.value=null,this.inputEL.nativeElement.value=""),this.onClear.emit(Y),this.onModelChange(this.value),this.updateFilledState())}}onInputPaste(Y){this.onKeydown(Y)}isSelected(Y){let Ae=!1;if(this.value&&this.value.length)for(let gt=0;gt<this.value.length;gt++)if(re.gb.equals(this.value[gt],Y,this.dataKey)){Ae=!0;break}return Ae}findOptionIndex(Y,Ae){let gt=-1;if(Ae)for(let hn=0;hn<Ae.length;hn++)if(re.gb.equals(Y,Ae[hn])){gt=hn;break}return gt}findOptionGroupIndex(Y,Ae){let gt,hn;if(Ae)for(let Jn=0;Jn<Ae.length&&(gt=Jn,hn=this.findOptionIndex(Y,this.getOptionGroupChildren(Ae[Jn])),-1===hn);Jn++);return-1!==hn?{groupIndex:gt,itemIndex:hn}:-1}updateFilledState(){this.filled=this.multiple?this.value&&this.value.length||this.multiInputEL&&this.multiInputEL.nativeElement&&""!=this.multiInputEL.nativeElement.value:this.inputFieldValue&&""!=this.inputFieldValue||this.inputEL&&this.inputEL.nativeElement&&""!=this.inputEL.nativeElement.value}updateInputField(){let Y=this.resolveFieldData(this.value);this.inputFieldValue=Y,this.inputEL&&this.inputEL.nativeElement&&(this.inputEL.nativeElement.value=Y),this.updateFilledState()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","click",Ae=>{3!==Ae.which&&(!this.inputClick&&!this.isDropdownClick(Ae)&&this.hide(),this.inputClick=!1,this.cd.markForCheck())}))}isDropdownClick(Y){if(this.dropdown){let Ae=Y.target;return Ae===this.dropdownButton.nativeElement||Ae.parentNode===this.dropdownButton.nativeElement}return!1}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.documentResizeListener)}unbindDocumentResizeListener(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}onWindowResize(){this.hide()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new we.V(this.containerEL.nativeElement,()=>{this.overlayVisible&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null,this.onHide.emit()}ngOnDestroy(){this.forceSelectionUpdateModelTimeout&&(clearTimeout(this.forceSelectionUpdateModelTimeout),this.forceSelectionUpdateModelTimeout=null),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&re.P9.clear(this.overlay),this.restoreOverlayAppend(),this.onOverlayHide()}}return ke.\u0275fac=function(Y){return new(Y||ke)(V.Y36(V.SBq),V.Y36(V.Qsj),V.Y36(V.sBO),V.Y36(V.ZZ4),V.Y36(ge.b4),V.Y36(ge.F0))},ke.\u0275cmp=V.Xpm({type:ke,selectors:[["p-autoComplete"]],contentQueries:function(Y,Ae,gt){if(1&Y&&V.Suo(gt,ge.jx,4),2&Y){let hn;V.iGM(hn=V.CRH())&&(Ae.templates=hn)}},viewQuery:function(Y,Ae){if(1&Y&&(V.Gf(ut,5),V.Gf(dt,5),V.Gf(st,5),V.Gf(Me,5),V.Gf(Ue,5),V.Gf(Pe.N7,5)),2&Y){let gt;V.iGM(gt=V.CRH())&&(Ae.containerEL=gt.first),V.iGM(gt=V.CRH())&&(Ae.inputEL=gt.first),V.iGM(gt=V.CRH())&&(Ae.multiInputEL=gt.first),V.iGM(gt=V.CRH())&&(Ae.multiContainerEL=gt.first),V.iGM(gt=V.CRH())&&(Ae.dropdownButton=gt.first),V.iGM(gt=V.CRH())&&(Ae.viewPort=gt.first)}},hostVars:4,hostBindings:function(Y,Ae){2&Y&&V.ekj("p-inputwrapper-filled",Ae.filled)("p-inputwrapper-focus",Ae.focus&&!Ae.disabled||Ae.overlayVisible)},inputs:{minLength:"minLength",delay:"delay",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",inputStyle:"inputStyle",inputId:"inputId",inputStyleClass:"inputStyleClass",placeholder:"placeholder",readonly:"readonly",disabled:"disabled",virtualScroll:"virtualScroll",itemSize:"itemSize",maxlength:"maxlength",name:"name",required:"required",size:"size",appendTo:"appendTo",autoHighlight:"autoHighlight",forceSelection:"forceSelection",type:"type",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",dropdownIcon:"dropdownIcon",unique:"unique",group:"group",completeOnFocus:"completeOnFocus",field:"field",scrollHeight:"scrollHeight",dropdown:"dropdown",showEmptyMessage:"showEmptyMessage",dropdownMode:"dropdownMode",multiple:"multiple",tabindex:"tabindex",dataKey:"dataKey",emptyMessage:"emptyMessage",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",autofocus:"autofocus",autocomplete:"autocomplete",optionGroupChildren:"optionGroupChildren",optionGroupLabel:"optionGroupLabel",suggestions:"suggestions"},outputs:{completeMethod:"completeMethod",onSelect:"onSelect",onUnselect:"onUnselect",onFocus:"onFocus",onBlur:"onBlur",onDropdownClick:"onDropdownClick",onClear:"onClear",onKeyUp:"onKeyUp",onShow:"onShow",onHide:"onHide"},features:[V._Bn([me])],decls:7,vars:12,consts:[[3,"ngClass","ngStyle"],["container",""],["class","p-autocomplete-input p-inputtext p-component","aria-autocomplete","list","role","searchbox","aria-haspopup","true",3,"ngStyle","class","autocomplete","ngClass","value","readonly","disabled","click","input","keydown","keyup","focus","blur","change","paste",4,"ngIf"],["class","p-autocomplete-multiple-container p-component p-inputtext",3,"ngClass","click",4,"ngIf"],["class","p-autocomplete-loader pi pi-spinner pi-spin",4,"ngIf"],["type","button","pButton","","class","p-autocomplete-dropdown","pRipple","",3,"icon","disabled","click",4,"ngIf"],[3,"ngClass","max-height","ngStyle","class","click",4,"ngIf"],["aria-autocomplete","list","role","searchbox","aria-haspopup","true",1,"p-autocomplete-input","p-inputtext","p-component",3,"ngStyle","autocomplete","ngClass","value","readonly","disabled","click","input","keydown","keyup","focus","blur","change","paste"],["in",""],[1,"p-autocomplete-multiple-container","p-component","p-inputtext",3,"ngClass","click"],["multiContainer",""],["class","p-autocomplete-token",4,"ngFor","ngForOf"],[1,"p-autocomplete-input-token"],["aria-autocomplete","list","role","searchbox","aria-haspopup","true",3,"disabled","readonly","autocomplete","ngStyle","input","click","keydown","keyup","focus","blur","change","paste"],["multiIn",""],[1,"p-autocomplete-token"],["token",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","p-autocomplete-token-label",4,"ngIf"],["class","p-autocomplete-token-icon pi pi-times-circle",3,"click",4,"ngIf"],[1,"p-autocomplete-token-label"],[1,"p-autocomplete-token-icon","pi","pi-times-circle",3,"click"],[1,"p-autocomplete-loader","pi","pi-spinner","pi-spin"],["type","button","pButton","","pRipple","",1,"p-autocomplete-dropdown",3,"icon","disabled","click"],["ddBtn",""],[3,"ngClass","ngStyle","click"],["panel",""],[4,"ngTemplateOutlet"],["role","listbox",1,"p-autocomplete-items",3,"ngClass"],[4,"ngIf"],["itemslist",""],["ngFor","",3,"ngForOf"],[1,"p-autocomplete-item-group"],[4,"ngIf","ngIfElse"],["virtualScrollList",""],["class","p-autocomplete-empty-message",4,"ngIf"],["role","option","class","p-autocomplete-item","pRipple","",3,"ngClass","id","click",4,"ngFor","ngForOf"],["role","option","pRipple","",1,"p-autocomplete-item",3,"ngClass","id","click"],[3,"ngStyle","itemSize",4,"ngIf"],[3,"ngStyle","itemSize"],[4,"cdkVirtualFor","cdkVirtualForOf"],["role","option","pRipple","",1,"p-autocomplete-item",3,"ngClass","ngStyle","id","click"],[1,"p-autocomplete-empty-message"],["empty",""]],template:function(Y,Ae){1&Y&&(V.TgZ(0,"span",0,1),V.YNc(2,ct,2,26,"input",2),V.YNc(3,Ie,6,23,"ul",3),V.YNc(4,be,1,0,"i",4),V.YNc(5,Be,2,3,"button",5),V.YNc(6,Pt,9,21,"div",6),V.qZA()),2&Y&&(V.Tol(Ae.styleClass),V.Q6J("ngClass",V.WLB(9,Je,Ae.dropdown,Ae.multiple))("ngStyle",Ae.style),V.xp6(2),V.Q6J("ngIf",!Ae.multiple),V.xp6(1),V.Q6J("ngIf",Ae.multiple),V.xp6(1),V.Q6J("ngIf",Ae.loading),V.xp6(1),V.Q6J("ngIf",Ae.dropdown),V.xp6(1),V.Q6J("ngIf",Ae.overlayVisible))},directives:[n.mk,n.PC,n.O5,n.sg,n.tP,se.Hq,de.H,Pe.N7,Pe.xd,Pe.x0],styles:[".p-autocomplete{display:inline-flex;position:relative}.p-autocomplete-loader{position:absolute;top:50%;margin-top:-.5rem}.p-autocomplete-dd .p-autocomplete-input{flex:1 1 auto;width:1%}.p-autocomplete-dd .p-autocomplete-input,.p-autocomplete-dd .p-autocomplete-multiple-container{border-top-right-radius:0;border-bottom-right-radius:0}.p-autocomplete-dd .p-autocomplete-dropdown{border-top-left-radius:0;border-bottom-left-radius:0}.p-autocomplete .p-autocomplete-panel{min-width:100%;top:0;left:0}.p-autocomplete-panel{position:absolute;overflow:auto}.p-autocomplete-items{margin:0;padding:0;list-style-type:none}.p-autocomplete-item{cursor:pointer;white-space:nowrap;position:relative;overflow:hidden}.p-autocomplete-multiple-container{margin:0;padding:0;list-style-type:none;cursor:text;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap}.p-autocomplete-token{cursor:default;display:inline-flex;align-items:center;flex:0 0 auto}.p-autocomplete-token-icon{cursor:pointer}.p-autocomplete-input-token{flex:1 1 auto;display:inline-flex}.p-autocomplete-input-token input{border:0;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.p-fluid .p-autocomplete{display:flex}.p-fluid .p-autocomplete-dd .p-autocomplete-input{width:1%}"],encapsulation:2,data:{animation:[(0,pe.X$)("overlayAnimation",[(0,pe.eR)(":enter",[(0,pe.oB)({opacity:0,transform:"scaleY(0.8)"}),(0,pe.jt)("{{showTransitionParams}}")]),(0,pe.eR)(":leave",[(0,pe.jt)("{{hideTransitionParams}}",(0,pe.oB)({opacity:0}))])])]},changeDetection:0}),ke})(),W=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez,ie.j,se.hJ,ge.m8,de.T,Pe.Cl],ge.m8,Pe.Cl]}),ke})(),U=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez]]}),ke})();var X=J(8521),He=J(4748),Qt=J(3758);let Lt=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez]]}),ke})(),bo=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez,ge.m8,se.hJ,Lt,Qt.$,de.T],ge.m8,se.hJ,Lt,Qt.$]}),ke})();var yo=J(5913),vo=J(6949),fo=J(5121),nt=J(4654);const Ot=["cb"],$=function(ke,xt,Y){return{"p-checkbox-label":!0,"p-checkbox-label-active":ke,"p-disabled":xt,"p-checkbox-label-focus":Y}};function De(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"label",7),V.NdJ("click",function(gt){V.CHM(Y);const hn=V.oxw(),Jn=V.MAs(3);return hn.onClick(gt,Jn,!0)}),V._uU(1),V.qZA()}if(2&ke){const Y=V.oxw();V.Tol(Y.labelStyleClass),V.Q6J("ngClass",V.kEZ(5,$,Y.checked,Y.disabled,Y.focused)),V.uIk("for",Y.inputId),V.xp6(1),V.Oqu(Y.label)}}const $e=function(ke,xt,Y){return{"p-checkbox p-component":!0,"p-checkbox-checked":ke,"p-checkbox-disabled":xt,"p-checkbox-focused":Y}},Vt=function(ke,xt,Y){return{"p-highlight":ke,"p-disabled":xt,"p-focus":Y}},Bt={provide:xe.JU,useExisting:(0,V.Gpc)(()=>St),multi:!0};let St=(()=>{class ke{constructor(Y){this.cd=Y,this.checkboxIcon="pi pi-check",this.onChange=new V.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.focused=!1,this.checked=!1}onClick(Y,Ae,gt){Y.preventDefault(),!this.disabled&&!this.readonly&&(this.checked=!this.checked,this.updateModel(Y),gt&&Ae.focus())}updateModel(Y){this.binary?this.onModelChange(this.checked):(this.checked?this.addValue():this.removeValue(),this.onModelChange(this.model),this.formControl&&this.formControl.setValue(this.model)),this.onChange.emit({checked:this.checked,originalEvent:Y})}handleChange(Y){this.readonly||(this.checked=Y.target.checked,this.updateModel(Y))}isChecked(){return this.binary?this.model:this.model&&this.model.indexOf(this.value)>-1}removeValue(){this.model=this.model.filter(Y=>Y!==this.value)}addValue(){this.model=this.model?[...this.model,this.value]:[this.value]}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}focus(){this.inputViewChild.nativeElement.focus()}writeValue(Y){this.model=Y,this.checked=this.isChecked(),this.cd.markForCheck()}registerOnChange(Y){this.onModelChange=Y}registerOnTouched(Y){this.onModelTouched=Y}setDisabledState(Y){this.disabled=Y,this.cd.markForCheck()}}return ke.\u0275fac=function(Y){return new(Y||ke)(V.Y36(V.sBO))},ke.\u0275cmp=V.Xpm({type:ke,selectors:[["p-checkbox"]],viewQuery:function(Y,Ae){if(1&Y&&V.Gf(Ot,5),2&Y){let gt;V.iGM(gt=V.CRH())&&(Ae.inputViewChild=gt.first)}},inputs:{value:"value",name:"name",disabled:"disabled",binary:"binary",label:"label",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass",formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:"readonly",required:"required"},outputs:{onChange:"onChange"},features:[V._Bn([Bt])],decls:7,vars:26,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox",3,"readonly","value","checked","disabled","focus","blur","change"],["cb",""],[1,"p-checkbox-box",3,"ngClass","click"],[1,"p-checkbox-icon",3,"ngClass"],[3,"class","ngClass","click",4,"ngIf"],[3,"ngClass","click"]],template:function(Y,Ae){if(1&Y){const gt=V.EpF();V.TgZ(0,"div",0),V.TgZ(1,"div",1),V.TgZ(2,"input",2,3),V.NdJ("focus",function(){return Ae.onFocus()})("blur",function(){return Ae.onBlur()})("change",function(Jn){return Ae.handleChange(Jn)}),V.qZA(),V.qZA(),V.TgZ(4,"div",4),V.NdJ("click",function(Jn){V.CHM(gt);const go=V.MAs(3);return Ae.onClick(Jn,go,!0)}),V._UZ(5,"span",5),V.qZA(),V.qZA(),V.YNc(6,De,2,9,"label",6)}2&Y&&(V.Tol(Ae.styleClass),V.Q6J("ngStyle",Ae.style)("ngClass",V.kEZ(18,$e,Ae.checked,Ae.disabled,Ae.focused)),V.xp6(2),V.Q6J("readonly",Ae.readonly)("value",Ae.value)("checked",Ae.checked)("disabled",Ae.disabled),V.uIk("id",Ae.inputId)("name",Ae.name)("tabindex",Ae.tabindex)("aria-labelledby",Ae.ariaLabelledBy)("aria-label",Ae.ariaLabel)("aria-checked",Ae.checked)("required",Ae.required),V.xp6(2),V.Q6J("ngClass",V.kEZ(22,Vt,Ae.checked,Ae.disabled,Ae.focused)),V.xp6(1),V.Q6J("ngClass",Ae.checked?Ae.checkboxIcon:null),V.xp6(1),V.Q6J("ngIf",Ae.label))},directives:[n.PC,n.mk,n.O5],styles:[".p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom}.p-checkbox-disabled{cursor:default!important;pointer-events:none}.p-checkbox-box{display:flex;justify-content:center;align-items:center}p-checkbox{display:inline-flex;vertical-align:bottom;align-items:center}.p-checkbox-label{line-height:1}"],encapsulation:2,changeDetection:0}),ke})(),en=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez]]}),ke})();var An=J(8598);(0,pe.oQ)([(0,pe.oB)({transform:"{{transform}}",opacity:0}),(0,pe.jt)("{{transition}}",(0,pe.oB)({transform:"none",opacity:1}))]),(0,pe.oQ)([(0,pe.jt)("{{transition}}",(0,pe.oB)({transform:"{{transform}}",opacity:0}))]);let Yn=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez]]}),ke})();const Ko=["rb"],Ni=function(ke,xt,Y){return{"p-radiobutton-label":!0,"p-radiobutton-label-active":ke,"p-disabled":xt,"p-radiobutton-label-focus":Y}};function oo(ke,xt){if(1&ke){const Y=V.EpF();V.TgZ(0,"label",4),V.NdJ("click",function(gt){return V.CHM(Y),V.oxw().select(gt)}),V._uU(1),V.qZA()}if(2&ke){const Y=V.oxw(),Ae=V.MAs(3);V.Tol(Y.labelStyleClass),V.Q6J("ngClass",V.kEZ(5,Ni,Ae.checked,Y.disabled,Y.focused)),V.uIk("for",Y.inputId),V.xp6(1),V.Oqu(Y.label)}}const Co=function(ke,xt,Y){return{"p-radiobutton p-component":!0,"p-radiobutton-checked":ke,"p-radiobutton-disabled":xt,"p-radiobutton-focused":Y}},So=function(ke,xt,Y){return{"p-radiobutton-box":!0,"p-highlight":ke,"p-disabled":xt,"p-focus":Y}},fi={provide:xe.JU,useExisting:(0,V.Gpc)(()=>Yi),multi:!0};let Do=(()=>{class ke{constructor(){this.accessors=[]}add(Y,Ae){this.accessors.push([Y,Ae])}remove(Y){this.accessors=this.accessors.filter(Ae=>Ae[1]!==Y)}select(Y){this.accessors.forEach(Ae=>{this.isSameGroup(Ae,Y)&&Ae[1]!==Y&&Ae[1].writeValue(Y.value)})}isSameGroup(Y,Ae){return!!Y[0].control&&Y[0].control.root===Ae.control.control.root&&Y[1].name===Ae.name}}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275prov=V.Yz7({token:ke,factory:ke.\u0275fac,providedIn:"root"}),ke})(),Yi=(()=>{class ke{constructor(Y,Ae,gt){this.cd=Y,this.injector=Ae,this.registry=gt,this.onClick=new V.vpe,this.onFocus=new V.vpe,this.onBlur=new V.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.control=this.injector.get(xe.a5),this.checkName(),this.registry.add(this.control,this)}handleClick(Y,Ae,gt){Y.preventDefault(),!this.disabled&&(this.select(Y),gt&&Ae.focus())}select(Y){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit(Y))}writeValue(Y){this.checked=Y==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(Y){this.onModelChange=Y}registerOnTouched(Y){this.onModelTouched=Y}setDisabledState(Y){this.disabled=Y,this.cd.markForCheck()}onInputFocus(Y){this.focused=!0,this.onFocus.emit(Y)}onInputBlur(Y){this.focused=!1,this.onModelTouched(),this.onBlur.emit(Y)}onChange(Y){this.select(Y)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n          If you define both a name and a formControlName attribute on your radio button, their values\n          must match. Ex: <p-radioButton formControlName="food" name="food"></p-radioButton>\n        ')}}return ke.\u0275fac=function(Y){return new(Y||ke)(V.Y36(V.sBO),V.Y36(V.zs3),V.Y36(Do))},ke.\u0275cmp=V.Xpm({type:ke,selectors:[["p-radioButton"]],viewQuery:function(Y,Ae){if(1&Y&&V.Gf(Ko,5),2&Y){let gt;V.iGM(gt=V.CRH())&&(Ae.inputViewChild=gt.first)}},inputs:{value:"value",formControlName:"formControlName",name:"name",disabled:"disabled",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[V._Bn([fi])],decls:7,vars:23,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"checked","disabled","change","focus","blur"],["rb",""],[3,"ngClass","click"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"]],template:function(Y,Ae){if(1&Y){const gt=V.EpF();V.TgZ(0,"div",0),V.TgZ(1,"div",1),V.TgZ(2,"input",2,3),V.NdJ("change",function(Jn){return Ae.onChange(Jn)})("focus",function(Jn){return Ae.onInputFocus(Jn)})("blur",function(Jn){return Ae.onInputBlur(Jn)}),V.qZA(),V.qZA(),V.TgZ(4,"div",4),V.NdJ("click",function(Jn){V.CHM(gt);const go=V.MAs(3);return Ae.handleClick(Jn,go,!0)}),V._UZ(5,"span",5),V.qZA(),V.qZA(),V.YNc(6,oo,2,9,"label",6)}2&Y&&(V.Tol(Ae.styleClass),V.Q6J("ngStyle",Ae.style)("ngClass",V.kEZ(15,Co,Ae.checked,Ae.disabled,Ae.focused)),V.xp6(2),V.Q6J("checked",Ae.checked)("disabled",Ae.disabled),V.uIk("id",Ae.inputId)("name",Ae.name)("value",Ae.value)("tabindex",Ae.tabindex)("aria-checked",Ae.checked)("aria-label",Ae.ariaLabel)("aria-labelledby",Ae.ariaLabelledBy),V.xp6(2),V.Q6J("ngClass",V.kEZ(19,So,Ae.checked,Ae.disabled,Ae.focused)),V.xp6(2),V.Q6J("ngIf",Ae.label))},directives:[n.PC,n.mk,n.O5],encapsulation:2,changeDetection:0}),ke})(),ro=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({imports:[[n.ez]]}),ke})();var zo=J(8421),Xo=J(5396),ho=J(103),ki=J(3473),Ki=J(9364);let $i=(()=>{class ke{}return ke.\u0275fac=function(Y){return new(Y||ke)},ke.\u0275mod=V.oAB({type:ke}),ke.\u0275inj=V.cJS({providers:[ge.YP],imports:[[n.ez],c.Q,Ki.dp,He.LU,W,X.U$,xe.u5,en,zo.Gg,se.hJ,ie.j,vo.q4,fo.S,ro,bo,xe.UX,nt.S,U,An._8,Yn,yo.Qy,Xo.fx,ho.kW,ki.D]}),ke})()},2340:(bn,Et,J)=>{"use strict";J.d(Et,{N:()=>n});const n={baseUrl:"/Api/api/",production:!0}},6260:(bn,Et,J)=>{"use strict";var n=J(9075),c=J(639),V=J(9650),pe=J(665),ie=J(5830),se=J(6280),de=J(9344),ge=J(8583),we=J(5121),re=J(3013);function xe(B,x){1&B&&(c.ynx(0),c._uU(1," ingrese su numero de usuario"),c.BQk())}function Pe(B,x){if(1&B&&(c.TgZ(0,"div",36),c.YNc(1,xe,2,0,"ng-container",37),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.f.UserName.errors.required)}}function ut(B,x){1&B&&(c.ynx(0),c._uU(1,"por favor ingrese su clave "),c.BQk())}function dt(B,x){if(1&B&&(c.TgZ(0,"div",36),c.YNc(1,ut,2,0,"ng-container",37),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.f.Password.errors.required)}}function st(B,x){1&B&&(c.TgZ(0,"h4"),c._uU(1," olvide mi clave"),c.qZA())}function Me(B,x){1&B&&(c.TgZ(0,"div"),c._uU(1,"coreo es requerido"),c.qZA())}function Ue(B,x){1&B&&(c.TgZ(0,"div"),c._uU(1,"ingrese su clave de Email valida"),c.qZA())}function Ve(B,x){if(1&B&&(c.TgZ(0,"div",38),c.YNc(1,Me,2,0,"div",37),c.YNc(2,Ue,2,0,"div",37),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.u.Email.errors.required),c.xp6(1),c.Q6J("ngIf",null==m.u.Email.errors?null:m.u.Email.errors.pattern)}}function ct(B,x){1&B&&(c.TgZ(0,"p",39),c._uU(1,"agregar: por favor ingrese solo el correo registrado."),c.qZA())}const je=function(){return{width:"30vw"}},Qe=function(B){return{"is-invalid":B}};let ue=(()=>{class B{constructor(m,O,Q,ce,Ne){this.fb=m,this.apiService=O,this.auth=Q,this.toastrService=ce,this.router=Ne,this.submitted=!1,this.remember=!1,this.UserName="",this.Password="",this.display=!1,this.Model={},this.IsLogin=!1,this.loginForm=this.fb.group({UserName:[localStorage.getItem("UserNameSaved"),pe.kI.required],Password:[localStorage.getItem("passwordSaved"),pe.kI.required],remember:[localStorage.getItem("Remember")]}),(""==localStorage.getItem("Remember")||"false"==localStorage.getItem("Remember"))&&this.loginForm.patchValue({remember:!1})}ngOnInit(){console.log(localStorage),this.ForgotPwdFrom=this.fb.group({Email:["",pe.kI.required]}),this.currentUser$=this.apiService.currentUser$}get f(){return this.loginForm.controls}get u(){return this.ForgotPwdFrom.controls}submitForm(){this.submitted=!0,!this.loginForm.invalid&&(!0===JSON.parse(this.loginForm.controls.remember.value)?(localStorage.setItem("UserNameSaved",this.loginForm.controls.UserName.value),localStorage.setItem("passwordSaved",this.loginForm.controls.Password.value),localStorage.setItem("Remember",JSON.parse(this.loginForm.controls.remember.value))):(localStorage.setItem("UserNameSaved",""),localStorage.setItem("passwordSaved",""),localStorage.setItem("Remember",JSON.parse("false"))),this.apiService.login("Auth/Login",this.loginForm.value).subscribe(m=>{200==m.responseCode?(console.log(console.log(m)),1==m.responseData.accessType||3==m.responseData.accessType?(localStorage.setItem("userName",this.loginForm.controls.UserName.value),localStorage.LoggedInUser=JSON.stringify(m.responseData),localStorage.setItem("UserID",m.responseData.userId),localStorage.token=m.responseData.token,localStorage.refreshToken=m.responseData.refreshToken,window.location.href="/dashboard"):this.toastrService.error("Usuario no autorizado !! Comun\xedquese con el administrador.","Error de inicio de sesion")):this.toastrService.error(m.responseMessage,"Error de inicio de sesion")},m=>{this.toastrService.error("error de servidor  !!")}))}ShowforgotPassword(){this.display=!0}SendForgotPassword(){this.ForgotPwdFrom.invalid||this.apiService.PostApiLogin("User/ForgotPasswordWeb",this.ForgotPwdFrom.value).subscribe(m=>{"200"==m.responseCode?(this.toastrService.success(m.responseMessage,"\xc9xito"),this.display=!1):this.toastrService.warning(m.responseMessage,"Advertencia")},m=>{this.toastrService.error("error de servidor  !!")})}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(pe.qu),c.Y36(ie.s),c.Y36(se.e),c.Y36(de._W),c.Y36(V.F0))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-login"]],decls:48,vars:16,consts:[[1,"limiter"],[1,"container-login100"],["_ngcontent-uyl-c1","","_ngcontent-rbw-c18","",1,"logo-wraper"],["alt","Logo","src","./../../../assets/images/logo.png"],[1,"wrap-login100"],["novalidate","",1,"login100-form","validate-form",3,"formGroup"],[1,"login100-form-title","p-b-34","p-t-27"],["data-validate","Enter username",1,"wrap-input100","validate-input"],["type","text","formControlName","UserName","placeholder","numero de usuario","required","",1,"input100",3,"keydown.space"],["data-placeholder","\uf207",1,"focus-input100"],["class","redmark",4,"ngIf"],["data-validate","Enter password",1,"wrap-input100","validate-input"],["type","password","formControlName","Password","placeholder","clave","required","",1,"input100",3,"keydown.space"],["data-placeholder","\uf191",1,"focus-input100"],[1,"row"],[1,"col-sm-6"],["formControlName","remember","id","ckb1","type","checkbox","name","remember-me",1,"input-checkbox100"],["for","ckb1",1,"label-checkbox100"],[1,"text-right","p-t-90","col-sm-6"],[1,"forgotpass",3,"click"],[1,"container-login100-form-btn"],[1,"login100-form-btn",3,"disabled","click"],[1,"signup-link","text-center","col-sm-12",2,"display","none"],["routerLink","/signup"],[1,"zmdi","zmdi-long-arrow-right"],["header","Forgot Password","position","center",3,"modal","blockScroll","visible","visibleChange"],["pTemplate","header"],["novalidate","",1,"modelForm",3,"formGroup","ngSubmit"],[1,"form-group","col-sm-12"],["for","Email"],[2,"color","red"],["type","email","pattern","^[A-Za-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$","formControlName","Email","placeholder","Id de Email",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],[1,"form-group"],["type","submit",1,"btn","btn-primary",3,"disabled"],["pTemplate","footer"],[1,"redmark"],[4,"ngIf"],[1,"invalid-feedback"],[2,"font-size","small","color","red","margin-bottom","0%","position","unset"]],template:function(m,O){1&m&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c._UZ(3,"img",3),c.qZA(),c.TgZ(4,"div",4),c.TgZ(5,"form",5),c.TgZ(6,"span",6),c._uU(7," ingresar "),c.qZA(),c.TgZ(8,"div",7),c.TgZ(9,"input",8),c.NdJ("keydown.space",function(ce){return ce.preventDefault()}),c.qZA(),c._UZ(10,"span",9),c.YNc(11,Pe,2,1,"div",10),c.qZA(),c.TgZ(12,"div",11),c.TgZ(13,"input",12),c.NdJ("keydown.space",function(ce){return ce.preventDefault()}),c.qZA(),c._UZ(14,"span",13),c.YNc(15,dt,2,1,"div",10),c.qZA(),c._UZ(16,"div"),c.TgZ(17,"div",14),c.TgZ(18,"div",15),c._UZ(19,"input",16),c.TgZ(20,"label",17),c._uU(21," guardar informacion "),c.qZA(),c.qZA(),c.TgZ(22,"div",18),c.TgZ(23,"span",19),c.NdJ("click",function(){return O.ShowforgotPassword()}),c._uU(24," olivido su clave? "),c.qZA(),c.qZA(),c.qZA(),c.TgZ(25,"div",20),c.TgZ(26,"button",21),c.NdJ("click",function(){return O.submitForm()}),c._uU(27," ingresar "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(28,"div",22),c.TgZ(29,"a",23),c._uU(30,"Create new account "),c._UZ(31,"i",24),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(32,"p-dialog",25),c.NdJ("visibleChange",function(ce){return O.display=ce}),c.YNc(33,st,2,0,"ng-template",26),c.TgZ(34,"form",27),c.NdJ("ngSubmit",function(){return O.SendForgotPassword()}),c.TgZ(35,"div",28),c.TgZ(36,"label",29),c.TgZ(37,"b"),c._uU(38,"ID de Email "),c.qZA(),c.TgZ(39,"span",30),c._uU(40," *"),c.qZA(),c._uU(41," :"),c.qZA(),c._UZ(42,"input",31),c.YNc(43,Ve,3,2,"div",32),c.qZA(),c.TgZ(44,"div",33),c.TgZ(45,"button",34),c._uU(46,"Enviar"),c.qZA(),c.qZA(),c.qZA(),c.YNc(47,ct,2,0,"ng-template",35),c.qZA()),2&m&&(c.xp6(5),c.Q6J("formGroup",O.loginForm),c.xp6(6),c.Q6J("ngIf",O.f.UserName.errors&&(O.f.UserName.dirty||O.f.UserName.touched)),c.xp6(4),c.Q6J("ngIf",O.f.Password.errors&&(O.f.Password.dirty||O.f.Password.touched)),c.xp6(11),c.Q6J("disabled",O.loginForm.invalid),c.xp6(6),c.Akn(c.DdM(13,je)),c.Q6J("modal",O.display)("blockScroll",O.display)("visible",O.display),c.xp6(2),c.Q6J("formGroup",O.ForgotPwdFrom),c.xp6(8),c.Q6J("ngClass",c.VKq(14,Qe,O.u.Email.errors&&(O.u.Email.dirty||O.u.Email.touched))),c.xp6(1),c.Q6J("ngIf",O.u.Email.invalid&&(O.u.Email.dirty||O.u.Email.touched)),c.xp6(2),c.Q6J("disabled",O.ForgotPwdFrom.invalid))},directives:[pe._Y,pe.JL,pe.sg,pe.Fj,pe.JJ,pe.u,pe.Q7,ge.O5,pe.Wl,V.yS,we.V,re.jx,pe.c5,ge.mk],styles:[".signup-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#000;text-decoration:none}.logo-wraper[_ngcontent-%COMP%]{text-align:center;display:block;width:100%}.logo-wraper[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:144px;margin-bottom:20px}.forgotpass[_ngcontent-%COMP%]{font-size:13px;color:#fff;line-height:1.2;cursor:pointer}.redmark[_ngcontent-%COMP%]{color:#ff6a6a}.input100[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#fff}.input100[_ngcontent-%COMP%]::-moz-placeholder{color:#fff}.input100[_ngcontent-%COMP%]:-ms-input-placeholder{color:#fff}.input100[_ngcontent-%COMP%]:-moz-placeholder{color:#fff}"]}),B})();var z=J(5913),Le=J(4654);let ve=(()=>{class B{constructor(m){this.api=m}ngOnInit(){var m=(new Date).getFullYear();this.yearRange=[{name:m-2,code:"NY"},{name:m-1,code:"RM"},{name:m,code:"LDN"}],this.selectedCity=this.yearRange[2],this.getCountForDashboard(m),this.getMappingDataForDashboard(m),this.getDamageDataForDashboard(m),this.getDemappingDataForDashboard(m),this.getStolenDataForDashboard(m),this.getUsersRegisteredDataForDashboard(m)}valueChanged(){var m=this.selectedCity.name;this.getMappingDataForDashboard(m),this.getDamageDataForDashboard(m),this.getDemappingDataForDashboard(m),this.getStolenDataForDashboard(m),this.getUsersRegisteredDataForDashboard(m)}getCountForDashboard(m){this.api.getApi("Dashboard/GetCountForDashboard").subscribe(O=>{200==O.responseCode&&(this.usersCount=O.responseData[0].totalUser,this.hologramStockCount=O.responseData[0].totalHologramStock,this.mappingCount=O.responseData[0].totalMapping,this.damagedCount=O.responseData[0].totalDamage,this.deMappingCount=O.responseData[0].totalDeMapping,this.stolenCount=O.responseData[0].totalHologramStolen)})}getStolenDataForDashboard(m){this.api.getApi(`Dashboard/GetStolenDataForDashboard?year=${m}`).subscribe(O=>{this.stolenData=O.responseData})}getDamageDataForDashboard(m){this.api.getApi(`Dashboard/GetDamageDataForDashboard?year=${m}`).subscribe(O=>{this.damageData=O.responseData})}getDemappingDataForDashboard(m){this.api.getApi(`Dashboard/GetDeMappingDataForDashboard?year=${m}`).subscribe(O=>{this.deMappingData=O.responseData})}getUsersRegisteredDataForDashboard(m){this.api.getApi(`Dashboard/GetRegisteredDataForDashboard?year=${m}`).subscribe(O=>{this.userRegistrationData=O.responseData})}getMappingDataForDashboard(m){this.api.getApi(`Dashboard/GetMappingDataForDashboard?year=${m}`).subscribe(O=>{this.mappingData=O.responseData})}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(ie.s))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-dashboard"]],decls:93,vars:13,consts:[[1,"row"],[1,"col-lg-4","col-md-6","col-sm-6"],[1,"card","card-stats"],[1,"card-header","card-header-icon",2,"background-color","#6290a0"],[1,"card-icon"],[1,"fa","fa-users"],[1,"card-category"],[1,"card-title","white-text"],[1,"card-header","card-header-icon",2,"background-color","#ff9800"],[1,"fa","fa-line-chart"],[1,"card-header","card-header-icon",2,"background-color","#9faeef"],[1,"fa","fa-object-group"],[1,"card-header","card-header-icon",2,"background-color","#a7c85f"],[1,"fa","fa-object-ungroup"],[1,"card-header","card-header-icon",2,"background-color","#6bbaf3"],[1,"fa","fa-trash"],[1,"card-header","card-header-icon",2,"background-color","#b382f7"],[1,"fa","fa-eye-slash"],[1,"col-lg-12"],[1,"card"],[1,"card-body","text-right"],["optionLabel","name",3,"options","ngModel","ngModelChange","onChange"],[1,"col-lg-6"],[1,"card-header"],[1,"chart-heading"],[1,"card-body"],["type","bar",3,"data"]],template:function(m,O){1&m&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"div",3),c.TgZ(4,"div",4),c._UZ(5,"i",5),c.qZA(),c.TgZ(6,"p",6),c._uU(7,"usuarios"),c.qZA(),c.TgZ(8,"h3",7),c._uU(9),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(10,"div",1),c.TgZ(11,"div",2),c.TgZ(12,"div",8),c.TgZ(13,"div",4),c._UZ(14,"i",9),c.qZA(),c.TgZ(15,"p",6),c._uU(16,"inventario de hologramas"),c.qZA(),c.TgZ(17,"h3",7),c._uU(18),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(19,"div",1),c.TgZ(20,"div",2),c.TgZ(21,"div",10),c.TgZ(22,"div",4),c._UZ(23,"i",11),c.qZA(),c.TgZ(24,"p",6),c._uU(25,"Mapear"),c.qZA(),c.TgZ(26,"h3",7),c._uU(27),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(28,"div",1),c.TgZ(29,"div",2),c.TgZ(30,"div",12),c.TgZ(31,"div",4),c._UZ(32,"i",13),c.qZA(),c.TgZ(33,"p",6),c._uU(34,"eliminar Mapeo"),c.qZA(),c.TgZ(35,"h3",7),c._uU(36),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(37,"div",1),c.TgZ(38,"div",2),c.TgZ(39,"div",14),c.TgZ(40,"div",4),c._UZ(41,"i",15),c.qZA(),c.TgZ(42,"p",6),c._uU(43,"da\xf1ado"),c.qZA(),c.TgZ(44,"h3",7),c._uU(45),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(46,"div",1),c.TgZ(47,"div",2),c.TgZ(48,"div",16),c.TgZ(49,"div",4),c._UZ(50,"i",17),c.qZA(),c.TgZ(51,"p",6),c._uU(52,"robado"),c.qZA(),c.TgZ(53,"h3",7),c._uU(54),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(55,"div",0),c.TgZ(56,"div",18),c.TgZ(57,"div",19),c.TgZ(58,"div",20),c.TgZ(59,"p-selectButton",21),c.NdJ("ngModelChange",function(ce){return O.selectedCity=ce})("onChange",function(){return O.valueChanged()}),c.qZA(),c.qZA(),c.TgZ(60,"div",0),c.TgZ(61,"div",22),c.TgZ(62,"div",23),c.TgZ(63,"label",24),c._uU(64,"producto mapeado"),c.qZA(),c.qZA(),c.TgZ(65,"div",25),c._UZ(66,"p-chart",26),c.qZA(),c.qZA(),c.TgZ(67,"div",22),c.TgZ(68,"div",23),c.TgZ(69,"label",24),c._uU(70,"producto desmapeado"),c.qZA(),c.qZA(),c.TgZ(71,"div",25),c._UZ(72,"p-chart",26),c.qZA(),c.qZA(),c.qZA(),c.TgZ(73,"div",0),c.TgZ(74,"div",22),c.TgZ(75,"div",23),c.TgZ(76,"label",24),c._uU(77,"producto da\xf1ado"),c.qZA(),c.qZA(),c.TgZ(78,"div",25),c._UZ(79,"p-chart",26),c.qZA(),c.qZA(),c.TgZ(80,"div",22),c.TgZ(81,"div",23),c.TgZ(82,"label",24),c._uU(83,"producto robado"),c.qZA(),c.qZA(),c.TgZ(84,"div",25),c._UZ(85,"p-chart",26),c.qZA(),c.qZA(),c.qZA(),c.TgZ(86,"div",22),c.TgZ(87,"div",23),c.TgZ(88,"label",24),c._uU(89,"usuario registrado"),c.qZA(),c.qZA(),c.TgZ(90,"div",25),c._UZ(91,"p-chart",26),c.qZA(),c.qZA(),c._UZ(92,"div",25),c.qZA(),c.qZA(),c.qZA()),2&m&&(c.xp6(9),c.Oqu(O.usersCount),c.xp6(9),c.Oqu(O.hologramStockCount),c.xp6(9),c.Oqu(O.mappingCount),c.xp6(9),c.Oqu(O.deMappingCount),c.xp6(9),c.Oqu(O.damagedCount),c.xp6(9),c.Oqu(O.stolenCount),c.xp6(5),c.Q6J("options",O.yearRange)("ngModel",O.selectedCity),c.xp6(7),c.Q6J("data",O.mappingData),c.xp6(6),c.Q6J("data",O.deMappingData),c.xp6(7),c.Q6J("data",O.damageData),c.xp6(6),c.Q6J("data",O.stolenData),c.xp6(6),c.Q6J("data",O.userRegistrationData))},directives:[z.UN,pe.JJ,pe.On,Le.C],styles:[".card[_ngcontent-%COMP%]{box-shadow:0 1px 4px #00000024;border:0;margin-bottom:10px;margin-top:10px;border-radius:6px;color:#333;background:#fff;width:100%}.chart-heading[_ngcontent-%COMP%]{color:#c38747;text-transform:uppercase;text-align:center;display:block;font-size:20px;font-weight:500}.card-title[_ngcontent-%COMP%]{font-weight:300}.white-text[_ngcontent-%COMP%]{color:#fff}.card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{color:#999;font-size:12px;line-height:22px}.card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]   .material-icons[_ngcontent-%COMP%]{position:relative;top:4px;font-size:16px;margin-right:3px;margin-left:3px;color:#f44336!important}.card-stats[_ngcontent-%COMP%]   .card-header.card-header-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:36px;line-height:56px;width:56px;height:56px;text-align:center;color:#fff}.card[_ngcontent-%COMP%]   [class*=card-header-][_ngcontent-%COMP%]   .card-icon[_ngcontent-%COMP%], .card[_ngcontent-%COMP%]   [class*=card-header-][_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]{border-radius:3px;padding:15px;margin-top:0;margin-right:15px;float:left}.card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]{padding:10px 0 0;border-top:1px solid #eee;margin:0 15px 10px;border-radius:0;justify-content:space-between;align-items:center}.card-header[_ngcontent-%COMP%], .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]{background:#fff;border:none;width:auto}.card-stats[_ngcontent-%COMP%]   .card-header[_ngcontent-%COMP%]   .card-category[_ngcontent-%COMP%]:not([class*=text-]){color:#fff;font-size:14px;margin:0;font-weight:300;padding-top:10px}.card-stats[_ngcontent-%COMP%]   .card-header.card-header-icon[_ngcontent-%COMP%]{text-align:right;padding:0 15px;position:relative;border-radius:5px}.card-stats[_ngcontent-%COMP%]   .card-header-warning[_ngcontent-%COMP%]{background:linear-gradient(60deg,#ffa726,#fb8c00)}.card-stats[_ngcontent-%COMP%]   .card-header-success[_ngcontent-%COMP%]{background:linear-gradient(60deg,#66bb6a,#43a047)}.card-stats[_ngcontent-%COMP%]   .card-header-danger[_ngcontent-%COMP%]{background:linear-gradient(60deg,#ef5350,#e53935)}.card-stats[_ngcontent-%COMP%]   .card-header-info[_ngcontent-%COMP%]{background:linear-gradient(60deg,#26c6da,#00acc1)}"]}),B})(),Ie=(()=>{class B{constructor(m,O,Q){this.auth=m,this._toastr=O,this.myRoute=Q}canActivate(m,O){return!!this.auth.isLoggednIn()||(this._toastr.error("Login first"),this.myRoute.navigateByUrl("/login"),!1)}}return B.\u0275fac=function(m){return new(m||B)(c.LFG(se.e),c.LFG(de._W),c.LFG(V.F0))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();var be=J(1704),Be=J(3473),bt=J(4207);function We(B,x){if(1&B&&(c.TgZ(0,"a",10),c._UZ(1,"i"),c._uU(2),c.qZA()),2&B){const m=c.oxw().$implicit;c.xp6(1),c.Gre("menu-icon ",m.icon,""),c.xp6(1),c.Oqu(m.name)}}function Xt(B,x){if(1&B&&(c.TgZ(0,"a",11),c._UZ(1,"i"),c._uU(2),c.qZA()),2&B){const m=c.oxw().$implicit;c.MGl("routerLink","/",m.url,""),c.xp6(1),c.Gre("menu-icon ",m.icon,""),c.xp6(1),c.Oqu(m.name)}}function Nt(B,x){if(1&B&&(c.TgZ(0,"li"),c.TgZ(1,"a",14),c._uU(2),c.qZA(),c.qZA()),2&B){const m=x.$implicit;c.xp6(1),c.MGl("routerLink","/",m.url,""),c.xp6(1),c.Oqu(m.name)}}function Ut(B,x){if(1&B&&(c.TgZ(0,"ul",12),c.YNc(1,Nt,3,2,"li",13),c.qZA()),2&B){const m=c.oxw().$implicit;c.xp6(1),c.Q6J("ngForOf",m.children)}}const zn=function(B){return{"menu-item-has-children":B}};function kt(B,x){if(1&B&&(c.TgZ(0,"li",6),c.YNc(1,We,3,4,"a",7),c.YNc(2,Xt,3,5,"a",8),c.YNc(3,Ut,2,1,"ul",9),c.qZA()),2&B){const m=x.$implicit;c.Q6J("ngClass",c.VKq(4,zn,!m.url)),c.xp6(1),c.Q6J("ngIf",!m.url),c.xp6(1),c.Q6J("ngIf",m.url),c.xp6(1),c.Q6J("ngIf",m.children)}}let _n=(()=>{class B{constructor(m,O,Q){this.apiService=m,this.authService=O,this.router=Q,this.hashLink='href="#"',this.routerlinks='routerLink="{{nav.url}}"',this.sideBarNav=[],this.isSticky=!1}checkScroll(){this.isSticky=window.pageYOffset>=90}ngOnInit(){this.roleId=this.authService.getUserData().roleId,this.getNavData()}getNavData(){this.apiService.getApi("Role/GetPagesForUser/"+this.roleId).subscribe(m=>{this.sideBarNav=m,this.sideBarNav.unshift({url:"/dashboard",name:"Panel",icon:"fa fa-dashboard"})},m=>{this.router.navigateByUrl("/login")})}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(ie.s),c.Y36(se.e),c.Y36(V.F0))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-sidebar"]],hostBindings:function(m,O){1&m&&c.NdJ("scroll",function(ce){return O.checkScroll(ce)},!1,c.Jf7)},decls:6,vars:3,consts:[[1,"test"],["id","left-panel",1,"left-panel"],["id","navbarToggleExternalContent",1,"navbar","navbar-expand-sm","navbar-default"],["id","main-menu",1,"main-menu","collapse","navbar-collapse"],[1,"nav","navbar-nav"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","dropdown-toggle","href","#",4,"ngIf"],["class","dropdown-toggle",3,"routerLink",4,"ngIf"],["class","sub-menu children dropdown-menu",4,"ngIf"],["href","#",1,"dropdown-toggle"],[1,"dropdown-toggle",3,"routerLink"],[1,"sub-menu","children","dropdown-menu"],[4,"ngFor","ngForOf"],[3,"routerLink"]],template:function(m,O){1&m&&(c.TgZ(0,"div",0),c.TgZ(1,"aside",1),c.TgZ(2,"nav",2),c.TgZ(3,"div",3),c.TgZ(4,"ul",4),c.YNc(5,kt,4,6,"li",5),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&m&&(c.xp6(1),c.Tol(O.isSticky?"sticky":null),c.xp6(4),c.Q6J("ngForOf",O.sideBarNav))},directives:[ge.sg,ge.mk,ge.O5,V.yS],styles:[".sticky[_ngcontent-%COMP%]{position:fixed;top:0;z-index:10}"]}),B})(),Ht=(()=>{class B{constructor(){}ngOnInit(){}}return B.\u0275fac=function(m){return new(m||B)},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-footer"]],decls:9,vars:0,consts:[[1,"site-footer"],[1,"footer-inner"],[1,"row"],[1,"col-sm-6"],[1,"col-sm-6","text-right"],["href","https://holostik.com/","target","_blank"]],template:function(m,O){1&m&&(c.TgZ(0,"footer",0),c.TgZ(1,"div",1),c.TgZ(2,"div",2),c.TgZ(3,"div",3),c._uU(4," 2021 derechos reservados COMERCAM "),c.qZA(),c.TgZ(5,"div",4),c._uU(6," dise\xf1o y desarrollado por "),c.TgZ(7,"a",5),c._uU(8,"holostik "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA())},styles:['footer.site-footer[_ngcontent-%COMP%]   .footer-inner[_ngcontent-%COMP%]{color:#fff;font-family:"Open Sans";font-size:13px;line-height:1.5;padding:1.05em 1.125em}footer.site-footer[_ngcontent-%COMP%]   .footer-inner[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff}']}),B})(),sn=(()=>{class B{constructor(m,O,Q,ce,Ne){this.renderer=m,this.el=O,this.router=Q,this._auth=ce,this._confirmationService=Ne,this.userMenu=!0,this.responsiveMenu=!1,Q.events.subscribe(Ke=>{Ke instanceof V.OD&&this.renderer.removeClass(this.el.nativeElement,"open")})}confirm(){this._confirmationService.confirm({message:"estas seguro que quieres salir del sistema?",accept:()=>{this._auth.logout()}})}ngOnInit(){be(document).ready(function(){be("#nav-toggle-btn").click(function(){be("#left-panel").toggleClass("show-nav"),be("body").toggleClass("open-nav")}),be("#menuToggle").click(function(){be(".test").toggleClass("open"),be(".right-panel").toggleClass("resize")}),be(document.body).on("click","#left-panel li",function(m){m.preventDefault(),be(this).siblings().children().removeClass("btn-toggle").next(".sub-menu").slideUp(),be(this).children().toggleClass("btn-toggle").next(".sub-menu").slideToggle()}),be(".user-area").click(function(){be(".user-menu").slideToggle()}),be(document).mouseup(function(m){var O=be(".user-area"),Q=be(".left-panel"),ce=be(".user-menu"),Ne=be(".sub-menu");!O.is(m.target)&&0===O.has(m.target).length&&ce.slideUp(),!Q.is(m.target)&&0===Q.has(m.target).length&&(Ne.slideUp(),be("#left-panel li a").removeClass("btn-toggle"))})})}changePassword(){this.router.navigateByUrl("/changePassword"),this.userMenu=!0}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(c.Qsj),c.Y36(c.SBq),c.Y36(V.F0),c.Y36(se.e),c.Y36(re.YP))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-layout"]],decls:38,vars:0,consts:[[1,"row"],[1,"col-md-12"],["id","header",1,"header"],[1,"col-6"],[1,"navbar-header"],["routerLink","/dashboard",1,"navbar-brand"],["src","../../assets/images/logo.png","alt","Logo"],[1,"header-menu"],["id","nav-toggle-btn",1,"fa","fa-bars"],[1,"user-area","dropdown","float-right"],[1,"dropdown-toggle","active"],["src","../../assets/images/admin.jpg","alt","User Avatar",1,"user-avatar","rounded-circle"],[1,"user-menu"],["routerLink","/profile",1,"nav-link"],[1,"pi","pi-user"],["routerLink","/change-password",1,"nav-link"],[1,"pi","pi-unlock"],[1,"nav-link",3,"click"],[1,"pi","pi-sign-out"],["header","confirmacion","icon","pi pi-exclamation-triangle"],["cd",""],["type","button","pButton","","icon","pi pi-times","label","no",3,"click"],["type","button","pButton","","icon","pi pi-check","label","Si",3,"click"],["id","right-panel",1,"right-panel"],[1,"content"]],template:function(m,O){if(1&m){const Q=c.EpF();c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.TgZ(2,"header",2),c.TgZ(3,"div",0),c.TgZ(4,"div",3),c.TgZ(5,"div",4),c.TgZ(6,"a",5),c._UZ(7,"img",6),c.qZA(),c.qZA(),c.qZA(),c.TgZ(8,"div",3),c.TgZ(9,"div",7),c._UZ(10,"i",8),c.TgZ(11,"div",9),c.TgZ(12,"span",10),c._UZ(13,"img",11),c.qZA(),c.TgZ(14,"div",12),c.TgZ(15,"a",13),c._UZ(16,"i",14),c._uU(17,"perfil "),c.qZA(),c.TgZ(18,"div",15),c._UZ(19,"i",16),c._uU(20,"cambiar de clave de acceso"),c.qZA(),c.TgZ(21,"div",17),c.NdJ("click",function(){return O.confirm()}),c._UZ(22,"i",18),c._uU(23,"salir"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(24,"p-confirmDialog",19,20),c.TgZ(26,"p-footer"),c.TgZ(27,"button",21),c.NdJ("click",function(){return c.CHM(Q),c.MAs(25).reject()}),c.qZA(),c.TgZ(28,"button",22),c.NdJ("click",function(){return c.CHM(Q),c.MAs(25).accept()}),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(29,"div",1),c._UZ(30,"app-sidebar"),c.qZA(),c.TgZ(31,"div",1),c.TgZ(32,"div",23),c.TgZ(33,"div",24),c.TgZ(34,"div"),c._UZ(35,"router-outlet"),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.TgZ(36,"div",1),c._UZ(37,"app-footer"),c.qZA(),c.qZA()}},directives:[V.yS,V.rH,Be.Q,re.$_,bt.Hq,_n,V.lC,Ht],styles:[""]}),B})();class at{}let Tt=(()=>{class B{constructor(m,O){this._Activatedroute=m,this.apiService=O,this.userDetails=new at,this.IsUserProfileData=!0}ngOnInit(){this.Id=localStorage.getItem("UserID"),(null!=this.Id||""!=this.Id||null!=this.Id)&&this.GetUserProfile(this.Id)}GetUserProfile(m){Number(m)>0&&this.apiService.getApi("User/GetUserProfileById?userId="+m).subscribe(O=>{200==O.responseCode?null!=O.responseData&&(this.IsUserProfileData=!0,this.userDetails.UserName=O.responseData.userName,this.userDetails.Email=O.responseData.email,this.userDetails.Mobile=O.responseData.mobile,this.userDetails.UserType=O.responseData.userType):this.IsUserProfileData=!1})}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(V.gz),c.Y36(ie.s))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-profile"]],decls:25,vars:4,consts:[[1,"page-heading"],[1,"row"],[1,"col-md-6",2,"margin","0 auto"],[1,"card","p-3","mt-5",2,"border-radius","8px"],[1,"col-md-12"],["src","./../../../assets/images/admin.jpg",1,"profile-pic"],[1,"col-md-4"],[1,"col-md-8","pb-3"],[1,"col-md-8"]],template:function(m,O){1&m&&(c.TgZ(0,"header"),c.TgZ(1,"h2",0),c._uU(2,"perfil"),c.qZA(),c.qZA(),c.TgZ(3,"div",1),c.TgZ(4,"div",2),c.TgZ(5,"div",3),c.TgZ(6,"div",1),c.TgZ(7,"div",4),c._UZ(8,"img",5),c.qZA(),c.TgZ(9,"div",6),c._uU(10," nombre de usuario: "),c.qZA(),c.TgZ(11,"div",7),c._uU(12),c.qZA(),c.TgZ(13,"div",6),c._uU(14," ID de Email : "),c.qZA(),c.TgZ(15,"div",7),c._uU(16),c.qZA(),c.TgZ(17,"div",6),c._uU(18," de usuario escribir: "),c.qZA(),c.TgZ(19,"div",7),c._uU(20),c.qZA(),c.TgZ(21,"div",6),c._uU(22," numero celular "),c.qZA(),c.TgZ(23,"div",8),c._uU(24),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&m&&(c.xp6(12),c.hij(" ",O.userDetails.UserName," "),c.xp6(4),c.hij(" ",O.userDetails.Email," "),c.xp6(4),c.hij(" ",O.userDetails.UserType," "),c.xp6(4),c.hij(" ",O.userDetails.Mobile," "))},styles:[".profile-pic[_ngcontent-%COMP%]{width:100px;height:100px;border-radius:50%;margin:-58px auto 26px;display:table;border:1px solid #ccc}"]}),B})();function et(B,x){1&B&&(c.TgZ(0,"div",18),c.TgZ(1,"div",19),c._uU(2," clave anterior requerida "),c.qZA(),c.qZA())}function mt(B,x){1&B&&(c.TgZ(0,"div",18),c.TgZ(1,"div",19),c._uU(2," la clave de acceso es necesaria "),c.qZA(),c.qZA())}function on(B,x){1&B&&(c.TgZ(0,"div",18),c.TgZ(1,"div",19),c._uU(2," clave y confirmar su clave no es lo mismo "),c.qZA(),c.qZA())}function un(B,x){1&B&&(c.TgZ(0,"div",18),c.TgZ(1,"div",19),c._uU(2," confirmacion de clave requerida "),c.qZA(),c.qZA())}function cn(B,x){1&B&&(c.TgZ(0,"div",18),c.TgZ(1,"div",19),c._uU(2," confirmar clave debe ser la misma que la nueva clave "),c.qZA(),c.qZA())}const Rn=function(B){return{"is-invalid":B}};let vi=(()=>{class B{constructor(m,O,Q,ce){this.fb=m,this.apiService=O,this.toastrService=Q,this.auth=ce,this.submitted=!1}ngOnInit(){this.createForm()}createForm(){this.ChangePassword=this.fb.group({oldpassword:["",[pe.kI.required]],newPassword:["",[pe.kI.required]],cnfrmNewPassword:["",[pe.kI.required]],Password:[""],UserId:[""]})}clear(){this.ChangePassword.patchValue({oldpassword:"",newPassword:"",cnfrmNewPassword:""})}checkOldNewPassword(){return this.ChangePassword.controls.oldpassword.value===this.ChangePassword.controls.newPassword.value&&""!=this.ChangePassword.controls.oldpassword.value&&""!=this.ChangePassword.controls.newPassword.value&&null!=this.ChangePassword.controls.oldpassword.value&&null!=this.ChangePassword.controls.newPassword.value}checkPassword(){return this.ChangePassword.get("newPassword").value===this.ChangePassword.get("cnfrmNewPassword").value}submit(){if(!this.ChangePassword.invalid&&this.ChangePassword.valid){const m={...this.ChangePassword.value};m.UserId=localStorage.getItem("UserID"),m.Password=this.ChangePassword.controls.cnfrmNewPassword.value,this.apiService.postApi("User/ChangeLoginPassword",m).subscribe(O=>{200==O.responseCode?(this.ChangePassword.reset(),this.toastrService.success("exito\xa1","la clave ha sido cambiada por favor ingresar"),this.auth.logout()):this.toastrService.warning("",O.responseMessage)},O=>{this.toastrService.warning("cuidado\xa1",O.error.ClientErrorMessage)})}}get d(){return this.ChangePassword.controls}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(pe.qu),c.Y36(ie.s),c.Y36(de._W),c.Y36(se.e))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-change-password"]],decls:36,vars:16,consts:[[1,"page-heading"],[1,"row"],[1,"col-lg-6",2,"margin","0 auto"],[1,"card"],[1,"card-body"],[3,"formGroup"],[1,"col-sm-12","mt-3"],[1,"form-group"],[1,"pb-2"],["type","password","maxlength","20","placeholder","Ingrese su clave anterior ","formControlName","oldpassword",1,"form-control",3,"ngClass","keydown.space"],["class","redmark",4,"ngIf"],["type","password","maxlength","20","placeholder","Por favor ingrese su clave","formControlName","newPassword",1,"form-control",3,"ngClass","keydown.space"],["type","password","maxlength","20","formControlName","cnfrmNewPassword","placeholder","Confirmar Contrase\xf1a",1,"form-control",3,"ngClass","keydown.space"],[1,"modal-footer"],["type","reset",1,"btn","btn-sm","btn-danger",3,"click"],[1,"fa","fa-ban"],["type","submit",1,"btn","btn-sm","btn-primary",3,"disabled","click"],[1,"fa","fa-check"],[1,"redmark"],[1,"alert","alert-danger"]],template:function(m,O){1&m&&(c.TgZ(0,"header"),c.TgZ(1,"h2",0),c._uU(2,"cambiar de clave de acceso"),c.qZA(),c.qZA(),c.TgZ(3,"div",1),c.TgZ(4,"div",2),c.TgZ(5,"div",3),c.TgZ(6,"div",4),c.TgZ(7,"form",5),c.TgZ(8,"div",1),c.TgZ(9,"div",6),c.TgZ(10,"div",7),c.TgZ(11,"label",8),c._uU(12,"Ingrese su clave anterior "),c.qZA(),c.TgZ(13,"input",9),c.NdJ("keydown.space",function(ce){return ce.preventDefault()}),c.qZA(),c.YNc(14,et,3,0,"div",10),c.qZA(),c.qZA(),c.TgZ(15,"div",6),c.TgZ(16,"div",7),c.TgZ(17,"label",8),c._uU(18,"por favor ingrese su clave "),c.qZA(),c.TgZ(19,"input",11),c.NdJ("keydown.space",function(ce){return ce.preventDefault()}),c.qZA(),c.YNc(20,mt,3,0,"div",10),c.YNc(21,on,3,0,"div",10),c.qZA(),c.qZA(),c.TgZ(22,"div",6),c.TgZ(23,"div",7),c.TgZ(24,"label",8),c._uU(25,"confirmar clave"),c.qZA(),c.TgZ(26,"input",12),c.NdJ("keydown.space",function(ce){return ce.preventDefault()}),c.qZA(),c.YNc(27,un,3,0,"div",10),c.YNc(28,cn,3,0,"div",10),c.qZA(),c.qZA(),c.qZA(),c.TgZ(29,"div",13),c.TgZ(30,"button",14),c.NdJ("click",function(){return O.clear()}),c._UZ(31,"i",15),c._uU(32," limpiar "),c.qZA(),c.TgZ(33,"button",16),c.NdJ("click",function(){return O.submit()}),c._UZ(34,"i",17),c._uU(35," enviar "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&m&&(c.xp6(7),c.Q6J("formGroup",O.ChangePassword),c.xp6(6),c.Q6J("ngClass",c.VKq(10,Rn,O.ChangePassword.get("oldpassword").errors&&(O.ChangePassword.get("oldpassword").touched||O.ChangePassword.get("oldpassword").dirty))),c.xp6(1),c.Q6J("ngIf",(null==O.ChangePassword.get("oldpassword").errors?null:O.ChangePassword.get("oldpassword").errors.required)&&(O.ChangePassword.get("oldpassword").touched||O.ChangePassword.get("oldpassword").dirty)),c.xp6(5),c.Q6J("ngClass",c.VKq(12,Rn,O.ChangePassword.get("newPassword").errors&&(O.ChangePassword.get("newPassword").touched||O.ChangePassword.get("newPassword").dirty))),c.xp6(1),c.Q6J("ngIf",(null==O.ChangePassword.get("newPassword").errors?null:O.ChangePassword.get("newPassword").errors.required)&&(O.ChangePassword.get("newPassword").touched||O.ChangePassword.get("newPassword").dirty)),c.xp6(1),c.Q6J("ngIf",O.checkOldNewPassword()&&O.ChangePassword.get("newPassword").touched),c.xp6(5),c.Q6J("ngClass",c.VKq(14,Rn,O.ChangePassword.get("cnfrmNewPassword").errors&&(O.ChangePassword.get("cnfrmNewPassword").touched||O.ChangePassword.get("cnfrmNewPassword").dirty))),c.xp6(1),c.Q6J("ngIf",(null==O.ChangePassword.get("cnfrmNewPassword").errors?null:O.ChangePassword.get("cnfrmNewPassword").errors.required)&&(O.ChangePassword.get("cnfrmNewPassword").touched||O.ChangePassword.get("cnfrmNewPassword").dirty)),c.xp6(1),c.Q6J("ngIf",!O.checkPassword()&&(O.ChangePassword.get("cnfrmNewPassword").touched||O.ChangePassword.get("cnfrmNewPassword").dirty)&&O.ChangePassword.get("cnfrmNewPassword").valid),c.xp6(5),c.Q6J("disabled",!(O.ChangePassword.valid&&O.checkPassword()&&!O.checkOldNewPassword())))},directives:[pe._Y,pe.JL,pe.sg,pe.Fj,pe.nD,pe.JJ,pe.u,ge.mk,ge.O5],styles:[""]}),B})();function Ci(B,x,m,O,Q,ce,Ne){try{var Ke=B[ce](Ne),vt=Ke.value}catch(Gt){return void m(Gt)}Ke.done?x(vt):Promise.resolve(vt).then(O,Q)}var Qn=J(1841);function ai(B,x){if(1&B){const m=c.EpF();c.TgZ(0,"span",3),c.NdJ("click",function(Q){return c.CHM(m),c.oxw().clear(Q)})("keydown.enter",function(Q){return c.CHM(m),c.oxw().clear(Q)}),c.qZA()}if(2&B){const m=c.oxw();c.Q6J("ngClass",m.iconCancelClass)("ngStyle",m.iconCancelStyle),c.uIk("tabindex",m.disabled||m.readonly?null:"0")}}function dn(B,x){if(1&B){const m=c.EpF();c.TgZ(0,"span",4),c.NdJ("click",function(Q){const Ne=c.CHM(m).index;return c.oxw().rate(Q,Ne)})("keydown.enter",function(Q){const Ne=c.CHM(m).index;return c.oxw().rate(Q,Ne)}),c.qZA()}if(2&B){const m=x.index,O=c.oxw();c.Q6J("ngClass",!O.value||m>=O.value?O.iconOffClass:O.iconOnClass)("ngStyle",!O.value||m>=O.value?O.iconOffStyle:O.iconOnStyle),c.uIk("tabindex",O.disabled||O.readonly?null:"0")}}const Mn=function(B,x){return{"p-readonly":B,"p-disabled":x}},si={provide:pe.JU,useExisting:(0,c.Gpc)(()=>io),multi:!0};let io=(()=>{class B{constructor(m){this.cd=m,this.stars=5,this.cancel=!0,this.iconOnClass="pi pi-star",this.iconOffClass="pi pi-star-o",this.iconCancelClass="pi pi-ban",this.onRate=new c.vpe,this.onCancel=new c.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.starsArray=[];for(let m=0;m<this.stars;m++)this.starsArray[m]=m}rate(m,O){!this.readonly&&!this.disabled&&(this.value=O+1,this.onModelChange(this.value),this.onModelTouched(),this.onRate.emit({originalEvent:m,value:O+1})),m.preventDefault()}clear(m){!this.readonly&&!this.disabled&&(this.value=null,this.onModelChange(this.value),this.onModelTouched(),this.onCancel.emit(m)),m.preventDefault()}writeValue(m){this.value=m,this.cd.detectChanges()}registerOnChange(m){this.onModelChange=m}registerOnTouched(m){this.onModelTouched=m}setDisabledState(m){this.disabled=m,this.cd.markForCheck()}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(c.sBO))},B.\u0275cmp=c.Xpm({type:B,selectors:[["p-rating"]],inputs:{disabled:"disabled",readonly:"readonly",stars:"stars",cancel:"cancel",iconOnClass:"iconOnClass",iconOnStyle:"iconOnStyle",iconOffClass:"iconOffClass",iconOffStyle:"iconOffStyle",iconCancelClass:"iconCancelClass",iconCancelStyle:"iconCancelStyle"},outputs:{onRate:"onRate",onCancel:"onCancel"},features:[c._Bn([si])],decls:3,vars:6,consts:[[1,"p-rating",3,"ngClass"],["class","p-rating-icon p-rating-cancel",3,"ngClass","ngStyle","click","keydown.enter",4,"ngIf"],["class","p-rating-icon",3,"ngClass","ngStyle","click","keydown.enter",4,"ngFor","ngForOf"],[1,"p-rating-icon","p-rating-cancel",3,"ngClass","ngStyle","click","keydown.enter"],[1,"p-rating-icon",3,"ngClass","ngStyle","click","keydown.enter"]],template:function(m,O){1&m&&(c.TgZ(0,"div",0),c.YNc(1,ai,1,3,"span",1),c.YNc(2,dn,1,3,"span",2),c.qZA()),2&m&&(c.Q6J("ngClass",c.WLB(3,Mn,O.readonly,O.disabled)),c.xp6(1),c.Q6J("ngIf",O.cancel),c.xp6(1),c.Q6J("ngForOf",O.starsArray))},directives:[ge.mk,ge.O5,ge.sg,ge.PC],styles:[".p-rating-icon{cursor:pointer}.p-rating.p-rating-readonly .p-rating-icon{cursor:default}"],encapsulation:2,changeDetection:0}),B})(),Qi=(()=>{class B{}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B}),B.\u0275inj=c.cJS({imports:[[ge.ez]]}),B})();function Pt(B,x){1&B&&(c.TgZ(0,"div",28),c.TgZ(1,"h4"),c._uU(2,"Ha comprado un producto original."),c.qZA(),c.qZA())}function Je(B,x){1&B&&(c.TgZ(0,"span",31),c._UZ(1,"iframe",32),c.qZA())}function me(B,x){if(1&B&&(c.TgZ(0,"div",28),c._UZ(1,"img",29),c._uU(2," producto falsificado. "),c.TgZ(3,"h4"),c._uU(4),c.qZA(),c.YNc(5,Je,2,0,"span",30),c.qZA()),2&B){const m=c.oxw();c.xp6(4),c.Oqu(m.Product),c.xp6(1),c.Q6J("ngIf",!m.audio)}}function Se(B,x){if(1&B&&(c.TgZ(0,"div",28),c._UZ(1,"img",29),c._uU(2," producto da\xf1ado. "),c.TgZ(3,"h4"),c._uU(4),c.qZA(),c.qZA()),2&B){const m=c.oxw();c.xp6(4),c.Oqu(m.Product)}}function W(B,x){1&B&&(c.TgZ(0,"span",31),c._UZ(1,"iframe",33),c.qZA())}function F(B,x){if(1&B&&(c.TgZ(0,"div",28),c._UZ(1,"img",29),c._uU(2,"producto robado. "),c.TgZ(3,"h4"),c._uU(4),c.qZA(),c.YNc(5,W,2,0,"span",30),c.qZA()),2&B){const m=c.oxw();c.xp6(4),c.Oqu(m.Product),c.xp6(1),c.Q6J("ngIf",!m.audio)}}function U(B,x){if(1&B&&(c.TgZ(0,"div",28),c._UZ(1,"img",29),c.TgZ(2,"h4"),c._uU(3),c.qZA(),c.qZA()),2&B){const m=c.oxw();c.xp6(3),c.Oqu(m.Product)}}function X(B,x){if(1&B&&(c.TgZ(0,"div",34),c._UZ(1,"img",35),c.TgZ(2,"div",36),c.TgZ(3,"strong",37),c._uU(4),c.qZA(),c.qZA(),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("src",m.ImageUrl,c.LSH),c.xp6(3),c.Oqu(m.ProductData.productName)}}function He(B,x){if(1&B&&(c.TgZ(0,"div",38),c.TgZ(1,"div",39),c.TgZ(2,"div",40),c._uU(3,"Marca : "),c.TgZ(4,"strong",41),c._uU(5),c.qZA(),c.qZA(),c.TgZ(6,"div",40),c._uU(7,"Categoria : "),c.TgZ(8,"strong",42),c._uU(9),c.qZA(),c.qZA(),c.TgZ(10,"div",40),c._uU(11,"Clase : "),c.TgZ(12,"strong",43),c._uU(13),c.qZA(),c.qZA(),c.TgZ(14,"div",40),c._uU(15,"Especie de maguey : "),c.TgZ(16,"strong",44),c._uU(17),c.qZA(),c.qZA(),c.TgZ(18,"div",40),c._uU(19,"Presentacion : "),c.TgZ(20,"strong",45),c._uU(21),c.qZA(),c.qZA(),c.TgZ(22,"div",40),c._uU(23,"Numero de certificado : "),c.TgZ(24,"strong",46),c._uU(25),c.qZA(),c.qZA(),c.TgZ(26,"div",40),c._uU(27,"Lote envasado : "),c.TgZ(28,"strong",47),c._uU(29),c.qZA(),c.qZA(),c.TgZ(30,"div",40),c._uU(31,"Comercializado por : "),c.TgZ(32,"strong",48),c._uU(33),c.qZA(),c.qZA(),c.TgZ(34,"div",40),c._uU(35,"Estado Productor : "),c.TgZ(36,"strong",49),c._uU(37),c.qZA(),c.qZA(),c.TgZ(38,"div",40),c._uU(39,"Atributos : "),c.TgZ(40,"strong",50),c._uU(41),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&B){const m=c.oxw();c.xp6(5),c.Oqu(m.ProductData.brandName),c.xp6(4),c.Oqu(m.ProductData.category),c.xp6(4),c.Oqu(m.ProductData.type),c.xp6(4),c.Oqu(m.ProductData.species),c.xp6(4),c.Oqu(m.ProductData.ingredients),c.xp6(4),c.Oqu(m.ProductData.certificationNo),c.xp6(4),c.Oqu(m.ProductData.lotNo),c.xp6(4),c.Oqu(m.ProductData.companyName),c.xp6(4),c.Oqu(m.ProductData.state),c.xp6(4),c.Oqu(m.ProductData.atributes)}}function Qt(B,x){if(1&B&&(c.TgZ(0,"div",28),c.TgZ(1,"h4"),c._uU(2),c.qZA(),c.qZA()),2&B){const m=c.oxw();c.xp6(2),c.Oqu(m.Product)}}function Wt(B,x){1&B&&(c.TgZ(0,"div"),c._uU(1," nombre de usuario requerrido "),c.qZA())}function Ze(B,x){if(1&B&&(c.TgZ(0,"div",51),c.YNc(1,Wt,2,0,"div",52),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.f.Name.errors.required)}}function jt(B,x){1&B&&(c.TgZ(0,"div"),c._uU(1," Se requiere identificaci\xf3n de correo electr\xf3nico "),c.qZA())}function he(B,x){if(1&B&&(c.TgZ(0,"div",51),c.YNc(1,jt,2,0,"div",52),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.f.Email.errors.required)}}function Fe(B,x){1&B&&(c.TgZ(0,"div"),c._uU(1," Se requiere identificaci\xf3n del n\xfamero de tel\xe9fono m\xf3vil "),c.qZA())}function Lt(B,x){if(1&B&&(c.TgZ(0,"div",51),c.YNc(1,Fe,2,0,"div",52),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.f.MobNo.errors.required)}}function At(B,x){1&B&&(c.TgZ(0,"div"),c._uU(1," Se requiere retroalimentaci\xf3n "),c.qZA())}function mn(B,x){if(1&B&&(c.TgZ(0,"div",51),c.YNc(1,At,2,0,"div",52),c.qZA()),2&B){const m=c.oxw();c.xp6(1),c.Q6J("ngIf",m.f.UsrFeedback.errors.required)}}const In=function(){return{width:"500px"}},On=function(B){return{"is-invalid":B}},Sn=[{path:"pa",component:(()=>{class B{constructor(m,O,Q,ce,Ne,Ke,vt,Gt){this.httpClient=m,this.router=O,this.toastrService=Q,this.fb=ce,this._router=Ne,this._route=Ke,this.api=vt,this.confirmationService=Gt,this.messagePop=!0,this.audio=!0,this.feedbackMes=!1,this.feedbackDiv=!1,this.showGenuine=!1,this.showFake=!1,this.showDamage=!1,this.showStolen=!1,this.showImage=!1,this.verificationId=0,this.feedbackModal=!1,this.rating=0,this.successCallback=yn=>{this.latitude=yn.coords.latitude,this.longitude=yn.coords.longitude},this.errorCallBack=yn=>{},this.feedbackForm=this.fb.group({feedbackId:[0],Name:["",pe.kI.required],Email:["",pe.kI.required],MobNo:["",[pe.kI.required,pe.kI.maxLength(14),pe.kI.minLength(7)]],UsrFeedback:["",pe.kI.required],rating:[""]})}confirm(m){this.confirmationService.confirm({message:"Are you sure that you want to proceed?",icon:"pi pi-exclamation-triangle",accept:()=>{},reject:()=>{}})}getloc(){var m=this;return function(B){return function(){var x=this,m=arguments;return new Promise(function(O,Q){var ce=B.apply(x,m);function Ne(vt){Ci(ce,O,Q,Ne,Ke,"next",vt)}function Ke(vt){Ci(ce,O,Q,Ne,Ke,"throw",vt)}Ne(void 0)})}}(function*(){try{m.httpClient.get(`https://nominatim.openstreetmap.org/reverse?format=json&lat=${m.latitude}&lon=${m.longitude}&zoom=18&addressdetails=1`).subscribe(O=>{m.Country=O.address.country,m.City=O.address.city,m.Address=O.display_name,m.sendProductAuthData(m.uri)})}catch(O){console.log(O),m.latitude="",m.longitude="",m.sendProductAuthData(m.uri)}})()}getCurrentLocation(){try{navigator.geolocation?navigator.geolocation.getCurrentPosition(m=>{this.latitude=m.coords.latitude,this.longitude=m.coords.longitude,this.getloc()},m=>{this.latitude="",this.longitude="",this.sendProductAuthData(this.uri)},{enableHighAccuracy:!0,maximumAge:1e4}):(this.latitude="",this.longitude="",this.sendProductAuthData(this.uri))}catch(m){console.error(m),this.latitude="",this.longitude="",this.sendProductAuthData(this.uri)}}showDialog(){this.feedbackModal=!0}ngOnInit(){this.uri=window.location.href,this._route.snapshot.queryParamMap.has("uid")?this.uid=this._route.snapshot.queryParamMap.get("uid"):window.location.href="/PageNotFound",this.url=this.router.url,this.getCurrentLocation(),this.uri.includes("https")&&navigator.geolocation.getCurrentPosition(this.successCallback,this.errorCallBack)}get f(){return this.feedbackForm.controls}sendProductAuthData(m){let O={...m};O.UID=this.uri,O.Usrlongitude=this.longitude.toString(),O.Usrlatitude=this.latitude.toString(),O.ScanFrom="Web",O.UsrCity=this.City,O.UsrCntry=this.Country,O.UsrAdrs=this.Address,this.api.postApi("ProductAuthentication/VerifyProduct",O).subscribe(Q=>{this.verificationId=Q.responseData.verificationId,this.ProductData=Q.responseData,this.feedbackForm.patchValue({feedbackId:this.verificationId}),"200"==Q.responseCode?(this.showGenuine=!0,this.showImage=!0,this.Product=Q.responseMessage,this.ImageUrl=Q.responseData.productImg,this.playAudio()):"400"==Q.responseCode?(this.showFake=!0,this.Product=Q.responseMessage):"401"==Q.responseCode?(this.showDamage=!0,this.Product=Q.responseMessage,this.playAudioDamage()):"402"==Q.responseCode?(this.showStolen=!0,this.Product=Q.responseMessage,this.playAudioStolen()):"403"==Q.responseCode?(this.showUnMapped=!0,this.Product=Q.responseMessage,this.playAudioStolen()):void 0===this.Product&&(window.location.href="/PageNotFound")})}playAudio(){let m=new Audio;m.src="./assets/voice/ProductGenuine.mp3",m.muted=!0,m.load(),m.play()}playAudioFake(){let m=new Audio;m.src="./assets/voice/alertaana.mp3",m.muted=!0,m.load(),m.play()}playAudioDamage(){let m=new Audio;m.src="./assets/voice/damage.mp3",m.load(),m.play()}playAudioStolen(){let m=new Audio;m.src="./assets/voice/stolen.mp3",m.muted=!0,m.load(),m.play()}SaveFeedback(){if(!this.feedbackForm.invalid&&this.feedbackForm.valid){const m={feedbackId:this.feedbackForm.value.feedbackId,rating:this.feedbackForm.value.rating.toString(),MobNo:this.feedbackForm.value.MobNo,Name:this.feedbackForm.value.Name,Email:this.feedbackForm.value.Email,UsrFeedback:this.feedbackForm.value.UsrFeedback};this.api.postApi("ProductAuthentication/UpdateFeedback",m).subscribe(Q=>{"200"==Q.responseCode&&(this.feedbackMes=!1,this.feedbackForm.reset(),this.feedbackModal=!1,this.toastrService.success(Q.responseMessage,"exito!"))})}}feedbackMessage(){this.feedbackMes=!0}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(Qn.eN),c.Y36(V.F0),c.Y36(de._W),c.Y36(pe.qu),c.Y36(V.F0),c.Y36(V.gz),c.Y36(ie.s),c.Y36(re.YP))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-pa"]],decls:60,vars:34,consts:[[1,"header-wraper"],[1,"page-heading","text-center","pt-5"],[1,"logo-box"],["src","./../../../assets/images/logo.png"],["src","./../../../assets/images/feedback.png",1,"feedback-icon",3,"click"],[1,"wraper"],["class","message",4,"ngIf"],["class","col-md-12 image-wraper",4,"ngIf"],[1,"d-flex","justify-content-center","flex-row","align-items-center"],["class","col-md-12 product-detail",4,"ngIf"],[1,"text-center","p-5","social-icon"],["href","https://apps.apple.com/in/app/comercam/id1589965961","target","_blank"],[1,"fa","fa-apple"],["href","https://play.google.com/store/apps/details?id=com.org.mezcal","target","_blank"],[1,"fa","fa-android"],["header","sugerencias",3,"visible","modal","dismissableMask","visibleChange"],[3,"formGroup","ngSubmit"],[1,"row","feedback-form"],[1,"col-md-3"],[1,"col-md-9","mb-2"],["type","text","placeholder","nombre","formControlName","Name",1,"form-control",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["type","text","placeholder","ID de Email","pattern","^[A-Za-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$","formControlName","Email",1,"form-control",3,"ngClass"],["type","text","maxlength","14","pattern","^\\+[0-9]{9,13}$","placeholder","numero celular","formControlName","MobNo",1,"form-control",3,"ngClass"],["row","5","placeholder","sugerencias","formControlName","UsrFeedback",1,"form-control",3,"ngClass"],["formControlName","rating"],[1,"col-md-12","text-center"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"message"],["src","./../../../assets/images/wrong-code.png"],["style","display: none",4,"ngIf"],[2,"display","none"],["src","./../../../assets/voice/alertaana.mp3","allow","autoplay","id","iframeAudio",2,"display","none"],["src","./../../../assets/voice/stolen.mp3","allow","autoplay","id","iframeAudio",2,"display","none"],[1,"col-md-12","image-wraper"],[3,"src"],[1,"col-sm-12","my-2"],[1,"product-name"],[1,"col-md-12","product-detail"],[1,"row"],[1,"col-sm-12","heading"],[1,"Brand"],[1,"category"],[1,"type"],[1,"species"],[1,"Ingredients"],[1,"certificationNo"],[1,"lotNo"],[1,"companyName"],[1,"state"],[1,"atributes"],[1,"invalid-feedback"],[4,"ngIf"]],template:function(m,O){1&m&&(c.TgZ(0,"header",0),c.TgZ(1,"h2",1),c._uU(2,"producto Autenticaci\xf3n"),c.qZA(),c.TgZ(3,"div",2),c._UZ(4,"img",3),c.qZA(),c.TgZ(5,"img",4),c.NdJ("click",function(){return O.showDialog()}),c.qZA(),c.qZA(),c.TgZ(6,"div",5),c.YNc(7,Pt,3,0,"div",6),c.YNc(8,me,6,2,"div",6),c.YNc(9,Se,5,1,"div",6),c.YNc(10,F,6,2,"div",6),c.YNc(11,U,4,1,"div",6),c.YNc(12,X,5,2,"div",7),c.TgZ(13,"div",8),c.YNc(14,He,42,10,"div",9),c.qZA(),c.YNc(15,Qt,3,1,"div",6),c.TgZ(16,"div",10),c.TgZ(17,"a",11),c._UZ(18,"i",12),c.qZA(),c.TgZ(19,"a",13),c._UZ(20,"i",14),c.qZA(),c.qZA(),c.qZA(),c.TgZ(21,"p-dialog",15),c.NdJ("visibleChange",function(ce){return O.feedbackModal=ce}),c.TgZ(22,"form",16),c.NdJ("ngSubmit",function(){return O.SaveFeedback()}),c.TgZ(23,"div",17),c.TgZ(24,"div",18),c._uU(25,"nombre"),c.TgZ(26,"span"),c._uU(27,"*"),c.qZA(),c.qZA(),c.TgZ(28,"div",19),c._UZ(29,"input",20),c.YNc(30,Ze,2,1,"div",21),c.qZA(),c.TgZ(31,"div",18),c._uU(32,"ID de Email "),c.TgZ(33,"span"),c._uU(34,"*"),c.qZA(),c.qZA(),c.TgZ(35,"div",19),c._UZ(36,"input",22),c.YNc(37,he,2,1,"div",21),c.qZA(),c.TgZ(38,"div",18),c._uU(39,"numero celular."),c.TgZ(40,"span"),c._uU(41,"*"),c.qZA(),c.qZA(),c.TgZ(42,"div",19),c._UZ(43,"input",23),c.YNc(44,Lt,2,1,"div",21),c.qZA(),c.TgZ(45,"div",18),c._uU(46,"sugerencias"),c.TgZ(47,"span"),c._uU(48,"*"),c.qZA(),c.qZA(),c.TgZ(49,"div",19),c._UZ(50,"textarea",24),c.YNc(51,mn,2,1,"div",21),c.qZA(),c.TgZ(52,"div",18),c._uU(53,"evaluacion"),c._UZ(54,"span"),c.qZA(),c.TgZ(55,"div",19),c._UZ(56,"p-rating",25),c.qZA(),c.TgZ(57,"div",26),c.TgZ(58,"button",27),c._uU(59," enviar "),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&m&&(c.xp6(6),c.Akn(O.showFake?"padding-bottom:18px;":null),c.xp6(1),c.Q6J("ngIf",O.showGenuine),c.xp6(1),c.Q6J("ngIf",O.showFake),c.xp6(1),c.Q6J("ngIf",O.showDamage),c.xp6(1),c.Q6J("ngIf",O.showStolen),c.xp6(1),c.Q6J("ngIf",O.showUnMapped),c.xp6(1),c.Q6J("ngIf",O.showImage),c.xp6(2),c.Q6J("ngIf",O.showGenuine),c.xp6(1),c.Q6J("ngIf",O.showGenuine),c.xp6(6),c.Akn(c.DdM(25,In)),c.Q6J("visible",O.feedbackModal)("modal",!0)("dismissableMask",!0),c.xp6(1),c.Q6J("formGroup",O.feedbackForm),c.xp6(7),c.Q6J("ngClass",c.VKq(26,On,O.f.Name.errors&&(O.f.Name.dirty||O.f.Name.touched))),c.xp6(1),c.Q6J("ngIf",O.f.Name.errors&&(O.f.Name.dirty||O.f.Name.touched)),c.xp6(6),c.Q6J("ngClass",c.VKq(28,On,O.f.Email.errors&&(O.f.Email.dirty||O.f.Email.touched))),c.xp6(1),c.Q6J("ngIf",O.f.Email.errors&&(O.f.Email.dirty||O.f.Email.touched)),c.xp6(6),c.Q6J("ngClass",c.VKq(30,On,O.f.MobNo.errors&&(O.f.MobNo.dirty||O.f.MobNo.touched))),c.xp6(1),c.Q6J("ngIf",O.f.MobNo.errors&&(O.f.MobNo.dirty||O.f.MobNo.touched)),c.xp6(6),c.Q6J("ngClass",c.VKq(32,On,O.f.UsrFeedback.errors&&(O.f.UsrFeedback.dirty||O.f.UsrFeedback.touched))),c.xp6(1),c.Q6J("ngIf",O.f.UsrFeedback.errors&&(O.f.UsrFeedback.dirty||O.f.UsrFeedback.touched)),c.xp6(7),c.Q6J("disabled",O.feedbackForm.invalid))},directives:[ge.O5,we.V,pe._Y,pe.JL,pe.sg,pe.Fj,pe.JJ,pe.u,ge.mk,pe.c5,pe.nD,io],styles:[".wraper[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;background:#fff;padding-top:20px}.message[_ngcontent-%COMP%]{background:#f3f8fc;text-align:center;padding:12px;margin:0 12px;border-radius:12px;border:1px solid #b4b4b4;color:#57a400;font-size:23px}.product-detail[_ngcontent-%COMP%]{background-color:#fff!important;padding:28px!important;border-radius:5px!important;margin-bottom:15px!important}.product-detail[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:5px 0}.product-name[_ngcontent-%COMP%]{font-size:24px!important;font-weight:bold!important;margin-bottom:10px!important}.heading[_ngcontent-%COMP%]{background:#f4edd9;color:#000;padding-left:7px!important;border-radius:10px;font-weight:500}.Brand[_ngcontent-%COMP%], .category[_ngcontent-%COMP%], .type[_ngcontent-%COMP%], .ingredients[_ngcontent-%COMP%], .species[_ngcontent-%COMP%], .certificationNo[_ngcontent-%COMP%]{font-size:16px!important;margin-bottom:5px!important}.col-sm-12[_ngcontent-%COMP%]{margin-bottom:5px!important}.col-sm-12[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{padding-left:5px!important}.feedback-form[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:red}.message[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;margin:0 auto 12px;width:73px}.image-wraper[_ngcontent-%COMP%]{text-align:center;margin:40px 0}.product-detail[_ngcontent-%COMP%]{background:#e3e3e3;padding:37px;border-radius:22px 22px 0 0}.product-detail[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-weight:normal}.logo-box[_ngcontent-%COMP%]{text-align:center;margin:10px 0 28px}.logo-box[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:300px}.social-icon[_ngcontent-%COMP%]   .fa[_ngcontent-%COMP%]{font-size:57px;margin:0 22px;height:100px;width:100px;background:#eee;border-radius:50%;line-height:100px;color:#64bc44}.social-icon[_ngcontent-%COMP%]   .fa-apple[_ngcontent-%COMP%]{color:#000}.product-detail[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{margin-bottom:14px}.header-wraper[_ngcontent-%COMP%]   .feedback-icon[_ngcontent-%COMP%]{position:absolute;right:4px;top:32px;width:39px}.header-wraper[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;position:relative}@media (max-width: 360px){.header-wraper[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:15px}}"]}),B})(),pathMatch:"full"},{path:"",canActivate:[Ie],component:sn,children:[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"dashboard",component:ve,canActivate:[Ie]},{path:"profile",component:Tt,canActivate:[Ie]},{path:"change-password",component:vi,canActivate:[Ie]},{path:"master",canActivate:[Ie],loadChildren:()=>Promise.all([J.e(707),J.e(615)]).then(J.bind(J,8615)).then(B=>B.MasterModule)},{path:"transaction",canActivate:[Ie],loadChildren:()=>Promise.all([J.e(707),J.e(718)]).then(J.bind(J,718)).then(B=>B.TransactionModule)},{path:"reports",canActivate:[Ie],loadChildren:()=>Promise.all([J.e(707),J.e(213)]).then(J.bind(J,6213)).then(B=>B.ReportsModule)}]},{path:"login",component:ue}];let _i=(()=>{class B{}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B}),B.\u0275inj=c.cJS({imports:[[V.Bz.forRoot(Sn)],V.Bz]}),B})();var an=J(7238);function Di(){return"undefined"!=typeof window&&void 0!==window.document}function Oi(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ti(B){switch(B.length){case 0:return new an.ZN;case 1:return B[0];default:return new an.ZE(B)}}function Vi(B,x,m,O,Q={},ce={}){const Ne=[],Ke=[];let vt=-1,Gt=null;if(O.forEach(yn=>{const qn=yn.offset,gi=qn==vt,di=gi&&Gt||{};Object.keys(yn).forEach($n=>{let oi=$n,qi=yn[$n];if("offset"!==$n)switch(oi=x.normalizePropertyName(oi,Ne),qi){case an.k1:qi=Q[$n];break;case an.l3:qi=ce[$n];break;default:qi=x.normalizeStyleValue($n,oi,qi,Ne)}di[oi]=qi}),gi||Ke.push(di),Gt=di,vt=qn}),Ne.length){const yn="\n - ";throw new Error(`Unable to animate due to the following errors:${yn}${Ne.join(yn)}`)}return Ke}function Ji(B,x,m,O){switch(x){case"start":B.onStart(()=>O(m&&pi(m,"start",B)));break;case"done":B.onDone(()=>O(m&&pi(m,"done",B)));break;case"destroy":B.onDestroy(()=>O(m&&pi(m,"destroy",B)))}}function pi(B,x,m){const O=m.totalTime,ce=uo(B.element,B.triggerName,B.fromState,B.toState,x||B.phaseName,null==O?B.totalTime:O,!!m.disabled),Ne=B._data;return null!=Ne&&(ce._data=Ne),ce}function uo(B,x,m,O,Q="",ce=0,Ne){return{element:B,triggerName:x,fromState:m,toState:O,phaseName:Q,totalTime:ce,disabled:!!Ne}}function Hi(B,x,m){let O;return B instanceof Map?(O=B.get(x),O||B.set(x,O=m)):(O=B[x],O||(O=B[x]=m)),O}function To(B){const x=B.indexOf(":");return[B.substring(1,x),B.substr(x+1)]}let Fo=(B,x)=>!1,li=(B,x)=>!1,bo=(B,x,m)=>[];const vo=Oi();(vo||"undefined"!=typeof Element)&&(Fo=Di()?(B,x)=>{for(;x&&x!==document.documentElement;){if(x===B)return!0;x=x.parentNode||x.host}return!1}:(B,x)=>B.contains(x),li=(()=>{if(vo||Element.prototype.matches)return(B,x)=>B.matches(x);{const B=Element.prototype,x=B.matchesSelector||B.mozMatchesSelector||B.msMatchesSelector||B.oMatchesSelector||B.webkitMatchesSelector;return x?(m,O)=>x.apply(m,[O]):li}})(),bo=(B,x,m)=>{let O=[];if(m){const Q=B.querySelectorAll(x);for(let ce=0;ce<Q.length;ce++)O.push(Q[ce])}else{const Q=B.querySelector(x);Q&&O.push(Q)}return O});let nt=null,Ot=!1;function $(B){nt||(nt=("undefined"!=typeof document?document.body:null)||{},Ot=!!nt.style&&"WebkitAppearance"in nt.style);let x=!0;return nt.style&&!function(B){return"ebkit"==B.substring(1,6)}(B)&&(x=B in nt.style,!x&&Ot&&(x="Webkit"+B.charAt(0).toUpperCase()+B.substr(1)in nt.style)),x}const $e=li,Vt=Fo,Bt=bo;function St(B){const x={};return Object.keys(B).forEach(m=>{const O=m.replace(/([a-z])([A-Z])/g,"$1-$2");x[O]=B[m]}),x}let en=(()=>{class B{validateStyleProperty(m){return $(m)}matchesElement(m,O){return $e(m,O)}containsElement(m,O){return Vt(m,O)}query(m,O,Q){return Bt(m,O,Q)}computeStyle(m,O,Q){return Q||""}animate(m,O,Q,ce,Ne,Ke=[],vt){return new an.ZN(Q,ce)}}return B.\u0275fac=function(m){return new(m||B)},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac}),B})();class An{}An.NOOP=new en;const ht="ng-enter",Ct="ng-leave",Te="ng-trigger",oe=".ng-trigger",Xe="ng-animating",Dt=".ng-animating";function zt(B){if("number"==typeof B)return B;const x=B.match(/^(-?[\.\d]+)(m?s)/);return!x||x.length<2?0:ln(parseFloat(x[1]),x[2])}function ln(B,x){switch(x){case"s":return 1e3*B;default:return B}}function Xn(B,x,m){return B.hasOwnProperty("duration")?B:function(B,x,m){let Q,ce=0,Ne="";if("string"==typeof B){const Ke=B.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ke)return x.push(`The provided timing value "${B}" is invalid.`),{duration:0,delay:0,easing:""};Q=ln(parseFloat(Ke[1]),Ke[2]);const vt=Ke[3];null!=vt&&(ce=ln(parseFloat(vt),Ke[4]));const Gt=Ke[5];Gt&&(Ne=Gt)}else Q=B;if(!m){let Ke=!1,vt=x.length;Q<0&&(x.push("Duration values below 0 are not allowed for this animation step."),Ke=!0),ce<0&&(x.push("Delay values below 0 are not allowed for this animation step."),Ke=!0),Ke&&x.splice(vt,0,`The provided timing value "${B}" is invalid.`)}return{duration:Q,delay:ce,easing:Ne}}(B,x,m)}function wn(B,x={}){return Object.keys(B).forEach(m=>{x[m]=B[m]}),x}function Li(B,x,m={}){if(x)for(let O in B)m[O]=B[O];else wn(B,m);return m}function as(B,x,m){return m?x+":"+m+";":""}function Ko(B){let x="";for(let m=0;m<B.style.length;m++){const O=B.style.item(m);x+=as(0,O,B.style.getPropertyValue(O))}for(const m in B.style)B.style.hasOwnProperty(m)&&!m.startsWith("_")&&(x+=as(0,ho(m),B.style[m]));B.setAttribute("style",x)}function Ni(B,x,m){B.style&&(Object.keys(x).forEach(O=>{const Q=Xo(O);m&&!m.hasOwnProperty(O)&&(m[O]=B.style[Q]),B.style[Q]=x[O]}),Oi()&&Ko(B))}function oo(B,x){B.style&&(Object.keys(x).forEach(m=>{const O=Xo(m);B.style[O]=""}),Oi()&&Ko(B))}function Co(B){return Array.isArray(B)?1==B.length?B[0]:(0,an.vP)(B):B}const fi=new RegExp("{{\\s*(.+?)\\s*}}","g");function Do(B){let x=[];if("string"==typeof B){let m;for(;m=fi.exec(B);)x.push(m[1]);fi.lastIndex=0}return x}function Yi(B,x,m){const O=B.toString(),Q=O.replace(fi,(ce,Ne)=>{let Ke=x[Ne];return x.hasOwnProperty(Ne)||(m.push(`Please provide a value for the animation param ${Ne}`),Ke=""),Ke.toString()});return Q==O?B:Q}function ro(B){const x=[];let m=B.next();for(;!m.done;)x.push(m.value),m=B.next();return x}const zo=/-+([a-z0-9])/g;function Xo(B){return B.replace(zo,(...x)=>x[1].toUpperCase())}function ho(B){return B.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ki(B,x){return 0===B||0===x}function Ki(B,x,m){const O=Object.keys(m);if(O.length&&x.length){let ce=x[0],Ne=[];if(O.forEach(Ke=>{ce.hasOwnProperty(Ke)||Ne.push(Ke),ce[Ke]=m[Ke]}),Ne.length)for(var Q=1;Q<x.length;Q++){let Ke=x[Q];Ne.forEach(function(vt){Ke[vt]=ke(B,vt)})}}return x}function $i(B,x,m){switch(x.type){case 7:return B.visitTrigger(x,m);case 0:return B.visitState(x,m);case 1:return B.visitTransition(x,m);case 2:return B.visitSequence(x,m);case 3:return B.visitGroup(x,m);case 4:return B.visitAnimate(x,m);case 5:return B.visitKeyframes(x,m);case 6:return B.visitStyle(x,m);case 8:return B.visitReference(x,m);case 9:return B.visitAnimateChild(x,m);case 10:return B.visitAnimateRef(x,m);case 11:return B.visitQuery(x,m);case 12:return B.visitStagger(x,m);default:throw new Error(`Unable to resolve animation metadata node #${x.type}`)}}function ke(B,x){return window.getComputedStyle(B)[x]}function Y(B,x){const m=[];return"string"==typeof B?B.split(/\s*,\s*/).forEach(O=>function(B,x,m){if(":"==B[0]){const vt=function(B,x){switch(B){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(m,O)=>parseFloat(O)>parseFloat(m);case":decrement":return(m,O)=>parseFloat(O)<parseFloat(m);default:return x.push(`The transition alias value "${B}" is not supported`),"* => *"}}(B,m);if("function"==typeof vt)return void x.push(vt);B=vt}const O=B.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==O||O.length<4)return m.push(`The provided transition expression "${B}" is not supported`),x;const Q=O[1],ce=O[2],Ne=O[3];x.push(go(Q,Ne));"<"==ce[0]&&!("*"==Q&&"*"==Ne)&&x.push(go(Ne,Q))}(O,m,x)):m.push(B),m}const hn=new Set(["true","1"]),Jn=new Set(["false","0"]);function go(B,x){const m=hn.has(B)||Jn.has(B),O=hn.has(x)||Jn.has(x);return(Q,ce)=>{let Ne="*"==B||B==Q,Ke="*"==x||x==ce;return!Ne&&m&&"boolean"==typeof Q&&(Ne=Q?hn.has(B):Jn.has(B)),!Ke&&O&&"boolean"==typeof ce&&(Ke=ce?hn.has(x):Jn.has(x)),Ne&&Ke}}const Ss=new RegExp("s*:selfs*,?","g");function es(B,x,m){return new hs(B).build(x,m)}class hs{constructor(x){this._driver=x}build(x,m){const O=new zs(m);return this._resetContextStyleTimingState(O),$i(this,Co(x),O)}_resetContextStyleTimingState(x){x.currentQuerySelector="",x.collectedStyles={},x.collectedStyles[""]={},x.currentTime=0}visitTrigger(x,m){let O=m.queryCount=0,Q=m.depCount=0;const ce=[],Ne=[];return"@"==x.name.charAt(0)&&m.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),x.definitions.forEach(Ke=>{if(this._resetContextStyleTimingState(m),0==Ke.type){const vt=Ke,Gt=vt.name;Gt.toString().split(/\s*,\s*/).forEach(yn=>{vt.name=yn,ce.push(this.visitState(vt,m))}),vt.name=Gt}else if(1==Ke.type){const vt=this.visitTransition(Ke,m);O+=vt.queryCount,Q+=vt.depCount,Ne.push(vt)}else m.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:x.name,states:ce,transitions:Ne,queryCount:O,depCount:Q,options:null}}visitState(x,m){const O=this.visitStyle(x.styles,m),Q=x.options&&x.options.params||null;if(O.containsDynamicStyles){const ce=new Set,Ne=Q||{};if(O.styles.forEach(Ke=>{if(Uo(Ke)){const vt=Ke;Object.keys(vt).forEach(Gt=>{Do(vt[Gt]).forEach(yn=>{Ne.hasOwnProperty(yn)||ce.add(yn)})})}}),ce.size){const Ke=ro(ce.values());m.errors.push(`state("${x.name}", ...) must define default values for all the following style substitutions: ${Ke.join(", ")}`)}}return{type:0,name:x.name,style:O,options:Q?{params:Q}:null}}visitTransition(x,m){m.queryCount=0,m.depCount=0;const O=$i(this,Co(x.animation),m);return{type:1,matchers:Y(x.expr,m.errors),animation:O,queryCount:m.queryCount,depCount:m.depCount,options:ts(x.options)}}visitSequence(x,m){return{type:2,steps:x.steps.map(O=>$i(this,O,m)),options:ts(x.options)}}visitGroup(x,m){const O=m.currentTime;let Q=0;const ce=x.steps.map(Ne=>{m.currentTime=O;const Ke=$i(this,Ne,m);return Q=Math.max(Q,m.currentTime),Ke});return m.currentTime=Q,{type:3,steps:ce,options:ts(x.options)}}visitAnimate(x,m){const O=function(B,x){let m=null;if(B.hasOwnProperty("duration"))m=B;else if("number"==typeof B)return Qs(Xn(B,x).duration,0,"");const O=B;if(O.split(/\s+/).some(ce=>"{"==ce.charAt(0)&&"{"==ce.charAt(1))){const ce=Qs(0,0,"");return ce.dynamic=!0,ce.strValue=O,ce}return m=m||Xn(O,x),Qs(m.duration,m.delay,m.easing)}(x.timings,m.errors);m.currentAnimateTimings=O;let Q,ce=x.styles?x.styles:(0,an.oB)({});if(5==ce.type)Q=this.visitKeyframes(ce,m);else{let Ne=x.styles,Ke=!1;if(!Ne){Ke=!0;const Gt={};O.easing&&(Gt.easing=O.easing),Ne=(0,an.oB)(Gt)}m.currentTime+=O.duration+O.delay;const vt=this.visitStyle(Ne,m);vt.isEmptyStep=Ke,Q=vt}return m.currentAnimateTimings=null,{type:4,timings:O,style:Q,options:null}}visitStyle(x,m){const O=this._makeStyleAst(x,m);return this._validateStyleAst(O,m),O}_makeStyleAst(x,m){const O=[];Array.isArray(x.styles)?x.styles.forEach(Ne=>{"string"==typeof Ne?Ne==an.l3?O.push(Ne):m.errors.push(`The provided style string value ${Ne} is not allowed.`):O.push(Ne)}):O.push(x.styles);let Q=!1,ce=null;return O.forEach(Ne=>{if(Uo(Ne)){const Ke=Ne,vt=Ke.easing;if(vt&&(ce=vt,delete Ke.easing),!Q)for(let Gt in Ke)if(Ke[Gt].toString().indexOf("{{")>=0){Q=!0;break}}}),{type:6,styles:O,easing:ce,offset:x.offset,containsDynamicStyles:Q,options:null}}_validateStyleAst(x,m){const O=m.currentAnimateTimings;let Q=m.currentTime,ce=m.currentTime;O&&ce>0&&(ce-=O.duration+O.delay),x.styles.forEach(Ne=>{"string"!=typeof Ne&&Object.keys(Ne).forEach(Ke=>{if(!this._driver.validateStyleProperty(Ke))return void m.errors.push(`The provided animation property "${Ke}" is not a supported CSS property for animations`);const vt=m.collectedStyles[m.currentQuerySelector],Gt=vt[Ke];let yn=!0;Gt&&(ce!=Q&&ce>=Gt.startTime&&Q<=Gt.endTime&&(m.errors.push(`The CSS property "${Ke}" that exists between the times of "${Gt.startTime}ms" and "${Gt.endTime}ms" is also being animated in a parallel animation between the times of "${ce}ms" and "${Q}ms"`),yn=!1),ce=Gt.startTime),yn&&(vt[Ke]={startTime:ce,endTime:Q}),m.options&&function(B,x,m){const O=x.params||{},Q=Do(B);Q.length&&Q.forEach(ce=>{O.hasOwnProperty(ce)||m.push(`Unable to resolve the local animation param ${ce} in the given list of values`)})}(Ne[Ke],m.options,m.errors)})})}visitKeyframes(x,m){const O={type:5,styles:[],options:null};if(!m.currentAnimateTimings)return m.errors.push("keyframes() must be placed inside of a call to animate()"),O;let ce=0;const Ne=[];let Ke=!1,vt=!1,Gt=0;const yn=x.steps.map(Ao=>{const Bo=this._makeStyleAst(Ao,m);let ws=null!=Bo.offset?Bo.offset:function(B){if("string"==typeof B)return null;let x=null;if(Array.isArray(B))B.forEach(m=>{if(Uo(m)&&m.hasOwnProperty("offset")){const O=m;x=parseFloat(O.offset),delete O.offset}});else if(Uo(B)&&B.hasOwnProperty("offset")){const m=B;x=parseFloat(m.offset),delete m.offset}return x}(Bo.styles),wo=0;return null!=ws&&(ce++,wo=Bo.offset=ws),vt=vt||wo<0||wo>1,Ke=Ke||wo<Gt,Gt=wo,Ne.push(wo),Bo});vt&&m.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),Ke&&m.errors.push("Please ensure that all keyframe offsets are in order");const qn=x.steps.length;let gi=0;ce>0&&ce<qn?m.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==ce&&(gi=1/(qn-1));const di=qn-1,$n=m.currentTime,oi=m.currentAnimateTimings,qi=oi.duration;return yn.forEach((Ao,Bo)=>{const ws=gi>0?Bo==di?1:gi*Bo:Ne[Bo],wo=ws*qi;m.currentTime=$n+oi.delay+wo,oi.duration=wo,this._validateStyleAst(Ao,m),Ao.offset=ws,O.styles.push(Ao)}),O}visitReference(x,m){return{type:8,animation:$i(this,Co(x.animation),m),options:ts(x.options)}}visitAnimateChild(x,m){return m.depCount++,{type:9,options:ts(x.options)}}visitAnimateRef(x,m){return{type:10,animation:this.visitReference(x.animation,m),options:ts(x.options)}}visitQuery(x,m){const O=m.currentQuerySelector,Q=x.options||{};m.queryCount++,m.currentQuery=x;const[ce,Ne]=function(B){const x=!!B.split(/\s*,\s*/).find(m=>":self"==m);return x&&(B=B.replace(Ss,"")),[B=B.replace(/@\*/g,oe).replace(/@\w+/g,m=>oe+"-"+m.substr(1)).replace(/:animating/g,Dt),x]}(x.selector);m.currentQuerySelector=O.length?O+" "+ce:ce,Hi(m.collectedStyles,m.currentQuerySelector,{});const Ke=$i(this,Co(x.animation),m);return m.currentQuery=null,m.currentQuerySelector=O,{type:11,selector:ce,limit:Q.limit||0,optional:!!Q.optional,includeSelf:Ne,animation:Ke,originalSelector:x.selector,options:ts(x.options)}}visitStagger(x,m){m.currentQuery||m.errors.push("stagger() can only be used inside of query()");const O="full"===x.timings?{duration:0,delay:0,easing:"full"}:Xn(x.timings,m.errors,!0);return{type:12,animation:$i(this,Co(x.animation),m),timings:O,options:null}}}class zs{constructor(x){this.errors=x,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Uo(B){return!Array.isArray(B)&&"object"==typeof B}function ts(B){return B?(B=wn(B)).params&&(B.params=function(B){return B?wn(B):null}(B.params)):B={},B}function Qs(B,x,m){return{duration:B,delay:x,easing:m}}function No(B,x,m,O,Q,ce,Ne=null,Ke=!1){return{type:1,element:B,keyframes:x,preStyleProps:m,postStyleProps:O,duration:Q,delay:ce,totalTime:Q+ce,easing:Ne,subTimeline:Ke}}class ls{constructor(){this._map=new Map}consume(x){let m=this._map.get(x);return m?this._map.delete(x):m=[],m}append(x,m){let O=this._map.get(x);O||this._map.set(x,O=[]),O.push(...m)}has(x){return this._map.has(x)}clear(){this._map.clear()}}const v=new RegExp(":enter","g"),g=new RegExp(":leave","g");function T(B,x,m,O,Q,ce={},Ne={},Ke,vt,Gt=[]){return(new p).buildKeyframes(B,x,m,O,Q,ce,Ne,Ke,vt,Gt)}class p{buildKeyframes(x,m,O,Q,ce,Ne,Ke,vt,Gt,yn=[]){Gt=Gt||new ls;const qn=new b(x,m,Gt,Q,ce,yn,[]);qn.options=vt,qn.currentTimeline.setStyles([Ne],null,qn.errors,vt),$i(this,O,qn);const gi=qn.timelines.filter(di=>di.containsAnimation());if(gi.length&&Object.keys(Ke).length){const di=gi[gi.length-1];di.allowOnlyTimelineStyles()||di.setStyles([Ke],null,qn.errors,vt)}return gi.length?gi.map(di=>di.buildKeyframes()):[No(m,[],[],[],0,0,"",!1)]}visitTrigger(x,m){}visitState(x,m){}visitTransition(x,m){}visitAnimateChild(x,m){const O=m.subInstructions.consume(m.element);if(O){const Q=m.createSubContext(x.options),ce=m.currentTimeline.currentTime,Ne=this._visitSubInstructions(O,Q,Q.options);ce!=Ne&&m.transformIntoNewTimeline(Ne)}m.previousNode=x}visitAnimateRef(x,m){const O=m.createSubContext(x.options);O.transformIntoNewTimeline(),this.visitReference(x.animation,O),m.transformIntoNewTimeline(O.currentTimeline.currentTime),m.previousNode=x}_visitSubInstructions(x,m,O){let ce=m.currentTimeline.currentTime;const Ne=null!=O.duration?zt(O.duration):null,Ke=null!=O.delay?zt(O.delay):null;return 0!==Ne&&x.forEach(vt=>{const Gt=m.appendInstructionToTimeline(vt,Ne,Ke);ce=Math.max(ce,Gt.duration+Gt.delay)}),ce}visitReference(x,m){m.updateOptions(x.options,!0),$i(this,x.animation,m),m.previousNode=x}visitSequence(x,m){const O=m.subContextCount;let Q=m;const ce=x.options;if(ce&&(ce.params||ce.delay)&&(Q=m.createSubContext(ce),Q.transformIntoNewTimeline(),null!=ce.delay)){6==Q.previousNode.type&&(Q.currentTimeline.snapshotCurrentStyles(),Q.previousNode=S);const Ne=zt(ce.delay);Q.delayNextStep(Ne)}x.steps.length&&(x.steps.forEach(Ne=>$i(this,Ne,Q)),Q.currentTimeline.applyStylesToKeyframe(),Q.subContextCount>O&&Q.transformIntoNewTimeline()),m.previousNode=x}visitGroup(x,m){const O=[];let Q=m.currentTimeline.currentTime;const ce=x.options&&x.options.delay?zt(x.options.delay):0;x.steps.forEach(Ne=>{const Ke=m.createSubContext(x.options);ce&&Ke.delayNextStep(ce),$i(this,Ne,Ke),Q=Math.max(Q,Ke.currentTimeline.currentTime),O.push(Ke.currentTimeline)}),O.forEach(Ne=>m.currentTimeline.mergeTimelineCollectedStyles(Ne)),m.transformIntoNewTimeline(Q),m.previousNode=x}_visitTiming(x,m){if(x.dynamic){const O=x.strValue;return Xn(m.params?Yi(O,m.params,m.errors):O,m.errors)}return{duration:x.duration,delay:x.delay,easing:x.easing}}visitAnimate(x,m){const O=m.currentAnimateTimings=this._visitTiming(x.timings,m),Q=m.currentTimeline;O.delay&&(m.incrementTime(O.delay),Q.snapshotCurrentStyles());const ce=x.style;5==ce.type?this.visitKeyframes(ce,m):(m.incrementTime(O.duration),this.visitStyle(ce,m),Q.applyStylesToKeyframe()),m.currentAnimateTimings=null,m.previousNode=x}visitStyle(x,m){const O=m.currentTimeline,Q=m.currentAnimateTimings;!Q&&O.getCurrentStyleProperties().length&&O.forwardFrame();const ce=Q&&Q.easing||x.easing;x.isEmptyStep?O.applyEmptyStep(ce):O.setStyles(x.styles,ce,m.errors,m.options),m.previousNode=x}visitKeyframes(x,m){const O=m.currentAnimateTimings,Q=m.currentTimeline.duration,ce=O.duration,Ke=m.createSubContext().currentTimeline;Ke.easing=O.easing,x.styles.forEach(vt=>{Ke.forwardTime((vt.offset||0)*ce),Ke.setStyles(vt.styles,vt.easing,m.errors,m.options),Ke.applyStylesToKeyframe()}),m.currentTimeline.mergeTimelineCollectedStyles(Ke),m.transformIntoNewTimeline(Q+ce),m.previousNode=x}visitQuery(x,m){const O=m.currentTimeline.currentTime,Q=x.options||{},ce=Q.delay?zt(Q.delay):0;ce&&(6===m.previousNode.type||0==O&&m.currentTimeline.getCurrentStyleProperties().length)&&(m.currentTimeline.snapshotCurrentStyles(),m.previousNode=S);let Ne=O;const Ke=m.invokeQuery(x.selector,x.originalSelector,x.limit,x.includeSelf,!!Q.optional,m.errors);m.currentQueryTotal=Ke.length;let vt=null;Ke.forEach((Gt,yn)=>{m.currentQueryIndex=yn;const qn=m.createSubContext(x.options,Gt);ce&&qn.delayNextStep(ce),Gt===m.element&&(vt=qn.currentTimeline),$i(this,x.animation,qn),qn.currentTimeline.applyStylesToKeyframe(),Ne=Math.max(Ne,qn.currentTimeline.currentTime)}),m.currentQueryIndex=0,m.currentQueryTotal=0,m.transformIntoNewTimeline(Ne),vt&&(m.currentTimeline.mergeTimelineCollectedStyles(vt),m.currentTimeline.snapshotCurrentStyles()),m.previousNode=x}visitStagger(x,m){const O=m.parentContext,Q=m.currentTimeline,ce=x.timings,Ne=Math.abs(ce.duration),Ke=Ne*(m.currentQueryTotal-1);let vt=Ne*m.currentQueryIndex;switch(ce.duration<0?"reverse":ce.easing){case"reverse":vt=Ke-vt;break;case"full":vt=O.currentStaggerTime}const yn=m.currentTimeline;vt&&yn.delayNextStep(vt);const qn=yn.currentTime;$i(this,x.animation,m),m.previousNode=x,O.currentStaggerTime=Q.currentTime-qn+(Q.startTime-O.currentTimeline.startTime)}}const S={};class b{constructor(x,m,O,Q,ce,Ne,Ke,vt){this._driver=x,this.element=m,this.subInstructions=O,this._enterClassName=Q,this._leaveClassName=ce,this.errors=Ne,this.timelines=Ke,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=S,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=vt||new D(this._driver,m,0),Ke.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(x,m){if(!x)return;const O=x;let Q=this.options;null!=O.duration&&(Q.duration=zt(O.duration)),null!=O.delay&&(Q.delay=zt(O.delay));const ce=O.params;if(ce){let Ne=Q.params;Ne||(Ne=this.options.params={}),Object.keys(ce).forEach(Ke=>{(!m||!Ne.hasOwnProperty(Ke))&&(Ne[Ke]=Yi(ce[Ke],Ne,this.errors))})}}_copyOptions(){const x={};if(this.options){const m=this.options.params;if(m){const O=x.params={};Object.keys(m).forEach(Q=>{O[Q]=m[Q]})}}return x}createSubContext(x=null,m,O){const Q=m||this.element,ce=new b(this._driver,Q,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Q,O||0));return ce.previousNode=this.previousNode,ce.currentAnimateTimings=this.currentAnimateTimings,ce.options=this._copyOptions(),ce.updateOptions(x),ce.currentQueryIndex=this.currentQueryIndex,ce.currentQueryTotal=this.currentQueryTotal,ce.parentContext=this,this.subContextCount++,ce}transformIntoNewTimeline(x){return this.previousNode=S,this.currentTimeline=this.currentTimeline.fork(this.element,x),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(x,m,O){const Q={duration:null!=m?m:x.duration,delay:this.currentTimeline.currentTime+(null!=O?O:0)+x.delay,easing:""},ce=new I(this._driver,x.element,x.keyframes,x.preStyleProps,x.postStyleProps,Q,x.stretchStartingKeyframe);return this.timelines.push(ce),Q}incrementTime(x){this.currentTimeline.forwardTime(this.currentTimeline.duration+x)}delayNextStep(x){x>0&&this.currentTimeline.delayNextStep(x)}invokeQuery(x,m,O,Q,ce,Ne){let Ke=[];if(Q&&Ke.push(this.element),x.length>0){x=(x=x.replace(v,"."+this._enterClassName)).replace(g,"."+this._leaveClassName);let Gt=this._driver.query(this.element,x,1!=O);0!==O&&(Gt=O<0?Gt.slice(Gt.length+O,Gt.length):Gt.slice(0,O)),Ke.push(...Gt)}return!ce&&0==Ke.length&&Ne.push(`\`query("${m}")\` returned zero elements. (Use \`query("${m}", { optional: true })\` if you wish to allow this.)`),Ke}}class D{constructor(x,m,O,Q){this._driver=x,this.element=m,this.startTime=O,this._elementTimelineStylesLookup=Q,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(m),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(m,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(x){const m=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||m?(this.forwardTime(this.currentTime+x),m&&this.snapshotCurrentStyles()):this.startTime+=x}fork(x,m){return this.applyStylesToKeyframe(),new D(this._driver,x,m||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(x){this.applyStylesToKeyframe(),this.duration=x,this._loadKeyframe()}_updateStyle(x,m){this._localTimelineStyles[x]=m,this._globalTimelineStyles[x]=m,this._styleSummary[x]={time:this.currentTime,value:m}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(x){x&&(this._previousKeyframe.easing=x),Object.keys(this._globalTimelineStyles).forEach(m=>{this._backFill[m]=this._globalTimelineStyles[m]||an.l3,this._currentKeyframe[m]=an.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(x,m,O,Q){m&&(this._previousKeyframe.easing=m);const ce=Q&&Q.params||{},Ne=function(B,x){const m={};let O;return B.forEach(Q=>{"*"===Q?(O=O||Object.keys(x),O.forEach(ce=>{m[ce]=an.l3})):Li(Q,!1,m)}),m}(x,this._globalTimelineStyles);Object.keys(Ne).forEach(Ke=>{const vt=Yi(Ne[Ke],ce,O);this._pendingStyles[Ke]=vt,this._localTimelineStyles.hasOwnProperty(Ke)||(this._backFill[Ke]=this._globalTimelineStyles.hasOwnProperty(Ke)?this._globalTimelineStyles[Ke]:an.l3),this._updateStyle(Ke,vt)})}applyStylesToKeyframe(){const x=this._pendingStyles,m=Object.keys(x);0!=m.length&&(this._pendingStyles={},m.forEach(O=>{this._currentKeyframe[O]=x[O]}),Object.keys(this._localTimelineStyles).forEach(O=>{this._currentKeyframe.hasOwnProperty(O)||(this._currentKeyframe[O]=this._localTimelineStyles[O])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(x=>{const m=this._localTimelineStyles[x];this._pendingStyles[x]=m,this._updateStyle(x,m)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const x=[];for(let m in this._currentKeyframe)x.push(m);return x}mergeTimelineCollectedStyles(x){Object.keys(x._styleSummary).forEach(m=>{const O=this._styleSummary[m],Q=x._styleSummary[m];(!O||Q.time>O.time)&&this._updateStyle(m,Q.value)})}buildKeyframes(){this.applyStylesToKeyframe();const x=new Set,m=new Set,O=1===this._keyframes.size&&0===this.duration;let Q=[];this._keyframes.forEach((Ke,vt)=>{const Gt=Li(Ke,!0);Object.keys(Gt).forEach(yn=>{const qn=Gt[yn];qn==an.k1?x.add(yn):qn==an.l3&&m.add(yn)}),O||(Gt.offset=vt/this.duration),Q.push(Gt)});const ce=x.size?ro(x.values()):[],Ne=m.size?ro(m.values()):[];if(O){const Ke=Q[0],vt=wn(Ke);Ke.offset=0,vt.offset=1,Q=[Ke,vt]}return No(this.element,Q,ce,Ne,this.duration,this.startTime,this.easing,!1)}}class I extends D{constructor(x,m,O,Q,ce,Ne,Ke=!1){super(x,m,Ne.delay),this.keyframes=O,this.preStyleProps=Q,this.postStyleProps=ce,this._stretchStartingKeyframe=Ke,this.timings={duration:Ne.duration,delay:Ne.delay,easing:Ne.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let x=this.keyframes,{delay:m,duration:O,easing:Q}=this.timings;if(this._stretchStartingKeyframe&&m){const ce=[],Ne=O+m,Ke=m/Ne,vt=Li(x[0],!1);vt.offset=0,ce.push(vt);const Gt=Li(x[0],!1);Gt.offset=q(Ke),ce.push(Gt);const yn=x.length-1;for(let qn=1;qn<=yn;qn++){let gi=Li(x[qn],!1);gi.offset=q((m+gi.offset*O)/Ne),ce.push(gi)}O=Ne,m=0,Q="",x=ce}return No(this.element,x,this.preStyleProps,this.postStyleProps,O,m,Q,!0)}}function q(B,x=3){const m=Math.pow(10,x-1);return Math.round(B*m)/m}class pt{}class Yt extends pt{normalizePropertyName(x,m){return Xo(x)}normalizeStyleValue(x,m,O,Q){let ce="";const Ne=O.toString().trim();if(Nn[m]&&0!==O&&"0"!==O)if("number"==typeof O)ce="px";else{const Ke=O.match(/^[+-]?[\d\.]+([a-z]*)$/);Ke&&0==Ke[1].length&&Q.push(`Please provide a CSS unit value for ${x}:${O}`)}return Ne+ce}}const Nn=(()=>function(B){const x={};return B.forEach(m=>x[m]=!0),x}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Dn(B,x,m,O,Q,ce,Ne,Ke,vt,Gt,yn,qn,gi){return{type:0,element:B,triggerName:x,isRemovalTransition:Q,fromState:m,fromStyles:ce,toState:O,toStyles:Ne,timelines:Ke,queriedElements:vt,preStyleProps:Gt,postStyleProps:yn,totalTime:qn,errors:gi}}const xn={};class Zi{constructor(x,m,O){this._triggerName=x,this.ast=m,this._stateStyles=O}match(x,m,O,Q){return function(B,x,m,O,Q){return B.some(ce=>ce(x,m,O,Q))}(this.ast.matchers,x,m,O,Q)}buildStyles(x,m,O){const Q=this._stateStyles["*"],ce=this._stateStyles[x],Ne=Q?Q.buildStyles(m,O):{};return ce?ce.buildStyles(m,O):Ne}build(x,m,O,Q,ce,Ne,Ke,vt,Gt,yn){const qn=[],gi=this.ast.options&&this.ast.options.params||xn,$n=this.buildStyles(O,Ke&&Ke.params||xn,qn),oi=vt&&vt.params||xn,qi=this.buildStyles(Q,oi,qn),Ao=new Set,Bo=new Map,ws=new Map,wo="void"===Q,Oa={params:Object.assign(Object.assign({},gi),oi)},yr=yn?[]:T(x,m,this.ast.animation,ce,Ne,$n,qi,Oa,Gt,qn);let Qo=0;if(yr.forEach(Zs=>{Qo=Math.max(Zs.duration+Zs.delay,Qo)}),qn.length)return Dn(m,this._triggerName,O,Q,wo,$n,qi,[],[],Bo,ws,Qo,qn);yr.forEach(Zs=>{const vr=Zs.element,ka=Hi(Bo,vr,{});Zs.preStyleProps.forEach(qs=>ka[qs]=!0);const ia=Hi(ws,vr,{});Zs.postStyleProps.forEach(qs=>ia[qs]=!0),vr!==m&&Ao.add(vr)});const ar=ro(Ao.values());return Dn(m,this._triggerName,O,Q,wo,$n,qi,yr,ar,Bo,ws,Qo)}}class Wn{constructor(x,m,O){this.styles=x,this.defaultParams=m,this.normalizer=O}buildStyles(x,m){const O={},Q=wn(this.defaultParams);return Object.keys(x).forEach(ce=>{const Ne=x[ce];null!=Ne&&(Q[ce]=Ne)}),this.styles.styles.forEach(ce=>{if("string"!=typeof ce){const Ne=ce;Object.keys(Ne).forEach(Ke=>{let vt=Ne[Ke];vt.length>1&&(vt=Yi(vt,Q,m));const Gt=this.normalizer.normalizePropertyName(Ke,m);vt=this.normalizer.normalizeStyleValue(Ke,Gt,vt,m),O[Gt]=vt})}}),O}}class jo{constructor(x,m,O){this.name=x,this.ast=m,this._normalizer=O,this.transitionFactories=[],this.states={},m.states.forEach(Q=>{this.states[Q.name]=new Wn(Q.style,Q.options&&Q.options.params||{},O)}),Xi(this.states,"true","1"),Xi(this.states,"false","0"),m.transitions.forEach(Q=>{this.transitionFactories.push(new Zi(x,Q,this.states))}),this.fallbackTransition=function(B,x,m){return new Zi(B,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ne,Ke)=>!0],options:null,queryCount:0,depCount:0},x)}(x,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(x,m,O,Q){return this.transitionFactories.find(Ne=>Ne.match(x,m,O,Q))||null}matchStyles(x,m,O){return this.fallbackTransition.buildStyles(x,m,O)}}function Xi(B,x,m){B.hasOwnProperty(x)?B.hasOwnProperty(m)||(B[m]=B[x]):B.hasOwnProperty(m)&&(B[x]=B[m])}const _s=new ls;class Vo{constructor(x,m,O){this.bodyNode=x,this._driver=m,this._normalizer=O,this._animations={},this._playersById={},this.players=[]}register(x,m){const O=[],Q=es(this._driver,m,O);if(O.length)throw new Error(`Unable to build the animation due to the following errors: ${O.join("\n")}`);this._animations[x]=Q}_buildPlayer(x,m,O){const Q=x.element,ce=Vi(0,this._normalizer,0,x.keyframes,m,O);return this._driver.animate(Q,ce,x.duration,x.delay,x.easing,[],!0)}create(x,m,O={}){const Q=[],ce=this._animations[x];let Ne;const Ke=new Map;if(ce?(Ne=T(this._driver,m,ce,ht,Ct,{},{},O,_s,Q),Ne.forEach(yn=>{const qn=Hi(Ke,yn.element,{});yn.postStyleProps.forEach(gi=>qn[gi]=null)})):(Q.push("The requested animation doesn't exist or has already been destroyed"),Ne=[]),Q.length)throw new Error(`Unable to create the animation due to the following errors: ${Q.join("\n")}`);Ke.forEach((yn,qn)=>{Object.keys(yn).forEach(gi=>{yn[gi]=this._driver.computeStyle(qn,gi,an.l3)})});const Gt=Ti(Ne.map(yn=>{const qn=Ke.get(yn.element);return this._buildPlayer(yn,{},qn)}));return this._playersById[x]=Gt,Gt.onDestroy(()=>this.destroy(x)),this.players.push(Gt),Gt}destroy(x){const m=this._getPlayer(x);m.destroy(),delete this._playersById[x];const O=this.players.indexOf(m);O>=0&&this.players.splice(O,1)}_getPlayer(x){const m=this._playersById[x];if(!m)throw new Error(`Unable to find the timeline player referenced by ${x}`);return m}listen(x,m,O,Q){const ce=uo(m,"","","");return Ji(this._getPlayer(x),O,ce,Q),()=>{}}command(x,m,O,Q){if("register"==O)return void this.register(x,Q[0]);if("create"==O)return void this.create(x,m,Q[0]||{});const ce=this._getPlayer(x);switch(O){case"play":ce.play();break;case"pause":ce.pause();break;case"reset":ce.reset();break;case"restart":ce.restart();break;case"finish":ce.finish();break;case"init":ce.init();break;case"setPosition":ce.setPosition(parseFloat(Q[0]));break;case"destroy":this.destroy(x)}}}const Go="ng-animate-queued",cs="ng-animate-disabled",Js=".ng-animate-disabled",zi=[],bs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Us={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Zo="__ng_removed";class Lr{constructor(x,m=""){this.namespaceId=m;const O=x&&x.hasOwnProperty("value");if(this.value=null!=(B=O?x.value:x)?B:null,O){const ce=wn(x);delete ce.value,this.options=ce}else this.options={};var B;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(x){const m=x.params;if(m){const O=this.options.params;Object.keys(m).forEach(Q=>{null==O[Q]&&(O[Q]=m[Q])})}}}const Fs="void",tn=new Lr(Fs);class Pi{constructor(x,m,O){this.id=x,this.hostElement=m,this._engine=O,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+x,yi(m,this._hostClassName)}listen(x,m,O,Q){if(!this._triggers.hasOwnProperty(m))throw new Error(`Unable to listen on the animation trigger event "${O}" because the animation trigger "${m}" doesn't exist!`);if(null==O||0==O.length)throw new Error(`Unable to listen on the animation trigger "${m}" because the provided event is undefined!`);if("start"!=(B=O)&&"done"!=B)throw new Error(`The provided animation trigger event "${O}" for the animation trigger "${m}" is not supported!`);var B;const ce=Hi(this._elementListeners,x,[]),Ne={name:m,phase:O,callback:Q};ce.push(Ne);const Ke=Hi(this._engine.statesByElement,x,{});return Ke.hasOwnProperty(m)||(yi(x,Te),yi(x,Te+"-"+m),Ke[m]=tn),()=>{this._engine.afterFlush(()=>{const vt=ce.indexOf(Ne);vt>=0&&ce.splice(vt,1),this._triggers[m]||delete Ke[m]})}}register(x,m){return!this._triggers[x]&&(this._triggers[x]=m,!0)}_getTrigger(x){const m=this._triggers[x];if(!m)throw new Error(`The provided animation trigger "${x}" has not been registered!`);return m}trigger(x,m,O,Q=!0){const ce=this._getTrigger(m),Ne=new mo(this.id,m,x);let Ke=this._engine.statesByElement.get(x);Ke||(yi(x,Te),yi(x,Te+"-"+m),this._engine.statesByElement.set(x,Ke={}));let vt=Ke[m];const Gt=new Lr(O,this.id);if(!(O&&O.hasOwnProperty("value"))&&vt&&Gt.absorbOptions(vt.options),Ke[m]=Gt,vt||(vt=tn),Gt.value!==Fs&&vt.value===Gt.value){if(!function(B,x){const m=Object.keys(B),O=Object.keys(x);if(m.length!=O.length)return!1;for(let Q=0;Q<m.length;Q++){const ce=m[Q];if(!x.hasOwnProperty(ce)||B[ce]!==x[ce])return!1}return!0}(vt.params,Gt.params)){const oi=[],qi=ce.matchStyles(vt.value,vt.params,oi),Ao=ce.matchStyles(Gt.value,Gt.params,oi);oi.length?this._engine.reportError(oi):this._engine.afterFlush(()=>{oo(x,qi),Ni(x,Ao)})}return}const gi=Hi(this._engine.playersByElement,x,[]);gi.forEach(oi=>{oi.namespaceId==this.id&&oi.triggerName==m&&oi.queued&&oi.destroy()});let di=ce.matchTransition(vt.value,Gt.value,x,Gt.params),$n=!1;if(!di){if(!Q)return;di=ce.fallbackTransition,$n=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:x,triggerName:m,transition:di,fromState:vt,toState:Gt,player:Ne,isFallbackTransition:$n}),$n||(yi(x,Go),Ne.onStart(()=>{qo(x,Go)})),Ne.onDone(()=>{let oi=this.players.indexOf(Ne);oi>=0&&this.players.splice(oi,1);const qi=this._engine.playersByElement.get(x);if(qi){let Ao=qi.indexOf(Ne);Ao>=0&&qi.splice(Ao,1)}}),this.players.push(Ne),gi.push(Ne),Ne}deregister(x){delete this._triggers[x],this._engine.statesByElement.forEach((m,O)=>{delete m[x]}),this._elementListeners.forEach((m,O)=>{this._elementListeners.set(O,m.filter(Q=>Q.name!=x))})}clearElementCache(x){this._engine.statesByElement.delete(x),this._elementListeners.delete(x);const m=this._engine.playersByElement.get(x);m&&(m.forEach(O=>O.destroy()),this._engine.playersByElement.delete(x))}_signalRemovalForInnerTriggers(x,m){const O=this._engine.driver.query(x,oe,!0);O.forEach(Q=>{if(Q[Zo])return;const ce=this._engine.fetchNamespacesByElement(Q);ce.size?ce.forEach(Ne=>Ne.triggerLeaveAnimation(Q,m,!1,!0)):this.clearElementCache(Q)}),this._engine.afterFlushAnimationsDone(()=>O.forEach(Q=>this.clearElementCache(Q)))}triggerLeaveAnimation(x,m,O,Q){const ce=this._engine.statesByElement.get(x);if(ce){const Ne=[];if(Object.keys(ce).forEach(Ke=>{if(this._triggers[Ke]){const vt=this.trigger(x,Ke,Fs,Q);vt&&Ne.push(vt)}}),Ne.length)return this._engine.markElementAsRemoved(this.id,x,!0,m),O&&Ti(Ne).onDone(()=>this._engine.processLeaveNode(x)),!0}return!1}prepareLeaveAnimationListeners(x){const m=this._elementListeners.get(x),O=this._engine.statesByElement.get(x);if(m&&O){const Q=new Set;m.forEach(ce=>{const Ne=ce.name;if(Q.has(Ne))return;Q.add(Ne);const vt=this._triggers[Ne].fallbackTransition,Gt=O[Ne]||tn,yn=new Lr(Fs),qn=new mo(this.id,Ne,x);this._engine.totalQueuedPlayers++,this._queue.push({element:x,triggerName:Ne,transition:vt,fromState:Gt,toState:yn,player:qn,isFallbackTransition:!0})})}}removeNode(x,m){const O=this._engine;if(x.childElementCount&&this._signalRemovalForInnerTriggers(x,m),this.triggerLeaveAnimation(x,m,!0))return;let Q=!1;if(O.totalAnimations){const ce=O.players.length?O.playersByQueriedElement.get(x):[];if(ce&&ce.length)Q=!0;else{let Ne=x;for(;Ne=Ne.parentNode;)if(O.statesByElement.get(Ne)){Q=!0;break}}}if(this.prepareLeaveAnimationListeners(x),Q)O.markElementAsRemoved(this.id,x,!1,m);else{const ce=x[Zo];(!ce||ce===bs)&&(O.afterFlush(()=>this.clearElementCache(x)),O.destroyInnerAnimations(x),O._onRemovalComplete(x,m))}}insertNode(x,m){yi(x,this._hostClassName)}drainQueuedTransitions(x){const m=[];return this._queue.forEach(O=>{const Q=O.player;if(Q.destroyed)return;const ce=O.element,Ne=this._elementListeners.get(ce);Ne&&Ne.forEach(Ke=>{if(Ke.name==O.triggerName){const vt=uo(ce,O.triggerName,O.fromState.value,O.toState.value);vt._data=x,Ji(O.player,Ke.phase,vt,Ke.callback)}}),Q.markedForDestroy?this._engine.afterFlush(()=>{Q.destroy()}):m.push(O)}),this._queue=[],m.sort((O,Q)=>{const ce=O.transition.ast.depCount,Ne=Q.transition.ast.depCount;return 0==ce||0==Ne?ce-Ne:this._engine.driver.containsElement(O.element,Q.element)?1:-1})}destroy(x){this.players.forEach(m=>m.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,x)}elementContainsData(x){let m=!1;return this._elementListeners.has(x)&&(m=!0),m=!!this._queue.find(O=>O.element===x)||m,m}}class Tr{constructor(x,m,O){this.bodyNode=x,this.driver=m,this._normalizer=O,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(Q,ce)=>{}}_onRemovalComplete(x,m){this.onRemovalComplete(x,m)}get queuedPlayers(){const x=[];return this._namespaceList.forEach(m=>{m.players.forEach(O=>{O.queued&&x.push(O)})}),x}createNamespace(x,m){const O=new Pi(x,m,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,m)?this._balanceNamespaceList(O,m):(this.newHostElements.set(m,O),this.collectEnterElement(m)),this._namespaceLookup[x]=O}_balanceNamespaceList(x,m){const O=this._namespaceList.length-1;if(O>=0){let Q=!1;for(let ce=O;ce>=0;ce--)if(this.driver.containsElement(this._namespaceList[ce].hostElement,m)){this._namespaceList.splice(ce+1,0,x),Q=!0;break}Q||this._namespaceList.splice(0,0,x)}else this._namespaceList.push(x);return this.namespacesByHostElement.set(m,x),x}register(x,m){let O=this._namespaceLookup[x];return O||(O=this.createNamespace(x,m)),O}registerTrigger(x,m,O){let Q=this._namespaceLookup[x];Q&&Q.register(m,O)&&this.totalAnimations++}destroy(x,m){if(!x)return;const O=this._fetchNamespace(x);this.afterFlush(()=>{this.namespacesByHostElement.delete(O.hostElement),delete this._namespaceLookup[x];const Q=this._namespaceList.indexOf(O);Q>=0&&this._namespaceList.splice(Q,1)}),this.afterFlushAnimationsDone(()=>O.destroy(m))}_fetchNamespace(x){return this._namespaceLookup[x]}fetchNamespacesByElement(x){const m=new Set,O=this.statesByElement.get(x);if(O){const Q=Object.keys(O);for(let ce=0;ce<Q.length;ce++){const Ne=O[Q[ce]].namespaceId;if(Ne){const Ke=this._fetchNamespace(Ne);Ke&&m.add(Ke)}}}return m}trigger(x,m,O,Q){if(us(m)){const ce=this._fetchNamespace(x);if(ce)return ce.trigger(m,O,Q),!0}return!1}insertNode(x,m,O,Q){if(!us(m))return;const ce=m[Zo];if(ce&&ce.setForRemoval){ce.setForRemoval=!1,ce.setForMove=!0;const Ne=this.collectedLeaveElements.indexOf(m);Ne>=0&&this.collectedLeaveElements.splice(Ne,1)}if(x){const Ne=this._fetchNamespace(x);Ne&&Ne.insertNode(m,O)}Q&&this.collectEnterElement(m)}collectEnterElement(x){this.collectedEnterElements.push(x)}markElementAsDisabled(x,m){m?this.disabledNodes.has(x)||(this.disabledNodes.add(x),yi(x,cs)):this.disabledNodes.has(x)&&(this.disabledNodes.delete(x),qo(x,cs))}removeNode(x,m,O,Q){if(us(m)){const ce=x?this._fetchNamespace(x):null;if(ce?ce.removeNode(m,Q):this.markElementAsRemoved(x,m,!1,Q),O){const Ne=this.namespacesByHostElement.get(m);Ne&&Ne.id!==x&&Ne.removeNode(m,Q)}}else this._onRemovalComplete(m,Q)}markElementAsRemoved(x,m,O,Q){this.collectedLeaveElements.push(m),m[Zo]={namespaceId:x,setForRemoval:Q,hasAnimation:O,removedBeforeQueried:!1}}listen(x,m,O,Q,ce){return us(m)?this._fetchNamespace(x).listen(m,O,Q,ce):()=>{}}_buildInstruction(x,m,O,Q,ce){return x.transition.build(this.driver,x.element,x.fromState.value,x.toState.value,O,Q,x.fromState.options,x.toState.options,m,ce)}destroyInnerAnimations(x){let m=this.driver.query(x,oe,!0);m.forEach(O=>this.destroyActiveAnimationsForElement(O)),0!=this.playersByQueriedElement.size&&(m=this.driver.query(x,Dt,!0),m.forEach(O=>this.finishActiveQueriedAnimationOnElement(O)))}destroyActiveAnimationsForElement(x){const m=this.playersByElement.get(x);m&&m.forEach(O=>{O.queued?O.markedForDestroy=!0:O.destroy()})}finishActiveQueriedAnimationOnElement(x){const m=this.playersByQueriedElement.get(x);m&&m.forEach(O=>O.finish())}whenRenderingDone(){return new Promise(x=>{if(this.players.length)return Ti(this.players).onDone(()=>x());x()})}processLeaveNode(x){const m=x[Zo];if(m&&m.setForRemoval){if(x[Zo]=bs,m.namespaceId){this.destroyInnerAnimations(x);const O=this._fetchNamespace(m.namespaceId);O&&O.clearElementCache(x)}this._onRemovalComplete(x,m.setForRemoval)}this.driver.matchesElement(x,Js)&&this.markElementAsDisabled(x,!1),this.driver.query(x,Js,!0).forEach(O=>{this.markElementAsDisabled(O,!1)})}flush(x=-1){let m=[];if(this.newHostElements.size&&(this.newHostElements.forEach((O,Q)=>this._balanceNamespaceList(O,Q)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let O=0;O<this.collectedEnterElements.length;O++)yi(this.collectedEnterElements[O],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const O=[];try{m=this._flushAnimations(O,x)}finally{for(let Q=0;Q<O.length;Q++)O[Q]()}}else for(let O=0;O<this.collectedLeaveElements.length;O++)this.processLeaveNode(this.collectedLeaveElements[O]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(O=>O()),this._flushFns=[],this._whenQuietFns.length){const O=this._whenQuietFns;this._whenQuietFns=[],m.length?Ti(m).onDone(()=>{O.forEach(Q=>Q())}):O.forEach(Q=>Q())}}reportError(x){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${x.join("\n")}`)}_flushAnimations(x,m){const O=new ls,Q=[],ce=new Map,Ne=[],Ke=new Map,vt=new Map,Gt=new Map,yn=new Set;this.disabledNodes.forEach(Bn=>{yn.add(Bn);const ti=this.driver.query(Bn,".ng-animate-queued",!0);for(let bi=0;bi<ti.length;bi++)yn.add(ti[bi])});const qn=this.bodyNode,gi=Array.from(this.statesByElement.keys()),di=fr(gi,this.collectedEnterElements),$n=new Map;let oi=0;di.forEach((Bn,ti)=>{const bi=ht+oi++;$n.set(ti,bi),Bn.forEach(Bi=>yi(Bi,bi))});const qi=[],Ao=new Set,Bo=new Set;for(let Bn=0;Bn<this.collectedLeaveElements.length;Bn++){const ti=this.collectedLeaveElements[Bn],bi=ti[Zo];bi&&bi.setForRemoval&&(qi.push(ti),Ao.add(ti),bi.hasAnimation?this.driver.query(ti,".ng-star-inserted",!0).forEach(Bi=>Ao.add(Bi)):Bo.add(ti))}const ws=new Map,wo=fr(gi,Array.from(Ao));wo.forEach((Bn,ti)=>{const bi=Ct+oi++;ws.set(ti,bi),Bn.forEach(Bi=>yi(Bi,bi))}),x.push(()=>{di.forEach((Bn,ti)=>{const bi=$n.get(ti);Bn.forEach(Bi=>qo(Bi,bi))}),wo.forEach((Bn,ti)=>{const bi=ws.get(ti);Bn.forEach(Bi=>qo(Bi,bi))}),qi.forEach(Bn=>{this.processLeaveNode(Bn)})});const Oa=[],yr=[];for(let Bn=this._namespaceList.length-1;Bn>=0;Bn--)this._namespaceList[Bn].drainQueuedTransitions(m).forEach(bi=>{const Bi=bi.player,Ro=bi.element;if(Oa.push(Bi),this.collectedEnterElements.length){const gs=Ro[Zo];if(gs&&gs.setForMove)return void Bi.destroy()}const os=!qn||!this.driver.containsElement(qn,Ro),ds=ws.get(Ro),co=$n.get(Ro),Eo=this._buildInstruction(bi,O,co,ds,os);if(Eo.errors&&Eo.errors.length)yr.push(Eo);else{if(os)return Bi.onStart(()=>oo(Ro,Eo.fromStyles)),Bi.onDestroy(()=>Ni(Ro,Eo.toStyles)),void Q.push(Bi);if(bi.isFallbackTransition)return Bi.onStart(()=>oo(Ro,Eo.fromStyles)),Bi.onDestroy(()=>Ni(Ro,Eo.toStyles)),void Q.push(Bi);Eo.timelines.forEach(gs=>gs.stretchStartingKeyframe=!0),O.append(Ro,Eo.timelines),Ne.push({instruction:Eo,player:Bi,element:Ro}),Eo.queriedElements.forEach(gs=>Hi(Ke,gs,[]).push(Bi)),Eo.preStyleProps.forEach((gs,Or)=>{const za=Object.keys(gs);if(za.length){let kr=vt.get(Or);kr||vt.set(Or,kr=new Set),za.forEach(Ua=>kr.add(Ua))}}),Eo.postStyleProps.forEach((gs,Or)=>{const za=Object.keys(gs);let kr=Gt.get(Or);kr||Gt.set(Or,kr=new Set),za.forEach(Ua=>kr.add(Ua))})}});if(yr.length){const Bn=[];yr.forEach(ti=>{Bn.push(`@${ti.triggerName} has failed due to:\n`),ti.errors.forEach(bi=>Bn.push(`- ${bi}\n`))}),Oa.forEach(ti=>ti.destroy()),this.reportError(Bn)}const Qo=new Map,ar=new Map;Ne.forEach(Bn=>{const ti=Bn.element;O.has(ti)&&(ar.set(ti,ti),this._beforeAnimationBuild(Bn.player.namespaceId,Bn.instruction,Qo))}),Q.forEach(Bn=>{const ti=Bn.element;this._getPreviousPlayers(ti,!1,Bn.namespaceId,Bn.triggerName,null).forEach(Bi=>{Hi(Qo,ti,[]).push(Bi),Bi.destroy()})});const Zs=qi.filter(Bn=>er(Bn,vt,Gt)),vr=new Map;pr(vr,this.driver,Bo,Gt,an.l3).forEach(Bn=>{er(Bn,vt,Gt)&&Zs.push(Bn)});const ia=new Map;di.forEach((Bn,ti)=>{pr(ia,this.driver,new Set(Bn),vt,an.k1)}),Zs.forEach(Bn=>{const ti=vr.get(Bn),bi=ia.get(Bn);vr.set(Bn,Object.assign(Object.assign({},ti),bi))});const qs=[],hl=[],ec={};Ne.forEach(Bn=>{const{element:ti,player:bi,instruction:Bi}=Bn;if(O.has(ti)){if(yn.has(ti))return bi.onDestroy(()=>Ni(ti,Bi.toStyles)),bi.disabled=!0,bi.overrideTotalTime(Bi.totalTime),void Q.push(bi);let Ro=ec;if(ar.size>1){let ds=ti;const co=[];for(;ds=ds.parentNode;){const Eo=ar.get(ds);if(Eo){Ro=Eo;break}co.push(ds)}co.forEach(Eo=>ar.set(Eo,Ro))}const os=this._buildAnimation(bi.namespaceId,Bi,Qo,ce,ia,vr);if(bi.setRealPlayer(os),Ro===ec)qs.push(bi);else{const ds=this.playersByElement.get(Ro);ds&&ds.length&&(bi.parentPlayer=Ti(ds)),Q.push(bi)}}else oo(ti,Bi.fromStyles),bi.onDestroy(()=>Ni(ti,Bi.toStyles)),hl.push(bi),yn.has(ti)&&Q.push(bi)}),hl.forEach(Bn=>{const ti=ce.get(Bn.element);if(ti&&ti.length){const bi=Ti(ti);Bn.setRealPlayer(bi)}}),Q.forEach(Bn=>{Bn.parentPlayer?Bn.syncPlayerEvents(Bn.parentPlayer):Bn.destroy()});for(let Bn=0;Bn<qi.length;Bn++){const ti=qi[Bn],bi=ti[Zo];if(qo(ti,Ct),bi&&bi.hasAnimation)continue;let Bi=[];if(Ke.size){let os=Ke.get(ti);os&&os.length&&Bi.push(...os);let ds=this.driver.query(ti,Dt,!0);for(let co=0;co<ds.length;co++){let Eo=Ke.get(ds[co]);Eo&&Eo.length&&Bi.push(...Eo)}}const Ro=Bi.filter(os=>!os.destroyed);Ro.length?ea(this,ti,Ro):this.processLeaveNode(ti)}return qi.length=0,qs.forEach(Bn=>{this.players.push(Bn),Bn.onDone(()=>{Bn.destroy();const ti=this.players.indexOf(Bn);this.players.splice(ti,1)}),Bn.play()}),qs}elementContainsData(x,m){let O=!1;const Q=m[Zo];return Q&&Q.setForRemoval&&(O=!0),this.playersByElement.has(m)&&(O=!0),this.playersByQueriedElement.has(m)&&(O=!0),this.statesByElement.has(m)&&(O=!0),this._fetchNamespace(x).elementContainsData(m)||O}afterFlush(x){this._flushFns.push(x)}afterFlushAnimationsDone(x){this._whenQuietFns.push(x)}_getPreviousPlayers(x,m,O,Q,ce){let Ne=[];if(m){const Ke=this.playersByQueriedElement.get(x);Ke&&(Ne=Ke)}else{const Ke=this.playersByElement.get(x);if(Ke){const vt=!ce||ce==Fs;Ke.forEach(Gt=>{Gt.queued||!vt&&Gt.triggerName!=Q||Ne.push(Gt)})}}return(O||Q)&&(Ne=Ne.filter(Ke=>!(O&&O!=Ke.namespaceId||Q&&Q!=Ke.triggerName))),Ne}_beforeAnimationBuild(x,m,O){const ce=m.element,Ne=m.isRemovalTransition?void 0:x,Ke=m.isRemovalTransition?void 0:m.triggerName;for(const vt of m.timelines){const Gt=vt.element,yn=Gt!==ce,qn=Hi(O,Gt,[]);this._getPreviousPlayers(Gt,yn,Ne,Ke,m.toState).forEach(di=>{const $n=di.getRealPlayer();$n.beforeDestroy&&$n.beforeDestroy(),di.destroy(),qn.push(di)})}oo(ce,m.fromStyles)}_buildAnimation(x,m,O,Q,ce,Ne){const Ke=m.triggerName,vt=m.element,Gt=[],yn=new Set,qn=new Set,gi=m.timelines.map($n=>{const oi=$n.element;yn.add(oi);const qi=oi[Zo];if(qi&&qi.removedBeforeQueried)return new an.ZN($n.duration,$n.delay);const Ao=oi!==vt,Bo=function(B){const x=[];return Os(B,x),x}((O.get(oi)||zi).map(Qo=>Qo.getRealPlayer())).filter(Qo=>!!Qo.element&&Qo.element===oi),ws=ce.get(oi),wo=Ne.get(oi),Oa=Vi(0,this._normalizer,0,$n.keyframes,ws,wo),yr=this._buildPlayer($n,Oa,Bo);if($n.subTimeline&&Q&&qn.add(oi),Ao){const Qo=new mo(x,Ke,oi);Qo.setRealPlayer(yr),Gt.push(Qo)}return yr});Gt.forEach($n=>{Hi(this.playersByQueriedElement,$n.element,[]).push($n),$n.onDone(()=>function(B,x,m){let O;if(B instanceof Map){if(O=B.get(x),O){if(O.length){const Q=O.indexOf(m);O.splice(Q,1)}0==O.length&&B.delete(x)}}else if(O=B[x],O){if(O.length){const Q=O.indexOf(m);O.splice(Q,1)}0==O.length&&delete B[x]}return O}(this.playersByQueriedElement,$n.element,$n))}),yn.forEach($n=>yi($n,Xe));const di=Ti(gi);return di.onDestroy(()=>{yn.forEach($n=>qo($n,Xe)),Ni(vt,m.toStyles)}),qn.forEach($n=>{Hi(Q,$n,[]).push(di)}),di}_buildPlayer(x,m,O){return m.length>0?this.driver.animate(x.element,m,x.duration,x.delay,x.easing,O):new an.ZN(x.duration,x.delay)}}class mo{constructor(x,m,O){this.namespaceId=x,this.triggerName=m,this.element=O,this._player=new an.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(x){this._containsRealPlayer||(this._player=x,Object.keys(this._queuedCallbacks).forEach(m=>{this._queuedCallbacks[m].forEach(O=>Ji(x,m,void 0,O))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(x.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(x){this.totalTime=x}syncPlayerEvents(x){const m=this._player;m.triggerCallback&&x.onStart(()=>m.triggerCallback("start")),x.onDone(()=>this.finish()),x.onDestroy(()=>this.destroy())}_queueEvent(x,m){Hi(this._queuedCallbacks,x,[]).push(m)}onDone(x){this.queued&&this._queueEvent("done",x),this._player.onDone(x)}onStart(x){this.queued&&this._queueEvent("start",x),this._player.onStart(x)}onDestroy(x){this.queued&&this._queueEvent("destroy",x),this._player.onDestroy(x)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(x){this.queued||this._player.setPosition(x)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(x){const m=this._player;m.triggerCallback&&m.triggerCallback(x)}}function us(B){return B&&1===B.nodeType}function Ks(B,x){const m=B.style.display;return B.style.display=null!=x?x:"none",m}function pr(B,x,m,O,Q){const ce=[];m.forEach(vt=>ce.push(Ks(vt)));const Ne=[];O.forEach((vt,Gt)=>{const yn={};vt.forEach(qn=>{const gi=yn[qn]=x.computeStyle(Gt,qn,Q);(!gi||0==gi.length)&&(Gt[Zo]=Us,Ne.push(Gt))}),B.set(Gt,yn)});let Ke=0;return m.forEach(vt=>Ks(vt,ce[Ke++])),Ne}function fr(B,x){const m=new Map;if(B.forEach(Ke=>m.set(Ke,[])),0==x.length)return m;const Q=new Set(x),ce=new Map;function Ne(Ke){if(!Ke)return 1;let vt=ce.get(Ke);if(vt)return vt;const Gt=Ke.parentNode;return vt=m.has(Gt)?Gt:Q.has(Gt)?1:Ne(Gt),ce.set(Ke,vt),vt}return x.forEach(Ke=>{const vt=Ne(Ke);1!==vt&&m.get(vt).push(Ke)}),m}const Ls="$$classes";function yi(B,x){if(B.classList)B.classList.add(x);else{let m=B[Ls];m||(m=B[Ls]={}),m[x]=!0}}function qo(B,x){if(B.classList)B.classList.remove(x);else{let m=B[Ls];m&&delete m[x]}}function ea(B,x,m){Ti(m).onDone(()=>B.processLeaveNode(x))}function Os(B,x){for(let m=0;m<B.length;m++){const O=B[m];O instanceof an.ZE?Os(O.players,x):x.push(O)}}function er(B,x,m){const O=m.get(B);if(!O)return!1;let Q=x.get(B);return Q?O.forEach(ce=>Q.add(ce)):x.set(B,O),m.delete(B),!0}class ns{constructor(x,m,O){this.bodyNode=x,this._driver=m,this._normalizer=O,this._triggerCache={},this.onRemovalComplete=(Q,ce)=>{},this._transitionEngine=new Tr(x,m,O),this._timelineEngine=new Vo(x,m,O),this._transitionEngine.onRemovalComplete=(Q,ce)=>this.onRemovalComplete(Q,ce)}registerTrigger(x,m,O,Q,ce){const Ne=x+"-"+Q;let Ke=this._triggerCache[Ne];if(!Ke){const vt=[],Gt=es(this._driver,ce,vt);if(vt.length)throw new Error(`The animation trigger "${Q}" has failed to build due to the following errors:\n - ${vt.join("\n - ")}`);Ke=function(B,x,m){return new jo(B,x,m)}(Q,Gt,this._normalizer),this._triggerCache[Ne]=Ke}this._transitionEngine.registerTrigger(m,Q,Ke)}register(x,m){this._transitionEngine.register(x,m)}destroy(x,m){this._transitionEngine.destroy(x,m)}onInsert(x,m,O,Q){this._transitionEngine.insertNode(x,m,O,Q)}onRemove(x,m,O,Q){this._transitionEngine.removeNode(x,m,Q||!1,O)}disableAnimations(x,m){this._transitionEngine.markElementAsDisabled(x,m)}process(x,m,O,Q){if("@"==O.charAt(0)){const[ce,Ne]=To(O);this._timelineEngine.command(ce,m,Ne,Q)}else this._transitionEngine.trigger(x,m,O,Q)}listen(x,m,O,Q,ce){if("@"==O.charAt(0)){const[Ne,Ke]=To(O);return this._timelineEngine.listen(Ne,m,Ke,ce)}return this._transitionEngine.listen(x,m,O,Q,ce)}flush(x=-1){this._transitionEngine.flush(x)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function fs(B,x){let m=null,O=null;return Array.isArray(x)&&x.length?(m=tr(x[0]),x.length>1&&(O=tr(x[x.length-1]))):x&&(m=tr(x)),m||O?new vs(B,m,O):null}class vs{constructor(x,m,O){this._element=x,this._startStyles=m,this._endStyles=O,this._state=0;let Q=vs.initialStylesByElement.get(x);Q||vs.initialStylesByElement.set(x,Q={}),this._initialStyles=Q}start(){this._state<1&&(this._startStyles&&Ni(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ni(this._element,this._initialStyles),this._endStyles&&(Ni(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(vs.initialStylesByElement.delete(this._element),this._startStyles&&(oo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(oo(this._element,this._endStyles),this._endStyles=null),Ni(this._element,this._initialStyles),this._state=3)}}function tr(B){let x=null;const m=Object.keys(B);for(let O=0;O<m.length;O++){const Q=m[O];Ca(Q)&&(x=x||{},x[Q]=B[Q])}return x}function Ca(B){return"display"===B||"position"===B}vs.initialStylesByElement=new WeakMap;const Br="animation",Ns="animationend";class Hr{constructor(x,m,O,Q,ce,Ne,Ke){this._element=x,this._name=m,this._duration=O,this._delay=Q,this._easing=ce,this._fillMode=Ne,this._onDoneFn=Ke,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=vt=>this._handleCallback(vt)}apply(){(function(B,x){const m=is(B,"").trim();let O=0;m.length&&(function(B,x){let m=0;for(let O=0;O<B.length;O++)","===B.charAt(O)&&m++;return m}(m)+1,x=`${m}, ${x}`),Mo(B,"",x)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),zr(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Mr(this._element,this._name,"paused")}resume(){Mr(this._element,this._name,"running")}setPosition(x){const m=ir(this._element,this._name);this._position=x*this._duration,Mo(this._element,"Delay",`-${this._position}ms`,m)}getPosition(){return this._position}_handleCallback(x){const m=x._ngTestManualTimestamp||Date.now(),O=1e3*parseFloat(x.elapsedTime.toFixed(3));x.animationName==this._name&&Math.max(m-this._startTime,0)>=this._delay&&O>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),zr(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(B,x){const O=is(B,"").split(","),Q=Vs(O,x);Q>=0&&(O.splice(Q,1),Mo(B,"",O.join(",")))}(this._element,this._name))}}function Mr(B,x,m){Mo(B,"PlayState",m,ir(B,x))}function ir(B,x){const m=is(B,"");return m.indexOf(",")>0?Vs(m.split(","),x):Vs([m],x)}function Vs(B,x){for(let m=0;m<B.length;m++)if(B[m].indexOf(x)>=0)return m;return-1}function zr(B,x,m){m?B.removeEventListener(Ns,x):B.addEventListener(Ns,x)}function Mo(B,x,m,O){const Q=Br+x;if(null!=O){const ce=B.style[Q];if(ce.length){const Ne=ce.split(",");Ne[O]=m,m=Ne.join(",")}}B.style[Q]=m}function is(B,x){return B.style[Br+x]||""}class $t{constructor(x,m,O,Q,ce,Ne,Ke,vt){this.element=x,this.keyframes=m,this.animationName=O,this._duration=Q,this._delay=ce,this._finalStyles=Ke,this._specialStyles=vt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Ne||"linear",this.totalTime=Q+ce,this._buildStyler()}onStart(x){this._onStartFns.push(x)}onDone(x){this._onDoneFns.push(x)}onDestroy(x){this._onDestroyFns.push(x)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(x=>x()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(x=>x()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(x=>x()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(x){this._styler.setPosition(x)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Hr(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(x){const m="start"==x?this._onStartFns:this._onDoneFns;m.forEach(O=>O()),m.length=0}beforeDestroy(){this.init();const x={};if(this.hasStarted()){const m=this._state>=3;Object.keys(this._finalStyles).forEach(O=>{"offset"!=O&&(x[O]=m?this._finalStyles[O]:ke(this.element,O))})}this.currentSnapshot=x}}class yt extends an.ZN{constructor(x,m){super(),this.element=x,this._startingStyles={},this.__initialized=!1,this._styles=St(m)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(x=>{this._startingStyles[x]=this.element.style[x]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(x=>this.element.style.setProperty(x,this._styles[x])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(x=>{const m=this._startingStyles[x];m?this.element.style.setProperty(x,m):this.element.style.removeProperty(x)}),this._startingStyles=null,super.destroy())}}class gn{constructor(){this._count=0}validateStyleProperty(x){return $(x)}matchesElement(x,m){return $e(x,m)}containsElement(x,m){return Vt(x,m)}query(x,m,O){return Bt(x,m,O)}computeStyle(x,m,O){return window.getComputedStyle(x)[m]}buildKeyframeElement(x,m,O){O=O.map(Ke=>St(Ke));let Q=`@keyframes ${m} {\n`,ce="";O.forEach(Ke=>{ce=" ";const vt=parseFloat(Ke.offset);Q+=`${ce}${100*vt}% {\n`,ce+=" ",Object.keys(Ke).forEach(Gt=>{const yn=Ke[Gt];switch(Gt){case"offset":return;case"easing":return void(yn&&(Q+=`${ce}animation-timing-function: ${yn};\n`));default:return void(Q+=`${ce}${Gt}: ${yn};\n`)}}),Q+=`${ce}}\n`}),Q+="}\n";const Ne=document.createElement("style");return Ne.textContent=Q,Ne}animate(x,m,O,Q,ce,Ne=[],Ke){const vt=Ne.filter(qi=>qi instanceof $t),Gt={};ki(O,Q)&&vt.forEach(qi=>{let Ao=qi.currentSnapshot;Object.keys(Ao).forEach(Bo=>Gt[Bo]=Ao[Bo])});const yn=function(B){let x={};return B&&(Array.isArray(B)?B:[B]).forEach(O=>{Object.keys(O).forEach(Q=>{"offset"==Q||"easing"==Q||(x[Q]=O[Q])})}),x}(m=Ki(x,m,Gt));if(0==O)return new yt(x,yn);const qn="gen_css_kf_"+this._count++,gi=this.buildKeyframeElement(x,qn,m);(function(B){var x;const m=null===(x=B.getRootNode)||void 0===x?void 0:x.call(B);return"undefined"!=typeof ShadowRoot&&m instanceof ShadowRoot?m:document.head})(x).appendChild(gi);const $n=fs(x,m),oi=new $t(x,m,qn,O,Q,ce,yn,$n);return oi.onDestroy(()=>{var B;(B=gi).parentNode.removeChild(B)}),oi}}class Ii{constructor(x,m,O,Q){this.element=x,this.keyframes=m,this.options=O,this._specialStyles=Q,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=O.duration,this._delay=O.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(x=>x()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const x=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,x,this.options),this._finalKeyframe=x.length?x[x.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(x,m,O){return x.animate(m,O)}onStart(x){this._onStartFns.push(x)}onDone(x){this._onDoneFns.push(x)}onDestroy(x){this._onDestroyFns.push(x)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(x=>x()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(x=>x()),this._onDestroyFns=[])}setPosition(x){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=x*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const x={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(m=>{"offset"!=m&&(x[m]=this._finished?this._finalKeyframe[m]:ke(this.element,m))}),this.currentSnapshot=x}triggerCallback(x){const m="start"==x?this._onStartFns:this._onDoneFns;m.forEach(O=>O()),m.length=0}}class Zn{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Lo().toString()),this._cssKeyframesDriver=new gn}validateStyleProperty(x){return $(x)}matchesElement(x,m){return $e(x,m)}containsElement(x,m){return Vt(x,m)}query(x,m,O){return Bt(x,m,O)}computeStyle(x,m,O){return window.getComputedStyle(x)[m]}overrideWebAnimationsSupport(x){this._isNativeImpl=x}animate(x,m,O,Q,ce,Ne=[],Ke){if(!Ke&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(x,m,O,Q,ce,Ne);const yn={duration:O,delay:Q,fill:0==Q?"both":"forwards"};ce&&(yn.easing=ce);const qn={},gi=Ne.filter($n=>$n instanceof Ii);ki(O,Q)&&gi.forEach($n=>{let oi=$n.currentSnapshot;Object.keys(oi).forEach(qi=>qn[qi]=oi[qi])});const di=fs(x,m=Ki(x,m=m.map($n=>Li($n,!1)),qn));return new Ii(x,m,yn,di)}}function Lo(){return Di()&&Element.prototype.animate||{}}let Ui=(()=>{class B extends an._j{constructor(m,O){super(),this._nextAnimationId=0,this._renderer=m.createRenderer(O.body,{id:"0",encapsulation:c.ifc.None,styles:[],data:{animation:[]}})}build(m){const O=this._nextAnimationId.toString();this._nextAnimationId++;const Q=Array.isArray(m)?(0,an.vP)(m):m;return ks(this._renderer,null,O,"register",[Q]),new so(O,this._renderer)}}return B.\u0275fac=function(m){return new(m||B)(c.LFG(c.FYo),c.LFG(ge.K0))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac}),B})();class so extends an.LC{constructor(x,m){super(),this._id=x,this._renderer=m}create(x,m){return new js(this._id,x,m||{},this._renderer)}}class js{constructor(x,m,O,Q){this.id=x,this.element=m,this._renderer=Q,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",O)}_listen(x,m){return this._renderer.listen(this.element,`@@${this.id}:${x}`,m)}_command(x,...m){return ks(this._renderer,this.element,this.id,x,m)}onDone(x){this._listen("done",x)}onStart(x){this._listen("start",x)}onDestroy(x){this._listen("destroy",x)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(x){this._command("setPosition",x)}getPosition(){var x,m;return null!==(m=null===(x=this._renderer.engine.players[+this.id])||void 0===x?void 0:x.getPosition())&&void 0!==m?m:0}}function ks(B,x,m,O,Q){return B.setProperty(x,`@@${m}:${O}`,Q)}const Ur="@.disabled";let wa=(()=>{class B{constructor(m,O,Q){this.delegate=m,this.engine=O,this._zone=Q,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),O.onRemovalComplete=(ce,Ne)=>{Ne&&Ne.parentNode(ce)&&Ne.removeChild(ce.parentNode,ce)}}createRenderer(m,O){const ce=this.delegate.createRenderer(m,O);if(!(m&&O&&O.data&&O.data.animation)){let yn=this._rendererCache.get(ce);return yn||(yn=new tl("",ce,this.engine),this._rendererCache.set(ce,yn)),yn}const Ne=O.id,Ke=O.id+"-"+this._currentId;this._currentId++,this.engine.register(Ke,m);const vt=yn=>{Array.isArray(yn)?yn.forEach(vt):this.engine.registerTrigger(Ne,Ke,m,yn.name,yn)};return O.data.animation.forEach(vt),new xa(this,Ke,ce,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(m,O,Q){m>=0&&m<this._microtaskId?this._zone.run(()=>O(Q)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(ce=>{const[Ne,Ke]=ce;Ne(Ke)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([O,Q]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return B.\u0275fac=function(m){return new(m||B)(c.LFG(c.FYo),c.LFG(ns),c.LFG(c.R0b))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac}),B})();class tl{constructor(x,m,O){this.namespaceId=x,this.delegate=m,this.engine=O,this.destroyNode=this.delegate.destroyNode?Q=>m.destroyNode(Q):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(x,m){return this.delegate.createElement(x,m)}createComment(x){return this.delegate.createComment(x)}createText(x){return this.delegate.createText(x)}appendChild(x,m){this.delegate.appendChild(x,m),this.engine.onInsert(this.namespaceId,m,x,!1)}insertBefore(x,m,O,Q=!0){this.delegate.insertBefore(x,m,O),this.engine.onInsert(this.namespaceId,m,x,Q)}removeChild(x,m,O){this.engine.onRemove(this.namespaceId,m,this.delegate,O)}selectRootElement(x,m){return this.delegate.selectRootElement(x,m)}parentNode(x){return this.delegate.parentNode(x)}nextSibling(x){return this.delegate.nextSibling(x)}setAttribute(x,m,O,Q){this.delegate.setAttribute(x,m,O,Q)}removeAttribute(x,m,O){this.delegate.removeAttribute(x,m,O)}addClass(x,m){this.delegate.addClass(x,m)}removeClass(x,m){this.delegate.removeClass(x,m)}setStyle(x,m,O,Q){this.delegate.setStyle(x,m,O,Q)}removeStyle(x,m,O){this.delegate.removeStyle(x,m,O)}setProperty(x,m,O){"@"==m.charAt(0)&&m==Ur?this.disableAnimations(x,!!O):this.delegate.setProperty(x,m,O)}setValue(x,m){this.delegate.setValue(x,m)}listen(x,m,O){return this.delegate.listen(x,m,O)}disableAnimations(x,m){this.engine.disableAnimations(x,m)}}class xa extends tl{constructor(x,m,O,Q){super(m,O,Q),this.factory=x,this.namespaceId=m}setProperty(x,m,O){"@"==m.charAt(0)?"."==m.charAt(1)&&m==Ur?this.disableAnimations(x,O=void 0===O||!!O):this.engine.process(this.namespaceId,x,m.substr(1),O):this.delegate.setProperty(x,m,O)}listen(x,m,O){if("@"==m.charAt(0)){const Q=function(B){switch(B){case"body":return document.body;case"document":return document;case"window":return window;default:return B}}(x);let ce=m.substr(1),Ne="";return"@"!=ce.charAt(0)&&([ce,Ne]=function(B){const x=B.indexOf(".");return[B.substring(0,x),B.substr(x+1)]}(ce)),this.engine.listen(this.namespaceId,Q,ce,Ne,Ke=>{this.factory.scheduleListenerCallback(Ke._data||-1,O,Ke)})}return this.delegate.listen(x,m,O)}}let il=(()=>{class B extends ns{constructor(m,O,Q){super(m.body,O,Q)}ngOnDestroy(){this.flush()}}return B.\u0275fac=function(m){return new(m||B)(c.LFG(ge.K0),c.LFG(An),c.LFG(pt))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac}),B})();const Er=new c.OlP("AnimationModuleType"),Bs=[{provide:an._j,useClass:Ui},{provide:pt,useFactory:function(){return new Yt}},{provide:ns,useClass:il},{provide:c.FYo,useFactory:function(B,x,m){return new wa(B,x,m)},deps:[n.se,ns,c.R0b]}],ol=[{provide:An,useFactory:function(){return"function"==typeof Lo()?new Zn:new gn}},{provide:Er,useValue:"BrowserAnimations"},...Bs],Ta=[{provide:An,useClass:en},{provide:Er,useValue:"NoopAnimations"},...Bs];let sl=(()=>{class B{static withConfig(m){return{ngModule:B,providers:m.disableAnimations?Ta:ol}}}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B}),B.\u0275inj=c.cJS({providers:ol,imports:[n.b2]}),B})();var Va=J(6215),jr=J(9765),Ba=J(5435),Ma=J(6782);const or=["overlay"];function ta(B,x){1&B&&c._UZ(0,"div")}function na(B,x){if(1&B&&(c.TgZ(0,"div"),c.YNc(1,ta,1,0,"div",6),c.qZA()),2&B){const m=c.oxw(2);c.Tol(m.spinner.class),c.Udp("color",m.spinner.color),c.xp6(1),c.Q6J("ngForOf",m.spinner.divArray)}}function al(B,x){if(1&B&&(c._UZ(0,"div",7),c.ALo(1,"safeHtml")),2&B){const m=c.oxw(2);c.Q6J("innerHTML",c.lcZ(1,1,m.template),c.oJD)}}function Ea(B,x){if(1&B&&(c.TgZ(0,"div",1,2),c.YNc(2,na,2,5,"div",3),c.YNc(3,al,2,3,"div",4),c.TgZ(4,"div",5),c.Hsn(5),c.qZA(),c.qZA()),2&B){const m=c.oxw();c.Udp("background-color",m.spinner.bdColor)("z-index",m.spinner.zIndex)("position",m.spinner.fullScreen?"fixed":"absolute"),c.Q6J("@.disabled",m.disableAnimation)("@fadeIn","in"),c.xp6(2),c.Q6J("ngIf",!m.template),c.xp6(1),c.Q6J("ngIf",m.template),c.xp6(1),c.Udp("z-index",m.spinner.zIndex)}}const ll=["*"],cl={"ball-8bits":16,"ball-atom":4,"ball-beat":3,"ball-circus":5,"ball-climbing-dot":4,"ball-clip-rotate":1,"ball-clip-rotate-multiple":2,"ball-clip-rotate-pulse":2,"ball-elastic-dots":5,"ball-fall":3,"ball-fussion":4,"ball-grid-beat":9,"ball-grid-pulse":9,"ball-newton-cradle":4,"ball-pulse":3,"ball-pulse-rise":5,"ball-pulse-sync":3,"ball-rotate":1,"ball-running-dots":5,"ball-scale":1,"ball-scale-multiple":3,"ball-scale-pulse":2,"ball-scale-ripple":1,"ball-scale-ripple-multiple":3,"ball-spin":8,"ball-spin-clockwise":8,"ball-spin-clockwise-fade":8,"ball-spin-clockwise-fade-rotating":8,"ball-spin-fade":8,"ball-spin-fade-rotating":8,"ball-spin-rotate":2,"ball-square-clockwise-spin":8,"ball-square-spin":8,"ball-triangle-path":3,"ball-zig-zag":2,"ball-zig-zag-deflect":2,cog:1,"cube-transition":2,fire:3,"line-scale":5,"line-scale-party":5,"line-scale-pulse-out":5,"line-scale-pulse-out-rapid":5,"line-spin-clockwise-fade":8,"line-spin-clockwise-fade-rotating":8,"line-spin-fade":8,"line-spin-fade-rotating":8,pacman:6,"square-jelly-box":2,"square-loader":1,"square-spin":1,timer:1,"triangle-skew-spin":1},Sa="primary";class Sr{constructor(x){Object.assign(this,x)}}let H=(()=>{class B{constructor(){this.spinnerObservable=new Va.X(null)}getSpinner(m){return this.spinnerObservable.asObservable().pipe((0,Ba.h)(O=>O&&O.name===m))}show(m=Sa,O){return new Promise((Q,ce)=>{setTimeout(()=>{O&&Object.keys(O).length?(O.name=m,this.spinnerObservable.next(new Sr(Object.assign(Object.assign({},O),{show:!0}))),Q(!0)):(this.spinnerObservable.next(new Sr({name:m,show:!0})),Q(!0))},10)})}hide(m=Sa,O=10){return new Promise((Q,ce)=>{setTimeout(()=>{this.spinnerObservable.next(new Sr({name:m,show:!1})),Q(!0)},O)})}}return B.\u0275fac=function(m){return new(m||B)},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),A=(()=>{class B{constructor(m){this._sanitizer=m}transform(m){if(m)return this._sanitizer.bypassSecurityTrustHtml(m)}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(n.H7,16))},B.\u0275pipe=c.Yjl({name:"safeHtml",type:B,pure:!0}),B})(),k=(()=>{class B{constructor(m,O,Q){this.spinnerService=m,this.changeDetector=O,this.elementRef=Q,this.disableAnimation=!1,this.spinner=new Sr,this.ngUnsubscribe=new jr.xQ,this.setDefaultOptions=()=>{this.spinner=new Sr({name:this.name,bdColor:this.bdColor,size:this.size,color:this.color,type:this.type,fullScreen:this.fullScreen,divArray:this.divArray,divCount:this.divCount,show:this.show,zIndex:this.zIndex,template:this.template,showSpinner:this.showSpinner})},this.bdColor="rgba(51,51,51,0.8)",this.zIndex=99999,this.color="#fff",this.type="ball-scale-multiple",this.size="large",this.fullScreen=!0,this.name=Sa,this.template=null,this.showSpinner=!1,this.divArray=[],this.divCount=0,this.show=!1}handleKeyboardEvent(m){this.spinnerDOM&&this.spinnerDOM.nativeElement&&(this.fullScreen||!this.fullScreen&&this.isSpinnerZone(m.target))&&(m.returnValue=!1,m.preventDefault())}ngOnInit(){this.setDefaultOptions(),this.spinnerService.getSpinner(this.name).pipe((0,Ma.R)(this.ngUnsubscribe)).subscribe(m=>{this.setDefaultOptions(),Object.assign(this.spinner,m),m.show&&this.onInputChange(),this.changeDetector.detectChanges()})}isSpinnerZone(m){return m===this.elementRef.nativeElement.parentElement||m.parentNode&&this.isSpinnerZone(m.parentNode)}ngOnChanges(m){for(const O in m)if(O){const Q=m[O];if(Q.isFirstChange())return;void 0!==Q.currentValue&&Q.currentValue!==Q.previousValue&&""!==Q.currentValue&&(this.spinner[O]=Q.currentValue,"showSpinner"===O&&(Q.currentValue?this.spinnerService.show(this.spinner.name,this.spinner):this.spinnerService.hide(this.spinner.name)))}}getClass(m,O){this.spinner.divCount=cl[m],this.spinner.divArray=Array(this.spinner.divCount).fill(0).map((ce,Ne)=>Ne);let Q="";switch(O.toLowerCase()){case"small":Q="la-sm";break;case"medium":Q="la-2x";break;case"large":Q="la-3x"}return"la-"+m+" "+Q}onInputChange(){this.spinner.class=this.getClass(this.spinner.type,this.spinner.size)}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(H),c.Y36(c.sBO),c.Y36(c.SBq))},B.\u0275cmp=c.Xpm({type:B,selectors:[["ngx-spinner"]],viewQuery:function(m,O){if(1&m&&c.Gf(or,5),2&m){let Q;c.iGM(Q=c.CRH())&&(O.spinnerDOM=Q.first)}},hostBindings:function(m,O){1&m&&c.NdJ("keydown",function(ce){return O.handleKeyboardEvent(ce)},!1,c.evT)},inputs:{bdColor:"bdColor",size:"size",color:"color",type:"type",fullScreen:"fullScreen",name:"name",zIndex:"zIndex",template:"template",showSpinner:"showSpinner",disableAnimation:"disableAnimation"},features:[c.TTD],ngContentSelectors:ll,decls:1,vars:1,consts:[["class","ngx-spinner-overlay",3,"background-color","z-index","position",4,"ngIf"],[1,"ngx-spinner-overlay"],["overlay",""],[3,"class","color",4,"ngIf"],[3,"innerHTML",4,"ngIf"],[1,"loading-text"],[4,"ngFor","ngForOf"],[3,"innerHTML"]],template:function(m,O){1&m&&(c.F$t(),c.YNc(0,Ea,6,12,"div",0)),2&m&&c.Q6J("ngIf",O.spinner.show)},directives:[ge.O5,ge.sg],pipes:[A],styles:['.la-ball-8bits[_ngcontent-%COMP%], .la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-8bits[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-8bits.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-8bits[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:0;opacity:0;transform:translate(100%,100%);-webkit-animation:ball-8bits 1s ease 0s infinite;animation:ball-8bits 1s ease 0s infinite}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.9375s;animation-delay:-.9375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8125s;animation-delay:-.8125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.6875s;animation-delay:-.6875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-.5625s;animation-delay:-.5625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-.4375s;animation-delay:-.4375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){-webkit-animation-delay:-.3125s;animation-delay:-.3125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){-webkit-animation-delay:-.1875s;animation-delay:-.1875s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){-webkit-animation-delay:-.0625s;animation-delay:-.0625s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:-100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:-100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:-66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:-33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:0;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:33.3333333333%;left:100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:66.6666666667%;left:66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:100%;left:33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){top:100%;left:0}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){top:100%;left:-33.3333333333%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){top:66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){top:33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(13){top:0;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(14){top:-33.3333333333%;left:-100%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(15){top:-66.6666666667%;left:-66.6666666667%}.la-ball-8bits[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(16){top:-100%;left:-33.3333333333%}.la-ball-8bits.la-sm[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-8bits.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:2px}.la-ball-8bits.la-2x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-8bits.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-8bits.la-3x[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-8bits.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:12px}@-webkit-keyframes ball-8bits{0%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes ball-8bits{0%{opacity:1}50%{opacity:1}51%{opacity:0}}.la-ball-atom[_ngcontent-%COMP%], .la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-atom[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-atom.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-atom[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;top:50%;left:50%;z-index:1;width:60%;height:60%;background:#aaa;border-radius:100%;transform:translate(-50%,-50%);-webkit-animation:ball-atom-shrink 4.5s linear infinite;animation:ball-atom-shrink 4.5s linear infinite}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){position:absolute;left:0;z-index:0;width:100%;height:100%;background:none;-webkit-animation:ball-atom-zindex 1.5s steps(2) 0s infinite;animation:ball-atom-zindex 1.5s steps(2) 0s infinite}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{position:absolute;top:0;left:0;width:10px;height:10px;margin-top:-5px;margin-left:-5px;content:"";background:currentColor;border-radius:50%;opacity:.75;-webkit-animation:ball-atom-position 1.5s ease 0s infinite,ball-atom-size 1.5s ease 0s infinite;animation:ball-atom-position 1.5s ease 0s infinite,ball-atom-size 1.5s ease 0s infinite}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.75s;animation-delay:.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{-webkit-animation-delay:0s,-1.125s;animation-delay:0s,-1.125s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(120deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{-webkit-animation-delay:-1s,-.75s;animation-delay:-1s,-.75s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(240deg);-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-atom[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{-webkit-animation-delay:-.5s,-.125s;animation-delay:-.5s,-.125s}.la-ball-atom.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-atom.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-atom.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-atom.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-atom.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-atom.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):before{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-atom-position{50%{top:100%;left:100%}}@keyframes ball-atom-position{50%{top:100%;left:100%}}@-webkit-keyframes ball-atom-size{50%{transform:scale(.5)}}@keyframes ball-atom-size{50%{transform:scale(.5)}}@-webkit-keyframes ball-atom-zindex{50%{z-index:10}}@keyframes ball-atom-zindex{50%{z-index:10}}@-webkit-keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8)}}@keyframes ball-atom-shrink{50%{transform:translate(-50%,-50%) scale(.8)}}.la-ball-beat[_ngcontent-%COMP%], .la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-beat[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:ball-beat .7s linear -.15s infinite;animation:ball-beat .7s linear -.15s infinite}.la-ball-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-beat.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-beat.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-beat.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}@keyframes ball-beat{50%{opacity:.2;transform:scale(.75)}to{opacity:1;transform:scale(1)}}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-circus[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-circus.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-circus[_ngcontent-%COMP%], .la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:-100%;display:block;width:100%;height:100%;border-radius:100%;opacity:.5;-webkit-animation:ball-circus-position 2.5s cubic-bezier(.25,0,.75,1) infinite,ball-circus-size 2.5s cubic-bezier(.25,0,.75,1) infinite;animation:ball-circus-position 2.5s cubic-bezier(.25,0,.75,1) infinite,ball-circus-size 2.5s cubic-bezier(.25,0,.75,1) infinite}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s,-.5s;animation-delay:0s,-.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.5s,-1s;animation-delay:-.5s,-1s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s,-1.5s;animation-delay:-1s,-1.5s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.5s,-2s;animation-delay:-1.5s,-2s}.la-ball-circus[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2s,-2.5s;animation-delay:-2s,-2.5s}.la-ball-circus.la-sm[_ngcontent-%COMP%], .la-ball-circus.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-circus.la-2x[_ngcontent-%COMP%], .la-ball-circus.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-circus.la-3x[_ngcontent-%COMP%], .la-ball-circus.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:48px;height:48px}@-webkit-keyframes ball-circus-position{50%{left:100%}}@keyframes ball-circus-position{50%{left:100%}}@-webkit-keyframes ball-circus-size{50%{transform:scale(.3)}}@keyframes ball-circus-size{50%{transform:scale(.3)}}.la-ball-climbing-dot[_ngcontent-%COMP%], .la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-climbing-dot[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-climbing-dot.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-climbing-dot[_ngcontent-%COMP%]{width:42px;height:32px}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;bottom:32%;left:18%;width:14px;height:14px;border-radius:100%;transform-origin:center bottom;-webkit-animation:ball-climbing-dot-jump .6s ease-in-out infinite;animation:ball-climbing-dot-jump .6s ease-in-out infinite}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){position:absolute;top:0;right:0;width:14px;height:2px;border-radius:0;transform:translate(60%);-webkit-animation:ball-climbing-dot-steps 1.8s linear infinite;animation:ball-climbing-dot-steps 1.8s linear infinite}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(2){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(3){-webkit-animation-delay:-.6s;animation-delay:-.6s}.la-ball-climbing-dot[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child):nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:6px;height:6px}.la-ball-climbing-dot.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){width:6px;height:1px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%]{width:84px;height:64px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:28px;height:28px}.la-ball-climbing-dot.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){width:28px;height:4px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%]{width:126px;height:96px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:42px;height:42px}.la-ball-climbing-dot.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child){width:42px;height:6px}@-webkit-keyframes ball-climbing-dot-jump{0%{transform:scaleY(.7)}20%{transform:scale(.7,1.2)}40%{transform:scale(1)}50%{bottom:125%}46%{transform:scale(1)}80%{transform:scale(.7,1.2)}90%{transform:scale(.7,1.2)}to{transform:scaleY(.7)}}@keyframes ball-climbing-dot-jump{0%{transform:scaleY(.7)}20%{transform:scale(.7,1.2)}40%{transform:scale(1)}50%{bottom:125%}46%{transform:scale(1)}80%{transform:scale(.7,1.2)}90%{transform:scale(.7,1.2)}to{transform:scaleY(.7)}}@-webkit-keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}to{top:100%;right:100%;opacity:0}}@keyframes ball-climbing-dot-steps{0%{top:0;right:0;opacity:0}50%{opacity:1}to{top:100%;right:100%;opacity:0}}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%], .la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-clip-rotate-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;background:transparent;border-style:solid;border-width:2px;border-radius:100%;-webkit-animation:ball-clip-rotate-multiple-rotate 1s ease-in-out infinite;animation:ball-clip-rotate-multiple-rotate 1s ease-in-out infinite}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;border-right-color:transparent;border-left-color:transparent}.la-ball-clip-rotate-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;border-top-color:transparent;border-bottom-color:transparent;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-direction:reverse;animation-direction:reverse}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px}.la-ball-clip-rotate-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px}.la-ball-clip-rotate-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px}.la-ball-clip-rotate-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes ball-clip-rotate-multiple-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%], .la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-clip-rotate-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;border-radius:100%}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{position:absolute;width:32px;height:32px;background:transparent;border-bottom-style:solid;border-top-style:solid;border-bottom-width:2px;border-top-width:2px;border-right:2px solid transparent;border-left:2px solid transparent;-webkit-animation:ball-clip-rotate-pulse-rotate 1s cubic-bezier(.09,.57,.49,.9) infinite;animation:ball-clip-rotate-pulse-rotate 1s cubic-bezier(.09,.57,.49,.9) infinite}.la-ball-clip-rotate-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:16px;height:16px;-webkit-animation:ball-clip-rotate-pulse-scale 1s cubic-bezier(.09,.57,.49,.9) infinite;animation:ball-clip-rotate-pulse-scale 1s cubic-bezier(.09,.57,.49,.9) infinite}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:8px;height:8px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:32px;height:32px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{width:96px;height:96px;border-width:6px}.la-ball-clip-rotate-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{width:48px;height:48px}@-webkit-keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@keyframes ball-clip-rotate-pulse-rotate{0%{transform:translate(-50%,-50%) rotate(0deg)}50%{transform:translate(-50%,-50%) rotate(180deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}@-webkit-keyframes ball-clip-rotate-pulse-scale{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}@keyframes ball-clip-rotate-pulse-scale{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}30%{opacity:.3;transform:translate(-50%,-50%) scale(.15)}}.la-ball-clip-rotate[_ngcontent-%COMP%], .la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-clip-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-clip-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-clip-rotate[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-clip-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px;background:transparent;border-width:2px;border-bottom-color:transparent;border-radius:100%;-webkit-animation:ball-clip-rotate .75s linear infinite;animation:ball-clip-rotate .75s linear infinite}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-clip-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-clip-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-clip-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-clip-rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes ball-clip-rotate{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.la-ball-elastic-dots[_ngcontent-%COMP%], .la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-elastic-dots[_ngcontent-%COMP%]{display:block;color:#fff}.la-ball-elastic-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:none;background-color:currentColor;border:0 solid}.la-ball-elastic-dots[_ngcontent-%COMP%]{width:120px;height:10px;font-size:0;text-align:center}.la-ball-elastic-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;width:10px;height:10px;white-space:nowrap;border-radius:100%;-webkit-animation:ball-elastic-dots-anim 1s infinite;animation:ball-elastic-dots-anim 1s infinite}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%]{width:60px;height:4px}.la-ball-elastic-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%]{width:240px;height:20px}.la-ball-elastic-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%]{width:360px;height:30px}.la-ball-elastic-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-elastic-dots-anim{0%,to{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}@keyframes ball-elastic-dots-anim{0%,to{margin:0;transform:scale(1)}50%{margin:0 5%;transform:scale(.65)}}.la-ball-fall[_ngcontent-%COMP%], .la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fall[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-fall.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-fall[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;opacity:0;-webkit-animation:ball-fall 1s ease-in-out infinite;animation:ball-fall 1s ease-in-out infinite}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-fall[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-fall.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-fall.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-fall.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-fall.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-fall.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-fall.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}90%{opacity:.5}to{opacity:0;transform:translateY(145%)}}@keyframes ball-fall{0%{opacity:0;transform:translateY(-145%)}10%{opacity:.5}20%{opacity:1;transform:translateY(0)}80%{opacity:1;transform:translateY(0)}90%{opacity:.5}to{opacity:0;transform:translateY(145%)}}.la-ball-fussion[_ngcontent-%COMP%], .la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-fussion[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-fussion.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-fussion[_ngcontent-%COMP%]{width:8px;height:8px}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:12px;height:12px;border-radius:100%;transform:translate(-50%,-50%);-webkit-animation:ball-fussion-ball1 1s ease 0s infinite;animation:ball-fussion-ball1 1s ease 0s infinite}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:0;left:50%;z-index:1}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:50%;left:100%;z-index:2;-webkit-animation-name:ball-fussion-ball2;animation-name:ball-fussion-ball2}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:100%;left:50%;z-index:1;-webkit-animation-name:ball-fussion-ball3;animation-name:ball-fussion-ball3}.la-ball-fussion[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:0;z-index:2;-webkit-animation-name:ball-fussion-ball4;animation-name:ball-fussion-ball4}.la-ball-fussion.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-fussion.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-ball-fussion.la-2x[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-fussion.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-ball-fussion.la-3x[_ngcontent-%COMP%]{width:24px;height:24px}.la-ball-fussion.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}to{top:50%;left:100%;z-index:2;opacity:.35}}@keyframes ball-fussion-ball1{0%{opacity:.35}50%{top:-100%;left:200%;opacity:1}to{top:50%;left:100%;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}to{top:100%;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball2{0%{opacity:.35}50%{top:200%;left:200%;opacity:1}to{top:100%;left:50%;z-index:1;opacity:.35}}@-webkit-keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}to{top:50%;left:0;z-index:2;opacity:.35}}@keyframes ball-fussion-ball3{0%{opacity:.35}50%{top:200%;left:-100%;opacity:1}to{top:50%;left:0;z-index:2;opacity:.35}}@-webkit-keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}to{top:0;left:50%;z-index:1;opacity:.35}}@keyframes ball-fussion-ball4{0%{opacity:.35}50%{top:-100%;left:-100%;opacity:1}to{top:0;left:50%;z-index:1;opacity:.35}}.la-ball-grid-beat[_ngcontent-%COMP%], .la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-beat[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-grid-beat.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-grid-beat[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-beat;animation-name:ball-grid-beat;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-beat.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-beat.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-beat.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-beat{0%{opacity:1}50%{opacity:.35}to{opacity:1}}@keyframes ball-grid-beat{0%{opacity:1}50%{opacity:.35}to{opacity:1}}.la-ball-grid-pulse[_ngcontent-%COMP%], .la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-grid-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-grid-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-grid-pulse[_ngcontent-%COMP%]{width:36px;height:36px}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:8px;margin:2px;border-radius:100%;-webkit-animation-name:ball-grid-pulse;animation-name:ball-grid-pulse;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-duration:.65s;animation-duration:.65s;-webkit-animation-delay:.03s;animation-delay:.03s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:1.02s;animation-duration:1.02s;-webkit-animation-delay:.09s;animation-delay:.09s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:1.06s;animation-duration:1.06s;-webkit-animation-delay:-.69s;animation-delay:-.69s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-delay:-.41s;animation-delay:-.41s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:1.6s;animation-duration:1.6s;-webkit-animation-delay:.04s;animation-delay:.04s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-duration:.84s;animation-duration:.84s;-webkit-animation-delay:.07s;animation-delay:.07s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-duration:.68s;animation-duration:.68s;-webkit-animation-delay:-.66s;animation-delay:-.66s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-duration:.93s;animation-duration:.93s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-duration:1.24s;animation-duration:1.24s;-webkit-animation-delay:-.76s;animation-delay:-.76s}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%]{width:18px;height:18px}.la-ball-grid-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%]{width:72px;height:72px}.la-ball-grid-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin:4px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%]{width:108px;height:108px}.la-ball-grid-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin:6px}@-webkit-keyframes ball-grid-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@keyframes ball-grid-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.45)}to{opacity:1;transform:scale(1)}}.la-ball-newton-cradle[_ngcontent-%COMP%], .la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-newton-cradle[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-newton-cradle.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-newton-cradle[_ngcontent-%COMP%]{width:40px;height:10px}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:100%}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{transform:translateX(0);-webkit-animation:ball-newton-cradle-left 1s ease-out 0s infinite;animation:ball-newton-cradle-left 1s ease-out 0s infinite}.la-ball-newton-cradle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{transform:translateX(0);-webkit-animation:ball-newton-cradle-right 1s ease-out 0s infinite;animation:ball-newton-cradle-right 1s ease-out 0s infinite}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%]{width:20px;height:4px}.la-ball-newton-cradle.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%]{width:80px;height:20px}.la-ball-newton-cradle.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%]{width:120px;height:30px}.la-ball-newton-cradle.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-newton-cradle-left{25%{transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{transform:translateX(0)}}@keyframes ball-newton-cradle-left{25%{transform:translateX(-100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{transform:translateX(0)}}@-webkit-keyframes ball-newton-cradle-right{50%{transform:translateX(0)}75%{transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{transform:translateX(0)}}@keyframes ball-newton-cradle-right{50%{transform:translateX(0)}75%{transform:translateX(100%);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{transform:translateX(0)}}.la-ball-pulse-rise[_ngcontent-%COMP%], .la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-rise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-pulse-rise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-pulse-rise[_ngcontent-%COMP%]{width:70px;height:14px}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:2px;border-radius:100%;-webkit-animation:ball-pulse-rise-even 1s cubic-bezier(.15,.36,.9,.6) 0s infinite;animation:ball-pulse-rise-even 1s cubic-bezier(.15,.36,.9,.6) 0s infinite}.la-ball-pulse-rise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2n-1){-webkit-animation-name:ball-pulse-rise-odd;animation-name:ball-pulse-rise-odd}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%]{width:34px;height:6px}.la-ball-pulse-rise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:1px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%]{width:140px;height:28px}.la-ball-pulse-rise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:4px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%]{width:210px;height:42px}.la-ball-pulse-rise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:6px}@-webkit-keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}to{opacity:1;transform:translateY(0);transform:scale(1)}}@keyframes ball-pulse-rise-even{0%{opacity:1;transform:scale(1.1)}25%{transform:translateY(-200%)}50%{opacity:.35;transform:scale(.3)}75%{transform:translateY(200%)}to{opacity:1;transform:translateY(0);transform:scale(1)}}@-webkit-keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}to{opacity:.35;transform:translateY(0);transform:scale(.75)}}@keyframes ball-pulse-rise-odd{0%{opacity:.35;transform:scale(.4)}25%{transform:translateY(200%)}50%{opacity:1;transform:scale(1.1)}75%{transform:translateY(-200%)}to{opacity:.35;transform:translateY(0);transform:scale(.75)}}.la-ball-pulse-sync[_ngcontent-%COMP%], .la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse-sync[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-pulse-sync.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-pulse-sync[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:ball-pulse-sync .6s ease-in-out infinite;animation:ball-pulse-sync .6s ease-in-out infinite}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.14s;animation-delay:-.14s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.07s;animation-delay:-.07s}.la-ball-pulse-sync[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0s;animation-delay:0s}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse-sync.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse-sync.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse-sync.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}to{transform:translateY(0)}}@keyframes ball-pulse-sync{33%{transform:translateY(100%)}66%{transform:translateY(-100%)}to{transform:translateY(0)}}.la-ball-pulse[_ngcontent-%COMP%], .la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-pulse[_ngcontent-%COMP%]{width:54px;height:18px}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.2s;animation-delay:-.2s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.1s;animation-delay:-.1s}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:0ms;animation-delay:0ms}.la-ball-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px;margin:4px;border-radius:100%;-webkit-animation:ball-pulse 1s ease infinite;animation:ball-pulse 1s ease infinite}.la-ball-pulse.la-sm[_ngcontent-%COMP%]{width:26px;height:8px}.la-ball-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin:2px}.la-ball-pulse.la-2x[_ngcontent-%COMP%]{width:108px;height:36px}.la-ball-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin:8px}.la-ball-pulse.la-3x[_ngcontent-%COMP%]{width:162px;height:54px}.la-ball-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin:12px}@-webkit-keyframes ball-pulse{0%,60%,to{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}@keyframes ball-pulse{0%,60%,to{opacity:1;transform:scale(1)}30%{opacity:.1;transform:scale(.01)}}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-rotate[_ngcontent-%COMP%], .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10px;height:10px}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;-webkit-animation:ball-rotate-animation 1s cubic-bezier(.7,-.13,.22,.86) infinite;animation:ball-rotate-animation 1s cubic-bezier(.7,-.13,.22,.86) infinite}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;width:inherit;height:inherit;margin:inherit;content:"";background:currentColor;border-radius:inherit;opacity:.8}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:0;left:-150%}.la-ball-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{top:0;left:150%}.la-ball-rotate.la-sm[_ngcontent-%COMP%], .la-ball-rotate.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-rotate.la-2x[_ngcontent-%COMP%], .la-ball-rotate.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-rotate.la-3x[_ngcontent-%COMP%], .la-ball-rotate.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-rotate-animation{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}@keyframes ball-rotate-animation{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.la-ball-running-dots[_ngcontent-%COMP%], .la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-running-dots[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-running-dots.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-running-dots[_ngcontent-%COMP%]{width:10px;height:10px}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:10px;height:10px;margin-left:-25px;border-radius:100%;-webkit-animation:ball-running-dots-animate 2s linear infinite;animation:ball-running-dots-animate 2s linear infinite}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-1.6s;animation-delay:-1.6s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){-webkit-animation-delay:-2.4s;animation-delay:-2.4s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){-webkit-animation-delay:-2.8s;animation-delay:-2.8s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){-webkit-animation-delay:-3.2s;animation-delay:-3.2s}.la-ball-running-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){-webkit-animation-delay:-3.6s;animation-delay:-3.6s}.la-ball-running-dots.la-sm[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-running-dots.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-left:-12px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-running-dots.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-left:-50px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%]{width:30px;height:30px}.la-ball-running-dots.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-left:-75px}@-webkit-keyframes ball-running-dots-animate{0%,to{width:100%;height:100%;transform:translateY(0) translateX(500%)}80%{transform:translateY(0) translateX(0)}85%{width:100%;height:100%;transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;transform:translateY(-100%) translateX(500%)}}@keyframes ball-running-dots-animate{0%,to{width:100%;height:100%;transform:translateY(0) translateX(500%)}80%{transform:translateY(0) translateX(0)}85%{width:100%;height:100%;transform:translateY(-125%) translateX(0)}90%{width:200%;height:75%}95%{width:100%;height:100%;transform:translateY(-100%) translateX(500%)}}.la-ball-scale-multiple[_ngcontent-%COMP%], .la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-multiple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:0;-webkit-animation:ball-scale-multiple 1s linear 0s infinite;animation:ball-scale-multiple 1s linear 0s infinite}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.2s;animation-delay:.2s}.la-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.4s;animation-delay:.4s}.la-ball-scale-multiple.la-sm[_ngcontent-%COMP%], .la-ball-scale-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-multiple.la-2x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-multiple.la-3x[_ngcontent-%COMP%], .la-ball-scale-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}@keyframes ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}.la-ball-scale-pulse[_ngcontent-%COMP%], .la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-pulse[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-pulse.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-pulse[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:32px;height:32px;border-radius:100%;opacity:.5;-webkit-animation:ball-scale-pulse 2s ease-in-out infinite;animation:ball-scale-pulse 2s ease-in-out infinite}.la-ball-scale-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-scale-pulse.la-sm[_ngcontent-%COMP%], .la-ball-scale-pulse.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-pulse.la-2x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-pulse.la-3x[_ngcontent-%COMP%], .la-ball-scale-pulse.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale-pulse{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-scale-pulse{0%,to{transform:scale(0)}50%{transform:scale(1)}}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%], .la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-ripple-multiple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:32px;height:32px;background:transparent;border-width:2px;border-radius:100%;opacity:0;-webkit-animation:ball-scale-ripple-multiple 1.25s cubic-bezier(.21,.53,.56,.8) 0s infinite;animation:ball-scale-ripple-multiple 1.25s cubic-bezier(.21,.53,.56,.8) 0s infinite}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:.25s;animation-delay:.25s}.la-ball-scale-ripple-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:.5s;animation-delay:.5s}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple-multiple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple-multiple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple-multiple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}@keyframes ball-scale-ripple-multiple{0%{opacity:1;transform:scale(.1)}70%{opacity:.5;transform:scale(1)}95%{opacity:0}}.la-ball-scale-ripple[_ngcontent-%COMP%], .la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale-ripple[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale-ripple.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale-ripple[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale-ripple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px;background:transparent;border-width:2px;border-radius:100%;opacity:0;-webkit-animation:ball-scale-ripple 1s cubic-bezier(.21,.53,.56,.8) 0s infinite;animation:ball-scale-ripple 1s cubic-bezier(.21,.53,.56,.8) 0s infinite}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale-ripple.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;border-width:1px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale-ripple.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px;border-width:4px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-scale-ripple.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px;border-width:6px}@-webkit-keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}to{opacity:0}}@keyframes ball-scale-ripple{0%{opacity:1;transform:scale(.1)}70%{opacity:.65;transform:scale(1)}to{opacity:0}}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-scale[_ngcontent-%COMP%], .la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-radius:100%;opacity:0;-webkit-animation:ball-scale 1s ease-in-out 0s infinite;animation:ball-scale 1s ease-in-out 0s infinite}.la-ball-scale.la-sm[_ngcontent-%COMP%], .la-ball-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-scale.la-2x[_ngcontent-%COMP%], .la-ball-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-scale.la-3x[_ngcontent-%COMP%], .la-ball-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-scale{0%{opacity:1;transform:scale(0)}to{opacity:0;transform:scale(1)}}@keyframes ball-scale{0%{opacity:1;transform:scale(0)}to{opacity:0;transform:scale(1)}}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-clockwise-fade-rotating-rotate 6s linear infinite;animation:ball-spin-clockwise-fade-rotating-rotate 6s linear infinite}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-clockwise-fade-rotating 1s linear infinite;animation:ball-spin-clockwise-fade-rotating 1s linear infinite}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@keyframes ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@-webkit-keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%], .la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-clockwise-fade 1s linear infinite;animation:ball-spin-clockwise-fade 1s linear infinite}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}@keyframes ball-spin-clockwise-fade{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.la-ball-spin-clockwise[_ngcontent-%COMP%], .la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-clockwise[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-clockwise.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-clockwise[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-clockwise 1s ease-in-out infinite;animation:ball-spin-clockwise 1s ease-in-out infinite}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-clockwise.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-clockwise.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-clockwise.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-spin-fade-rotating[_ngcontent-%COMP%], .la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-fade-rotate 6s linear infinite;animation:ball-spin-fade-rotate 6s linear infinite}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-fade 1s linear infinite;animation:ball-spin-fade 1s linear infinite}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-fade-rotate{to{transform:rotate(1turn)}}.la-ball-spin-fade[_ngcontent-%COMP%], .la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin-fade 1s linear infinite;animation:ball-spin-fade 1s linear infinite}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}@keyframes ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}.la-ball-spin-rotate[_ngcontent-%COMP%], .la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin-rotate[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin-rotate.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin-rotate[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-rotate 2s linear infinite;animation:ball-spin-rotate 2s linear infinite}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;width:60%;height:60%;border-radius:100%;-webkit-animation:ball-spin-bounce 2s ease-in-out infinite;animation:ball-spin-bounce 2s ease-in-out infinite}.la-ball-spin-rotate[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{top:auto;bottom:0;-webkit-animation-delay:-1s;animation-delay:-1s}.la-ball-spin-rotate.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin-rotate.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin-rotate.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes ball-spin-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes ball-spin-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}@keyframes ball-spin-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}.la-ball-spin[_ngcontent-%COMP%], .la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-spin[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:8px;height:8px;margin-top:-4px;margin-left:-4px;border-radius:100%;-webkit-animation:ball-spin 1s ease-in-out infinite;animation:ball-spin 1s ease-in-out infinite}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:5%;left:50%;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px;margin-top:-8px;margin-left:-8px}.la-ball-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}@-webkit-keyframes ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}@keyframes ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.la-ball-square-clockwise-spin[_ngcontent-%COMP%], .la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-square-clockwise-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-square-clockwise-spin[_ngcontent-%COMP%]{width:26px;height:26px}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:ball-square-clockwise-spin 1s ease-in-out infinite;animation:ball-square-clockwise-spin 1s ease-in-out infinite}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:0;left:0;-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-ball-square-clockwise-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:0s;animation-delay:0s}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-clockwise-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-clockwise-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-clockwise-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-clockwise-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-clockwise-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-square-spin[_ngcontent-%COMP%], .la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-square-spin[_ngcontent-%COMP%]{width:26px;height:26px}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:12px;height:12px;margin-top:-6px;margin-left:-6px;border-radius:100%;-webkit-animation:ball-square-spin 1s ease-in-out infinite;animation:ball-square-spin 1s ease-in-out infinite}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:0;left:0;-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0;left:50%;-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:0;left:100%;-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:50%;left:100%;-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:100%;left:100%;-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:100%;left:50%;-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:100%;left:0;-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-ball-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:50%;left:0;-webkit-animation-delay:-2s;animation-delay:-2s}.la-ball-square-spin.la-sm[_ngcontent-%COMP%]{width:12px;height:12px}.la-ball-square-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%]{width:52px;height:52px}.la-ball-square-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px;margin-top:-12px;margin-left:-12px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%]{width:78px;height:78px}.la-ball-square-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px;margin-top:-18px;margin-left:-18px}@-webkit-keyframes ball-square-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}@keyframes ball-square-spin{0%,40%,to{transform:scale(.4)}70%{transform:scale(1)}}.la-ball-triangle-path[_ngcontent-%COMP%], .la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-triangle-path[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-triangle-path.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-triangle-path[_ngcontent-%COMP%]{width:32px;height:32px}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:10px;height:10px;border-radius:100%}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-triangle-path-ball-one 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-one 2s ease-in-out 0s infinite}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation:ball-triangle-path-ball-two 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-two 2s ease-in-out 0s infinite}.la-ball-triangle-path[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation:ball-triangle-path-ball-tree 2s ease-in-out 0s infinite;animation:ball-triangle-path-ball-tree 2s ease-in-out 0s infinite}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-triangle-path.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-triangle-path.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-triangle-path.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px}@-webkit-keyframes ball-triangle-path-ball-one{0%{transform:translateY(220%)}17%{opacity:.25}33%{opacity:1;transform:translate(110%)}50%{opacity:.25}66%{opacity:1;transform:translate(220%,220%)}83%{opacity:.25}to{opacity:1;transform:translateY(220%)}}@keyframes ball-triangle-path-ball-one{0%{transform:translateY(220%)}17%{opacity:.25}33%{opacity:1;transform:translate(110%)}50%{opacity:.25}66%{opacity:1;transform:translate(220%,220%)}83%{opacity:.25}to{opacity:1;transform:translateY(220%)}}@-webkit-keyframes ball-triangle-path-ball-two{0%{transform:translate(110%)}17%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}50%{opacity:.25}66%{opacity:1;transform:translateY(220%)}83%{opacity:.25}to{opacity:1;transform:translate(110%)}}@keyframes ball-triangle-path-ball-two{0%{transform:translate(110%)}17%{opacity:.25}33%{opacity:1;transform:translate(220%,220%)}50%{opacity:.25}66%{opacity:1;transform:translateY(220%)}83%{opacity:.25}to{opacity:1;transform:translate(110%)}}@-webkit-keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%{opacity:.25}33%{opacity:1;transform:translateY(220%)}50%{opacity:.25}66%{opacity:1;transform:translate(110%)}83%{opacity:.25}to{opacity:1;transform:translate(220%,220%)}}@keyframes ball-triangle-path-ball-tree{0%{transform:translate(220%,220%)}17%{opacity:.25}33%{opacity:1;transform:translateY(220%)}50%{opacity:.25}66%{opacity:1;transform:translate(110%)}83%{opacity:.25}to{opacity:1;transform:translate(220%,220%)}}.la-ball-zig-zag-deflect[_ngcontent-%COMP%], .la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-zig-zag-deflect.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-zig-zag-deflect[_ngcontent-%COMP%]{position:relative;width:32px;height:32px}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-zig-deflect 1.5s linear 0s infinite;animation:ball-zig-deflect 1.5s linear 0s infinite}.la-ball-zig-zag-deflect[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-zag-deflect 1.5s linear 0s infinite;animation:ball-zag-deflect 1.5s linear 0s infinite}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag-deflect.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag-deflect.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag-deflect.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-deflect{17%{transform:translate(-80%,-160%)}34%{transform:translate(80%,-160%)}50%{transform:translate(0)}67%{transform:translate(80%,-160%)}84%{transform:translate(-80%,-160%)}to{transform:translate(0)}}@keyframes ball-zig-deflect{17%{transform:translate(-80%,-160%)}34%{transform:translate(80%,-160%)}50%{transform:translate(0)}67%{transform:translate(80%,-160%)}84%{transform:translate(-80%,-160%)}to{transform:translate(0)}}@-webkit-keyframes ball-zag-deflect{17%{transform:translate(80%,160%)}34%{transform:translate(-80%,160%)}50%{transform:translate(0)}67%{transform:translate(-80%,160%)}84%{transform:translate(80%,160%)}to{transform:translate(0)}}@keyframes ball-zag-deflect{17%{transform:translate(80%,160%)}34%{transform:translate(-80%,160%)}50%{transform:translate(0)}67%{transform:translate(-80%,160%)}84%{transform:translate(80%,160%)}to{transform:translate(0)}}.la-ball-zig-zag[_ngcontent-%COMP%], .la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-ball-zig-zag[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-ball-zig-zag.la-dark[_ngcontent-%COMP%]{color:#333}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-ball-zig-zag[_ngcontent-%COMP%]{position:relative;width:32px;height:32px}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:10px;height:10px;margin-top:-5px;margin-left:-5px;border-radius:100%}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation:ball-zig-effect .7s linear 0s infinite;animation:ball-zig-effect .7s linear 0s infinite}.la-ball-zig-zag[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation:ball-zag-effect .7s linear 0s infinite;animation:ball-zag-effect .7s linear 0s infinite}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-ball-zig-zag.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:4px;margin-top:-2px;margin-left:-2px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-ball-zig-zag.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:20px;height:20px;margin-top:-10px;margin-left:-10px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-ball-zig-zag.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:30px;height:30px;margin-top:-15px;margin-left:-15px}@-webkit-keyframes ball-zig-effect{0%{transform:translate(0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}to{transform:translate(0)}}@keyframes ball-zig-effect{0%{transform:translate(0)}33%{transform:translate(-75%,-150%)}66%{transform:translate(75%,-150%)}to{transform:translate(0)}}@-webkit-keyframes ball-zag-effect{0%{transform:translate(0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}to{transform:translate(0)}}@keyframes ball-zag-effect{0%{transform:translate(0)}33%{transform:translate(75%,150%)}66%{transform:translate(-75%,150%)}to{transform:translate(0)}}.la-cog[_ngcontent-%COMP%], .la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cog[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-cog.la-dark[_ngcontent-%COMP%]{color:#333}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-cog[_ngcontent-%COMP%]{width:31px;height:31px}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background-color:transparent;border-style:dashed;border-width:2px;border-radius:100%;-webkit-animation:cog-rotate 4s linear infinite;animation:cog-rotate 4s linear infinite}.la-cog[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";border:2px solid;border-radius:100%}.la-cog.la-sm[_ngcontent-%COMP%]{width:15px;height:15px}.la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:1px}.la-cog.la-2x[_ngcontent-%COMP%]{width:61px;height:61px}.la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:4px}.la-cog.la-3x[_ngcontent-%COMP%]{width:91px;height:91px}.la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .la-cog.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{border-width:6px}@-webkit-keyframes cog-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes cog-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.la-cube-transition[_ngcontent-%COMP%], .la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-cube-transition[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-cube-transition.la-dark[_ngcontent-%COMP%]{color:#333}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-cube-transition[_ngcontent-%COMP%]{width:32px;height:32px}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:14px;height:14px;margin-top:-7px;margin-left:-7px;border-radius:0;-webkit-animation:cube-transition 1.6s ease-in-out 0s infinite;animation:cube-transition 1.6s ease-in-out 0s infinite}.la-cube-transition[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:last-child{-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-cube-transition.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-cube-transition.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px;margin-top:-3px;margin-left:-3px}.la-cube-transition.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-cube-transition.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:28px;height:28px;margin-top:-14px;margin-left:-14px}.la-cube-transition.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-cube-transition.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:42px;height:42px;margin-top:-21px;margin-left:-21px}@-webkit-keyframes cube-transition{25%{top:0;left:100%;transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;transform:scale(.5) rotate(-270deg)}to{top:0;left:0;transform:scale(1) rotate(-1turn)}}@keyframes cube-transition{25%{top:0;left:100%;transform:scale(.5) rotate(-90deg)}50%{top:100%;left:100%;transform:scale(1) rotate(-180deg)}75%{top:100%;left:0;transform:scale(.5) rotate(-270deg)}to{top:0;left:0;transform:scale(1) rotate(-1turn)}}.la-fire[_ngcontent-%COMP%], .la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-fire[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-fire.la-dark[_ngcontent-%COMP%]{color:#333}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-fire[_ngcontent-%COMP%]{width:32px;height:32px}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;bottom:0;left:50%;width:12px;height:12px;border-radius:0;border-radius:2px;transform:translateY(0) translateX(-50%) rotate(45deg) scale(0);-webkit-animation:fire-diamonds 1.5s linear infinite;animation:fire-diamonds 1.5s linear infinite}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-.85s;animation-delay:-.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.85s;animation-delay:-1.85s}.la-fire[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-2.85s;animation-delay:-2.85s}.la-fire.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-fire.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:6px}.la-fire.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-fire.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:24px;height:24px}.la-fire.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-fire.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:36px;height:36px}@-webkit-keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}to{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}@keyframes fire-diamonds{0%{transform:translateY(75%) translateX(-50%) rotate(45deg) scale(0)}50%{transform:translateY(-87.5%) translateX(-50%) rotate(45deg) scale(1)}to{transform:translateY(-212.5%) translateX(-50%) rotate(45deg) scale(0)}}.la-line-scale-party[_ngcontent-%COMP%], .la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-party[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale-party.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale-party[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation-name:line-scale-party;animation-name:line-scale-party;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.23s;animation-delay:-.23s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-duration:.62s;animation-duration:.62s;-webkit-animation-delay:-.32s;animation-delay:-.32s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-duration:.43s;animation-duration:.43s;-webkit-animation-delay:-.44s;animation-delay:-.44s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-delay:-.31s;animation-delay:-.31s}.la-line-scale-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-duration:.74s;animation-duration:.74s;-webkit-animation-delay:-.24s;animation-delay:-.24s}.la-line-scale-party.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-party.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-party.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-party.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-party.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-party.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-party{0%{transform:scaleY(1)}50%{transform:scaleY(.3)}to{transform:scaleY(1)}}@keyframes line-scale-party{0%{transform:scaleY(1)}50%{transform:scaleY(.3)}to{transform:scaleY(1)}}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%], .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale-pulse-out-rapid.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:line-scale-pulse-out-rapid .9s cubic-bezier(.11,.49,.38,.78) infinite;animation:line-scale-pulse-out-rapid .9s cubic-bezier(.11,.49,.38,.78) infinite}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.65s;animation-delay:-.65s}.la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-line-scale-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.4s;animation-delay:-.4s}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out-rapid.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out-rapid.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out-rapid.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.3)}90%{transform:scaley(1)}}@keyframes line-scale-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.3)}90%{transform:scaley(1)}}.la-line-scale-pulse-out[_ngcontent-%COMP%], .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale-pulse-out[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale-pulse-out.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale-pulse-out[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:line-scale-pulse-out .9s cubic-bezier(.85,.25,.37,.85) infinite;animation:line-scale-pulse-out .9s cubic-bezier(.85,.25,.37,.85) infinite}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.7s;animation-delay:-.7s}.la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-line-scale-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale-pulse-out.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale-pulse-out.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale-pulse-out.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.3)}to{transform:scaley(1)}}@keyframes line-scale-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.3)}to{transform:scaley(1)}}.la-line-scale[_ngcontent-%COMP%], .la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-scale[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-scale.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-scale[_ngcontent-%COMP%]{width:40px;height:32px}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:32px;margin:0 2px;border-radius:0;-webkit-animation:line-scale 1.2s ease infinite;animation:line-scale 1.2s ease infinite}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1s;animation-delay:-1s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-.9s;animation-delay:-.9s}.la-line-scale[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-.8s;animation-delay:-.8s}.la-line-scale.la-sm[_ngcontent-%COMP%]{width:20px;height:16px}.la-line-scale.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:2px;height:16px;margin:0 1px}.la-line-scale.la-2x[_ngcontent-%COMP%]{width:80px;height:64px}.la-line-scale.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:8px;height:64px;margin:0 4px}.la-line-scale.la-3x[_ngcontent-%COMP%]{width:120px;height:96px}.la-line-scale.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:12px;height:96px;margin:0 6px}@-webkit-keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}@keyframes line-scale{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-clockwise-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:line-spin-clockwise-fade-rotating-rotate 6s linear infinite;animation:line-spin-clockwise-fade-rotating-rotate 6s linear infinite}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-clockwise-fade-rotating 1s ease-in-out infinite;animation:line-spin-clockwise-fade-rotating 1s ease-in-out infinite}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@keyframes line-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-1turn)}}@-webkit-keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-clockwise-fade-rotating{50%{opacity:.2}to{opacity:1}}.la-line-spin-clockwise-fade[_ngcontent-%COMP%], .la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-clockwise-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-clockwise-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-clockwise-fade 1s ease-in-out infinite;animation:line-spin-clockwise-fade 1s ease-in-out infinite}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-.875s;animation-delay:-.875s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-.75s;animation-delay:-.75s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-.625s;animation-delay:-.625s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-.5s;animation-delay:-.5s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-.375s;animation-delay:-.375s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-.25s;animation-delay:-.25s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-.125s;animation-delay:-.125s}.la-line-spin-clockwise-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:0s;animation-delay:0s}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-clockwise-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-clockwise-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-clockwise-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-clockwise-fade{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-clockwise-fade{50%{opacity:.2}to{opacity:1}}.la-line-spin-fade-rotating[_ngcontent-%COMP%], .la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-fade-rotating.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-fade-rotating[_ngcontent-%COMP%]{width:32px;height:32px;-webkit-animation:ball-spin-fade-rotating-rotate 6s linear infinite;animation:ball-spin-fade-rotating-rotate 6s linear infinite}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-fade-rotating 1s ease-in-out infinite;animation:line-spin-fade-rotating 1s ease-in-out infinite}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade-rotating.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade-rotating.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade-rotating.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes ball-spin-fade-rotating-rotate{to{transform:rotate(1turn)}}@keyframes ball-spin-fade-rotating-rotate{to{transform:rotate(1turn)}}@-webkit-keyframes line-spin-fade-rotating{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-fade-rotating{50%{opacity:.2}to{opacity:1}}.la-line-spin-fade[_ngcontent-%COMP%], .la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-line-spin-fade[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-line-spin-fade.la-dark[_ngcontent-%COMP%]{color:#333}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-line-spin-fade[_ngcontent-%COMP%]{width:32px;height:32px}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;width:2px;height:10px;margin:-5px 2px 2px -1px;border-radius:0;-webkit-animation:line-spin-fade 1s ease-in-out infinite;animation:line-spin-fade 1s ease-in-out infinite}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:15%;left:50%;transform:rotate(0deg);-webkit-animation-delay:-1.125s;animation-delay:-1.125s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:25.2512626585%;left:74.7487373415%;transform:rotate(45deg);-webkit-animation-delay:-1.25s;animation-delay:-1.25s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:85%;transform:rotate(90deg);-webkit-animation-delay:-1.375s;animation-delay:-1.375s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:74.7487373415%;left:74.7487373415%;transform:rotate(135deg);-webkit-animation-delay:-1.5s;animation-delay:-1.5s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:84.9999999974%;left:50.0000000004%;transform:rotate(180deg);-webkit-animation-delay:-1.625s;animation-delay:-1.625s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:74.7487369862%;left:25.2512627193%;transform:rotate(225deg);-webkit-animation-delay:-1.75s;animation-delay:-1.75s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999806189%;left:15.0000039834%;transform:rotate(270deg);-webkit-animation-delay:-1.875s;animation-delay:-1.875s}.la-line-spin-fade[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:25.2506949798%;left:25.2513989292%;transform:rotate(315deg);-webkit-animation-delay:-2s;animation-delay:-2s}.la-line-spin-fade.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-line-spin-fade.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:1px;height:4px;margin-top:-2px;margin-left:0}.la-line-spin-fade.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-line-spin-fade.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:4px;height:20px;margin-top:-10px;margin-left:-2px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-line-spin-fade.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:6px;height:30px;margin-top:-15px;margin-left:-3px}@-webkit-keyframes line-spin-fade{50%{opacity:.2}to{opacity:1}}@keyframes line-spin-fade{50%{opacity:.2}to{opacity:1}}.la-pacman[_ngcontent-%COMP%], .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-pacman[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-pacman.la-dark[_ngcontent-%COMP%]{color:#333}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-pacman[_ngcontent-%COMP%]{width:32px;height:32px}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){width:0;height:0;background:transparent;border-style:solid;border-right:solid transparent;border-width:16px;border-radius:100%;-webkit-animation:pacman-rotate-half-up .5s 0s infinite;animation:pacman-rotate-half-up .5s 0s infinite;position:absolute}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){-webkit-animation-name:pacman-rotate-half-down;animation-name:pacman-rotate-half-down;top:0}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){position:absolute;top:50%;left:200%;width:8px;height:8px;border-radius:100%;opacity:0;-webkit-animation:pacman-balls 2s linear 0s infinite;animation:pacman-balls 2s linear 0s infinite}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){-webkit-animation-delay:-1.44s;animation-delay:-1.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){-webkit-animation-delay:-1.94s;animation-delay:-1.94s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){-webkit-animation-delay:-2.44s;animation-delay:-2.44s}.la-pacman[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){-webkit-animation-delay:-2.94s;animation-delay:-2.94s}.la-pacman.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:8px;position:absolute}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:4px;height:4px}.la-pacman.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:32px;position:absolute}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:16px;height:16px}.la-pacman.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){border-width:48px;position:absolute}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:0}.la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5), .la-pacman.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){width:24px;height:24px}@-webkit-keyframes pacman-rotate-half-up{0%,to{transform:rotate(270deg)}50%{transform:rotate(1turn)}}@keyframes pacman-rotate-half-up{0%,to{transform:rotate(270deg)}50%{transform:rotate(1turn)}}@-webkit-keyframes pacman-rotate-half-down{0%,to{transform:rotate(90deg)}50%{transform:rotate(0deg)}}@keyframes pacman-rotate-half-down{0%,to{transform:rotate(90deg)}50%{transform:rotate(0deg)}}@-webkit-keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}to{left:0;transform:translateY(-50%)}}@keyframes pacman-balls{0%{left:200%;opacity:0;transform:translateY(-50%)}5%{opacity:.5}66%{opacity:1}67%{opacity:0}to{left:0;transform:translateY(-50%)}}.la-square-jelly-box[_ngcontent-%COMP%], .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-jelly-box[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-square-jelly-box.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-square-jelly-box[_ngcontent-%COMP%]{width:32px;height:32px}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child, .la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){position:absolute;left:0;width:100%}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:first-child{top:-25%;z-index:1;height:100%;border-radius:10%;-webkit-animation:square-jelly-box-animate .6s linear -.1s infinite;animation:square-jelly-box-animate .6s linear -.1s infinite}.la-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){bottom:-9%;height:10%;background:#000;border-radius:50%;opacity:.2;-webkit-animation:square-jelly-box-shadow .6s linear -.1s infinite;animation:square-jelly-box-shadow .6s linear -.1s infinite}.la-square-jelly-box.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-jelly-box.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-jelly-box.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@-webkit-keyframes square-jelly-box-shadow{50%{transform:scaleX(1.25)}}@keyframes square-jelly-box-shadow{50%{transform:scaleX(1.25)}}.la-square-loader[_ngcontent-%COMP%], .la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-loader[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-square-loader.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-square-loader[_ngcontent-%COMP%]{width:32px;height:32px}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background:transparent;border-width:2px;border-radius:0;-webkit-animation:square-loader 2s ease infinite;animation:square-loader 2s ease infinite}.la-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:inline-block;width:100%;vertical-align:top;content:"";background-color:currentColor;-webkit-animation:square-loader-inner 2s ease-in infinite;animation:square-loader-inner 2s ease-in infinite}.la-square-loader.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-loader.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-square-loader.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-loader.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-square-loader.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}.la-square-loader.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}@-webkit-keyframes square-loader{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@keyframes square-loader{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@-webkit-keyframes square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}@keyframes square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}.la-square-spin[_ngcontent-%COMP%], .la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-square-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-square-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-square-spin[_ngcontent-%COMP%]{width:32px;height:32px}.la-square-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:0;-webkit-animation:square-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;animation:square-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite}.la-square-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:16px}.la-square-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:64px}.la-square-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:96px}@-webkit-keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}@keyframes square-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-timer[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-timer.la-dark[_ngcontent-%COMP%]{color:#333}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-timer[_ngcontent-%COMP%], .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:32px;height:32px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background:transparent;border-width:2px;border-radius:100%}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{position:absolute;top:14px;left:14px;display:block;width:2px;margin-top:-1px;margin-left:-1px;content:"";background:currentColor;border-radius:2px;transform-origin:1px 1px 0;-webkit-animation:timer-loader 1.25s linear infinite;animation:timer-loader 1.25s linear infinite;-webkit-animation-delay:-625ms;animation-delay:-625ms}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:12px}.la-timer[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:8px;-webkit-animation-duration:15s;animation-duration:15s;-webkit-animation-delay:-7.5s;animation-delay:-7.5s}.la-timer.la-sm[_ngcontent-%COMP%], .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:16px;height:16px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:1px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:7px;left:7px;width:1px;margin-top:-.5px;margin-left:-.5px;border-radius:1px;transform-origin:.5px .5px 0}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:6px}.la-timer.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:4px}.la-timer.la-2x[_ngcontent-%COMP%], .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:64px;height:64px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:4px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:28px;left:28px;width:4px;margin-top:-2px;margin-left:-2px;border-radius:4px;transform-origin:2px 2px 0}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:24px}.la-timer.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:16px}.la-timer.la-3x[_ngcontent-%COMP%], .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:96px;height:96px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:6px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after, .la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{top:42px;left:42px;width:6px;margin-top:-3px;margin-left:-3px;border-radius:6px;transform-origin:3px 3px 0}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{height:36px}.la-timer.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{height:24px}@-webkit-keyframes timer-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes timer-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.la-triangle-skew-spin[_ngcontent-%COMP%], .la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.la-triangle-skew-spin[_ngcontent-%COMP%]{display:block;font-size:0;color:#fff}.la-triangle-skew-spin.la-dark[_ngcontent-%COMP%]{color:#333}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid}.la-triangle-skew-spin[_ngcontent-%COMP%]{width:32px;height:16px}.la-triangle-skew-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:0;height:0;background:transparent;border-left:none;border-right:none;border-color:currentcolor transparent;border-style:solid;border-width:0 16px 16px;-webkit-animation:triangle-skew-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite;animation:triangle-skew-spin 3s cubic-bezier(.09,.57,.49,.9) 0s infinite}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%]{width:16px;height:8px}.la-triangle-skew-spin.la-sm[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 8px 8px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%]{width:64px;height:32px}.la-triangle-skew-spin.la-2x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 32px 32px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%]{width:96px;height:48px}.la-triangle-skew-spin.la-3x[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border-width:0 48px 48px}@-webkit-keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}@keyframes triangle-skew-spin{0%{transform:perspective(100px) rotateX(0) rotateY(0)}25%{transform:perspective(100px) rotateX(180deg) rotateY(0)}50%{transform:perspective(100px) rotateX(180deg) rotateY(180deg)}75%{transform:perspective(100px) rotateX(0) rotateY(180deg)}to{transform:perspective(100px) rotateX(0) rotateY(1turn)}}.ngx-spinner-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%}.ngx-spinner-overlay[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.loading-text){top:50%;left:50%;margin:0;position:absolute;transform:translate(-50%,-50%)}.loading-text[_ngcontent-%COMP%]{position:absolute;top:60%;left:50%;transform:translate(-50%,-60%)}'],data:{animation:[(0,an.X$)("fadeIn",[(0,an.SB)("in",(0,an.oB)({opacity:1})),(0,an.eR)(":enter",[(0,an.oB)({opacity:0}),(0,an.jt)(300)]),(0,an.eR)(":leave",(0,an.jt)(200,(0,an.oB)({opacity:0})))])]},changeDetection:0}),B})(),j=(()=>{class B{}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B}),B.\u0275inj=c.cJS({imports:[[ge.ez]]}),B})(),K=(()=>{class B{constructor(m){this.apiService=m,this.setCurrentUser()}setCurrentUser(){const m=JSON.parse(localStorage.getItem("user")||"{}");this.apiService.setCurrentUser(m)}}return B.\u0275fac=function(m){return new(m||B)(c.Y36(ie.s))},B.\u0275cmp=c.Xpm({type:B,selectors:[["app-root"]],decls:4,vars:0,template:function(m,O){1&m&&(c.TgZ(0,"ngx-spinner"),c.TgZ(1,"h3"),c._uU(2,"cargando\u2026.."),c.qZA(),c.qZA(),c._UZ(3,"router-outlet"))},directives:[k,V.lC],styles:[".flat-color-2[_ngcontent-%COMP%]{color:#ab8ce4}.flat-color-3[_ngcontent-%COMP%]{color:#03a9f3}.flat-color-4[_ngcontent-%COMP%]{color:#fb9678}.flat-color-5[_ngcontent-%COMP%]{color:#66bb6a}.flat-color-6[_ngcontent-%COMP%]{color:#5c6bc0}.bg-twitter[_ngcontent-%COMP%]{background:#1da1f2}.bg-facebook[_ngcontent-%COMP%]{background:#3b5998}.bg-instagram[_ngcontent-%COMP%]{background:#833ab4}.bg-[_ngcontent-%COMP%]{background:#ef5350}.bg-[_ngcontent-%COMP%]{background:#4dbd74}.bg-[_ngcontent-%COMP%]{background:#66bb6a}.bg-white[_ngcontent-%COMP%]{background-color:#fff}.fade-5[_ngcontent-%COMP%]{opacity:.5}.icon-lg[_ngcontent-%COMP%]{font-size:4.68em}.fw-r[_ngcontent-%COMP%]{font-weight:normal}.color-gray[_ngcontent-%COMP%]{color:#868e96}.text-up[_ngcontent-%COMP%]{text-transform:uppercase}.br-0[_ngcontent-%COMP%]{border:none!important}.black-rgba[_ngcontent-%COMP%]{background-color:#00000026!important}.color-white[_ngcontent-%COMP%]{color:#fff!important}.color-red[_ngcontent-%COMP%]{color:#dc3545}.font-3xl[_ngcontent-%COMP%]{font-size:2.8125em}.font-4xl[_ngcontent-%COMP%]{font-size:3.75em}.width-90[_ngcontent-%COMP%]{width:90px}.height-15[_ngcontent-%COMP%]{height:15px}.height-93[_ngcontent-%COMP%]{height:93px}.height-100[_ngcontent-%COMP%]{height:100px}.inline-block[_ngcontent-%COMP%]{display:inline-block}.mb-15[_ngcontent-%COMP%]{margin-bottom:15px}.resize.right-panel[_ngcontent-%COMP%]{margin-left:83px}.bg-flat-color-1[_ngcontent-%COMP%]{background:#00c292}.bg-flat-color-2[_ngcontent-%COMP%]{background:#ab8ce4}.bg-flat-color-3[_ngcontent-%COMP%]{background:#03a9f3}.bg-flat-color-4[_ngcontent-%COMP%]{background:#fb9678}.bg-flat-color-5[_ngcontent-%COMP%]{background:#66bb6a}.bg-flat-color-6[_ngcontent-%COMP%]{background:#5c6bc0}.bg-transparent[_ngcontent-%COMP%]{background-color:transparent}.white-color[_ngcontent-%COMP%]{color:#fff}.flat-color-1[_ngcontent-%COMP%]{color:#00c292}"]}),B})();var le=J(628),ze=J(9309);let eo=(()=>{class B{}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B}),B.\u0275inj=c.cJS({imports:[[ge.ez,ze.T],re.m8]}),B})();var Da=J(3758);let br=(()=>{class B{}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B}),B.\u0275inj=c.cJS({imports:[[ge.ez]]}),B})();var Yc=J(8939);let $u=(()=>{class B{constructor(m){this.spinnerService=m,this.busyRequestCount=0}busy(){this.busyRequestCount++,this.spinnerService.show(void 0,{type:"line-scale-party",bdColor:"rgba(255,255,255,0)",color:"#333333",size:"large",fullScreen:!0})}idle(){this.busyRequestCount--,this.busyRequestCount<=0&&(this.busyRequestCount=0,this.spinnerService.hide())}}return B.\u0275fac=function(m){return new(m||B)(c.LFG(H))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"}),B})(),Yr=(()=>{class B{constructor(m){this.busyService=m}intercept(m,O){return this.busyService.busy(),O.handle(m).pipe((0,Yc.x)(()=>{this.busyService.idle()}))}}return B.\u0275fac=function(m){return new(m||B)(c.LFG($u))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac}),B})();var Gu=J(5257);let Wo=(()=>{class B{constructor(m){this.apiService=m}intercept(m,O){let Q;return this.apiService.currentUser$.pipe((0,Gu.q)(1)).subscribe(ce=>Q=ce),null!=Q&&void 0!==Q.responseData&&(m=m.clone({setHeaders:{Authorization:`Bearer ${Q.responseData.token}`}})),O.handle(m)}}return B.\u0275fac=function(m){return new(m||B)(c.LFG(ie.s))},B.\u0275prov=c.Yz7({token:B,factory:B.\u0275fac}),B})(),ul=(()=>{class B{}return B.\u0275fac=function(m){return new(m||B)},B.\u0275mod=c.oAB({type:B,bootstrap:[K]}),B.\u0275inj=c.cJS({providers:[de._W,{provide:Qn.TP,useClass:Yr,multi:!0},{provide:Qn.TP,useClass:Wo,multi:!0}],imports:[[sl,n.b2,_i,le.m,de.Rh.forRoot(),Qn.JF,eo,pe.u5,Da.$,br,j,Qi]]}),B})();J(2340).N.production&&(0,c.G48)(),n.q6().bootstrapModule(ul).catch(B=>console.error(B))}},bn=>{bn(bn.s=6260)}]);